/* ============================================================
   REAL ESTATE WEBSITE - MAIN STYLESHEET
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
    --primary:       #0b1a30;
    --primary-dark:  #071224;
    --primary-light: #162a4a;
    --accent:        #c89328;
    --accent-gold:   #d4a340;
    --accent-light:  #dfb15b;
    --accent-dark:   #a1741a;
    --dark:          #0b1a30;
    --dark2:         #071224;
    --text:          #243040;
    --text-light:    #556578;
    --text-muted:    #8898aa;
    --bg-light:      #f8fafd;
    --bg-gray:       #f0f4f9;
    --border:        #e2e8f0;
    --white:         #ffffff;
    --shadow-sm:     0 2px 8px rgba(11,26,48,0.05);
    --shadow:        0 4px 20px rgba(11,26,48,0.08);
    --shadow-hover:  0 10px 35px rgba(11,26,48,0.14);
    --radius:        12px;
    --radius-sm:     8px;
    --radius-lg:     20px;
    --transition:    all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-ar:       'Cairo', sans-serif;
    --font-en:       'Plus Jakarta Sans', sans-serif;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: var(--font-en);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
}
body.rtl { font-family: var(--font-ar); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
p { margin-bottom: 1rem; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- TYPOGRAPHY ---- */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .accent-line {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto;
    border-radius: 2px;
}

/* ---- BUTTONS ---- */
.btn { border-radius: var(--radius-sm); font-weight: 600; transition: var(--transition); }
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8,70,93,0.3);
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    font-weight: 700;
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198,156,74,0.4);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-icon {
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}
.btn-icon:hover { background: var(--accent); color: var(--white); }
.btn-icon.active { background: var(--accent); color: var(--white); }

/* ---- TOP BAR (LUXURY OMAN STYLE) ---- */
.top-bar {
    background: linear-gradient(90deg, #071224 0%, #0d1e38 50%, #071224 100%);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 0.83rem;
    border-bottom: 1px solid rgba(200, 147, 40, 0.28);
    position: relative;
    z-index: 1050; /* Higher than main-header to keep dropdowns floating on top */
}
.top-bar .dropdown {
    position: relative;
}
.top-bar .dropdown-menu {
    z-index: 1060 !important;
    position: absolute !important;
    margin-top: 8px !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(200, 147, 40, 0.3) !important;
    background: #0d1d36 !important;
    color: #ffffff !important;
    min-width: 220px;
}
.top-bar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    padding: 9px 18px;
    font-size: 0.86rem;
    transition: all 0.2s ease;
}
.top-bar .dropdown-menu .dropdown-item:hover {
    background: rgba(200, 147, 40, 0.22);
    color: var(--accent-light);
}
.top-bar .dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.12);
}
.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(200, 147, 40, 0.22) 0%, rgba(200, 147, 40, 0.08) 100%);
    border: 1px solid rgba(200, 147, 40, 0.45);
    color: #f7d27e;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.flag-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16,185,129,0.9);
    animation: flagPulse 2s infinite;
}
@keyframes flagPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 4px rgba(16,185,129,0.7); }
    50% { transform: scale(1.25); box-shadow: 0 0 10px rgba(16,185,129,1); }
    100% { transform: scale(0.95); box-shadow: 0 0 4px rgba(16,185,129,0.7); }
}
.contact-pill {
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.81rem;
    font-weight: 600;
    transition: var(--transition);
}
.contact-pill:hover {
    color: #ffffff;
    background: rgba(200, 147, 40, 0.22);
    border-color: rgba(200, 147, 40, 0.4);
}
.contact-pill.whatsapp-top {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.35);
    color: #4ade80;
}
.contact-pill.whatsapp-top:hover {
    background: rgba(37, 211, 102, 0.28);
    color: #ffffff;
    border-color: #22c55e;
}
.action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.81rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    cursor: pointer;
}
.action-pill:hover {
    background: rgba(200, 147, 40, 0.22);
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
}
.theme-toggle-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.search-trigger-btn {
    background: rgba(200, 147, 40, 0.18);
    border-color: rgba(200, 147, 40, 0.4);
    color: var(--accent-light);
}
.search-trigger-btn:hover {
    background: var(--accent);
    color: #071224;
}
.lang-pill:hover { color: var(--accent-light); }
.user-login-btn {
    background: linear-gradient(135deg, rgba(200,147,40,0.25) 0%, rgba(200,147,40,0.1) 100%);
    border-color: rgba(200,147,40,0.45);
    color: var(--accent-light);
}
.user-login-btn:hover {
    background: var(--accent);
    color: var(--primary-dark) !important;
    border-color: var(--accent);
}
.count-badge {
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* ---- EXECUTIVE UNIFIED HEADER (TWO-TIER LUXURY) ---- */
.main-header {
    background: var(--white);
    box-shadow: 0 4px 25px rgba(11,26,48,0.07);
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
    will-change: transform;
}
.main-header.scrolled {
    box-shadow: 0 6px 30px rgba(11,26,48,0.12);
}

/* Desktop Smart Scroll: Hide on scroll down, instant reveal on reverse scroll */
@media (min-width: 992px) {
    .main-header.header-hidden {
        transform: translateY(-100%) !important;
        box-shadow: none !important;
        pointer-events: none;
    }
}

/* Mobile: ALWAYS Fixed & Sticky at the Top, Never Hide Regardless of Scroll */
@media (max-width: 991.98px) {
    .main-header,
    .main-header.header-hidden {
        position: sticky !important;
        top: 0 !important;
        transform: none !important;
        transition: box-shadow 0.25s ease, background-color 0.25s ease !important;
        pointer-events: auto !important;
    }
}
.header-top-deck {
    background: var(--white);
    transition: var(--transition);
}
[data-theme="dark"] .main-header,
[data-theme="dark"] .header-top-deck,
body.dark-mode .main-header,
body.dark-mode .header-top-deck {
    background: #081223 !important;
    border-color: #172a47 !important;
}
.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
@media (max-width: 575.98px) {
    .brand-logo-img { height: 35px; }
}
.brand-text-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    gap: 4px;
}
.brand-main-title {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: -0.3px;
    display: block;
    line-height: 1.15;
    margin: 0;
}
.brand-tagline,
.brand-tagline-mobile {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3px;
    display: block;
    line-height: 1.15;
    margin: 0;
}

