/* ============================================================
   DESIGN STYLES — Component styles for Waves platform
   Colors & tokens defined in globals.css (single source of truth)
   ============================================================ */

/* ============= GLOBAL MESSAGE POPUP ============= */
.global-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.global-popup.show {
    display: flex;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.popup-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

.popup-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-body {
    padding: 24px;
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.popup-body p {
    margin: 0;
}

.popup-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.popup-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(0, 178, 224, 0.3);
    transform: translateY(-2px);
}

/* ============= CSS ANIMATIONS & KEYFRAMES ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 178, 224, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 178, 224, 0.8), 0 0 30px rgba(35, 229, 219, 0.6);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Utility Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 40px;
    margin: 0;
}

/* ============= HEADER ============= */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
}

.logo-box {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-box img:hover {
    transform: scale(1.05);
}

.location-selector {
    position: relative;
    flex-shrink: 0;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 24px;
}

.mega-nav-item {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.nav-link-button {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    cursor: pointer;
}

.nav-link-button i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.mega-nav-item.active .nav-link-button i {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-market-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 20px;
}

.header-market-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-market-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.header-market-link-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(0, 178, 224, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 178, 224, 0.18);
}

.header-market-link-cta:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(0, 178, 224, 0.16);
    border-radius: 18px;
    box-shadow: 0 26px 56px rgba(0, 47, 52, 0.16);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1100;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid rgba(0, 178, 224, 0.16);
    border-left: 1px solid rgba(0, 178, 224, 0.16);
    transform: translateX(-50%) rotate(45deg);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-wide {
    width: min(900px, calc(100vw - 80px));
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.mega-menu-compact {
    width: min(420px, calc(100vw - 80px));
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.mega-menu-column {
    padding: 14px;
    border: 1px solid rgba(0, 178, 224, 0.1);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 178, 224, 0.02), rgba(35, 229, 219, 0.04));
}

.mega-menu-column h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 14px;
}

.mega-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.mega-menu-link:hover {
    color: var(--primary);
    transform: translateX(4px);
    background: rgba(0, 178, 224, 0.08);
}

.mega-menu-link small {
    color: var(--medium-gray);
    font-size: 12px;
    font-weight: 500;
}

/* ============= EMI CALCULATOR PAGE ============= */
.emi-page-wrapper {
    background: linear-gradient(180deg, #f5fbff 0%, #ffffff 45%);
}

.emi-hero-section {
    padding: 72px 0 42px;
    position: relative;
}

.emi-hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 178, 224, 0.16), transparent 70%);
    pointer-events: none;
}

.emi-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.emi-hero-eyebrow,
.emi-card-eyebrow,
.emi-summary-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 178, 224, 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.emi-hero-title {
    margin: 16px 0 12px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-gray);
}

.emi-hero-subtitle {
    max-width: 670px;
    color: var(--medium-gray);
    font-size: 17px;
    line-height: 1.7;
}

.emi-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.emi-highlight-card {
    background: #ffffff;
    border: 1px solid rgba(0, 178, 224, 0.16);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 47, 52, 0.06);
}

.emi-highlight-card strong {
    display: block;
    color: var(--dark-gray);
    font-size: 18px;
    font-weight: 800;
}

.emi-highlight-card span {
    color: var(--medium-gray);
    font-size: 13px;
    font-weight: 600;
}

.emi-hero-panel {
    background: linear-gradient(160deg, #052f3f 0%, #005f79 100%);
    border-radius: 18px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 20px 44px rgba(0, 47, 52, 0.26);
}

.emi-hero-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
}

.emi-hero-panel-value {
    margin-top: 18px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
}

.emi-hero-panel-caption {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.emi-hero-panel-stats {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.emi-hero-panel-stats div {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.emi-hero-panel-stats span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.emi-hero-panel-stats strong {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.emi-calculator-section,
.emi-insights-section,
.emi-cta-section {
    padding: 44px 0 68px;
}

.emi-calculator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 22px;
    align-items: start;
}

.emi-calculator-card,
.emi-summary-card,
.emi-insight-card,
.emi-cta-card {
    background: #ffffff;
    border: 1px solid rgba(0, 178, 224, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0, 47, 52, 0.08);
}

.emi-calculator-card {
    padding: 26px;
}

.emi-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.emi-card-header h2 {
    margin: 10px 0 0;
    font-size: 30px;
    color: var(--dark-gray);
    font-weight: 800;
}

.emi-card-header p {
    max-width: 360px;
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.7;
    margin: 6px 0 0;
}

.emi-control-group {
    padding: 16px;
    border: 1px solid rgba(0, 178, 224, 0.16);
    border-radius: 14px;
    margin-bottom: 14px;
    background: #fbfdff;
}

.emi-control-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.emi-control-head label {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-gray);
}

.emi-control-head input {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 8px 10px;
    min-width: 140px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: right;
    outline: none;
}

.emi-control-group input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.emi-chip-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emi-chip {
    border: 1px solid rgba(0, 178, 224, 0.22);
    background: #ffffff;
    color: var(--dark-gray);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emi-chip:hover,
.emi-chip.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

.emi-range-labels {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--medium-gray);
    font-weight: 600;
}

.emi-summary-card {
    position: sticky;
    top: 104px;
    padding: 22px;
}

.emi-summary-primary {
    margin-top: 14px;
    font-size: 38px;
    line-height: 1.15;
    color: var(--dark-gray);
    font-weight: 800;
}

.emi-summary-copy {
    margin: 10px 0 18px;
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.6;
}

.emi-summary-grid {
    display: grid;
    gap: 10px;
}

.emi-summary-item {
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 178, 224, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.emi-summary-item span {
    font-size: 12px;
    color: var(--medium-gray);
    font-weight: 600;
}

.emi-summary-item strong {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 800;
}

.emi-balance-bar {
    margin-top: 18px;
    height: 11px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: #dce9ef;
}

.emi-balance-principal {
    background: linear-gradient(90deg, #00b2e0 0%, #23e5db 100%);
}

.emi-balance-interest {
    background: #ffb74d;
}

.emi-balance-legend {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--medium-gray);
    font-weight: 700;
}

.emi-balance-legend div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.emi-balance-legend i {
    color: var(--primary);
    font-size: 10px;
}

.emi-balance-legend i.interest {
    color: #ffb74d;
}

.emi-summary-cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.emi-summary-cta:hover {
    color: var(--primary);
}

.emi-section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 24px;
}

.emi-section-heading h2 {
    margin: 16px 0 8px;
    font-size: 35px;
    color: var(--dark-gray);
    font-weight: 800;
}

.emi-section-heading p {
    color: var(--medium-gray);
    font-size: 16px;
}

.emi-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.emi-insight-card {
    padding: 22px;
}

.emi-insight-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 178, 224, 0.14), rgba(35, 229, 219, 0.22));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-dark);
}

