        @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
         url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

        :root {
            /* Brand Colors */
            --primary-navy: #2f3531; 
            --primary-navy-light: #3f4742;
            --primary-gold: #009431; 
            --primary-gold-bright: #00b33c;
            --primary-blue: #009431;
            --primary-cyan: #00b33c;
            
            /* UI Colors */
            --bg-light: #F1F5F9;
            --text-dark: #2f3531;
            --text-muted: #6C757D;
            
            /* Glassmorphism */
            --glass-bg: rgba(255, 255, 255, 0.95);
            --glass-bg-dark: rgba(47, 53, 49, 0.95);
            --glass-border: #E2E8F0;
            --glass-border-dark: rgba(255, 255, 255, 0.1);
            
            /* Gradients */
            --accent-gradient: linear-gradient(135deg, #2f3531 0%, #1f2320 100%);
            --gold-gradient: linear-gradient(135deg, #009431 0%, #00b33c 100%);
            --blue-gradient: linear-gradient(135deg, #009431 0%, #00b33c 100%);
            --dark-gradient: linear-gradient(135deg, #2f3531 0%, #1f2320 100%);
            
            /* Shadows & Border Radius */
            --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 10px 30px rgba(10, 25, 47, 0.08);
            --shadow-lg: 0 20px 50px rgba(10, 25, 47, 0.12);
            --radius-pill: 50rem;
            --radius-lg: 24px;
            --radius-md: 16px;
            
            /* Transitions */
            --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            
            /* Typography */
            --font-heading: 'Montserrat', sans-serif;
        }

        html, body {
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .fw-black, .fw-bold {
            font-family: var(--font-heading) !important;
        }

        /* Premium Transitions */
        * {
            transition: var(--transition-smooth);
        }

        /* Typography Utilities */
        .fw-black { font-weight: 900 !important; }
        .smallest { font-size: 0.72rem !important; line-height: 1.4; }
        .tracking-tighter { letter-spacing: -0.05em !important; }
        .tracking-tight { letter-spacing: -0.02em !important; }
        .tracking-wider { letter-spacing: 0.05em !important; }
        .tracking-widest { letter-spacing: 0.1em !important; }
        .text-gold { color: var(--primary-gold) !important; }
        .text-navy { color: var(--primary-navy) !important; }

        /* Accessibility: Prevent white text on white/light backgrounds */
        .bg-light .text-white,
        .bg-white .text-white,
        [style*="background: white"] .text-white,
        [style*="background-color: white"] .text-white,
        [style*="background-color: #fff"] .text-white,
        [style*="background-color: #ffffff"] .text-white {
            color: var(--text-dark) !important;
        }

        /* Ensure empty state messages are readable */
        .text-center .text-muted h4,
        .text-center .text-muted p {
            color: var(--text-muted) !important;
        }

        /* Navbar Styling */
        .navbar-custom {
            background: var(--accent-gradient);
            position: sticky;
            top: 0;
            z-index: 1050;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .navbar-custom .navbar-brand, 
        .navbar-custom .nav-link {
            color: #ffffff !important;
            opacity: 0.85;
            font-weight: 600;
        }
        
        .navbar-custom .nav-link:hover {
            opacity: 1;
            transform: translateY(-1px);
            color: var(--primary-gold) !important;
        }

        /* Mobile Menu Enhancements */
        @media (max-width: 991.98px) {
            .navbar-custom .navbar-collapse {
                background: rgba(0, 0, 0, 0.25);
                border-radius: var(--radius-md);
                padding: 1.5rem;
                margin-top: 1rem;
                border: 1px solid rgba(255, 255, 255, 0.1);
                box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
            }
            .navbar-custom .navbar-nav {
                width: 100%;
            }
            .navbar-custom .nav-item {
                width: 100%;
            }
            .navbar-custom .nav-link {
                padding: 0.8rem 1rem !important;
                border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
                width: 100%;
                display: block;
            }
            .navbar-custom .nav-item:last-child .nav-link {
                border-bottom: none;
            }
            .navbar-custom .dropdown-menu {
                background: transparent !important;
                border: none;
                padding-left: 1rem;
                box-shadow: none !important;
                margin-top: 0;
            }
            .navbar-custom .dropdown-item {
                color: rgba(255, 255, 255, 0.85) !important;
                padding: 0.5rem 1rem;
            }
            .navbar-custom .dropdown-item:hover,
            .navbar-custom .dropdown-item:focus {
                background: transparent !important;
                color: var(--primary-gold) !important;
            }
            .navbar-custom .navbar-nav.align-items-center {
                align-items: flex-start !important;
                margin-top: 1rem;
                padding-top: 1rem;
                border-top: 2px solid rgba(255, 255, 255, 0.05);
            }
            .navbar-custom .btn-gold {
                margin-left: 0 !important;
                margin-top: 0.5rem;
                width: 100%;
                text-align: center;
            }
        }

        .dropdown-menu {
            z-index: 2000;
            border: 1px solid var(--glass-border-dark);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background: rgba(255, 255, 255, 0.95);
            border-radius: var(--radius-md);
            padding: 0.75rem;
            box-shadow: var(--shadow-lg);
        }
        
        .dropdown-item {
            border-radius: 8px;
            padding: 0.6rem 1rem;
            font-weight: 500;
        }

        /* Premium Components */
        .card-premium {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }
        
        .card-premium:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(212, 175, 55, 0.3);
        }

        .btn-premium {
            background: var(--gold-gradient);
            color: var(--primary-navy);
            border: none;
            font-weight: 700;
            border-radius: var(--radius-pill);
            padding: 0.8rem 2rem;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .btn-premium:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
            filter: brightness(1.1);
            color: #000;
        }

        .btn-premium-outline {
            background: transparent;
            color: var(--primary-gold);
            border: 2px solid var(--primary-gold);
            font-weight: 700;
            border-radius: var(--radius-pill);
            padding: 0.8rem 2rem;
        }
        
        .btn-premium-outline:hover {
            background: var(--gold-gradient);
            color: var(--primary-navy);
            border-color: transparent;
            transform: translateY(-2px);
        }

        /* Hero Section Utility */
        .section-hero {
            position: relative;
            min-height: 40vh;
            display: flex;
            align-items: center;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            color: white;
            padding: 4rem 0;
            margin-bottom: 3rem;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.4) 100%);
            z-index: 1;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
        }

        /* Form Controls */
        .form-control-premium {
            background: #ffffff;
            border: 2px solid rgba(0,0,0,0.05);
            border-radius: var(--radius-md);
            padding: 0.75rem 1.25rem;
        }
        
        .form-control-premium:focus {
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
            outline: none;
        }

        /* Leaflet Fix */
        .leaflet-container, .leaflet-container *, .leaflet-marker-icon, .leaflet-tile {
            transition: none !important;
            animation: none !important;
        }

        .leaflet-tile-container img {
            max-width: none !important;
            min-width: 0 !important;
            max-height: none !important;
            min-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* EstateX Component Styles */
        .featured-list-card {
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            background: white;
            transition: var(--transition-smooth);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .featured-list-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }
        
        .featured-list-card .card-image {
            height: 195px;
            overflow: hidden;
            position: relative;
        }
        
        .featured-list-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: .5s linear;
        }
        
        .featured-list-card:hover .card-image img {
            transform: scale(1.1);
        }
        
        .featured-list-card .card-image span.status-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: var(--primary-gold);
            color: white;
            padding: .2rem .65rem;
            font-size: 12px;
            border-radius: 4px;
            font-weight: 600;
            z-index: 2;
        }
        
        .featured-list-card .card-image .location-gallery {
            position: absolute;
            bottom: 0;
            font-size: 12px;
            width: 100%;
            padding: 1rem;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0, transparent);
            color: white;
            display: flex;
            justify-content: space-between;
            z-index: 2;
        }
        
        .featured-list-card .card-body {
            padding: 0;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .featured-list-card .card-body .p-4 {
            flex-grow: 1;
        }
        
        .featured-list-card .card-body .price {
            margin: 0 0 .25rem 0;
            display: block;
            font-weight: 700;
            font-size: 1.15rem;
            color: var(--primary-gold);
        }

        .featured-list-card .card-body h6 {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 0;
            color: var(--text-dark);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .featured-list-card .card-body ul.nav {
            margin-top: 0.6rem;
            border-top: 1px solid var(--glass-border);
            padding-top: 0.6rem;
        }
        
        .featured-list-card .card-body ul.nav li {
            font-size: 12px;
            color: var(--text-muted);
        }
        
        .featured-list-card .card-body ul.nav li span {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 14px;
        }
        
        .featured-list-card .card-body ul.nav li i {
            color: var(--primary-gold);
        }
        
        .estate-search-box {
            background-color: white;
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            margin-top: -60px; /* Overlap halfway */
            z-index: 10;
            position: relative;
            border: 1px solid rgba(0,0,0,0.05);
        }
        
        .aminity-card {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0;
            border-radius: var(--radius-sm);
            padding: 0.45rem 0.65rem;
            text-align: left;
            transition: 0.2s linear;
            border: 1px solid transparent;
            background-color: var(--bg-light);
        }

        .aminity-card:hover {
            border: 1px solid var(--primary-gold);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .aminity-card i {
            font-size: 0.95rem;
            color: var(--primary-gold);
            flex-shrink: 0;
        }

        .aminity-card h6 {
            font-weight: 500;
            font-size: 0.75rem;
            margin: 0;
            color: var(--text-dark);
            line-height: 1.2;
        }
        
        .sketch-details {
            background-color: var(--primary-navy);
            color: white;
            border-radius: var(--radius-lg);
        }
        
        .sketch-details ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sketch-details li {
            margin-bottom: 1rem;
            display: flex;
            position: relative;
            justify-content: space-between;
            padding-bottom: 0.5rem;
            border-bottom: 1px dashed rgba(255,255,255,0.2);
        }
        
        .sketch-details li:last-child {
            border-bottom: none;
        }
        
        .sketch-details li span:nth-child(1) {
            font-weight: 600;
        }


        /* Sophisticated Beehive Hexagon Pattern with Brand Navy Tones */
        .sweet_thatsection {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #1a1f1c;
            background-image:
                linear-gradient(30deg, #2f3531 12%, transparent 12.5%, transparent 87%, #2f3531 87.5%, #2f3531),
                linear-gradient(150deg, #2f3531 12%, transparent 12.5%, transparent 87%, #2f3531 87.5%, #2f3531),
                linear-gradient(30deg, #2f3531 12%, transparent 12.5%, transparent 87%, #2f3531 87.5%, #2f3531),
                linear-gradient(150deg, #2f3531 12%, transparent 12.5%, transparent 87%, #2f3531 87.5%, #2f3531),
                linear-gradient(60deg, #3f4742 25%, transparent 25.5%, transparent 75%, #3f4742 75%, #3f4742),
                linear-gradient(60deg, #3f4742 25%, transparent 25.5%, transparent 75%, #3f4742 75%, #3f4742);
            background-size: 80px 140px;
            background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
            pointer-events: none;
        }

        /* Moody vignette shadow overlay over the beehive */
        .sweet_thatsection::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
        }

        /* Split Auth Layout */
        .split-auth-container {
            display: flex;
            min-height: 80vh;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            background: white;
            margin: 2rem 0;
        }

        .auth-form-column {
            flex: 1;
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .auth-visual-column {
            flex: 1;
            position: sticky;
            top: 0;
            height: 100vh;
            display: none;
            overflow: hidden;
            background: var(--primary-navy);
            border-top-right-radius: var(--radius-lg);
            border-bottom-right-radius: var(--radius-lg);
        }

        @media (min-width: 992px) {
            .auth-visual-column {
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }

        .motivation-content {
            z-index: 2;
            padding: 5rem;
            max-width: 650px;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .motivation-heading {
            font-size: 5rem;
            font-weight: 900;
            color: #ffffff;
            line-height: 0.85;
            letter-spacing: -4px;
            margin-bottom: 2rem;
            text-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .motivation-subtext {
            font-size: 1.35rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.5;
            max-width: 480px;
            letter-spacing: -0.5px;
        }

/* Premium Form Switches */
.form-check-input:checked {
    background-color: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
}

.form-switch .form-check-input {
    width: 3em !important;
    height: 1.5em !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/%3e%3c/svg%3e") !important;
    transition: background-position .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.form-check-input:focus {
    border-color: var(--primary-gold) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.25) !important;
}

/* Custom Gold Radio */
.custom-radio-gold {
    width: 1.5em !important;
    height: 1.5em !important;
    margin-top: 0.15em !important;
    vertical-align: top !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border: 2px solid var(--primary-gold) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 50% !important;
}

.custom-radio-gold:checked {
    background-color: var(--primary-gold) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4) !important;
}

/* Settings Option Refinement */
.settings-option {
    transition: all 0.2s ease;
    padding: 1.5rem !important;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.settings-option:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Discovery Premium Button */
.btn-discovery {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2) !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-discovery:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3) !important;
    filter: brightness(1.1);
}

/* Danger Premium Button */
.btn-danger-premium {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2) !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-danger-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3) !important;
    filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════════
   SITE HEADER  — see components.css for full definition
   Header is position:fixed so main needs top offset
═══════════════════════════════════════════════════════════════ */

main { padding-top: 64px; }

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s !important;
}
.site-logo:hover { opacity: 0.85; }
.site-logo span  { color: var(--primary-gold); }

/* ── Desktop Navigation ────────────────────────────────────── */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.dnav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 6px 13px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.18s, background 0.18s !important;
}

/* Gold underline indicator */
.dnav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: left;
}

.dnav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09);
}

.dnav-link.active {
    color: #fff !important;
}

.dnav-link.active::after,
.dnav-link:hover::after {
    transform: scaleX(1);
}

/* Hide desktop nav on mobile */
@media (max-width: 991.98px) {
    .desktop-nav { display: none !important; }
}

/* ── Header Right Actions ───────────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-hdr-ghost {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 7px 18px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    transition: all 0.2s !important;
    white-space: nowrap;
}
.btn-hdr-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-hdr-solid {
    background: var(--primary-gold);
    color: var(--primary-navy) !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.2s !important;
    display: inline-block;
}
.btn-hdr-solid:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ── Desktop User Menu ──────────────────────────────────────── */
.user-menu-wrap {
    position: relative;
    align-items: center;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 4px 14px 4px 4px;
    cursor: pointer;
    color: #fff;
    font-family: var(--font-heading);
    transition: background 0.2s, border-color 0.2s !important;
}
.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
}

.umenu-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.umenu-name {
    font-size: 0.84rem;
    font-weight: 700;
}

.umenu-chevron {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s !important;
}
.user-menu-wrap.is-open .umenu-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px;
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s !important;
    z-index: 2100;
}
.user-menu-wrap.is-open .user-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.udrop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark) !important;
    transition: background 0.15s !important;
}
.udrop-item:hover              { background: var(--bg-light); }
.udrop-item--gold              { color: var(--primary-gold) !important; }
.udrop-item--gold:hover        { background: rgba(0, 148, 49, 0.07); }
.udrop-item--danger            { color: #ef4444 !important; }
.udrop-item--danger:hover      { background: #fef2f2; }

.udrop-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin: 6px 4px;
}

/* ── Hamburger Toggle ───────────────────────────────────────── */
.sidebar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s !important;
}
.sidebar-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: none !important;  /* prevent jitter on the bars */
}
.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR OVERLAY
═══════════════════════════════════════════════════════════════ */

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease !important;
}
body.sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: all;
}

