@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&family=Manrope:wght@400;500;700;800&display=swap');

/* ===== General Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--site-text);
    background-color: var(--site-bg);
    direction: rtl;
    transition: background-color 0.3s ease, color 0.3s ease;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

:root {
    --site-bg: #ffffff;
    --site-surface: #ffffff;
    --site-surface-strong: #eef4ff;
    --home-section-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --home-section-bg-alt: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --home-panel-bg: #ffffff;
    --subpage-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --subpage-panel-bg: #ffffff;
    --subpage-panel-hover-bg: #f8fafc;
    --subpage-field-bg: #ffffff;
    --site-text: #0f172a;
    --site-text-muted: #475569;
    --site-text-light: #f8fafc;
    --site-border: #cbd5e1;
    --site-accent: #102a5f;
    --site-accent-soft: #7b92c1;
    --site-gold: #c0c0c0;
    --site-bronze: #c0c0c0;
    --site-bronze-deep: #909090;
    --site-dark: #0b1228;
    --site-dark-soft: #102449;
    --site-line: #334155;
    --site-glass: rgba(255, 255, 255, 0.08);
    --site-shadow: rgba(16, 37, 95, 0.15);
}

html[data-theme="dark"] {
    --site-bg: #000000;
    --site-surface: #07112c;
    --site-surface-strong: #0f2053;
    --home-section-bg: linear-gradient(180deg, #242321 0%, #1f1e1d 100%);
    --home-section-bg-alt: linear-gradient(180deg, #1f1e1d 0%, #242321 100%);
    --home-panel-bg: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    --subpage-bg: linear-gradient(180deg, #1f1e1d 0%, #242321 100%);
    --subpage-panel-bg: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    --subpage-panel-hover-bg: linear-gradient(180deg, rgba(52, 48, 44, 0.98), rgba(33, 31, 29, 0.98));
    --subpage-field-bg: rgba(255, 255, 255, 0.04);
    --site-text: #f8fafc;
    --site-text-muted: #94a3b8;
    --site-text-light: #e2e8f0;
    --site-border: #1c2f56;
    --site-accent: #102a5f;
    --site-accent-soft: #5c7ba9;
    --site-gold: #c0c0c0;
    --site-bronze: #c0c0c0;
    --site-bronze-deep: #808080;
    --site-dark: #030712;
    --site-dark-soft: #08172f;
    --site-line: #475569;
    --site-glass: rgba(255, 255, 255, 0.04);
    --site-shadow: rgba(16, 37, 95, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --site-bg: #000000;
        --site-surface: #07112c;
        --site-surface-strong: #0f2053;
        --home-section-bg: linear-gradient(180deg, #242321 0%, #1f1e1d 100%);
        --home-section-bg-alt: linear-gradient(180deg, #1f1e1d 0%, #242321 100%);
        --home-panel-bg: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
        --subpage-bg: linear-gradient(180deg, #1f1e1d 0%, #242321 100%);
        --subpage-panel-bg: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
        --subpage-panel-hover-bg: linear-gradient(180deg, rgba(52, 48, 44, 0.98), rgba(33, 31, 29, 0.98));
        --subpage-field-bg: rgba(255, 255, 255, 0.04);
        --site-text: #f8fafc;
        --site-text-muted: #94a3b8;
        --site-text-light: #e2e8f0;
        --site-border: #1c2f56;
        --site-accent: #102a5f;
        --site-accent-soft: #5c7ba9;
        --site-gold: #c0c0c0;
        --site-bronze: #c0c0c0;
        --site-bronze-deep: #808080;
        --site-dark: #030712;
        --site-dark-soft: #08172f;
        --site-line: #475569;
        --site-glass: rgba(255, 255, 255, 0.04);
        --site-shadow: rgba(16, 37, 95, 0.2);
    }
}

/* Dark blue + gold accents for primary actions */
.search-btn,
.cta-btn,
.contact-btn,
.submit-btn,
.roi-calc-btn,
.adv-toggle-btn,
.offer-filter-btn,
.filter-btn {
    background: var(--site-accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 24px rgba(16, 37, 95, 0.18);
}

.search-btn:hover,
.cta-btn:hover,
.contact-btn:hover,
.submit-btn:hover,
.roi-calc-btn:hover,
.adv-toggle-btn:hover,
.offer-filter-btn:hover,
.filter-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.quick-card-icon-wrap,
.journey-card.residential .journey-card-icon,
.journey-card.commercial .journey-card-icon {
    background: rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}

.property-badge,
.property-offer-badge {
    background: var(--site-gold);
    color: #07112c;
}

.feature-icon {
    background: var(--site-gold);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.25);
}

@media (prefers-color-scheme: dark) {
    .quick-card {
        background: rgba(42, 41, 39, 0.92);
        box-shadow: 0 14px 30px rgba(0,0,0,0.28);
    }
}