.emi-insight-card h3 {
    margin: 14px 0 8px;
    font-size: 22px;
    color: var(--dark-gray);
    font-weight: 700;
}

.emi-insight-card p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.7;
}

.emi-cta-card {
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #eef9ff 100%);
}

.emi-cta-card h2 {
    margin: 12px 0 8px;
    font-size: 32px;
    color: var(--dark-gray);
    font-weight: 800;
}

.emi-cta-card p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.7;
}

.emi-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.emi-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.emi-cta-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 178, 224, 0.24);
}

.emi-cta-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.emi-cta-secondary {
    border: 1px solid rgba(0, 178, 224, 0.35);
    color: var(--primary-dark);
    background: #ffffff;
}

.emi-cta-secondary:hover {
    background: rgba(0, 178, 224, 0.08);
    color: var(--primary-dark);
}

@media (max-width: 1200px) {
    .emi-hero-grid,
    .emi-calculator-layout {
        grid-template-columns: 1fr;
    }

    .emi-summary-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .emi-insights-grid,
    .emi-hero-highlights {
        grid-template-columns: 1fr;
    }

    .emi-card-header,
    .emi-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .emi-hero-title {
        font-size: 34px;
    }

    .emi-card-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .emi-hero-section,
    .emi-calculator-section,
    .emi-insights-section,
    .emi-cta-section {
        padding: 34px 0 44px;
    }

    .emi-hero-panel,
    .emi-calculator-card,
    .emi-summary-card,
    .emi-insight-card,
    .emi-cta-card {
        padding: 16px;
        border-radius: 14px;
    }

    .emi-hero-panel-value,
    .emi-summary-primary {
        font-size: 30px;
    }

    .emi-section-heading h2,
    .emi-cta-card h2 {
        font-size: 26px;
    }

    .emi-control-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .emi-control-head input {
        width: 100%;
        text-align: left;
    }

    .emi-cta-actions,
    .emi-cta-button {
        width: 100%;
    }
}

.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--dark-gray);
    border-radius: 4px;
    padding: 8px 16px;
    gap: 8px;
}

.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--dark-gray);
    font-family: 'Open Sans', sans-serif;
}

.header-search-input::placeholder {
    color: var(--medium-gray);
}

.header-search-btn {
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.header-search-btn:hover {
    color: var(--secondary);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    position: relative;
}

.btn-icon:hover {
    color: var(--secondary);
}

.btn-notification {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 22px;
    color: var(--dark-gray);
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-notification:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--error);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    animation: notif-pulse 2s ease-in-out infinite;
}

@keyframes notif-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Wrapper & Tray */
.notification-wrapper {
    position: relative;
}

.notification-tray {
    position: absolute;
    top: calc(100% + 12px);
    right: -40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 47, 52, 0.12);
    border: 1px solid var(--border);
    width: 380px;
    max-height: 500px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.notification-tray.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.notification-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--dark-gray);
}

.mark-read-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.mark-read-btn:hover {
    color: var(--secondary);
}

.notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--light);
}

.notification-item.unread {
    background: rgba(0, 177, 224, 0.05);
}

.notification-item > i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: var(--dark-gray);
}

.notification-content span {
    display: block;
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 4px;
}

.notification-content small {
    font-size: 11px;
    color: var(--medium-gray);
}

.notification-footer {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.notification-footer a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.notification-footer a:hover {
    color: var(--secondary);
}

/* Location Dropdown */
.location-selector {
    position: relative;
}

.location-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,47,52,.15);
    border: 1px solid var(--border);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.location-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-dropdown-header {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.detect-location-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.detect-location-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.detect-location-btn i {
    font-size: 16px;
}

.location-search {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.location-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.location-search input:focus {
    border-color: var(--primary);
}

.popular-cities {
    padding: 12px;
}

.popular-cities h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--medium-gray);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.city-item {
    padding: 10px 12px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.city-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}


.user-profile-menu {
    position: relative;
}

.btn-user-profile {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s;
}

.btn-user-profile:hover {
    opacity: 0.8;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info i {
    font-size: 12px;
    color: var(--dark-gray);
    transition: transform 0.3s ease;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 47, 52, 0.12);
    border: 1px solid var(--border);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.user-profile-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid var(--light);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--secondary);
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.btn-login, .btn-register {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 6px;
}

.btn-login:hover, .btn-register:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 178, 224, 0.2);
    transform: translateY(-2px);
    animation: pulse 1s ease-in-out infinite;
}