/* Compact Luxury Search Pill */
.header-search-compact {
    height: 38px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0 14px;
    width: 220px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.header-search-compact:hover {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(200, 147, 40, 0.15);
}
.header-search-compact .search-text {
    font-size: 0.82rem;
    white-space: nowrap;
}
.header-search-compact .search-kbd {
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0.7;
}
[data-theme="dark"] .header-search-compact,
body.dark-mode .header-search-compact {
    background: #0e1c36 !important;
    border-color: #1e3355 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .header-search-compact:hover,
body.dark-mode .header-search-compact:hover {
    border-color: var(--accent) !important;
    background: #142749 !important;
}

/* Header Tools & Buttons (Standardized 38px Height Baseline) */
.header-tool-btn {
    height: 38px;
    padding: 0 12px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.header-tool-btn:hover {
    background: #eef2f6;
    border-color: var(--accent);
    color: var(--accent);
}
[data-theme="dark"] .header-tool-btn,
body.dark-mode .header-tool-btn {
    background: #111f38 !important;
    border-color: #1e3355 !important;
    color: #e2e8f0 !important;
}
[data-theme="dark"] .header-tool-btn:hover,
body.dark-mode .header-tool-btn:hover {
    background: #172b4f !important;
    color: var(--accent-light) !important;
}

@media (max-width: 991.98px) {
    .header-top-deck {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    .header-tools {
        gap: 5px !important;
    }
    .header-tool-btn {
        width: 35px !important;
        height: 35px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        font-size: 0.85rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .header-tool-btn.dropdown-toggle::after {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
        background: rgba(200, 147, 40, 0.15) !important;
        border: 1.5px solid rgba(200, 147, 40, 0.45) !important;
        color: var(--accent) !important;
    }
    .mobile-menu-toggle:hover {
        background: var(--accent) !important;
        color: #071224 !important;
    }
    [data-theme="dark"] .mobile-menu-toggle,
    body.dark-mode .mobile-menu-toggle {
        background: rgba(200, 147, 40, 0.22) !important;
        border-color: rgba(200, 147, 40, 0.6) !important;
        color: var(--accent-light) !important;
    }
}

/* Contact Pills in Header */
.header-contact-pill {
    height: 38px;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.header-contact-pill.whatsapp-pill {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #128c7e;
}
.header-contact-pill.phone-pill {
    background: rgba(200, 147, 40, 0.12);
    border: 1px solid rgba(200, 147, 40, 0.35);
    color: var(--accent);
}
.header-contact-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* User Account Button & Dropdown */
.header-user-btn {
    height: 38px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0 12px 0 4px;
    font-size: 0.84rem;
    color: var(--dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}
.header-user-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 3px 12px rgba(200, 147, 40, 0.18);
}
[data-theme="dark"] .header-user-btn,
body.dark-mode .header-user-btn {
    background: #111f38 !important;
    border-color: #1e3355 !important;
    color: #f1f5f9 !important;
}
@media (min-width: 992px) {
    .header-user-dropdown:hover .user-header-dropdown {
        display: block;
    }
}
.user-header-dropdown {
    border-radius: 14px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
}
.header-login-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0b1a30 0%, #152945 100%);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(200, 147, 40, 0.4);
    transition: all 0.2s ease;
}
.header-login-btn:hover {
    background: var(--accent);
    color: #071224 !important;
}

/* Compact Add Property Button */
.btn-add-prop-compact {
    height: 38px;
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 50%, #b8861b 100%);
    color: #071224 !important;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(200, 147, 40, 0.35);
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.btn-add-prop-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 147, 40, 0.5);
    color: #071224 !important;
}

/* DECK 2: NAVIGATION STRIP */
.header-nav-deck {
    background: rgba(248, 250, 252, 0.85);
    border-top: 1px solid #edf2f7;
}
[data-theme="dark"] .header-nav-deck,
body.dark-mode .header-nav-deck {
    background: #060e1b !important;
    border-color: #152744 !important;
}
.nav-link-item {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.91rem;
    padding: 9px 13px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-link-item .nav-icon {
    font-size: 0.82rem;
    color: var(--accent);
    opacity: 0.8;
}
.nav-link-item:hover,
.nav-link-item.active {
    color: var(--accent);
    background: rgba(200, 147, 40, 0.08);
}
[data-theme="dark"] .nav-link-item,
body.dark-mode .nav-link-item {
    color: #e2e8f0 !important;
}
[data-theme="dark"] .nav-link-item:hover,
body.dark-mode .nav-link-item:hover {
    color: var(--accent-light) !important;
    background: rgba(200, 147, 40, 0.15) !important;
}

.country-badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(200, 147, 40, 0.1);
    border: 1px solid rgba(200, 147, 40, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
}
.nav-badge-pill {
    padding: 4px 10px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-badge-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}
[data-theme="dark"] .nav-badge-pill,
body.dark-mode .nav-badge-pill {
    background: #0f1c34 !important;
    border-color: #1e3355 !important;
    color: #cbd5e1 !important;
}

/* ============================================================
   MOBILE NATIVE APP DOCK & APP DRAWER
   ============================================================ */
.mobile-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 64px;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: 10px;
    padding-right: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
    z-index: 1045;
    /* Hardware acceleration & isolation - prevents scroll jitter on mobile browsers */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    overflow: visible !important;
    touch-action: manipulation;
}
[data-theme="dark"] .mobile-bottom-dock,
body.dark-mode .mobile-bottom-dock {
    background: rgba(7, 18, 36, 0.97) !important;
    border-top: 1px solid #1a2f50 !important;
    box-shadow: 0 -4px 25px rgba(0,0,0,0.4) !important;
}
.dock-container {
    height: 100%;
    overflow: visible !important;
    position: relative;
}
.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    position: relative;
    padding: 4px 8px;
    transition: all 0.2s ease;
}
.dock-item .dock-icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.dock-item.active,
.dock-item:hover {
    color: var(--accent);
}
[data-theme="dark"] .dock-item,
body.dark-mode .dock-item {
    color: #94a3b8;
}
[data-theme="dark"] .dock-item.active,
body.dark-mode .dock-item.active {
    color: var(--accent-light);
}
.dock-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1;
}

/* Center Floating Dock Button - Protruding Prominently Above Dock */
.dock-center-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-top: -26px;
    position: relative;
    z-index: 1055;
    overflow: visible;
}
.dock-center-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c89328 0%, #f4cb6c 50%, #c89328 100%);
    color: #071224;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 900;
    border: 3.5px solid #ffffff;
    box-shadow: 0 4px 18px rgba(200, 147, 40, 0.55), 0 -2px 10px rgba(0,0,0,0.08) !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] .dock-center-btn,
body.dark-mode .dock-center-btn {
    border-color: #071224 !important;
    box-shadow: 0 4px 20px rgba(200, 147, 40, 0.6), 0 -2px 12px rgba(0,0,0,0.5) !important;
}
.dock-center-action:hover .dock-center-btn {
    transform: scale(1.1) translateY(-2px);
}
.dock-center-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 2px;
    white-space: nowrap;
}

/* Mobile Offcanvas App Drawer */
.mobile-app-drawer {
    width: 320px !important;
    background: #ffffff;
}
[data-theme="dark"] .mobile-app-drawer,
body.dark-mode .mobile-app-drawer {
    background: #09152a !important;
    color: #f1f5f9 !important;
}
.mobile-app-drawer .offcanvas-header {
    background: #071224;
}
[data-theme="dark"] .mobile-drawer-links .list-group-item,
body.dark-mode .mobile-drawer-links .list-group-item {
    background: #09152a !important;
    color: #e2e8f0 !important;
    border-color: #172a47 !important;
}
[data-theme="dark"] .mobile-drawer-links .list-group-item:hover,
body.dark-mode .mobile-drawer-links .list-group-item:hover {
    background: #11223e !important;
    color: var(--accent-light) !important;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
    .whatsapp-widget {
        bottom: 78px !important;
    }
    .back-to-top {
        bottom: 78px !important;
    }
}
.btn-add-property:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 147, 40, 0.5);
    color: #000 !important;
}
.btn-add-property .icon-circle {
    width: 24px; height: 24px;
    background: rgba(7, 18, 36, 0.85);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ---- HERO SLIDER (BULLETPROOF & LUXURY) ---- */
/* Bulletproof fix for Bootstrap 5 RTL / LTR carousel item positioning */
[dir="rtl"] .carousel-item,
body.rtl .carousel-item {
    float: right !important;
    margin-right: 0 !important;
    margin-left: -100% !important;
    left: 0 !important;
    right: 0 !important;
}
[dir="ltr"] .carousel-item,
body.ltr .carousel-item {
    float: left !important;
    margin-right: -100% !important;
    margin-left: 0 !important;
    left: 0 !important;
    right: 0 !important;
}
.hero-carousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-carousel .carousel-item.active {
    display: block !important;
    opacity: 1 !important;
    z-index: 5 !important;
}
.hero-section {
    position: relative;
    background: #0b1a30;
    overflow: hidden;
    min-height: 560px;
}
.hero-carousel {
    position: relative;
    width: 100%;
    background: #0b1a30;
}
.hero-slide {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 560px;
    max-height: 750px;
    display: flex;
    align-items: center;
    background: #0b1a30;
    overflow: hidden;
}
.hero-slide .container {
    position: relative;
    z-index: 10;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    transition: transform 7s ease-out;
    z-index: 1;
}
.carousel-item.active .hero-bg {
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 18, 36, 0.92) 0%, rgba(11, 26, 48, 0.70) 55%, rgba(7, 18, 36, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
    max-width: 820px;
    padding: 3rem 0;
}
.hero-content .badge-tag {
    background: rgba(200, 147, 40, 0.22);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}
.hero-content h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}
.hero-content h1 span {
    color: var(--accent-light);
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.2rem;
    max-width: 600px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: start; }
.hero-stat .num {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
}
.hero-stat .lbl {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-top: 5px;
    font-weight: 500;
}

/* Carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(7, 18, 36, 0.6);
    border: 1px solid rgba(200, 147, 40, 0.4);
    top: 50%; transform: translateY(-50%);
    margin: 0 1.2rem;
    backdrop-filter: blur(6px);
    opacity: 0.95;
    transition: var(--transition);
    color: #fff;
    z-index: 20;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--accent);
    color: #071224;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}
.hero-carousel .carousel-indicators {
    bottom: 25px;
    z-index: 20;
    gap: 8px;
}
.hero-carousel .carousel-indicators button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    transition: var(--transition);
}
.hero-carousel .carousel-indicators .active {
    background: var(--accent-light);
    width: 32px;
    border-radius: 6px;
}

/* ---- HERO FEATURED PROPERTY SHOWCASE ---- */
.hero-badge-gold {
    background: linear-gradient(135deg, rgba(200, 147, 40, 0.35) 0%, rgba(200, 147, 40, 0.18) 100%);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
}
.hero-badge-type {
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-badge-type.sale {
    background: #10b981;
    color: #fff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.hero-badge-type.rent {
    background: #0284c7;
    color: #fff;
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
}
.hero-badge-unit {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.hero-prop-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.9rem;
    letter-spacing: -0.5px;
}
.hero-prop-title a {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}
.hero-prop-title a:hover {
    color: var(--accent-light);
}
.hero-prop-location {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-prop-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-spec-pill {
    background: rgba(7, 18, 36, 0.75);
    border: 1px solid rgba(200, 147, 40, 0.35);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}
.hero-price-tag {
    background: linear-gradient(135deg, rgba(7, 18, 36, 0.95) 0%, rgba(11, 26, 48, 0.90) 100%);
    border: 1px solid rgba(200, 147, 40, 0.6);
    border-radius: 14px;
    padding: 10px 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.hero-price-tag .price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}
.hero-price-tag .price-number {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1.1;
}
.btn-whatsapp-hero {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
}
.btn-whatsapp-hero:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ---- LUXURY SEARCH BOX (قلاع العقارية) ---- */
#search-section { background: var(--white); padding: 0 0 60px 0; }
.search-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 20px 45px rgba(11, 26, 48, 0.12), 0 0 0 1px rgba(200, 147, 40, 0.2);
    margin-top: -85px;
    position: relative;
    z-index: 20;
}
.search-tabs { margin-bottom: 1.5rem; }
.search-tabs .nav-tabs { border: none; gap: 0.6rem; }
.search-tabs .nav-link {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    color: #475569;
    font-weight: 700;
    padding: 9px 26px;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}
.search-tabs .nav-link.active {
    background: #0b1a30;
    border-color: #0b1a30;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 26, 48, 0.25);
}
.search-tabs .nav-link:hover:not(.active) {
    background: #e2e8f0;
    color: #0b1a30;
}
.search-form .form-label {
    color: #334155;
    font-size: 0.82rem;
    margin-bottom: 6px;
}
.search-form .form-control,
.search-form .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 52px;
    font-size: 0.92rem;
    background: #f8fafc;
    color: #0b1a30;
    font-weight: 500;
    transition: all 0.25s ease;
}
.search-form .form-control:focus,
.search-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(200, 147, 40, 0.15);
    background: #ffffff;
}
.search-form .btn-search {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%);
    color: #071224;
    border: none;
    height: 52px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 6px 18px rgba(200, 147, 40, 0.35);
    transition: all 0.25s ease;
}
.search-form .btn-search:hover {
    background: linear-gradient(135deg, #e5b74b 0%, #d4a340 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 147, 40, 0.5);
    color: #071224;
}

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
section.bg-light { background: var(--bg-light) !important; }
section.bg-dark { background: var(--dark) !important; }

/* ---- LUXURY PROPERTY CARDS (قلاع العقارية) ---- */
.property-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 26, 48, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    box-shadow: 0 14px 38px rgba(11, 26, 48, 0.12), 0 0 0 1px rgba(200, 147, 40, 0.25);
    transform: translateY(-7px);
}
.property-img {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #0b1a30;
}
.prop-img-link {
    display: block;
    width: 100%;
    height: 100%;
}
.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.property-card:hover .property-img img {
    transform: scale(1.07);
}
.prop-badges-group {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 2;
}
.prop-badge {
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.prop-badge.sale {
    background: #10b981;
    color: #ffffff;
}
.prop-badge.rent {
    background: #0284c7;
    color: #ffffff;
}
.prop-unit-tag {
    background: rgba(7, 18, 36, 0.78);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.prop-badge.featured {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%);
    color: #071224;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(200, 147, 40, 0.4);
    z-index: 2;
}
.prop-actions {
    position: absolute;
    bottom: 14px;
    inset-inline-end: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
    opacity: 0.85;
    transition: all 0.3s ease;
}
.property-card:hover .prop-actions {
    opacity: 1;
}
.btn-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.btn-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
}
.btn-icon:hover,
.btn-icon.active {
    background: var(--accent);
    color: #071224;
    border-color: var(--accent);
    transform: scale(1.12);
}
.btn-icon.active i.far {
    font-weight: 900;
    color: #ef4444;
}
.btn-icon.active.btn-compare,
.btn-card-action.active.btn-compare {
    background: var(--accent) !important;
    color: #071224 !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 14px rgba(200, 147, 40, 0.45);
}
.btn-icon.active.btn-compare i,
.btn-card-action.active.btn-compare i {
    color: #071224 !important;
}
.btn-favorite:hover i {
    color: #ef4444;
}
.property-info {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.prop-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.prop-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.45;
}
.prop-title a {
    color: var(--primary-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.prop-title a:hover {
    color: var(--accent);
}
.prop-location {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.prop-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #edf2f7;
    background: #fafbfc;
    margin-inline: -1.35rem;
    margin-bottom: -1.35rem;
    padding-inline: 1.35rem;
    padding-bottom: 0.95rem;
    border-radius: 0 0 16px 16px;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}
.row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
    margin-bottom: 1.5rem;
}

/* ---- POPULAR LOCATIONS ---- */
.location-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    display: block;
}
.location-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.location-card:hover img { transform: scale(1.1); }
.location-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,70,93,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}
.location-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}
.location-count {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
}
.location-card-lg { height: 420px; }

/* ---- SERVICES ---- */
.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}
.service-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(8,70,93,0.08);
    color: var(--primary);
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.service-card h4 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ---- STATISTICS ---- */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 60px 0;
}
.stat-item { text-align: center; color: var(--white); }
.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: block;
}
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.5rem; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,0.2); margin-bottom: 1rem; }

/* ---- PROJECTS (LUXURY OMAN DEVELOPMENTS) ---- */
.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}
.project-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover img { transform: scale(1.08); }
.project-tag {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 5;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    max-width: max-content !important;
    align-self: flex-start !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}
.project-tag.status-ongoing {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.project-tag.status-upcoming {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.project-tag.status-completed {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7, 18, 36, 0.95) 0%, rgba(7, 18, 36, 0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start; /* Prevents children from stretching wide */
    padding: 1.5rem;
    color: var(--white);
    transition: var(--transition);
    z-index: 2;
}
.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(7, 18, 36, 0.98) 0%, rgba(7, 18, 36, 0.65) 100%);
}
.project-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.3rem; color: #ffffff; }
.project-location { color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.project-btn {
    margin-top: 0.85rem;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}
.project-card:hover .project-btn { opacity: 1; transform: translateY(0); }

/* ---- NEWS ---- */
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 1.25rem; }
.news-date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.5rem; }
.news-date i { color: var(--accent); margin-inline-end: 5px; }
.news-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.4; }
.news-title a { color: var(--dark); }
.news-title a:hover { color: var(--primary); }
.news-excerpt { color: var(--text-light); font-size: 0.88rem; margin-bottom: 1rem; }
.news-link { color: var(--primary); font-weight: 600; font-size: 0.88rem; }
.news-link:hover { color: var(--accent); }

/* ---- NEWSLETTER (PERMANENT LUXURY DARK) ---- */
.newsletter-section,
[data-theme="dark"] .newsletter-section,
[data-bs-theme="dark"] .newsletter-section,
body.dark-mode .newsletter-section {
    background: linear-gradient(135deg, #071224 0%, #0d2242 100%) !important;
    padding: 60px 0;
    color: #ffffff !important;
}
.newsletter-inner { }
.newsletter-section h3,
[data-theme="dark"] .newsletter-section h3 {
    color: #ffffff !important;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.newsletter-section p,
[data-theme="dark"] .newsletter-section p { color: rgba(255,255,255,0.8) !important; margin: 0; }
.newsletter-form .form-control,
[data-theme="dark"] .newsletter-form .form-control {
    height: 50px;
    border: 2px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.rtl .newsletter-form .form-control { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.6) !important; }
.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
    box-shadow: none;
}
.newsletter-form .btn-accent { height: 50px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.rtl .newsletter-form .btn-accent { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.newsletter-msg { font-size: 0.85rem; }
.newsletter-msg.success { color: #a3e9b0; }
.newsletter-msg.error { color: #f8a0a0; }

/* ---- FOOTER (ALWAYS LOCKED LUXURY DARK - NEVER MODIFIED BY THEMES) ---- */
.main-footer,
[data-theme="dark"] .main-footer,
[data-bs-theme="dark"] .main-footer,
body.dark-mode .main-footer {
    background: #071224 !important;
    color: rgba(255,255,255,0.78) !important;
}
.footer-top { padding: 60px 0 40px; }
.footer-logo,
[data-theme="dark"] .footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}
.footer-logo i { color: var(--accent); }
.footer-desc,
[data-theme="dark"] .footer-desc { color: rgba(255,255,255,0.7) !important; font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    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.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #071224 !important; }
.footer-title,
[data-theme="dark"] .footer-title {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; inset-inline-start: 0;
    width: 30px; height: 2px;
    background: var(--accent);
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a,
[data-theme="dark"] .footer-links a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover,
[data-theme="dark"] .footer-links a:hover { color: var(--accent-light) !important; padding-inline-start: 5px; }
.footer-links i { font-size: 10px; color: var(--accent); }
.footer-contact li,
[data-theme="dark"] .footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.88rem;
}
.footer-contact i { color: var(--accent); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact a,
[data-theme="dark"] .footer-contact a { color: rgba(255,255,255,0.7) !important; }
.footer-contact a:hover,
[data-theme="dark"] .footer-contact a:hover { color: var(--accent-light) !important; }
/* ---- FOOTER BOTTOM (SEAMLESS INTEGRATED LUXURY BAR) ---- */
.footer-bottom,
[data-theme="dark"] .footer-bottom,
[data-bs-theme="dark"] .footer-bottom,
body.dark-mode .footer-bottom {
    background: transparent !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 22px 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65) !important;
}
.footer-bottom a,
[data-theme="dark"] .footer-bottom a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-bottom a:hover,
[data-theme="dark"] .footer-bottom a:hover {
    color: var(--accent-light) !important;
    text-decoration: underline;
}
.footer-bottom-links .sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

/* ---- WHATSAPP WIDGET ---- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-widget:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
.wa-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: wa-pulse 2s infinite;
    z-index: -1;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    inset-inline-end: 30px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 998;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(8,70,93,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

/* ---- COMPARE BAR ---- */
.compare-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #071224;
    border-top: 2px solid var(--accent, #c89328);
    color: var(--white);
    padding: 12px 0;
    z-index: 1045;
    box-shadow: 0 -6px 25px rgba(0,0,0,0.35);
    transition: bottom 0.3s ease;
}
@media (max-width: 991.98px) {
    .compare-bar {
        bottom: 64px;
        padding: 10px 0;
    }
}
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.compare-bar-label { font-weight: 600; font-size: 0.95rem; }
.compare-bar-actions { display: flex; gap: 0.75rem; }

/* ---- PAGE HERO / BREADCRUMB ---- */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- PROPERTY DETAIL ---- */
.property-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    height: 450px;
}
.property-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb {
    width: 80px; height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.property-detail-info { padding: 2rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 1rem 0; }
.detail-meta-item { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 70px; }
.detail-meta-item i { color: var(--primary); font-size: 1.2rem; margin-bottom: 4px; }
.detail-meta-item .val { font-weight: 700; font-size: 1.1rem; }
.detail-meta-item .lbl { color: var(--text-muted); font-size: 0.75rem; }
.contact-card { background: var(--bg-light); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 100px; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 1.25rem; }
.contact-card .btn { width: 100%; margin-bottom: 0.75rem; }

/* ---- SEARCH / FILTER ---- */
.search-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.filter-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--accent); }
.search-sidebar .form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.search-sidebar .form-control,
.search-sidebar .form-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; }
.search-sidebar .form-control:focus,
.search-sidebar .form-select:focus { border-color: var(--primary); box-shadow: none; }

/* ---- FORMS ---- */
.form-floating label { color: var(--text-light); }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 15px;
    font-size: 0.9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,70,93,0.1);
}
textarea.form-control { min-height: 120px; }