/* Prevent body scroll while sidebar open */
body.sidebar-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SIDEBAR
═══════════════════════════════════════════════════════════════ */

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100dvh;           /* dynamic viewport height — handles iOS chrome */
    background: var(--primary-navy);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 6px 0 40px rgba(0, 0, 0, 0.22);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
body.sidebar-open .mobile-sidebar {
    transform: translateX(0);
}

/* Top bar inside sidebar */
.msidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.msidebar-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s !important;
}
.msidebar-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* User info strip */
.msidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.msidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.msidebar-uname {
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
}
.msidebar-urole {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

/* Nav links */
.msidebar-nav {
    flex: 1;
    padding: 10px 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow-y: auto;
}

.msidebar-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: background 0.18s, color 0.18s !important;
}
.msidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    opacity: 0.8;
}
.msidebar-link:hover,
.msidebar-link.active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff !important;
}
.msidebar-link.active i,
.msidebar-link:hover i {
    opacity: 1;
}

.msidebar-link--gold {
    color: var(--primary-gold) !important;
}
.msidebar-link--gold:hover {
    background: rgba(0, 148, 49, 0.12) !important;
    color: var(--primary-gold-bright) !important;
}

.msidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 8px 4px;
}

/* Footer section */
.msidebar-footer {
    padding: 14px 18px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.msidebar-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 4px;
    transition: color 0.18s !important;
}
.msidebar-logout:hover { color: #ef4444 !important; }

.msidebar-authbtn {
    display: block;
    text-align: center;
    text-decoration: none !important;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.2s !important;
}
.msidebar-authbtn--ghost {
    color: rgba(255, 255, 255, 0.78) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.msidebar-authbtn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.48);
    color: #fff !important;
}
.msidebar-authbtn--solid {
    background: var(--primary-gold);
    color: var(--primary-navy) !important;
}
.msidebar-authbtn--solid:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* ── Gold button (used in navbar era, keep for backward compat) ── */
.btn-gold {
    background: var(--primary-gold);
    color: var(--primary-navy) !important;
    font-weight: 700;
    border: none;
    transition: all 0.2s !important;
}
.btn-gold:hover {
    background: var(--primary-gold-bright);
    color: var(--primary-navy) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER — Well Organized & Professional
═══════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--primary-navy);
    color: #fff;
    padding: 3.5rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Main footer content grid */