.btn-login i, .btn-register i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-login:hover i, .btn-register:hover i {
    transform: scale(1.2);
}

.btn-sell {
    background: linear-gradient(135deg, #00b2e0 0%, #23e5db 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 178, 224, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.btn-sell::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #23e5db 0%, #00b2e0 100%);
    transition: left 0.3s ease;
}

.btn-sell:hover::before {
    left: 0;
}

.btn-sell:hover {
    box-shadow: 0 6px 25px rgba(0, 178, 224, 0.5);
    transform: translateY(-2px) scale(1.05);
    animation: glow 2s ease-in-out infinite;
}

.btn-sell i,
.btn-sell span {
    position: relative;
    z-index: 1;
}

.btn-sell i {
    font-size: 18px;
}

/* ============= MOBILE HAMBURGER MENU ============= */
.btn-hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-hamburger-menu:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.btn-hamburger-menu:hover .hamburger-line {
    background: var(--primary);
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: none;
}

.mobile-nav.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.mobile-nav-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

.btn-close-menu {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-gray);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 0;
}

.btn-close-menu:hover {
    color: var(--primary);
}

.mobile-nav-content {
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    transition: all 0.3s;
    text-align: left;
    min-height: 56px;
}

.mobile-nav-toggle:hover {
    background: var(--light);
}

.mobile-nav-toggle i:first-child {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-nav-toggle i:last-child {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-nav-toggle .fa-chevron-down {
    transform: rotate(0deg);
}

.mobile-nav-submenu.active .mobile-nav-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light);
}

.mobile-nav-submenu.active {
    max-height: 500px;
}

.mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: var(--light);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s;
    text-align: left;
    min-height: 48px;
}

.mobile-submenu-item:hover {
    background: var(--light);
    color: var(--primary);
}

.mobile-submenu-item i {
    font-size: 16px;
    flex-shrink: 0;
}

.mobile-location-search {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.mobile-location-search:focus {
    border-color: var(--primary);
}

.mobile-cities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 20px;
}

.mobile-city-item {
    padding: 12px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 44px;
}

.mobile-city-item:active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.mobile-nav-link:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 24px;
}

.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-btn {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-mobile, .btn-register-mobile {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-login-mobile:active, .btn-register-mobile:active {
    background: var(--primary);
    color: var(--white);
}

.btn-sell-mobile {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-sell-mobile:active {
    opacity: 0.9;
    transform: scale(0.98);
}

/* ============= CATEGORY NAVIGATION BAR ============= */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0,47,52,.05);
}

.category-nav .container {
    max-width: 1400px;
    padding: 0 16px;
    margin: 0 auto;
}

.category-nav-content {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 12px 0;
}

.category-nav-content::-webkit-scrollbar {
    display: none;
}

.category-nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.category-nav-link:first-child {
    font-weight: 700;
}

.category-nav-link:hover {
    color: var(--secondary);
}

.category-nav-link:first-child::after {
    content: '\u25bc';
    margin-left: 6px;
    font-size: 10px;
}

.all-categories-dropdown {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,47,52,.1);
    transition: max-height 0.4s ease-in-out;
}

.all-categories-dropdown.active {
    max-height: 500px;
}

.categories-mega-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 30px 0;
}

.category-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-column h4.mt-3 {
    margin-top: 24px;
}

.category-column h4 i {
    font-size: 16px;
    color: var(--secondary);
}

.category-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-column ul li {
    margin-bottom: 8px;
}

.category-column ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
    padding: 4px 0;
}

.category-column ul li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

/* ============= HERO BANNER SECTION ============= */
.hero-banner {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 47, 52, 0.4) 0%, rgba(0, 77, 86, 0.3) 50%, rgba(0, 109, 120, 0.35) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 16px 0 34px;
}

.hero-search-stage {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-text-center {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    color: var(--primary);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px 0;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Hero Search Container */
.hero-search-container {
    max-width: 900px;
    margin: 0 auto 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 178, 224, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 22px;
}

.hero-search-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0.95;
}

.search-panel {
    padding: 0;
}

.search-panel.active {
    display: block;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f7fbfd;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-input-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 178, 224, 0.1), transparent);
    transition: left 0.6s ease;
}

.search-input-group:focus-within::before {
    left: 100%;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 178, 224, 0.2);
    transform: translateY(-2px);
}

.search-input-group i {
    font-size: 20px;
    color: var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.search-input-group:focus-within i {
    color: var(--primary);
    transform: scale(1.1);
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--dark-gray);
    outline: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-search-input::placeholder {
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.hero-search-input:focus::placeholder {
    transform: translateX(5px);
    opacity: 0.7;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.filter-select {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 178, 224, 0.1);
}

.hero-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 178, 224, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-search-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-search-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-search-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 178, 224, 0.4);
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-search-btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.hero-search-btn:hover i {
    transform: rotate(90deg);
}

.hero-search-btn span {
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 200px;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-stat-item:nth-child(1) {
    animation-delay: 0.8s;
}

.hero-stat-item:nth-child(2) {
    animation-delay: 0.9s;
}

.hero-stat-item:nth-child(3) {
    animation-delay: 1s;
}

.hero-stat-item:nth-child(4) {
    animation-delay: 1.1s;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 178, 224, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 24px;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-stat-item:hover .stat-icon {
    background: var(--gradient-primary);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 178, 224, 0.5);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.hero-stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============= SEARCH HERO SECTION ============= */
.search-hero {
    background: var(--light);
    position: relative;
    padding: 32px 0;
    overflow: hidden;
}

.search-hero .container {
    max-width: 100%;
    padding: 0 16px;
}

.search-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;


.search-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.search-header {
    margin-bottom: 24px;
}

.search-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.search-header p {
    font-size: 16px;
    color: var(--medium-gray);
    margin: 0;
    font-weight: 400;
}

.search-box-container {
    max-width: 100%;
    margin: 0 auto 24px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 4px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: var(--secondary);
}

.search-box i {
    color: var(--dark-gray);
    font-size: 20px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 6px 0;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    color: var(--dark-gray);
}

.search-input::placeholder {
    color: var(--medium-gray);
}

.search-btn {
    background: var(--dark-gray);
    color: var(--white);
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
    font-weight: 700;
    margin-left: 10px;
}

.search-btn:hover {
    background: var(--secondary);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 4px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,47,52,.1);
    z-index: 10;
    border: 1px solid var(--border);
}

.search-suggestion-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--dark-gray);
    font-size: 14px;
}