html[data-theme="dark"] .quick-card {
    background: rgba(42, 41, 39, 0.92);
    box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

@media (prefers-color-scheme: dark) {
    .journey-card {
        background: rgba(42, 41, 39, 0.92);
        color: white;
    }
}

html[data-theme="dark"] .journey-card {
    background: rgba(42, 41, 39, 0.92);
    color: white;
}

@media (prefers-color-scheme: dark) {
    .stat-card {
        background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    }
}

html[data-theme="dark"] .stat-card {
    background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
}

@media (prefers-color-scheme: dark) {
    .property-card {
        background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    }
}

html[data-theme="dark"] .property-card {
    background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
}

@media (prefers-color-scheme: dark) {
    .roi-card {
        background: var(--site-surface);
    }
}

html[data-theme="dark"] .roi-card {
    background: var(--site-surface);
}

html[lang="ar"] body {
    font-family: 'Tajawal', 'Geeza Pro', 'Tahoma', sans-serif;
}

html[lang="en"] body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    background: transparent;
    backdrop-filter: blur(10px);
    color: white;
    padding: 0;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, #7a4e2d 0%, #b07d52 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-solid {
    background: linear-gradient(135deg, #7a4e2d 0%, #b07d52 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: bold;
    direction: rtl;
}

.logo i {
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.nav-links a i {
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--site-surface);
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    overflow: hidden;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: #333;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #F5F1ED;
    color: #808080;
    transform: translateX(-5px);
    padding-right: 1.5rem;
}

.dropdown-menu a i {
    color: #808080;
    font-size: 0.85rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.add-property-btn {
    background-color: var(--site-surface);
    color: #808080;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.add-property-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #F5F1ED;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, rgba(28, 27, 26, 0.55) 0%, rgba(55, 48, 42, 0.36) 100%), url('images/riyadh_rustic_20260330_142025.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background-color 0.35s ease;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 35, 0.40) 0%, rgba(30, 20, 60, 0.40) 100%), url('images/riyadh_midnightlaptop.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    will-change: opacity;
    transition: opacity 0.6s ease;
}

/* [EXPERIMENTAL] Day / Night Toggle Button */
.hero-daynight-btn {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
    box-shadow: 0 3px 14px rgba(0,0,0,0.3);
}
.hero-daynight-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}
/* Sun icon = currently night → switch to day */
.hero-daynight-btn .fa-sun  { color: #ffd86e; }
/* Moon icon = currently day → switch to night */
.hero-daynight-btn .fa-moon { color: #c4d4ff; }

/* Midnight hero — Desktop */
.hero.hero--midnight::before {
    opacity: 1;
}

/* Mobile hero background */
@media (max-width: 768px) {
    .hero {
        background: linear-gradient(180deg, rgba(80, 45, 20, 0.40) 0%, rgba(139, 115, 85, 0.40) 100%), url('images/riyadh_rustic_20260330_142025.png');
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        padding: 2rem 0;
        min-height: 80vh;
    }
    .hero::before {
        background: linear-gradient(180deg, rgba(10, 15, 35, 0.40) 0%, rgba(30, 20, 60, 0.40) 100%), url('images/riyadh_midnightphone.png');
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    /* Midnight hero — Mobile */
    .hero.hero--midnight::before {
        opacity: 1;
    }
}

/* Contact hero section */
.contact-hero-section {
    background: linear-gradient(135deg, rgba(24, 23, 22, 0.9) 0%, rgba(52, 45, 39, 0.86) 100%), url('images/riyadh_rustic_20260330_142025.png') center/cover no-repeat;
    color: white;
    padding: 160px 20px 80px;
    text-align: center;
}
.contact-hero-section h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.contact-hero-section p {
    font-size: 1.3em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Midnight variants for service pages */
.service-hero.service-hero--midnight,
.services-hero.services-hero--midnight {
    background: linear-gradient(135deg, rgba(10,15,35,0.40) 0%, rgba(30,20,60,0.40) 100%), url('images/riyadh_midnightlaptop.png') center/cover no-repeat !important;
}
.contact-hero-section.contact-hero--midnight {
    background: linear-gradient(135deg, rgba(10,15,35,0.40) 0%, rgba(30,20,60,0.40) 100%), url('images/riyadh_midnightlaptop.png') center/cover no-repeat !important;
}
@media (max-width: 768px) {
    .service-hero.service-hero--midnight,
    .services-hero.services-hero--midnight,
    .contact-hero-section.contact-hero--midnight {
        background: linear-gradient(180deg, rgba(10,15,35,0.40) 0%, rgba(30,20,60,0.40) 100%), url('images/riyadh_midnightphone.png') center/cover no-repeat !important;
    }
}

.hero-overlay {
    background-size: cover;
    opacity: 0.3;
}

.arabia-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.15;
    z-index: 1;
    animation: mapPulse 15s infinite;
}

.arabia-map-bg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

@keyframes mapPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.08;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 192, 192, 0.14);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.35);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

/* ===== Language Switcher ===== */
#langSwitcher {
    position: fixed;
    top: 18px;
    left: 20px;
    z-index: 9999;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    color: white;
    padding: 0.45rem 1rem 0.45rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    white-space: nowrap;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-toggle .fa-globe { font-size: 1rem; }

.lang-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(30, 20, 15, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    overflow: hidden;
    min-width: 140px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.lang-dropdown.lang-open {
    display: block;
    animation: langDropIn 0.2s ease;
}

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

.lang-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 0.65rem 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.lang-btn--active {
    color: white;
    background: rgba(128, 128, 128, 0.45);
}

.lang-flag { font-size: 1.1rem; }

#langSwitcher .theme-toggle-btn {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 3px 14px rgba(0,0,0,0.3);
}

#langSwitcher .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
}

/* ===== Light Mode Button Styles ===== */
html:not([data-theme="dark"]) .lang-toggle {
    background: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    border: 1px solid rgba(100, 100, 100, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html:not([data-theme="dark"]) .lang-toggle:hover {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    border-color: rgba(120, 120, 120, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

html:not([data-theme="dark"]) #langSwitcher .theme-toggle-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    border: 1px solid rgba(100, 100, 100, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html:not([data-theme="dark"]) #langSwitcher .theme-toggle-btn:hover {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    border-color: rgba(120, 120, 120, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.08);
}

html:not([data-theme="dark"]) .back-nav-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
    border: 1px solid rgba(100, 100, 100, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html:not([data-theme="dark"]) .back-nav-btn:hover {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    border-color: rgba(120, 120, 120, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Back Navigation Bar ===== */
.back-nav-bar {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 1000;
    width: fit-content;
}

.back-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(192, 192, 192, 0.24);
    border: 1px solid rgba(192, 192, 192, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    transition: background 0.2s, gap 0.2s;
    white-space: nowrap;
}

.back-nav-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.back-nav-btn:hover {
    background: rgba(192, 192, 192, 0.34);
    border-color: rgba(224, 224, 224, 0.65);
}

.back-nav-btn:hover i {
    transform: translateX(4px);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-top: 1.4rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.quick-card {
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 18px;
    padding: 1.2rem 1rem;
    background: rgba(42, 41, 39, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.quick-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.quick-card:hover::before { opacity: 1; }

.quick-card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: rgba(192, 192, 192, 0.2);
    border: 1.5px solid rgba(192, 192, 192, 0.4);
}

.quick-card:hover .quick-card-icon-wrap {
    transform: scale(1.1);
}

.quick-card-body {
    flex: 1;
}

.quick-card-body h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
    color: white;
    line-height: 1.2;
}

.quick-card-body p {
    font-size: 0.72rem;
    color: var(--site-text-muted);
    line-height: 1.45;
    margin: 0;
}

.quick-card-link {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--site-text-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s, color 0.2s;
}

.quick-card:hover .quick-card-link {
    gap: 8px;
    color: white;
}

.quick-card:hover,
.quick-card.active {
    transform: translateY(-5px);
    background: rgba(30, 29, 28, 1);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 18px 38px rgba(0,0,0,0.34);
}

/* quick-card color accents */
.quick-card.buy {
    background: rgba(42, 41, 39, 0.92);
    border-color: rgba(192, 192, 192, 0.3);
}
.quick-card.buy .quick-card-icon-wrap {
    background: rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}
.quick-card.buy:hover,
.quick-card.buy.active {
    background: rgba(30, 29, 28, 1);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-card.rent {
    background: rgba(42, 41, 39, 0.92);
    border-color: rgba(192, 192, 192, 0.3);
}
.quick-card.rent .quick-card-icon-wrap {
    background: rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}
.quick-card.rent:hover,
.quick-card.rent.active {
    background: rgba(30, 29, 28, 1);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-card.sell {
    background: rgba(42, 41, 39, 0.92);
    border-color: rgba(192, 192, 192, 0.3);
}
.quick-card.sell .quick-card-icon-wrap {
    background: rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}
.quick-card.sell:hover,
.quick-card.sell.active {
    background: rgba(30, 29, 28, 1);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-card.map {
    background: rgba(42, 41, 39, 0.92);
    border-color: rgba(192, 192, 192, 0.3);
}
.quick-card.map .quick-card-icon-wrap {
    background: rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}
.quick-card.map:hover,
.quick-card.map.active {
    background: rgba(30, 29, 28, 1);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Hero Journey (2-Step) ===== */
.hero-journey {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.journey-step {
    animation: journeyFadeIn 0.4s ease;
}

.journey-step--hidden {
    display: none !important;
}

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

.journey-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    text-align: center;
    margin: 0 0 1.4rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

html[dir="ltr"] .journey-label {
    direction: ltr;
    unicode-bidi: plaintext;
}

html[dir="rtl"] .journey-label {
    direction: rtl;
    unicode-bidi: plaintext;
}

.journey-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.journey-card {
    flex: 1;
    max-width: 240px;
    background: rgba(42, 41, 39, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(192, 192, 192, 0.22);
    border-radius: 18px;
    padding: 1.3rem 1.1rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.journey-card:hover::before { opacity: 1; }

.journey-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 192, 192, 0.52);
    background: rgba(30, 29, 28, 1);
    box-shadow: 0 18px 40px rgba(0,0,0,0.34);
}

.journey-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.journey-card:hover .journey-card-icon {
    transform: scale(1.1);
}

.journey-card.residential .journey-card-icon {
    background: rgba(192, 192, 192, 0.14);
    border: 2px solid rgba(192, 192, 192, 0.35);
}

.journey-card.commercial .journey-card-icon {
    background: rgba(192, 192, 192, 0.14);
    border: 2px solid rgba(192, 192, 192, 0.35);
}

.journey-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.01em;
}

.journey-card p {
    font-size: 0.76rem;
    opacity: 0.75;
    margin: 0;
    line-height: 1.5;
}

.journey-card-arrow {
    margin-top: 0.3rem;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

.journey-card:hover .journey-card-arrow {
    opacity: 1;
    transform: translateX(-4px);
}

/* Step 2 header */
.journey-step2-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    position: relative;
    min-height: 2.4rem;
}

.journey-step2-header .journey-label {
    margin: 0;
}

.journey-back-btn {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s;
    position: absolute;
    right: 0;
    font-family: inherit;
}

.journey-back-btn:hover {
    background: rgba(255,255,255,0.26);
    border-color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
    .journey-cards {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .journey-card {
        max-width: 100%;
        flex-direction: row;
        text-align: right;
        padding: 0.8rem 0.9rem;
        gap: 0.6rem;
        border-radius: 14px;
    }
    .journey-card h3 {
        font-size: 1rem;
    }
    .journey-card p {
        font-size: 0.7rem;
    }
    .journey-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    .journey-card-body {
        flex: 1;
        text-align: right;
    }
    .journey-card-arrow {
        margin-top: 0;
        flex-shrink: 0;
        font-size: 0.9rem;
    }
    .journey-back-btn {
        position: static;
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    .journey-step2-header {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .journey-label {
        font-size: 0.95rem;
        margin: 0 0 1rem;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat i {
    font-size: 2rem;
    opacity: 0.9;
}

.hero-stat div {
    text-align: right;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-stat span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    animation: float 20s infinite;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-1 {
    width: 250px;
    height: 250px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: -50px;
    animation-delay: 10s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 2s;
}

.shape-5 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: 7s;
}

.shape-6 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 5%;
    animation-delay: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ===== Search Bar ===== */
.search-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.search-bar {
    background: var(--site-surface);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1.2rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-field label {
    color: #808080;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-field label i {
    font-size: 0.85rem;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
    background: var(--site-bg);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #808080;
    background: var(--site-surface);
    box-shadow: 0 0 0 4px rgba(128, 128, 128, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
}

/* ===== Stats Section ===== */
.stats {
    padding: 3rem 0;
    background: var(--home-section-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid rgba(192, 192, 192, 0.18);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 192, 192, 0.42);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 3rem;
    color: #808080;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--site-text-light);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--site-text-muted);
    font-size: 1.1rem;
}

/* ===== Properties Section ===== */
.properties-section {
    padding: 4rem 0;
    background: var(--home-section-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--site-text-light);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--site-text-muted);
    font-size: 1.1rem;
}

/* ===== Filter Buttons ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ===== Filters ===== */
.basic-filters {
    background: linear-gradient(145deg, #031634 0%, #072a5a 52%, #0a3775 100%);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    box-shadow: 0 18px 38px rgba(2, 12, 34, 0.5);
    margin-bottom: 2.2rem;
    border: 1px solid rgba(124, 168, 255, 0.28);
}

.bf-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.adv-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 140px;
    flex: 1;
}

.adv-field > label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--site-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.adv-field > label i {
    color: var(--site-bronze);
}

.adv-field select {
    border: 1.5px solid rgba(192, 192, 192, 0.18);
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 1rem;
    color: var(--site-text-light);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    direction: rtl;
    width: 100%;
}

.adv-field select:focus {
    border-color: var(--site-bronze);
    background: rgba(255, 255, 255, 0.08);
}

.adv-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 10px;
    border: 1.5px solid var(--site-bronze);
    background: rgba(255, 255, 255, 0.04);
    color: var(--site-bronze-deep);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    height: 50px;
}

.adv-toggle-btn:hover,
.adv-toggle-btn.open {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
}

.adv-chevron {
    transition: transform 0.3s;
    font-size: 0.75rem;
}

.adv-toggle-btn.open .adv-chevron {
    transform: rotate(180deg);
}

.adv-reset-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid rgba(192, 192, 192, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--site-bronze-deep);
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-reset-btn:hover {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    border-color: var(--site-bronze);
}

/* Advanced panel */
.adv-panel {
    display: none;
    overflow: hidden;
}

.adv-panel.open {
    display: block;
    animation: slideDown 0.25s ease;
}

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

.adv-panel-inner {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    border-top: 1.5px solid rgba(192, 192, 192, 0.14);
}

.adv-panel-inner .adv-field {
    min-width: 160px;
}

.adv-field--checks {
    flex: 100%;
    min-width: 100%;
}

.adv-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin-top: 2px;
}

.adv-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: var(--site-text-muted);
    cursor: pointer;
    font-weight: 600;
}

.adv-check input[type="checkbox"] {
    accent-color: #808080;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .basic-filters {
        padding: 1rem;
        border-radius: 16px;
    }
    .bf-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.7rem;
        overflow: visible;
        padding-bottom: 0;
    }
    .adv-field {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }
    .adv-field > label {
        font-size: 0.72rem;
        gap: 4px;
        white-space: normal;
    }
    .adv-field select {
        height: 40px;
        padding: 8px 9px;
        font-size: 0.8rem;
    }
    .adv-toggle-btn {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
        height: 40px;
        padding: 0 0.8rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }
    .adv-reset-btn {
        display: flex;
        width: 100%;
        height: 40px;
        min-width: 0;
    }
    .adv-toggle-btn .adv-chevron {
        font-size: 0.72rem;
        margin: 0;
    }
    .adv-panel-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        padding-top: 0.9rem;
        margin-top: 0.9rem;
    }
    .adv-panel-inner .adv-field {
        min-width: 0;
        width: 100%;
        flex: 1 1 auto;
    }
    .adv-field--checks {
        grid-column: 1 / -1;
    }
    .adv-checks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem 0.6rem;
    }
    .adv-check {
        font-size: 0.78rem;
        gap: 5px;
        line-height: 1.25;
    }
    .adv-check input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
}

.offer-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.offer-filter-btn {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--site-bronze-deep);
    border: 2px solid var(--site-bronze);
    padding: 0.65rem 1.4rem;
    border-radius: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.offer-filter-btn:hover,
.offer-filter-btn.active {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--site-bronze-deep);
    border: 2px solid var(--site-bronze);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.25);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
}

/* ===== Properties Grid ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(192, 192, 192, 0.18);
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
    border-color: rgba(192, 192, 192, 0.46);
}

.property-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.property-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover .property-image::before {
    opacity: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.15);
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.property-offer-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.property-offer-badge.buy {
    background: rgba(32, 78, 54, 0.9);
}

.property-offer-badge.rent {
    background: rgba(38, 71, 128, 0.9);
}

.property-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.property-price {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0;
    transform: none;
    color: #d9dde2;
    font-weight: 700;
    font-size: 1.08rem;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.sar-symbol {
    height: 14px;
    width: 14px;
    max-height: 14px;
    max-width: 14px;
    object-fit: contain;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    display: inline-block;
    flex-shrink: 0;
}

.property-details {
    padding: 1.8rem;
}

.property-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--site-text-light);
    font-weight: 700;
}

.property-title-row h3 {
    margin-bottom: 0;
}

.property-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.property-price .sar-symbol {
    height: 16px;
    width: 16px;
    max-height: 16px;
    max-width: 16px;
    filter: brightness(0) saturate(100%) invert(93%) sepia(3%) saturate(270%) hue-rotate(176deg) brightness(94%) contrast(87%);
}

.property-title-row .sar-symbol {
    height: 14px;
    width: 14px;
    max-height: 14px;
    max-width: 14px;
    filter: brightness(0) saturate(100%) invert(93%) sepia(3%) saturate(270%) hue-rotate(176deg) brightness(94%) contrast(87%);
}

.property-location {
    color: var(--site-bronze);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(192, 192, 192, 0.14);
    border-bottom: 1px solid rgba(192, 192, 192, 0.14);
    margin-bottom: 1.2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--site-text-muted);
    font-size: 0.95rem;
}

.feature i {
    color: var(--site-bronze);
    font-size: 1.1rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-btn {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.contact-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.4);
}

.no-results {
    text-align: center;
    padding: 4rem 0;
    color: var(--site-text-muted);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.3rem;
}

.sell-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.sell-modal.open {
    display: flex;
}

.sell-modal-content {
    width: min(520px, 100%);
    background: linear-gradient(180deg, rgba(43, 41, 39, 0.99), rgba(28, 27, 26, 0.99));
    border-radius: 18px;
    border: 1px solid rgba(192, 192, 192, 0.18);
    padding: 1.5rem;
    position: relative;
    color: var(--site-text-light);
}

.sell-modal-close {
    position: absolute;
    top: 10px;
    left: 12px;
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--site-text-muted);
}

.sell-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sell-form input,
.sell-form select,
.sell-form textarea {
    width: 100%;
    border: 1px solid rgba(192, 192, 192, 0.18);
    border-radius: 10px;
    padding: 0.75rem 0.8rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.04);
    color: var(--site-text-light);
}

.sell-submit-btn {
    border: 0;
    color: white;
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    border-radius: 10px;
    padding: 0.8rem;
    cursor: pointer;
    font-weight: 700;
}

/* ===== Home Services Section ===== */
.home-services {
    padding: 5.5rem 0;
    background: var(--home-section-bg-alt);
    position: relative;
    overflow: hidden;
}

.home-services::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.05);
    pointer-events: none;
}

.hsc-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.hsc-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--site-bronze), var(--site-bronze-deep));
    color: white;
    padding: 0.45rem 1.2rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hsc-header h2 {
    font-size: 2.4rem;
    color: #ffffff !important;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.hsc-header p {
    color: #ffffff !important;
    font-size: 1.05rem;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.hsc {
    background: linear-gradient(180deg, rgba(43, 41, 39, 0.98), rgba(31, 30, 29, 0.98));
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--site-text-light);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 24px 22px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(192, 192, 192, 0.18);
}

.hsc:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
    border-color: rgba(192, 192, 192, 0.42);
}

.hsc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hsc:hover .hsc-icon-wrap {
    transform: scale(1.08) rotate(-5deg);
}

.hsc--brown,
.hsc--blue,
.hsc--green,
.hsc--purple,
.hsc--red,
.hsc--amber,
.hsc--teal {
    border-color: rgba(192, 192, 192, 0.18);
}

.hsc--brown .hsc-icon-wrap,
.hsc--blue .hsc-icon-wrap,
.hsc--green .hsc-icon-wrap,
.hsc--purple .hsc-icon-wrap,
.hsc--red .hsc-icon-wrap,
.hsc--amber .hsc-icon-wrap,
.hsc--teal .hsc-icon-wrap {
    background: rgba(192, 192, 192, 0.14);
    border: 1px solid rgba(192, 192, 192, 0.26);
    color: var(--site-bronze);
}

.hsc--brown .hsc-link,
.hsc--blue .hsc-link,
.hsc--green .hsc-link,
.hsc--purple .hsc-link,
.hsc--red .hsc-link,
.hsc--amber .hsc-link,
.hsc--teal .hsc-link {
    color: var(--site-text-light);
}

/* ROI Calculator */
.roi-form { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.roi-field { display: flex; flex-direction: column; gap: 5px; }
.roi-field label { font-size: 14px; font-weight: 600; color: #444; }
.roi-req { color: #e53e3e; }
.roi-field input {
    border: 1px solid rgba(192, 192, 192, 0.18);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s;
    background: rgba(255, 255, 255, 0.04);
    color: var(--site-text-light);
}
.roi-field label { color: var(--site-text-muted); }
.roi-field input:focus { outline: none; border-color: var(--site-bronze); }
.roi-calc-btn {
    border: 0;
    color: white;
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    border-radius: 10px;
    padding: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    font-size: 15px;
    margin-top: 4px;
    transition: opacity .2s;
}
.roi-calc-btn:hover { opacity: .88; }
.roi-result { margin-top: 1rem; padding-top: 1rem; border-top: 1.5px solid rgba(192, 192, 192, 0.14); }
.roi-result h4 { font-size: 15px; color: var(--site-text-light); margin-bottom: 0.8rem; }
.roi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.roi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 192, 192, 0.14);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.roi-card--main {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.18), rgba(190, 190, 190, 0.16));
    border-color: rgba(192, 192, 192, 0.34);
}
.roi-card-label { font-size: 12px; color: var(--site-text-muted); }
.roi-card-value { font-size: 18px; font-weight: 700; color: var(--site-text-light); }
.roi-card--main .roi-card-value { font-size: 22px; }
@media (max-width: 480px) { .roi-cards { grid-template-columns: 1fr; } }

.hsc-body {
    padding: 1.5rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
}

.hsc-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--site-text-light);
    margin: 0;
}

.hsc-body p {
    font-size: 0.87rem;
    color: var(--site-text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.hsc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--site-text-light);
    font-weight: 700;
    font-size: 0.87rem;
    margin-top: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1.5px solid rgba(192, 192, 192, 0.14);
    transition: gap 0.2s ease, color 0.2s ease;
}

.hsc:hover .hsc-link {
    gap: 11px;
    color: var(--site-bronze);
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 0;
    background-color: var(--site-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--site-bg);
    border: 2px solid transparent;
}

.feature-card:hover {
    background-color: var(--site-surface);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #808080;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
    transition: all 0.4s ease;
}

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

.feature-icon i {
    font-size: 2.2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== About Section ===== */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--site-bg) 0%, var(--site-surface) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #808080 0%, #909090 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about-badge i {
    font-size: 2.5rem;
}

.about-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.about-badge span {
    font-size: 0.9rem;
    opacity: 0.95;
}

.about-text {
    padding-right: 2rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #808080;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text .lead {
    font-size: 1.2rem;
    color: #808080;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.about-feature i {
    color: #808080;
    font-size: 1.2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0e1a26 0%, #5a8ab0 100%);
    color: #e8dfd6;
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(100, 140, 180, 0.3);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: -14px;
    margin-bottom: 0.6rem;
    padding-right: 10px;
    line-height: 0;
    direction: rtl;
}

.footer-brand-mark {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-logo {
    width: clamp(280px, 35vw, 460px);
    max-height: 155px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    filter: brightness(1.15) contrast(0.9);
    transform: scale(1.55) translateX(25%);
    transform-origin: right center;
    overflow: visible;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #c8dff0;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.85;
    color: #e8dfd6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e8dfd6;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-right: 5px;
    color: #7eb8e8;
}

.footer-section ul li i {
    margin-left: 10px;
    color: #7eb8e8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(126, 184, 232, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8dfd6;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(126, 184, 232, 0.25);
}

.social-links a:hover {
    background: linear-gradient(135deg, #2a5f8f 0%, #3a7ab8 100%);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(126, 184, 232, 0.15);
    opacity: 0.8;
    color: #e8dfd6;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        background: linear-gradient(180deg, #7ea8c9 0%, #0e1a26 100%);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
        text-align: center;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand-title {
        justify-content: center;
        margin-top: 0;
        margin-bottom: 0.35rem;
        padding-right: 0;
    }

    .footer-brand-logo {
        width: min(100%, 220px);
        max-height: 72px;
        margin: 0 auto;
        display: block;
        transform: none;
        transform-origin: center;
    }

    .footer-section h4 {
        text-align: center;
        font-size: 0.98rem;
        margin-bottom: 0.7rem;
    }

    .footer-section p {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section ul li {
        font-size: 0.88rem;
        margin-bottom: 0.4rem;
    }

    .footer-section ul li i {
        margin-left: 0;
    }

    .footer-section ul li a:hover {
        padding-right: 0;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        gap: 0.85rem 1rem;
    }

    .footer-brand-logo {
        width: min(100%, 290px);
        max-height: 96px;
    }

    .footer-section h4 {
        font-size: 0.9rem;
    }

    .footer-section ul li {
        font-size: 0.82rem;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .search-bar {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-text {
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        margin-top: 1rem;
    }

    .quick-card {
        min-height: 150px;
        padding: 0.9rem 0.7rem;
    }

    .quick-card-icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .quick-card-body h3 {
        font-size: 0.85rem;
    }

    .quick-card-body p {
        font-size: 0.65rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .property-card {
        border-radius: 14px;
    }

    .property-image {
        height: 190px;
    }

    .property-details {
        padding: 1rem;
    }

    .property-details h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .property-title-row,
    .property-location-row,
    .property-features {
        flex-wrap: wrap;
    }

    .property-location-row {
        align-items: flex-start;
    }

    .property-location,
    .property-price {
        width: 100%;
    }

    .property-price {
        font-size: 0.92rem;
    }

    .property-price .sar-symbol {
        height: 14px;
        width: 14px;
        max-height: 14px;
        max-width: 14px;
    }

    .property-features {
        gap: 0.7rem;
        padding: 0.6rem 0;
        margin-bottom: 0.6rem;
    }

    .feature {
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 110px;
    }

    .filter-buttons {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.7rem;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .filter-buttons button {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
        border-radius: 22px;
    }

    .offer-filter-buttons {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.6rem;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;

    #langSwitcher {
        top: 14px;
        left: 14px;
        gap: 6px;
    }

    .lang-toggle {
        padding: 0.35rem 0.75rem 0.35rem 0.65rem;
        font-size: 0.75rem;
        gap: 5px;
    }

    .lang-toggle .fa-globe {
        font-size: 0.9rem;
    }

    #langSwitcher .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }
    }

    .offer-filter-btn {
    .quick-actions {
        grid-template-columns: 1fr;
    }

        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.5rem 0.85rem;
        font-size: 0.82rem;
        border-radius: 22px;
    }

    .home-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .hsc {
        padding: 14px 12px;
        gap: 0.7rem;
    }

    .hsc-icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .hsc-body {
        padding: 0;
        gap: 0.3rem;
    }

    .hsc-body h3 {
        font-size: 0.9rem;
    }

    .hsc-body p {
        font-size: 0.78rem;
        line-height: 1.4;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hsc-link {
        margin-top: 0.35rem;
        padding-top: 0.45rem;
        font-size: 0.78rem;
    }

    .feature-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
    }

    .feature-icon i {
        font-size: 1.6rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .nav-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .hsc-body p {
        font-size: 0.75rem;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    .property-card {
        border-radius: 12px;
    }

    .property-image {
        height: 180px;
    }

    .property-details h3 {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.2rem 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
}

/* ===== Property Details Page ===== */
.pd-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 3rem;
    align-items: start;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .pd-layout-grid {
        grid-template-columns: 1fr;
    }

    .pd-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .property-details-page .container {
        padding: 0 1rem;
    }
}

.property-details-page {
    padding: 2rem 0;
    background: var(--subpage-bg);
}

.property-main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.property-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info {
    background: var(--subpage-panel-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(192, 192, 192, 0.18);
    margin-bottom: 2rem;
}

.property-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--site-text);
}

.property-description {
    color: var(--site-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: var(--site-bronze);
    font-size: 1.2rem;
}

/* ===== Contact Page ===== */
.contact-page {
    padding: 4rem 0;
    background: var(--subpage-bg);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--subpage-panel-bg);
    padding: 3rem;
    border-radius: 18px;
    border: 1px solid rgba(192, 192, 192, 0.18);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.contact-page .section-header h2 {
    color: var(--site-text);
}

.contact-page .section-header p {
    color: var(--site-text-muted);
}

.contact-page .feature-card {
    background: var(--subpage-panel-bg);
    border: 1px solid rgba(192, 192, 192, 0.18);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.contact-page .feature-card:hover {
    background: var(--subpage-panel-hover-bg);
    border-color: rgba(192, 192, 192, 0.42);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

.contact-page .feature-icon {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.28);
}

.contact-page .feature-card h3 {
    color: var(--site-text);
}

.contact-page .feature-card p {
    color: var(--site-text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--site-text-muted);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
    background: var(--subpage-field-bg);
    color: var(--site-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--site-bronze);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--site-bronze) 0%, var(--site-bronze-deep) 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.4);
}

/* ===== Map and Virtual Tour Styles ===== */
.map-container,
.virtual-tour-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    margin-bottom: 2rem;
    border: 1px solid rgba(192, 192, 192, 0.18);
}

.map-container iframe,
.virtual-tour-container iframe {
    display: block;
    border: none;
}

.location-icon {
    color: #808080;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .map-container,
    .virtual-tour-container {
        height: 300px !important;
    }
}

/* ===== Global Text Override By Theme ===== */
body,
body * {
    color: #ffffff !important;
}

input,
textarea,
select,
option,
label,
::placeholder {
    color: #ffffff !important;
}

/* ===== Light Mode Specific Black Text Exceptions ===== */
html[data-theme="light"] #listingTitle,
html[data-theme="light"] #listingSubtitle,
html[data-theme="light"] .hsc-header h2,
html[data-theme="light"] .hsc-header p,
html[data-theme="light"] .back-btn,
html[data-theme="light"] .back-btn *,
html[data-theme="light"] [data-i18n="back_to_list"],
html[data-theme="light"] [data-i18n="our_features"],
html[data-theme="light"] [data-i18n="how_we_work"],
html[data-theme="light"] [data-i18n="consultation_our_services"],
html[data-theme="light"] [data-i18n="how_consultations_work"],
html[data-theme="light"] [data-i18n="valuation_our_features"],
html[data-theme="light"] [data-i18n="valuation_stages"],
html[data-theme="light"] [data-i18n="management_our_services"],
html[data-theme="light"] [data-i18n="management_steps"],
html[data-theme="light"] .contact-page [data-i18n="contact_section_title"],
html[data-theme="light"] .contact-page [data-i18n="contact_section_sub"],
html[data-theme="light"] .contact-page [data-i18n="contact_address_title"],
html[data-theme="light"] .contact-page [data-i18n="contact_address_val"],
html[data-theme="light"] .contact-page [data-i18n="contact_phone_title"],
html[data-theme="light"] .contact-page [data-i18n="contact_email_title"],
html[data-theme="light"] .contact-page [data-i18n="contact_hours_title"],
html[data-theme="light"] .contact-page [data-i18n="contact_hours_val"],
html[data-theme="light"] .contact-page .feature-card p {
    color: #000000 !important;
}

html:not([data-theme="dark"]) #listingTitle,
html:not([data-theme="dark"]) #listingSubtitle,
html:not([data-theme="dark"]) .hsc-header h2,
html:not([data-theme="dark"]) .hsc-header p,
html:not([data-theme="dark"]) .back-btn,
html:not([data-theme="dark"]) .back-btn *,
html:not([data-theme="dark"]) [data-i18n="back_to_list"],
html:not([data-theme="dark"]) [data-i18n="our_features"],
html:not([data-theme="dark"]) [data-i18n="how_we_work"],
html:not([data-theme="dark"]) [data-i18n="consultation_our_services"],
html:not([data-theme="dark"]) [data-i18n="how_consultations_work"],
html:not([data-theme="dark"]) [data-i18n="valuation_our_features"],
html:not([data-theme="dark"]) [data-i18n="valuation_stages"],
html:not([data-theme="dark"]) [data-i18n="management_our_services"],
html:not([data-theme="dark"]) [data-i18n="management_steps"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_section_title"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_section_sub"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_address_title"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_address_val"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_phone_title"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_email_title"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_hours_title"],
html:not([data-theme="dark"]) .contact-page [data-i18n="contact_hours_val"],
html:not([data-theme="dark"]) .contact-page .feature-card p {
    color: #000000 !important;
}

/* ===== Site Logo ===== */
.site-logo-container {
    position: fixed;
    top: 18px;
    right: 10px !important;
    left: auto !important;
    z-index: 100;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RTL Adjustment */
html[dir="rtl"] .site-logo-container {
    right: 10px !important;
    left: auto !important;
}

html[dir="ltr"] .site-logo-container {
    right: 10px !important;
    left: auto !important;
}

html[dir="ltr"] .logo,
html[dir="ltr"] .footer-brand-title,
html[dir="ltr"] .footer-brand-logo {
    direction: rtl;
}

html[dir="ltr"] .footer-brand-title {
    justify-content: flex-end;
    padding-right: 10px;
    padding-left: 0;
}

@media (max-width: 768px) {
    .site-logo-container {
        width: 56px;
        height: 56px;
        top: 16px;
        right: 10px !important;
        left: auto !important;
    }
}