.footer-main {
    padding-bottom: 2.5rem;
}

/* Individual section styling */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-brand {
    max-width: 340px;
}

.footer-section-newsletter {
    max-width: 420px;
}

/* ── Logo/Brand ────────────────────────────────────────────── */
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    line-height: 1;
}

.footer-logo span {
    color: var(--primary-gold);
}

/* ── Description ───────────────────────────────────────────── */
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

/* ── Social Links ──────────────────────────────────────────── */
.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-social-link:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-4px);
}

/* ── Section Title ────────────────────────────────────────── */
.footer-section-title {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    line-height: 1;
}

/* ── Link List ─────────────────────────────────────────────── */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s !important;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-link:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link-featured {
    color: var(--primary-gold);
    font-weight: 600;
}

.footer-link-featured:hover {
    color: var(--primary-gold-bright);
}

/* ── Newsletter Form ───────────────────────────────────────── */
.footer-newsletter-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.3rem;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-newsletter-group {
    display: flex !important;
    gap: 0 !important;
}

.footer-input {
    flex: 1;
    padding: 10px 16px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: #fff !important;
    font-size: 0.9rem;
    border-radius: 50px 0 0 50px !important;
    transition: all 0.2s !important;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-input:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    outline: none !important;
    box-shadow: inset 0 0 0 2px rgba(0, 148, 49, 0.3) !important;
}