/* ---- AUTH PAGES ---- */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 60px 0;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.auth-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}
.auth-header h2 { color: var(--white); margin: 0; }
.auth-body { padding: 2rem; }
.auth-tabs .nav-link {
    color: var(--text-light);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 10px 24px;
}
.auth-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---- COMPARE PAGE ---- */
.compare-table { overflow-x: auto; }
.compare-table table { min-width: 700px; }
.compare-table th { background: var(--primary); color: var(--white); }
.compare-table .prop-row-img { height: 150px; overflow: hidden; }
.compare-table .prop-row-img img { width: 100%; height: 100%; object-fit: cover; }
.compare-diff { background: rgba(198,156,74,0.1); }

/* ---- ADMIN NOTICE ---- */
.admin-notice {
    position: fixed;
    bottom: 20px;
    inset-inline-start: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    z-index: 9999;
    box-shadow: var(--shadow-hover);
}
.admin-notice a { color: var(--accent); font-weight: 600; }

/* ---- ALERT ---- */
.alert { border-radius: var(--radius-sm); border: none; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger  { background: #f8d7da; color: #721c24; }
.alert-warning { background: #fff3cd; color: #856404; }
.alert-info    { background: #d1ecf1; color: #0c5460; }

/* ---- PAGINATION ---- */
.pagination .page-link {
    border: 1.5px solid var(--border);
    color: var(--primary);
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    padding: 7px 13px;
    font-weight: 600;
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.pagination .page-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---- BADGE ---- */
.badge-rent { background: var(--primary); }
.badge-sale { background: #28a745; }

/* ---- SKELETON LOADER ---- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-gray) 25%, var(--border) 50%, var(--bg-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- FAQ ---- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.75rem; }
.faq-item h4 { padding: 1rem 1.25rem; margin: 0; font-size: 1rem; cursor: pointer; color: var(--dark); }
.faq-item p { padding: 0 1.25rem 1rem; color: var(--text-light); margin: 0; font-size: 0.9rem; }
.accordion-button { background: var(--white); color: var(--dark); font-weight: 600; border-radius: var(--radius-sm); }
.accordion-button:not(.collapsed) { background: rgba(8,70,93,0.05); color: var(--primary); box-shadow: none; }
.accordion-button::after { filter: none; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm) !important; margin-bottom: 0.5rem; overflow: hidden; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
    .top-bar { display: none; }
    .hero-slide { height: 70vh; min-height: 450px; }
    .hero-stats { gap: 1rem; }
    .hero-stat .num { font-size: 1.4rem; }
    .search-box { margin-top: -40px; }
    .property-img { height: 180px; }
    .location-card-lg { height: 300px; }
}

@media (max-width: 575.98px) {
    section { padding: 50px 0; }
    .hero-slide { height: 60vh; }
    .hero-content h1 { font-size: 1.6rem; }
    .search-box { margin-top: 0; border-radius: var(--radius); }
    .hero-stats { display: none; }
    .whatsapp-widget { bottom: 20px; inset-inline-end: 20px; width: 50px; height: 50px; }
    .back-to-top { bottom: 85px; inset-inline-end: 20px; }
}

/* ---- RTL ADJUSTMENTS ---- */
.rtl .navbar-nav { margin-right: auto !important; margin-left: unset !important; }
.rtl .navbar-actions { margin-inline-start: 1rem; margin-inline-end: auto; }
.rtl .ms-auto { margin-left: unset !important; margin-right: auto !important; }
.rtl .me-auto { margin-right: unset !important; margin-left: auto !important; }
.rtl .text-md-end { text-align: start !important; }
@media (min-width: 768px) {
    .rtl .text-md-end { text-align: start !important; }
}

/* ---- UTILITY ---- */
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }

/* ---- HORIZONTAL LIST CARDS ---- */
.property-card-horizontal {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 18px rgba(11, 26, 48, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.property-card-horizontal:hover {
    box-shadow: 0 12px 30px rgba(11, 26, 48, 0.12), 0 0 0 1px rgba(200, 147, 40, 0.3);
    transform: translateY(-4px);
}
.property-card-horizontal .property-img {
    height: 100%;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bg-primary { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.border-accent { border-color: var(--accent) !important; }
.fw-800 { font-weight: 800; }
.gap-section { margin-bottom: 5rem; }
.view-all-link { color: var(--primary); font-weight: 600; }
.view-all-link:hover { color: var(--accent); }
.placeholder-img {
    width: 100%; height: 100%;
    background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

/* ============================================================
   DARK MODE SYSTEM
   ============================================================ */
[data-theme="dark"],
[data-bs-theme="dark"],
body.dark-mode,
[data-theme="dark"] body,
[data-bs-theme="dark"] body {
    --white: #ffffff;
    --dark: #071224;
    --bg-light: #0b1528;
    --border: #1e2f4d;
    --text: #cbd5e1;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    background-color: #080f1d !important;
    color: #e2e8f0 !important;
}
[data-theme="dark"] .bg-light, [data-bs-theme="dark"] .bg-light, body.dark-mode .bg-light {
    background-color: #0b1528 !important;
}
[data-theme="dark"] .bg-white, [data-bs-theme="dark"] .bg-white, body.dark-mode .bg-white,
[data-theme="dark"] .card, [data-bs-theme="dark"] .card, body.dark-mode .card,
[data-theme="dark"] .property-card, [data-bs-theme="dark"] .property-card, body.dark-mode .property-card,
[data-theme="dark"] .property-card-horizontal, [data-bs-theme="dark"] .property-card-horizontal, body.dark-mode .property-card-horizontal,
[data-theme="dark"] .property-detail-info, [data-bs-theme="dark"] .property-detail-info, body.dark-mode .property-detail-info,
[data-theme="dark"] .search-sidebar, [data-bs-theme="dark"] .search-sidebar, body.dark-mode .search-sidebar,
[data-theme="dark"] .search-box, [data-bs-theme="dark"] .search-box, body.dark-mode .search-box,
[data-theme="dark"] .main-header, [data-bs-theme="dark"] .main-header, body.dark-mode .main-header,
[data-theme="dark"] .header-top-deck, [data-bs-theme="dark"] .header-top-deck, body.dark-mode .header-top-deck,
[data-theme="dark"] .service-card, [data-bs-theme="dark"] .service-card, body.dark-mode .service-card,
[data-theme="dark"] .contact-card, [data-bs-theme="dark"] .contact-card, body.dark-mode .contact-card,
[data-theme="dark"] .modal-content, [data-bs-theme="dark"] .modal-content, body.dark-mode .modal-content,
[data-theme="dark"] .calc-card, [data-bs-theme="dark"] .calc-card, body.dark-mode .calc-card,
[data-theme="dark"] .news-card, [data-bs-theme="dark"] .news-card, body.dark-mode .news-card,
[data-theme="dark"] .auth-card, [data-bs-theme="dark"] .auth-card, body.dark-mode .auth-card,
[data-theme="dark"] .property-share-bar, [data-bs-theme="dark"] .property-share-bar, body.dark-mode .property-share-bar,
[data-theme="dark"] .submit-prop-card, body.dark-mode .submit-prop-card {
    background-color: #101c33 !important;
    color: #e2e8f0 !important;
    border-color: #1e3152 !important;
}
[data-theme="dark"] #search-section, body.dark-mode #search-section {
    background: transparent !important;
}
[data-theme="dark"] .header-top-deck, body.dark-mode .header-top-deck {
    background: #091322 !important;
}
[data-theme="dark"] .main-header.scrolled, [data-bs-theme="dark"] .main-header.scrolled, body.dark-mode .main-header.scrolled {
    background-color: rgba(9, 19, 34, 0.97) !important;
}
[data-theme="dark"] .navbar-nav .nav-link, [data-bs-theme="dark"] .navbar-nav .nav-link, body.dark-mode .navbar-nav .nav-link {
    color: #e2e8f0 !important;
}
[data-theme="dark"] .navbar-nav .nav-link:hover, [data-bs-theme="dark"] .navbar-nav .nav-link:hover, body.dark-mode .navbar-nav .nav-link:hover {
    color: var(--accent-light) !important;
}
[data-theme="dark"] .brand-main-title, [data-bs-theme="dark"] .brand-main-title, body.dark-mode .brand-main-title {
    color: #ffffff !important;
}
[data-theme="dark"] .form-control, [data-bs-theme="dark"] .form-control, body.dark-mode .form-control,
[data-theme="dark"] .form-select, [data-bs-theme="dark"] .form-select, body.dark-mode .form-select {
    background-color: #0b1426 !important;
    border-color: #243a60 !important;
    color: #f8fafc !important;
}
[data-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-control:focus, body.dark-mode .form-control:focus,
[data-theme="dark"] .form-select:focus, [data-bs-theme="dark"] .form-select:focus, body.dark-mode .form-select:focus {
    background-color: #0f1c36 !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
}
[data-theme="dark"] .form-label, [data-bs-theme="dark"] .form-label, body.dark-mode .form-label,
[data-theme="dark"] .search-form .form-label, body.dark-mode .search-form .form-label,
[data-theme="dark"] .search-sidebar .form-label, body.dark-mode .search-sidebar .form-label {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .input-group-text, [data-bs-theme="dark"] .input-group-text, body.dark-mode .input-group-text {
    background-color: #112038 !important;
    border-color: #243a60 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .text-dark, [data-bs-theme="dark"] .text-dark, body.dark-mode .text-dark,
[data-theme="dark"] .section-title, [data-bs-theme="dark"] .section-title, body.dark-mode .section-title,
[data-theme="dark"] h1, [data-bs-theme="dark"] h1, body.dark-mode h1,
[data-theme="dark"] h2, [data-bs-theme="dark"] h2, body.dark-mode h2,
[data-theme="dark"] h3, [data-bs-theme="dark"] h3, body.dark-mode h3,
[data-theme="dark"] h4, [data-bs-theme="dark"] h4, body.dark-mode h4,
[data-theme="dark"] h5, [data-bs-theme="dark"] h5, body.dark-mode h5 {
    color: #ffffff !important;
}
[data-theme="dark"] .text-muted, [data-bs-theme="dark"] .text-muted, body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

/* Property Cards Dark Mode Fixes (Gold Price & Seamless Dark Meta Bar) */
[data-theme="dark"] .property-info, body.dark-mode .property-info {
    background-color: #101c33 !important;
}
[data-theme="dark"] .prop-title a, [data-bs-theme="dark"] .prop-title a, body.dark-mode .prop-title a {
    color: #ffffff !important;
}
[data-theme="dark"] .prop-title a:hover, [data-bs-theme="dark"] .prop-title a:hover, body.dark-mode .prop-title a:hover {
    color: var(--accent-light) !important;
}
[data-theme="dark"] .prop-price, [data-bs-theme="dark"] .prop-price, body.dark-mode .prop-price {
    color: var(--accent-light) !important;
    text-shadow: 0 1px 8px rgba(200, 147, 40, 0.35) !important;
}
[data-theme="dark"] .prop-location, [data-bs-theme="dark"] .prop-location, body.dark-mode .prop-location {
    color: #94a3b8 !important;
}
[data-theme="dark"] .prop-meta, [data-bs-theme="dark"] .prop-meta, body.dark-mode .prop-meta {
    background: #0b1526 !important;
    border-top: 1px solid #1a2f50 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .meta-item, [data-bs-theme="dark"] .meta-item, body.dark-mode .meta-item {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .meta-item i, body.dark-mode .meta-item i {
    color: var(--accent) !important;
}

/* Page Hero Banner in Dark Mode */
.page-hero,
[data-theme="dark"] .page-hero,
body.dark-mode .page-hero {
    background: linear-gradient(135deg, #071224 0%, #0d1e38 50%, #071224 100%) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.page-hero h1,
[data-theme="dark"] .page-hero h1,
body.dark-mode .page-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.page-hero .breadcrumb-item a,
[data-theme="dark"] .page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75) !important;
}
.page-hero .breadcrumb-item a:hover,
[data-theme="dark"] .page-hero .breadcrumb-item a:hover {
    color: var(--accent-light) !important;
}
.page-hero .breadcrumb-item.active,
[data-theme="dark"] .page-hero .breadcrumb-item.active {
    color: var(--accent-light) !important;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before,
[data-theme="dark"] .page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Popular Locations Overlay & Text */
.location-overlay,
[data-theme="dark"] .location-overlay,
body.dark-mode .location-overlay {
    background: linear-gradient(to top, rgba(7, 18, 36, 0.95) 0%, rgba(7, 18, 36, 0.45) 55%, transparent 100%) !important;
}
.location-name,
[data-theme="dark"] .location-name,
body.dark-mode .location-name {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}
.location-count,
[data-theme="dark"] .location-count,
body.dark-mode .location-count {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Submit Property Page Elements in Dark Mode */
.submit-prop-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
[data-theme="dark"] .submit-prop-card,
body.dark-mode .submit-prop-card {
    background: #0d192d !important;
    border-color: #1a2f52 !important;
}
.submit-section-title {
    color: #0b1a30;
}
[data-theme="dark"] .submit-section-title,
body.dark-mode .submit-section-title {
    color: #ffffff !important;
}
.submit-dropzone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    transition: all 0.25s ease;
}
[data-theme="dark"] .submit-dropzone,
body.dark-mode .submit-dropzone {
    border-color: #243c64 !important;
    background: #0b1526 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .submit-dropzone h6,
body.dark-mode .submit-dropzone h6 {
    color: #ffffff !important;
}

/* Property Details & Search Sidebar Specific Dark Mode Rules */
.property-detail-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}
[data-theme="dark"] .property-detail-title,
[data-bs-theme="dark"] .property-detail-title,
body.dark-mode .property-detail-title {
    color: #ffffff !important;
}
.property-desc-text {
    color: #475569;
    line-height: 2;
    font-size: 1.05rem;
}
[data-theme="dark"] .property-desc-text,
[data-bs-theme="dark"] .property-desc-text,
body.dark-mode .property-desc-text {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .search-sidebar,
[data-bs-theme="dark"] .search-sidebar,
body.dark-mode .search-sidebar {
    background-color: #101c33 !important;
    border: 1px solid #1e3152 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
[data-theme="dark"] .search-sidebar .filter-title,
[data-bs-theme="dark"] .search-sidebar .filter-title,
body.dark-mode .search-sidebar .filter-title {
    color: #ffffff !important;
    border-bottom: 2px solid var(--accent) !important;
}
[data-theme="dark"] .search-sidebar .form-label,
[data-bs-theme="dark"] .search-sidebar .form-label,
body.dark-mode .search-sidebar .form-label {
    color: #cbd5e1 !important;
}
.property-share-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
[data-theme="dark"] .property-share-bar,
[data-bs-theme="dark"] .property-share-bar,
body.dark-mode .property-share-bar {
    background: #0f1c34 !important;
    border-color: #1e3152 !important;
}
[data-theme="dark"] #propertyMap {
    border-color: #1e3152 !important;
    background: #091322 !important;
}
#propertyMap .leaflet-tile,
[data-theme="dark"] #propertyMap .leaflet-tile,
body.dark-mode #propertyMap .leaflet-tile {
    filter: none !important;
}

/* Accordions & Tabs & Tables */
[data-theme="dark"] .accordion-item, body.dark-mode .accordion-item {
    background-color: #0d192d !important;
    border-color: #1a2f52 !important;
}
[data-theme="dark"] .accordion-button, body.dark-mode .accordion-button {
    background-color: #0f1c34 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .accordion-button:not(.collapsed), body.dark-mode .accordion-button:not(.collapsed) {
    background-color: #172a4d !important;
    color: var(--accent-light) !important;
}
[data-theme="dark"] .accordion-body, body.dark-mode .accordion-body {
    background-color: #0b1528 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .table, [data-bs-theme="dark"] .table, body.dark-mode .table,
[data-theme="dark"] .table th, [data-bs-theme="dark"] .table th, body.dark-mode .table th,
[data-theme="dark"] .table td, [data-bs-theme="dark"] .table td, body.dark-mode .table td,
[data-theme="dark"] .table-light, [data-bs-theme="dark"] .table-light {
    color: #e2e8f0 !important;
    background-color: #101c33 !important;
    border-color: #1e3152 !important;
}
[data-theme="dark"] .search-tabs .nav-link, [data-bs-theme="dark"] .search-tabs .nav-link, body.dark-mode .search-tabs .nav-link {
    background-color: #0b1528 !important;
    color: #94a3b8 !important;
    border-color: #1e3152 !important;
}
[data-theme="dark"] .search-tabs .nav-link.active, [data-bs-theme="dark"] .search-tabs .nav-link.active, body.dark-mode .search-tabs .nav-link.active {
    background-color: var(--accent) !important;
    color: #071224 !important;
}
[data-theme="dark"] .dropdown-menu, [data-bs-theme="dark"] .dropdown-menu {
    background-color: #0f1c36 !important;
    border: 1px solid #203557 !important;
    color: #f1f5f9 !important;
}
[data-theme="dark"] .dropdown-item, [data-bs-theme="dark"] .dropdown-item {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .dropdown-item:hover, [data-bs-theme="dark"] .dropdown-item:hover {
    background-color: #172b4f !important;
    color: #ffffff !important;
}
[data-theme="dark"] .top-bar, [data-bs-theme="dark"] .top-bar {
    background: #050b14 !important;
    border-bottom: 1px solid #1a2a44 !important;
}

/* ============================================================
   DARK MODE COMPONENT POLISH & CONTRAST FIXES
   ============================================================ */
/* 1. Services Section & Icons in Dark Mode */
[data-theme="dark"] .service-card,
[data-bs-theme="dark"] .service-card,
body.dark-mode .service-card {
    background: #0d192d !important;
    border: 1px solid #1a2f52 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
[data-theme="dark"] .service-card h4,
[data-bs-theme="dark"] .service-card h4,
body.dark-mode .service-card h4 {
    color: #ffffff !important;
}
[data-theme="dark"] .service-card p,
[data-bs-theme="dark"] .service-card p,
body.dark-mode .service-card p {
    color: #94a3b8 !important;
}
[data-theme="dark"] .service-icon,
[data-bs-theme="dark"] .service-icon,
body.dark-mode .service-icon {
    background: rgba(200, 147, 40, 0.16) !important;
    color: var(--accent-light) !important;
    border: 1.5px solid rgba(200, 147, 40, 0.4) !important;
    box-shadow: 0 0 20px rgba(200, 147, 40, 0.15) !important;
}
[data-theme="dark"] .service-card:hover .service-icon,
[data-bs-theme="dark"] .service-card:hover .service-icon,
body.dark-mode .service-card:hover .service-icon {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    color: #071224 !important;
    border-color: #dfb15b !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(200, 147, 40, 0.4) !important;
}

/* 2. Statistics Section (Permanent Deep Luxury Midnight) */
.stats-section,
[data-theme="dark"] .stats-section,
[data-bs-theme="dark"] .stats-section,
body.dark-mode .stats-section {
    background: linear-gradient(135deg, #071224 0%, #0d1e38 50%, #071224 100%) !important;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item {
    text-align: center;
    color: #ffffff;
}
.stat-num,
[data-theme="dark"] .stat-num,
[data-bs-theme="dark"] .stat-num,
body.dark-mode .stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-light) !important;
    line-height: 1;
    display: block;
    text-shadow: 0 2px 12px rgba(200, 147, 40, 0.35);
}
.stat-label,
[data-theme="dark"] .stat-label,
[data-bs-theme="dark"] .stat-label,
body.dark-mode .stat-label {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.stat-icon,
[data-theme="dark"] .stat-icon,
[data-bs-theme="dark"] .stat-icon,
body.dark-mode .stat-icon {
    font-size: 2.2rem;
    color: var(--accent) !important;
    opacity: 0.95;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 2px 8px rgba(200, 147, 40, 0.3));
}

/* 3. Why Choose Us Section & Icons */
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(200, 147, 40, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.why-item:hover .why-icon {
    background: var(--accent);
    color: #071224;
    transform: scale(1.08);
}
.why-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}
.why-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}
[data-theme="dark"] .why-icon,
[data-bs-theme="dark"] .why-icon,
body.dark-mode .why-icon {
    background: rgba(200, 147, 40, 0.18) !important;
    color: var(--accent-light) !important;
    border: 1px solid rgba(200, 147, 40, 0.35) !important;
    box-shadow: 0 0 15px rgba(200, 147, 40, 0.12);
}
[data-theme="dark"] .why-item:hover .why-icon,
[data-bs-theme="dark"] .why-item:hover .why-icon,
body.dark-mode .why-item:hover .why-icon {
    background: var(--accent) !important;
    color: #071224 !important;
}
[data-theme="dark"] .why-title,
[data-bs-theme="dark"] .why-title,
body.dark-mode .why-title {
    color: #ffffff !important;
}
[data-theme="dark"] .why-desc,
[data-bs-theme="dark"] .why-desc,
body.dark-mode .why-desc {
    color: #94a3b8 !important;
}

/* 4. Global Buttons & Actions in Dark Mode */
[data-theme="dark"] .btn-primary,
[data-bs-theme="dark"] .btn-primary,
body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #1b355a 0%, #294e80 100%) !important;
    border-color: #38649f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
[data-theme="dark"] .btn-primary:hover,
[data-bs-theme="dark"] .btn-primary:hover,
body.dark-mode .btn-primary:hover {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    border-color: #c89328 !important;
    color: #071224 !important;
    box-shadow: 0 6px 18px rgba(200, 147, 40, 0.4) !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .btn-outline-primary,
body.dark-mode .btn-outline-primary {
    border-color: var(--accent) !important;
    color: var(--accent-light) !important;
    background: rgba(200, 147, 40, 0.08) !important;
}
[data-theme="dark"] .btn-outline-primary:hover,
[data-bs-theme="dark"] .btn-outline-primary:hover,
body.dark-mode .btn-outline-primary:hover {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    border-color: #c89328 !important;
    color: #071224 !important;
    box-shadow: 0 4px 15px rgba(200, 147, 40, 0.35) !important;
}

[data-theme="dark"] .btn-outline-secondary,
[data-bs-theme="dark"] .btn-outline-secondary,
body.dark-mode .btn-outline-secondary {
    border-color: #243c64 !important;
    color: #cbd5e1 !important;
    background: #0f1c34 !important;
}
[data-theme="dark"] .btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn-outline-secondary:hover,
body.dark-mode .btn-outline-secondary:hover {
    border-color: var(--accent) !important;
    color: var(--accent-light) !important;
    background: #172a4d !important;
}

[data-theme="dark"] .btn-outline-dark,
[data-bs-theme="dark"] .btn-outline-dark,
body.dark-mode .btn-outline-dark {
    border-color: #243c64 !important;
    color: #e2e8f0 !important;
    background: #0f1c34 !important;
}
[data-theme="dark"] .btn-outline-dark:hover,
[data-bs-theme="dark"] .btn-outline-dark:hover,
body.dark-mode .btn-outline-dark:hover {
    border-color: var(--accent) !important;
    color: #071224 !important;
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
}

[data-theme="dark"] .btn-accent,
[data-bs-theme="dark"] .btn-accent,
body.dark-mode .btn-accent {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    border-color: #c89328 !important;
    color: #071224 !important;
    font-weight: 800 !important;
}

/* 5. Property Detail Sidebar Contact Card Custom Buttons */
.btn-detail-phone {
    background: linear-gradient(135deg, #0b1a30 0%, #152945 100%);
    border: 1px solid rgba(200, 147, 40, 0.35);
    color: #ffffff !important;
    transition: all 0.25s ease;
}
.btn-detail-phone:hover {
    background: var(--accent);
    color: #071224 !important;
    border-color: var(--accent);
}
[data-theme="dark"] .btn-detail-phone,
body.dark-mode .btn-detail-phone {
    background: linear-gradient(135deg, #12213d 0%, #1d3660 100%) !important;
    border-color: rgba(200, 147, 40, 0.5) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .btn-detail-phone:hover,
body.dark-mode .btn-detail-phone:hover {
    background: var(--accent) !important;
    color: #071224 !important;
}

.btn-detail-wa {
    background: #25D366 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}
.btn-detail-wa:hover {
    background: #20ba5a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-detail-tour {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: rgba(200, 147, 40, 0.08);
    transition: all 0.25s ease;
}
.btn-detail-tour:hover {
    background: var(--accent);
    color: #071224 !important;
}
[data-theme="dark"] .btn-detail-tour,
body.dark-mode .btn-detail-tour {
    border-color: var(--accent) !important;
    color: var(--accent-light) !important;
    background: rgba(200, 147, 40, 0.12) !important;
}
[data-theme="dark"] .btn-detail-tour:hover,
body.dark-mode .btn-detail-tour:hover {
    background: var(--accent) !important;
    color: #071224 !important;
}

.btn-detail-action {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-detail-action:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #f8fafc;
}
[data-theme="dark"] .btn-detail-action,
body.dark-mode .btn-detail-action {
    background: #0f1c34 !important;
    border-color: #243c64 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .btn-detail-action:hover,
body.dark-mode .btn-detail-action:hover {
    border-color: var(--accent) !important;
    color: var(--accent-light) !important;
    background: #172a4d !important;
}

/* ============================================================
   VERIFIED BADGES & MORTGAGE CALCULATOR
   ============================================================ */
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.25) 100%);
    border: 1px solid #10b981;
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
[data-theme="dark"] .badge-verified, body.dark-mode .badge-verified {
    color: #34d399;
    border-color: #059669;
}
.calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.calc-res-box {
    background: linear-gradient(135deg, #071224 0%, #0e203c 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(200, 147, 40, 0.3);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.calc-res-box .amount {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent-light);
}
.smart-wa-share-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}
.smart-wa-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

/* ============================================================
   CURRENCY SWITCHER & UNIT CONVERTER STYLES
   ============================================================ */
.unit-currency-selector-box .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}
.unit-currency-selector-box .dropdown-item {
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.unit-currency-selector-box .dropdown-item:hover,
.unit-currency-selector-box .dropdown-item.active {
    background: rgba(200, 147, 40, 0.18) !important;
    color: var(--accent) !important;
}
.currency-select-item.active {
    background: rgba(200, 147, 40, 0.18) !important;
    color: var(--accent) !important;
    font-weight: 700;
}

/* Dark Mode Overrides for Detail & Components */
[data-theme="dark"] .detail-meta, 
[data-bs-theme="dark"] .detail-meta, 
body.dark-mode .detail-meta {
    background: #0f1c36 !important;
    border-color: #1e3152 !important;
    color: #e2e8f0 !important;
}
[data-theme="dark"] .detail-meta .val,
[data-bs-theme="dark"] .detail-meta .val,
body.dark-mode .detail-meta .val {
    color: #ffffff !important;
}
[data-theme="dark"] .detail-meta .lbl,
[data-bs-theme="dark"] .detail-meta .lbl,
body.dark-mode .detail-meta .lbl {
    color: #94a3b8 !important;
}
[data-theme="dark"] .amenity-badge,
[data-bs-theme="dark"] .amenity-badge,
body.dark-mode .amenity-badge {
    background: #101e38 !important;
    border-color: #203557 !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .calc-card,
[data-bs-theme="dark"] .calc-card,
body.dark-mode .calc-card {
    background: #0f1c36 !important;
    border-color: #1e3152 !important;
    color: #e2e8f0 !important;
}
[data-theme="dark"] #calcGovFee,
[data-theme="dark"] #calcBrokerFee {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .unit-currency-selector-box #unitCurrSwitchBtn {
    background: rgba(200, 147, 40, 0.12);
    border-color: rgba(200, 147, 40, 0.4);
    color: #e5b74b;
}
[data-theme="dark"] .unit-currency-selector-box .dropdown-menu,
[data-bs-theme="dark"] .unit-currency-selector-box .dropdown-menu {
    background-color: #0b1528 !important;
    border-color: #1e3152 !important;
}

/* ============================================================
   HERO 3-CARDS FEATURED SHOWCASE SLIDER
   ============================================================ */
.hero-cards-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .hero-cards-section,
[data-bs-theme="dark"] .hero-cards-section,
body.dark-mode .hero-cards-section {
    background: linear-gradient(180deg, #091322 0%, #0d1b30 100%) !important;
}
.hero-top-badge {
    background: rgba(200, 147, 40, 0.12);
    border: 1px solid rgba(200, 147, 40, 0.35);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
}
.hero-top-badge .flag-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}
.hero-section-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #0b1a30;
    letter-spacing: -0.5px;
}
[data-theme="dark"] .hero-section-title,
body.dark-mode .hero-section-title {
    color: #ffffff !important;
}
.hero-section-subtitle {
    font-size: 0.95rem;
    max-width: 650px;
}
.hero-slider-controls {
    display: flex;
    gap: 8px;
}
.btn-slider-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0b1a30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-slider-nav:hover {
    background: var(--accent);
    color: #071224;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 147, 40, 0.35);
}
.btn-slider-nav:active {
    transform: scale(0.95);
}
[data-theme="dark"] .btn-slider-nav,
body.dark-mode .btn-slider-nav {
    background: #111f38 !important;
    border-color: #203557 !important;
    color: #f1f5f9 !important;
}
[data-theme="dark"] .btn-slider-nav:hover,
body.dark-mode .btn-slider-nav:hover {
    background: var(--accent) !important;
    color: #071224 !important;
}

/* Track & Viewport */
.hero-cards-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
    user-select: none;
}
.hero-cards-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
    will-change: transform;
}
.hero-card-item {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    box-sizing: border-box;
}
@media (max-width: 991.98px) {
    .hero-card-item {
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}
@media (max-width: 575.98px) {
    .hero-card-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Individual Card Styling - Sovereign Luxury Elevation */
.hero-property-card {
    background: #ffffff;
    border: 1px solid rgba(223, 177, 91, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(11, 26, 48, 0.07);
    transition: all 0.38s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}
.hero-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(11, 26, 48, 0.14), 0 0 0 1.5px rgba(223, 177, 91, 0.55) !important;
}
[data-theme="dark"] .hero-property-card,
body.dark-mode .hero-property-card {
    background: #101c33 !important;
    border-color: rgba(223, 177, 91, 0.28) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4) !important;
}
.hero-card-img {
    height: 260px;
    position: relative;
    background: #0f1c34;
}
.hero-card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-card-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 18, 36, 0.0) 45%, rgba(7, 18, 36, 0.65) 100%);
    transition: opacity 0.35s ease;
}
.hero-property-card:hover .hero-card-img img {
    transform: scale(1.08);
}

/* Badges on Card */
.badge-type {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    display: inline-block;
}
.badge-type.sale {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.badge-type.rent {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}
.badge-unit {
    background: rgba(7, 18, 36, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.badge-crown {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%);
    color: #071224;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(200, 147, 40, 0.35);
}
.btn-card-action {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: #0b1a30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.btn-card-action::after {
    content: '';
    position: absolute;
    inset: -6px;
}
.btn-card-action:hover,
.btn-card-action.active {
    background: var(--accent);
    color: #071224;
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Card Body Details */
.hero-card-body {
    padding: 1.35rem 1.45rem;
}
.hero-card-price {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
[data-theme="dark"] .hero-card-price,
body.dark-mode .hero-card-price {
    color: var(--accent-light) !important;
}
.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    min-height: 2.9rem;
}
.hero-card-title a {
    color: #0b1a30;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.hero-property-card:hover .hero-card-title a {
    color: var(--accent);
}
[data-theme="dark"] .hero-card-title a,
body.dark-mode .hero-card-title a {
    color: #ffffff !important;
}
.hero-card-specs {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 9px 14px;
}
[data-theme="dark"] .hero-card-specs,
body.dark-mode .hero-card-specs {
    background: rgba(15, 28, 52, 0.6) !important;
    border-color: rgba(30, 49, 82, 0.8) !important;
    color: #94a3b8 !important;
}
[data-theme="dark"] .hero-card-specs strong,
body.dark-mode .hero-card-specs strong {
    color: #ffffff !important;
}

/* Luxury CTA Button */
.btn-hero-luxury {
    padding: 10px 20px;
    font-size: 0.88rem;
    background: linear-gradient(135deg, #0b1a30 0%, #172944 100%);
    color: #dfb15b !important;
    border: 1px solid rgba(223, 177, 91, 0.45);
    box-shadow: 0 4px 14px rgba(11, 26, 48, 0.16);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.btn-hero-luxury:hover {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%) !important;
    color: #071224 !important;
    border-color: #dfb15b !important;
    box-shadow: 0 8px 24px rgba(200, 147, 40, 0.4) !important;
    transform: translateY(-2px);
}
[data-theme="dark"] .btn-hero-luxury,
body.dark-mode .btn-hero-luxury {
    background: rgba(223, 177, 91, 0.12) !important;
    color: #dfb15b !important;
    border: 1px solid rgba(223, 177, 91, 0.4) !important;
}
[data-theme="dark"] .btn-hero-luxury:hover,
body.dark-mode .btn-hero-luxury:hover {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%) !important;
    color: #071224 !important;
}

/* ============================================================
   SOVEREIGN ROYAL GOLD CARD (البطاقة الذهبية الملوكية المميزة)
   ============================================================ */
.hero-royal-gold-card {
    border: 2px solid #dfb15b !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%) !important;
    box-shadow: 0 16px 40px rgba(223, 177, 91, 0.22), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hero-royal-gold-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 24px 52px rgba(223, 177, 91, 0.38), 0 0 0 2.5px #c89328 !important;
}
[data-theme="dark"] .hero-royal-gold-card,
body.dark-mode .hero-royal-gold-card {
    background: linear-gradient(180deg, #101e38 0%, #081224 100%) !important;
    border: 2px solid #dfb15b !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 177, 91, 0.22) !important;
}

/* Top Royal Crown Banner */
.royal-card-topbar {
    background: linear-gradient(135deg, #071224 0%, #11223e 100%);
    border-bottom: 2px solid #dfb15b;
    padding: 7px 14px;
}
.royal-tier-label {
    color: #dfb15b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}
.royal-sponsor-badge {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 100%);
    color: #071224;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(200, 147, 40, 0.4);
}

/* Sovereign Badge on Image */
.badge-royal-sovereign {
    background: rgba(7, 18, 36, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid #dfb15b;
    color: #dfb15b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Royal Price Plaque */
.royal-price-plaque {
    background: linear-gradient(135deg, rgba(223, 177, 91, 0.16) 0%, rgba(200, 147, 40, 0.06) 100%);
    border: 1.5px solid #dfb15b;
    border-radius: 12px;
    padding: 6px 14px;
    color: #b8860b;
    font-weight: 900;
    font-size: 1.55rem;
    line-height: 1.2;
}
[data-theme="dark"] .royal-price-plaque,
body.dark-mode .royal-price-plaque {
    background: rgba(223, 177, 91, 0.12) !important;
    color: #dfb15b !important;
    border-color: #dfb15b !important;
}

/* Royal Specs with Golden Trim */
.royal-specs {
    background: rgba(223, 177, 91, 0.08) !important;
    border: 1px solid rgba(223, 177, 91, 0.35) !important;
    border-radius: 12px;
}
[data-theme="dark"] .royal-specs,
body.dark-mode .royal-specs {
    background: rgba(223, 177, 91, 0.06) !important;
    border-color: rgba(223, 177, 91, 0.28) !important;
}

/* Pure Royal Gold Button */
.btn-royal-gold {
    background: linear-gradient(135deg, #dfb15b 0%, #c89328 50%, #dfb15b 100%);
    background-size: 200% auto;
    color: #071224 !important;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 11px 22px;
    border: none;
    box-shadow: 0 6px 20px rgba(223, 177, 91, 0.45);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.btn-royal-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(223, 177, 91, 0.65);
    color: #071224 !important;
}

/* ============================================================
   VIP PROPERTY POPUP MODAL (إعلان الوحدة العقارية المميز مع البلور)
   ============================================================ */
.modal-backdrop.show {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    background-color: rgba(7, 18, 36, 0.75) !important;
}
.vip-ad-dialog {
    max-width: 620px;
}
.vip-ad-card {
    background: #ffffff;
    border: 2px solid #dfb15b;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(223, 177, 91, 0.35);
    overflow: hidden;
    position: relative;
}
[data-theme="dark"] .vip-ad-card,
body.dark-mode .vip-ad-card {
    background: #0d1a32;
    border-color: #dfb15b;
    color: #ffffff;
}
.vip-ad-img {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #071224;
}
.vip-ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vip-ad-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7, 18, 36, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(223, 177, 91, 0.5);
    color: #dfb15b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    transition: all 0.25s ease;
}
.rtl .vip-ad-close {
    left: auto;
    right: 16px;
}
.vip-ad-close:hover {
    background: #dfb15b;
    color: #071224;
    transform: scale(1.1);
}

/* ============================================================
   HOMEPAGE INTERACTIVE MAP SECTION (قلاع العقارية - البحث بالخريطة)
   ============================================================ */
.homepage-map-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .homepage-map-section,
[data-bs-theme="dark"] .homepage-map-section,
body.dark-mode .homepage-map-section {
    background: #08111e !important;
    border-top-color: #15243b !important;
    border-bottom-color: #15243b !important;
}

.map-showcase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .map-showcase-card,
[data-bs-theme="dark"] .map-showcase-card,
body.dark-mode .map-showcase-card {
    background: #0d192d !important;
    border-color: #1a2f52 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.map-filter-panel {
    background: #f8fafc;
    border-color: #e2e8f0 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .map-filter-panel,
[data-bs-theme="dark"] .map-filter-panel,
body.dark-mode .map-filter-panel {
    background: #112038 !important;
    border-color: #1d3356 !important;
}

.map-filter-label {
    color: #0b1a30;
    transition: color 0.3s ease;
}
[data-theme="dark"] .map-filter-label,
[data-bs-theme="dark"] .map-filter-label,
body.dark-mode .map-filter-label {
    color: #f1f5f9 !important;
}

.map-wilayat-select {
    background-color: #ffffff;
    color: #0b1a30;
    border-color: #cbd5e1 !important;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
[data-theme="dark"] .map-wilayat-select,
[data-bs-theme="dark"] .map-wilayat-select,
body.dark-mode .map-wilayat-select {
    background-color: #0b1526 !important;
    color: #ffffff !important;
    border-color: #243c64 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e5b74b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}
.map-wilayat-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(200, 147, 40, 0.2) !important;
}

/* Map Type Filter Toggle Group */
.map-type-group .home-type-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 700;
    padding: 6px 14px;
    transition: all 0.2s ease;
}
.map-type-group .home-type-btn:hover {
    background: #f1f5f9;
    color: var(--accent);
}
.map-type-group .home-type-btn.active {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    color: #071224 !important;
    border-color: #c89328 !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(200, 147, 40, 0.35);
}
[data-theme="dark"] .map-type-group .home-type-btn,
[data-bs-theme="dark"] .map-type-group .home-type-btn,
body.dark-mode .map-type-group .home-type-btn {
    background: #0b1526;
    border-color: #243c64;
    color: #cbd5e1;
}
[data-theme="dark"] .map-type-group .home-type-btn:hover,
[data-bs-theme="dark"] .map-type-group .home-type-btn:hover,
body.dark-mode .map-type-group .home-type-btn:hover {
    background: #152744;
    color: #ffffff;
}
[data-theme="dark"] .map-type-group .home-type-btn.active,
[data-bs-theme="dark"] .map-type-group .home-type-btn.active,
body.dark-mode .map-type-group .home-type-btn.active {
    background: linear-gradient(135deg, #c89328 0%, #dfb15b 100%) !important;
    color: #071224 !important;
    border-color: #c89328 !important;
}

/* Mini Property Card in Map Sidebar */
.map-mini-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}
.map-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent) !important;
    background: #fcfbf7;
    box-shadow: 0 4px 14px rgba(200, 147, 40, 0.15);
}
.map-card-title {
    color: #0b1a30;
    font-weight: 700;
    transition: color 0.2s ease;
}
.map-mini-card:hover .map-card-title {
    color: var(--accent);
}
.map-card-loc {
    color: #64748b;
}

[data-theme="dark"] .map-mini-card,
[data-bs-theme="dark"] .map-mini-card,
body.dark-mode .map-mini-card {
    background: #112038 !important;
    border-color: #1d3356 !important;
}
[data-theme="dark"] .map-mini-card:hover,
[data-bs-theme="dark"] .map-mini-card:hover,
body.dark-mode .map-mini-card:hover {
    background: #162b4a !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}
[data-theme="dark"] .map-card-title,
[data-bs-theme="dark"] .map-card-title,
body.dark-mode .map-card-title {
    color: #ffffff !important;
}
[data-theme="dark"] .map-card-loc,
[data-bs-theme="dark"] .map-card-loc,
body.dark-mode .map-card-loc {
    color: #94a3b8 !important;
}

/* Map Counter & Scrollbar */
[data-theme="dark"] #homeMapCount,
[data-bs-theme="dark"] #homeMapCount,
body.dark-mode #homeMapCount {
    color: var(--accent-light) !important;
}
#homeMapPropertiesList::-webkit-scrollbar {
    width: 5px;
}
#homeMapPropertiesList::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}
#homeMapPropertiesList::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
[data-theme="dark"] #homeMapPropertiesList::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] #homeMapPropertiesList::-webkit-scrollbar-thumb,
body.dark-mode #homeMapPropertiesList::-webkit-scrollbar-thumb {
    background: #243c64;
}

/* Leaflet Dark Mode Tiles & Map Container */
[data-theme="dark"] #homeLeafletMap,
[data-theme="dark"] #searchLeafletMap,
[data-bs-theme="dark"] #homeLeafletMap,
[data-bs-theme="dark"] #searchLeafletMap,
body.dark-mode #homeLeafletMap,
body.dark-mode #searchLeafletMap {
    background: #091322 !important;
}

/* Ensure Leaflet tiles stay completely natural, light, and crisp in all modes per user explicit instruction */
#homeLeafletMap .leaflet-tile,
#searchLeafletMap .leaflet-tile,
[data-theme="dark"] #homeLeafletMap .leaflet-tile,
[data-theme="dark"] #searchLeafletMap .leaflet-tile,
[data-bs-theme="dark"] #homeLeafletMap .leaflet-tile,
[data-bs-theme="dark"] #searchLeafletMap .leaflet-tile,
body.dark-mode #homeLeafletMap .leaflet-tile,
body.dark-mode #searchLeafletMap .leaflet-tile {
    filter: none !important;
}

/* Leaflet Popup Luxury Styling & Dark Mode */
.leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
    font-family: 'Cairo', sans-serif !important;
}
.map-popup-title {
    color: #0b1a30;
    font-weight: 700;
}
[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-bs-theme="dark"] .leaflet-popup-content-wrapper,
body.dark-mode .leaflet-popup-content-wrapper {
    background: #0f1c34 !important;
    color: #ffffff !important;
    border: 1px solid #1e355b !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}
[data-theme="dark"] .leaflet-popup-tip,
[data-bs-theme="dark"] .leaflet-popup-tip,
body.dark-mode .leaflet-popup-tip {
    background: #0f1c34 !important;
}
[data-theme="dark"] .map-popup-title,
[data-bs-theme="dark"] .map-popup-title,
body.dark-mode .map-popup-title {
    color: #ffffff !important;
}
[data-theme="dark"] .map-popup-loc,
[data-bs-theme="dark"] .map-popup-loc,
body.dark-mode .map-popup-loc {
    color: #94a3b8 !important;
}

/* Quick Search Modal Dark Mode Styling */
[data-theme="dark"] #quickSearchModal .modal-content,
[data-bs-theme="dark"] #quickSearchModal .modal-content,
body.dark-mode #quickSearchModal .modal-content {
    background: #0d192d !important;
    border: 1px solid #1a2f52 !important;
}
[data-theme="dark"] #quickSearchModal .modal-body,
[data-bs-theme="dark"] #quickSearchModal .modal-body,
body.dark-mode #quickSearchModal .modal-body {
    background: #0a1324 !important;
}
[data-theme="dark"] #quickSearchModal .input-group-text,
[data-bs-theme="dark"] #quickSearchModal .input-group-text,
body.dark-mode #quickSearchModal .input-group-text {
    background: #112038 !important;
    color: #94a3b8 !important;
}
[data-theme="dark"] #quickSearchModal .form-control,
[data-bs-theme="dark"] #quickSearchModal .form-control,
body.dark-mode #quickSearchModal .form-control {
    background: #112038 !important;
    color: #ffffff !important;
}
[data-theme="dark"] #quickSearchModal .form-control::placeholder,
[data-bs-theme="dark"] #quickSearchModal .form-control::placeholder,
body.dark-mode #quickSearchModal .form-control::placeholder {
    color: #64748b !important;
}
[data-theme="dark"] #quickSearchModal .badge.bg-white,
[data-bs-theme="dark"] #quickSearchModal .badge.bg-white,
body.dark-mode #quickSearchModal .badge.bg-white {
    background: #142542 !important;
    color: #cbd5e1 !important;
    border-color: #243c64 !important;
}
[data-theme="dark"] #quickSearchModal .badge.bg-white:hover,
[data-bs-theme="dark"] #quickSearchModal .badge.bg-white:hover,
body.dark-mode #quickSearchModal .badge.bg-white:hover {
    background: var(--accent) !important;
    color: #071224 !important;
    border-color: var(--accent) !important;
}

/* ============================================================
   COOKIE CONSENT & RESUME BROWSING STYLES
   ============================================================ */
@keyframes slideUpIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.slide-up-in {
    animation: slideUpIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: linear-gradient(135deg, #071224 0%, #0d1e38 100%);
    border-top: 2px solid var(--accent);
    color: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .cookie-consent-bar {
        bottom: 64px; /* Sits above mobile bottom dock */
    }
}

.resume-browsing-toast {
    position: fixed;
    bottom: 30px;
    left: 25px;
    z-index: 1055;
    max-width: 380px;
    width: calc(100% - 40px);
    background: linear-gradient(135deg, #071224 0%, #152744 100%);
    border: 1px solid rgba(200, 147, 40, 0.45);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

html[dir="rtl"] .resume-browsing-toast {
    left: auto;
    right: 25px;
}

@media (max-width: 991.98px) {
    /* Prevent iOS auto-zoom on input focus */
    input:not([type="checkbox"]):not([type="radio"]), select, textarea {
        font-size: 16px !important;
    }
    /* Guarantee space at the bottom for fixed mobile dock */
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
}