.search-suggestion-item:hover {
    background-color: var(--light);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-stats {
    display: none;
}
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);;
    color: var(--white);
}

.btn-list:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 44px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.location-bar {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.location-bar i {
    color: var(--primary);
    font-size: 18px;
}

.location-select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--dark-gray);
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.location-select option {
    color: var(--dark-gray);
}

/* ============= CATEGORIES SECTION ============= */
.categories {
    padding: 48px 0;
    background-color: var(--white);
}

.categories .container {
    max-width: 100%;
    padding: 0 16px;
}

.section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: left;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.6s ease;
    border-radius: 2px;
}

.section-title:hover::before {
    width: 100%;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0;
}

.category-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 178, 224, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-auto {
    border-color: var(--border);
}

.category-real-estate {
    border-color: var(--border);
}

.category-card:hover {
    box-shadow: 0 15px 40px rgba(0,47,52,.15);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--dark-gray);
    transition: all 0.4s ease;
    display: inline-block;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary);
    animation: bounce 1s ease-in-out infinite;
}

.category-real-estate .category-icon {
    color: var(--dark-gray);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.category-card p {
    color: var(--medium-gray);
    margin-bottom: 16px;
    font-size: 14px;
}

.btn-category {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-category:hover {
    background-color: var(--secondary);
    transform: translateX(5px);
}

/* ============= PRODUCT SECTIONS ============= */
.product-section {
    padding: 48px 0;
}

.secondary-product-section {
    background-color: var(--light);
}

.properties-section {
    background-color: var(--white);
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.8s forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.section-header p {
    color: var(--medium-gray);
    font-size: 16px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border);
    background-color: var(--white);
    color: var(--dark-gray);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 178, 224, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 178, 224, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.filter-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 178, 224, 0.2);
}

.products-grid {
    /* Bootstrap row will handle grid layout */
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 178, 224, 0) 0%, rgba(35, 229, 219, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    box-shadow: 0 20px 50px rgba(0,178,224,0.2), 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.product-card:hover .product-image::before {
    left: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    background: var(--gradient-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInLeft 0.6s ease-out;
    transition: all 0.3s ease;
}

.product-card:hover .product-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 178, 224, 0.4);
}

.badge-sale {
    background: var(--gradient-primary);
}

.badge-rent {
    background: var(--gradient-secondary);
}

.btn-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-card:hover .btn-wishlist {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.btn-wishlist:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0, 178, 224, 0.4);
}

.btn-wishlist i {
    transition: transform 0.3s ease;
}

.btn-wishlist:hover i {
    animation: pulse 0.6s ease-in-out;
}

.btn-wishlist i {
    font-size: 18px;
    color: var(--error);
    transition: all 0.3s;
}

.btn-wishlist:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.btn-wishlist:hover i {
    color: var(--white);
}

.btn-wishlist.active i {
    font-weight: 900;
    color: var(--error);
}

.product-overlay {
    display: none;
}

.verified-badge {
    display: none;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.product-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.3;
    flex: 1;
    margin: 0;
}

.year-badge {
    background-color: var(--light);
    color: var(--dark-gray);
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 400;
    color: var(--medium-gray);
}

.spec-item i {
    color: var(--medium-gray);
    font-size: 12px;
}

.product-meta {
    font-size: 12px;
    color: var(--medium-gray);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.product-meta i {
    margin-right: 4px;
    color: var(--medium-gray);
}

.product-location {
    font-size: 12px;
    color: var(--medium-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-location i {
    color: var(--medium-gray);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: none;
}

.price-section {
    flex: 1;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1;
}

.per-month {
    font-size: 12px;
    font-weight: 400;
    color: var(--medium-gray);
}

.price-label {
    display: none;
}

.btn-contact {
    display: none;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 178, 224, 0.15);
}

.btn-view-more:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 178, 224, 0.3);
}

.btn-view-more i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(5px);
}

/* ============= WHY US SECTION ============= */
.why-us {
    padding: 48px 0;
    background-color: var(--light);
}

.features-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    /* gap: 32px; */
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 178, 224, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 178, 224, 0.25);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon i {
    font-size: 36px;
    color: var(--white);
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ============= HOW IT WORKS ============= */
.how-it-works {
    padding: 120px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 178, 224, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.how-it-works .section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.how-it-works .section-header p {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.steps-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 100px;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 100px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, rgba(0, 178, 224, 0.2) 100%);
    transform: translateX(-50%);
}

.step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-reverse {
    direction: rtl;
}

.step-reverse .step-content {
    direction: ltr;
    text-align: left;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    position: relative;
}

.step-reverse .step-visual {
    justify-content: flex-start;
}

.step-number {
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    opacity: 0.12;
}

.step-icon-wrapper {
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(0, 178, 224, 0.15);
    border: 5px solid var(--primary);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.step-card:hover .step-icon {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 178, 224, 0.3);
    border-color: var(--secondary);
}

.step-icon i {
    font-size: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    padding: 20px 0;
}

.step-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.step-content p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-features span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    transition: transform 0.3s ease;
}