.footer-btn-submit {
    padding: 10px 20px !important;
    background: var(--primary-gold) !important;
    color: var(--primary-navy) !important;
    border: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 50px 50px 0 !important;
    cursor: pointer;
    transition: all 0.2s !important;
}

.footer-btn-submit:hover {
    filter: brightness(1.1);
    transform: translateX(2px);
}

.footer-newsletter-response {
    font-size: 0.8rem;
    min-height: 20px;
}

/* ── Footer Divider ────────────────────────────────────────── */
.footer-divider {
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 15%,
        rgba(255, 255, 255, 0.08) 85%,
        transparent 100%);
    margin: 2.5rem 0;
}

/* ── Footer Bottom ─────────────────────────────────────────── */
.footer-bottom {
    padding: 1.5rem 0;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.footer-legal-link:hover {
    color: var(--primary-gold);
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-payment-methods {
    height: 24px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(1) brightness(2);
    transition: opacity 0.2s !important;
}

.footer-payment-methods:hover {
    opacity: 0.7;
}

/* ── Responsive Design ─────────────────────────────────────── */
@media (max-width: 767.98px) {
    .site-footer {
        padding: 2.5rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-main {
        padding-bottom: 1.5rem;
    }

    .footer-section-title {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-link-list {
        gap: 0.6rem;
    }

    .footer-divider {
        margin: 1.5rem 0;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-branding {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-copyright {
        gap: 0.6rem;
    }

    .footer-newsletter-desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .footer-input,
    .footer-btn-submit {
        font-size: 0.85rem !important;
        padding: 9px 12px !important;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-newsletter-group {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .footer-input {
        border-radius: 12px !important;
    }

    .footer-btn-submit {
        border-radius: 12px !important;
    }

    .footer-legal-links {
        gap: 1rem;
    }

    .footer-legal-link {
        font-size: 0.75rem;
    }

    .footer-branding {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

/* ── Two-toned light blue card ─────────────────────────────────────────────── */
.light_blue_themed_card {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #bfdbfe;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.light_blue_themed_card__header {
    padding: 0.75rem 1.5rem;
    background: #bfdbfe;
}

.light_blue_themed_card__header h5,
.light_blue_themed_card__header h6 {
    color: #1e3a5f;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.light_blue_themed_card__header i {
    color: #1e3a5f;
}

.light_blue_themed_card__body {
    padding: 1.5rem;
    background: #eff6ff;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #374151;
    line-height: 1.6;
}

.light_blue_themed_card__body a {
    color: #0d6efd;
    text-decoration: underline;
}

.light_blue_themed_card__cta {
    margin-top: auto;
    padding-top: 1.25rem;
}

.light_blue_themed_card__cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 0;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.light_blue_themed_card__cta a:hover {
    background: #0d6efd;
    color: #ffffff;
}