.step-features span:hover {
    transform: translateX(8px);
}

.step-features i {
    color: var(--primary);
    font-size: 16px;
}

/* Trust Features */
.trust-features {
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 50px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}

.trust-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: left;
}

.trust-item:hover {
    background: rgba(0, 178, 224, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 178, 224, 0.2);
}

.trust-icon i {
    font-size: 36px;
    color: var(--white);
}

.trust-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
    text-align: left;
}

.trust-content p {
    font-size: 14px;
    color: var(--medium-gray);
    margin: 0;
    text-align: left;
}

.popular-section {
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 65%);
    padding: 100px!important;  
}
/* ============= TESTIMONIALS ============= */
.testimonials {
    padding: 100px 0 60px;
    background-color: var(--light-gray);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials .section-header h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.testimonials .section-header p {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 100%;
    margin: 0;
    justify-content: center;
}

.testimonials-grid .col {
    flex: 1 1 calc(33.333% - 32px);
    min-width: 300px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--medium-gray);
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.8;
    font-size: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-gray);
    font-style: normal;
    margin-bottom: 0;
    font-size: 16px;
    margin-top: auto;
}

/* ============= FOOTER ============= */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h5 {
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 178, 224, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============= MODAL ============= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 30px;
    color: var(--dark-gray);
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.alert-list {
    list-style: none;
    padding: 0;
}

.alert-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.alert-list li:last-child {
    border-bottom: none;
}

.alert-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.modal-footer {
    padding: 20px 30px;
    background-color: var(--light);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-modal-close,
.btn-modal-accept {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-modal-close {
    background-color: var(--light);
    color: var(--dark-gray);
}

.btn-modal-close:hover {
    background-color: var(--border);
}

.btn-modal-accept {
    background-color: var(--primary);
    color: var(--white);
}

.btn-modal-accept:hover {
    background-color: var(--secondary);
}

/* ============= LOCATION MODAL ============= */
.location-modal-content {
    max-width: 500px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.city-option {
    padding: 12px 20px;
    background-color: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.city-option:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .header-market-links {
        display: none;
    }

    .btn-hamburger-menu {
        display: flex !important;
    }

    .mobile-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        /* gap: 30px; */
    }
}

@media (max-width: 768px) {
    /* ============= HEADER MOBILE ============= */
    .header {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .header .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .header-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 44px !important;
        width: 100% !important;
    }
    
    /* LOGO - FIRST */
    .logo-box {
        flex: 0 0 auto !important;
        margin: 0 8px 0 0 !important;
        padding: 0 !important;
        order: 1 !important;
    }
    
    .logo-box img {
        max-height: 44px !important;
        width: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* MAIN NAV - HIDDEN BUT SPACER */
    .main-nav {
        display: none !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 2 !important;
    }
    
    /* LOCATION SELECTOR - SECOND */
    .location-selector {
        display: flex !important;
        flex: 0 0 auto !important;
        gap: 2px !important;
        min-width: 90px !important;
        max-width: 130px !important;
        padding: 4px 8px !important;
        height: 32px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        order: 3 !important;
        position: relative !important;
    }
    
    .location-dropdown {
        position: fixed !important;
        top: 52px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 70vh !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }
    
    .location-selector .location-text {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .location-selector .location-name {
        font-size: 10px !important;
        font-weight: 500 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .location-selector > i:first-child {
        font-size: 11px !important;
        margin-right: 3px !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .location-selector > i:last-child {
        font-size: 9px !important;
        margin-left: 2px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* HEADER ACTIONS - LAST (HAMBURGER) */
    .header-actions {
        display: flex !important;
        flex: 0 0 auto !important;
        gap: 0 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        order: 4 !important;
    }
    
    .btn-hamburger-menu {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 4px !important;
    }
    
    .hamburger-line {
        width: 18px !important;
        height: 2px !important;
    }
    
    /* HIDE LOGIN AND SELL BUTTONS */
    .btn-sell {
        display: none !important;
    }
    
    .btn-login, .btn-register {
        display: none !important;
    }
    
    .user-profile-menu {
        display: none !important;
    }
    
    /* HIDE LOCATION FROM MENU */
    .mobile-nav-item:first-child {
        display: none !important;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-nav-item:first-child {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    /* ============= HERO SECTION MOBILE ============= */
    .hero-banner {
        min-height: 500px;
        padding: 40px 0;
    }

    .hero-search-stage {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-search-container {
        max-width: 100%;
        margin: 0 auto 40px;
        padding: 16px;
    }
    
    .search-input-group {
        gap: 8px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .search-filters {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .search-filters .filter-select:first-child {
        display: none;
    }
    
    .filter-select {
        padding: 12px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .hero-search-btn {
        padding: 12px 16px;
        font-size: 13px;
        width: 100%;
        min-height: 44px;
    }
    
    .hero-search-btn span {
        display: none;
    }
    
    /* ============= HERO STATS MOBILE ============= */
    .hero-stats {
        gap: 16px;
    }
    
    .hero-stat-item {
        padding: 12px 16px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin: 0 auto;
    }
    
    .stat-number {
        font-size: 18px;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 12px;
        line-height: 1.2;
    }

    /* ============= HOW IT WORKS TABLET ============= */
    .how-it-works {
        padding: 80px 0 60px;
    }

    .how-it-works .section-header {
        margin-bottom: 60px;
    }

    .how-it-works .section-header h2 {
        font-size: 36px;
        letter-spacing: -0.3px;
    }

    .how-it-works .section-header p {
        font-size: 16px;
    }

    .steps-timeline {
        margin: 0 auto 60px;
    }

    .timeline-line {
        top: 80px;
        bottom: 80px;
    }

    .step-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
        align-items: stretch;
    }

    .step-visual {
        justify-content: center;
        gap: 20px;
        order: -1;
    }

    .step-reverse .step-visual {
        justify-content: center;
    }

    .step-number {
        font-size: 80px;
        opacity: 0.15;
    }

    .step-icon {
        width: 100px;
        height: 100px;
        border: 4px solid var(--primary);
    }

    .step-icon i {
        font-size: 40px;
    }

    .step-content {
        text-align: center;
    }

    .step-content h3 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .step-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .step-features {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .step-features span {
        justify-content: center;
        padding: 8px 0;
        font-size: 13px;
    }

    /* ============= TRUST FEATURES TABLET ============= */
    .trust-features {
        gap: 20px;
        padding: 40px 30px;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .trust-features .col {
        max-width: 100% !important;
        flex: 0 0 calc(25% - 15px) !important;
    }

    .trust-item {
        display: flex !important;
        flex-direction: row !important;
        gap: 16px;
        padding: 20px;
        align-items: flex-start;
        text-align: left;
    }

    .trust-icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .trust-icon i {
        font-size: 30px;
    }

    .trust-content h4 {
        font-size: 16px;
    }

    .trust-content p {
        font-size: 13px;
    }

    /* ============= PRODUCT GRID MOBILE ============= */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card {
        display: flex;
        flex-direction: column;
    }
    
    .product-image {
        min-height: 250px;
        max-height: 280px;
    }
    
    .product-info {
        padding: 14px;
    }
    
    .product-header h4 {
        font-size: 14px;
    }
    
    .product-specs {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
    }
    
    .product-footer {
        gap: 10px;
        flex-direction: column;
    }
    
    .btn-contact {
        width: 100%;
        padding: 12px;
        min-height: 44px;
        font-size: 13px;
    }
    
    /* ============= FILTER BUTTONS MOBILE ============= */
    .filter-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 12px;
        min-height: 40px;
    }
    
    /* ============= SECTION STYLES MOBILE ============= */
    .section-header {
        margin-bottom: 24px;
    }
    
    .section-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* ============= TESTIMONIALS MOBILE ============= */
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-header {
        margin-bottom: 40px;
    }
    
    .testimonials .section-header h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .testimonials .section-header p {
        font-size: 16px;
        color: var(--medium-gray);
    }
    
    .testimonials-grid {
        gap: 20px;
    }
    
    .testimonials-grid .col {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }
    
    .testimonial-card {
        padding: 28px 24px;
        margin-bottom: 0;
    }
    
    .testimonial-card p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    /* ============= FOOTER MOBILE ============= */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-section h5 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-section a {
        font-size: 12px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .footer-bottom {
        font-size: 12px;
        padding: 16px 0;
        gap: 12px;
    }
    
    /* ============= MODAL MOBILE ============= */
    .modal-content {
        width: 90%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 16px;
        font-size: 13px;
    }
    
    .modal-footer {
        padding: 12px 16px;
        gap: 8px;
    }
    
    /* ============= BUTTONS MOBILE ============= */
    button {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    /* ============= HEADER EXTRA SMALL ============= */
    .header {
        padding: 0;
    }
    
    .header-content {
        gap: 8px;
        padding: 8px 0;
    }
    
    .container-fluid {
        padding: 0 12px;
    }
    
    .logo-box img {
        max-height: 42px;
    }
    
    .location-selector {
        min-width: 90px;
        max-width: 120px;
        padding: 5px 8px;
        font-size: 10px;
        height: 32px;
    }
    
    .location-selector .location-name {
        font-size: 10px;
    }
    
    .location-selector > i:first-child {
        font-size: 11px;
    }
    
    .location-selector > i:last-child {
        font-size: 9px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .btn-hamburger-menu {
        width: 34px;
        height: 34px;
        gap: 4px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    /* ============= MOBILE NAV EXTRA SMALL ============= */
    .mobile-nav {
        max-width: 280px;
    }
    
    .mobile-nav-header {
        padding: 12px 16px;
    }
    
    .mobile-nav-header h3 {
        font-size: 16px;
    }
    
    .mobile-nav-toggle {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
        gap: 10px;
    }
    
    .mobile-nav-link {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .mobile-submenu-item {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .mobile-location-search {
        margin: 6px 16px;
        padding: 10px;
        font-size: 13px;
    }
    
    .mobile-cities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 6px 16px;
    }
    
    .mobile-city-item {
        padding: 10px 8px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .mobile-nav-actions {
        padding: 16px;
        gap: 8px;
    }
    
    .mobile-nav-btn {
        padding: 12px 14px;
        font-size: 12px;
        min-height: 44px;
        gap: 6px;
    }
    
    /* ============= HERO EXTRA SMALL ============= */
    .hero-banner {
        min-height: 400px;
        padding: 30px 0;
    }

    .hero-search-stage {
        min-height: 420px;
    }
    
    .hero-content {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .gradient-text {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .hero-search-container {
        padding: 12px;
    }
    
    .search-panel {
        padding: 0;
    }
    
    .search-input-group {
        gap: 6px;
        padding: 8px 10px;
        margin-bottom: 10px;
    }
    
    .search-input-group input {
        font-size: 13px;
        padding: 8px;
    }
    
    .search-filters {
        gap: 8px;
    }
    
    .filter-select {
        padding: 10px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .hero-search-btn {
        padding: 10px 12px;
        font-size: 12px;
        min-height: 40px;
    }
    
    /* ============= HERO STATS EXTRA SMALL ============= */
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 24px;
    }
    
    .hero-stat-item {
        padding: 12px;
        gap: 8px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* ============= PRODUCTS EXTRA SMALL ============= */
    .product-section {
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .products-grid {
        gap: 12px;
    }
    
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        min-height: 220px;
        max-height: 240px;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-header {
        margin-bottom: 10px;
    }
    
    .product-header h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .year-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .product-specs {
        gap: 6px;
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .spec-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .spec-item i {
        font-size: 12px;
    }
    
    .product-location {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-section {
        margin-bottom: 4px;
    }
    
    .product-price {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .per-month {
        font-size: 11px;
    }
    
    .price-label {
        font-size: 11px;
    }
    
    .btn-contact {
        padding: 10px 12px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .btn-wishlist {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* ============= HOW IT WORKS MOBILE ============= */
    .how-it-works {
        padding: 60px 0 40px;
    }

    .how-it-works::before {
        top: -80px;
        width: 400px;
        height: 400px;
    }

    .how-it-works .section-header {
        margin-bottom: 40px;
    }

    .how-it-works .section-header h2 {
        font-size: 28px;
        letter-spacing: -0.2px;
    }

    .how-it-works .section-header p {
        font-size: 14px;
    }

    .steps-timeline {
        margin: 0 auto 40px;
    }

    .timeline-line {
        display: none;
    }

    .step-card {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        align-items: stretch;
    }

    .step-card:last-child {
        margin-bottom: 0;
    }

    .step-visual {
        justify-content: center;
        gap: 16px;
        order: -1;
    }

    .step-number {
        font-size: 60px;
        opacity: 0.1;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        border: 3px solid var(--primary);
    }

    .step-icon:hover {
        transform: scale(1.08) translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 178, 224, 0.2);
    }

    .step-icon i {
        font-size: 32px;
    }

    .step-content {
        text-align: center;
    }

    .step-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .step-content p {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .step-features {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
    }

    .step-features span {
        justify-content: center;
        padding: 6px 0;
        font-size: 12px;
    }

    /* ============= TRUST FEATURES MOBILE ============= */
    .trust-features {
        gap: 16px;
        padding: 32px 16px;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 12px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .trust-features .col {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }

    .trust-item {
        display: flex !important;
        flex-direction: row !important;
        text-align: left;
        gap: 16px;
        padding: 20px;
        align-items: flex-start;
        border: 1px solid rgba(0, 178, 224, 0.15);
        border-radius: 12px;
        background: var(--white);
        width: 100% !important;
        transition: all 0.3s ease;
    }

    .trust-item:hover {
        box-shadow: 0 4px 12px rgba(0, 178, 224, 0.1);
        border-color: var(--primary);
    }

    .trust-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-primary);
        border-radius: 12px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(0, 178, 224, 0.2);
    }

    .trust-icon i {
        font-size: 28px;
        color: var(--white);
    }

    .trust-content h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark-gray);
        margin: 0 0 4px 0;
        text-align: left;
    }

    .trust-content p {
        font-size: 13px;
        color: var(--medium-gray);
        margin: 0;
        text-align: left;
    }
    
    /* ============= TESTIMONIALS EXTRA SMALL ============= */
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials .section-header h2 {
        font-size: 24px;
    }
    
    .testimonials .section-header p {
        font-size: 14px;
    }
    
    .testimonials-grid {
        gap: 16px;
        flex-direction: column;
    }
    
    .testimonials-grid .col {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .testimonial-card {
        padding: 18px 16px;
        border-radius: 10px;
    }
    
    .stars {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .testimonial-card p {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .testimonial-author {
        font-size: 12px;
        font-weight: 700;
    }
    
    /* ============= FOOTER EXTRA SMALL ============= */
    .footer {
        padding: 40px 0 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-section h5 {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .footer-section p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .footer-section a {
        font-size: 11px;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .social-links {
        gap: 8px;
        margin-top: 8px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .footer-bottom {
        padding: 12px 0;
        font-size: 11px;
        gap: 8px;
    }
    
    .footer-bottom p {
        word-break: break-word;
    }
    
    /* ============= MODAL EXTRA SMALL ============= */
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 12px;
        gap: 8px;
    }
    
    .modal-header h2 {
        font-size: 16px;
    }
    
    .modal-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .modal-body {
        padding: 12px;
        font-size: 12px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .modal-body p {
        margin-bottom: 8px;
    }
    
    .alert-list {
        padding-left: 16px;
        font-size: 12px;
    }
    
    .alert-list li {
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .modal-footer {
        padding: 10px;
        gap: 6px;
        flex-direction: column;
    }
    
    .btn-modal-close,
    .btn-modal-accept {
        padding: 10px 12px;
        font-size: 12px;
        min-height: 40px;
    }
    
    /* ============= GENERAL MOBILE FIXES ============= */
    input,
    select,
    textarea {
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    button,
    a[role="button"] {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
    
    /* Ensure full-width elements */
    .hero-banner,
    .product-section,
    .footer {
        width: 100%;
    }
}
    .step-content p {
        font-size: 14px;
    }

    .step-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 30px 20px;
    }

    .step-item:last-child {
        border-bottom: none;
    }

    .how-it-works-features {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }

    .hwf-item {
        padding: 15px;
    }

    .hwf-item i {
        font-size: 24px;
    }
}

/* ============= POPULAR CITIES & CATEGORIES ============= */
.popular-section {
    background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 65%);
    padding: 100px!important;  
}

.popular-header {
    text-align: center;
    margin-bottom: 60px;
}

.popular-header h2 {
    font-size: 44px;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.popular-header p {
    font-size: 18px;
    color: var(--medium-gray);
    margin: 0;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.popular-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.popular-tab-btn {
    padding: 14px 28px;
    background-color: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 47, 52, 0.06);
}

.popular-tab-btn i {
    font-size: 16px;
    color: var(--primary);
}

.popular-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(0, 178, 224, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 178, 224, 0.15);
}

.popular-tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 178, 224, 0.35);
    transform: translateY(-2px);
}

.popular-tab-btn.active i {
    color: var(--white);
}

.popular-content {
    background-color: var(--light);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 47, 52, 0.08);
    max-width: 1300px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.popular-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.popular-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popular-links-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.popular-link-item {
    padding: 20px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.popular-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.popular-link-item:hover::before {
    transform: scaleY(1);
}

.popular-link-item i {
    font-size: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.popular-link-item:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 178, 224, 0.25);
}

.popular-link-item:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.popular-link-item.view-all {
    grid-column: 1 / -1;
    justify-content: center;
    background: rgba(0, 178, 224, 0.05);
    border: 2px dashed var(--primary);
    font-weight: 700;
    color: var(--primary);
}

.popular-link-item.view-all i {
    color: var(--primary);
}

.popular-link-item.view-all:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-style: solid;
    transform: translateX(0) translateY(-3px);
}

@media (max-width: 992px) {
    .popular-section {
        padding: 96px 0 72px !important;
    }

    .popular-content {
        padding: 36px 28px;
    }

    .popular-header h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .popular-section {
        padding: 80px 0 64px !important;
    }

    .popular-header {
        margin-bottom: 40px;
    }

    .popular-header h2 {
        font-size: 32px;
    }

    .popular-header p {
        font-size: 15px;
    }

    .popular-content {
        padding: 28px 20px;
    }

    .popular-tabs {
        margin-bottom: 24px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .popular-section {
        padding: 64px 0 48px !important;
    }

    .popular-content {
        padding: 22px 16px;
    }

    .popular-link-item {
        padding: 16px 18px;
    }
}

/* ============= FOOTER ============= */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-gray);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--dark-gray);
    font-size: 14px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--light-gray);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo-box {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }
    
    .location-selector {
        order: 3;
        min-width: 150px;
    }
    
    .header-search {
        order: 4;
        flex: 1 1 100%;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 8px;
    }
    
    .btn-icon {
        font-size: 20px;
        padding: 4px;
    }
    
    .user-name {
        display: none;
    }
    
    .user-info i {
        display: none;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .category-nav-content {
        gap: 20px;
    }
    
    .category-nav-link {
        font-size: 13px;
    }
    
    .categories-mega-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 0;
    }
    
    .hero-banner-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }

    .popular-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .partner-logos {
        gap: 25px;
    }
    
    .partner-logo {
        min-width: 100px;
        height: 50px;
        padding: 12px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-right {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 8px;
        padding: 6px 0;
    }
    
    .logo-box img {
        max-height: 32px;
    }
    
    .location-selector {
        min-width: 120px;
        padding: 8px 12px;
    }
    
    .location-name {
        font-size: 12px;
    }
    
    .header-search {
        padding: 6px 12px;
    }
    
    .header-search-input {
        font-size: 14px;
    }
    
    .btn-login, .btn-register {
        font-size: 14px;
        padding: 4px;
    }
    
    .btn-login span {
        display: none;
    }
    
    .btn-icon {
        font-size: 18px;
        padding: 4px;
    }
    
    .notification-badge {
        top: 2px;
        right: 2px;
        font-size: 8px;
        padding: 1px 4px;
        min-width: 14px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .btn-sell {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .category-nav-content {
        gap: 16px;
    }
    
    .category-nav-link {
        font-size: 12px;
    }
    
    .categories-mega-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 0;
    }
    
    .category-column h4 {
        font-size: 13px;
    }
    
    .category-column ul li a {
        font-size: 12px;
    }
    
    .all-categories-dropdown.active {
        max-height: 800px;
    }
    
    .hero-banner {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-top: 30px;
    }
    
    .hero-stat-item .stat-number {
        font-size: 24px;
    }
    
    .hero-stat-item .stat-label {
        font-size: 12px;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .popular-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .popular-tab-btn {
        font-size: 11px;
        padding: 8px 12px;
    }

    .popular-links-wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-apps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ============= PAGE LOAD ANIMATION ============= */
body {
    animation: fadeIn 0.5s ease-out;
}

/* ============= CUSTOM HOVER EFFECTS ============= */
a, button {
    transition: all 0.3s ease;
}

/* ============= SCROLL-TO-TOP BUTTON (if exists) ============= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 178, 224, 0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 178, 224, 0.6);
}

.scroll-to-top i {
    color: var(--white);
    font-size: 20px;
}

/* ============= RIPPLE EFFECT FOR BUTTONS ============= */
.btn-primary, .btn-sell, .hero-search-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-sell::after, .hero-search-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after, .btn-sell:active::after, .hero-search-btn:active::after {
    width: 300px;
    height: 300px;
}

/* ============= HOVER GLOW EFFECT ============= */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(0, 178, 224, 0.6);
}
