/* Calligraphy font for intro */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* ===== CSS Variables and Global Styles ===== */
:root {
    --primary-color: #1d1d1f;
    --secondary-color: #0071e3;
    --dark-color: #1d1d1f;
    --light-color: #ffffff;
    --gray-color: #666;
    --gray-light: #f5f5f7;
    --success-color: #34c759;
    --border-radius: 12px;
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    /* Liquid glass */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-panel: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-subtle: rgba(0, 0, 0, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.4);
    --glass-blur: 24px;
    --glass-blur-sm: 16px;
    --glass-saturate: 180%;
    --glass-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 4px 24px rgba(0, 0, 0, 0.06);
    --glass-shadow-hover: 0 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 12px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    /* Dehradun, Uttarakhand, India – green hills & mountains (lighter overlay so image shows) */
    background-color: #e2eedf;
    background-image:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(248, 252, 248, 0.35) 50%,
            rgba(235, 245, 238, 0.42) 100%),
        url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.3px;
}

/* Intro: 2s background image → calligraphy "Welcome to Naman Associates" → page reveal while text goes up */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #2d4a2a 0%, #1e3320 100%);
    background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 0;
}

.intro-text-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transform: translateY(0);
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1rem;
}

.intro-calligraphy {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.intro-cursor {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: #fff;
    margin-left: 2px;
    opacity: 0;
    animation: intro-cursor-blink 0.8s step-end infinite;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@keyframes intro-cursor-blink {
    50% {
        opacity: 0;
    }

    50.01%,
    100% {
        opacity: 1;
    }
}

body.intro-show-text .intro-calligraphy,
body.intro-show-text .intro-cursor {
    opacity: 1;
}

body.has-loaded .intro-text-wrap {
    transform: translateY(-100vh);
}

body.has-loaded .intro-calligraphy,
body.has-loaded .intro-cursor {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

body.has-loaded #intro-overlay {
    opacity: 0;
    pointer-events: none;
}

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

/* ===== Navigation Bar – Liquid glass (iOS-style) ===== */
.navbar {
    background: var(--glass-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 0 var(--glass-highlight) inset,
        0 4px 24px rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* At top: logo and name bigger. Smooth transition when scrolling. */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--dark-color);
    font-size: 1.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-logo {
    width: 48px;
    height: 48px;
    display: inline-block;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.18s ease, opacity 0.18s ease;
}

/* Scrolled: smaller logo and name */
.navbar.navbar-scrolled .logo {
    font-size: 1.35rem;
}

.navbar.navbar-scrolled .site-logo {
    width: 36px;
    height: 36px;
}

.navbar.navbar-scrolled .nav-container {
    padding: 0.6rem 20px;
}

.logo:hover .site-logo {
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Direction-aware hover – liquid glass pill (origin set by JS from cursor entry) */
.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(0, 113, 227, 0.18) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
        0 2px 12px rgba(0, 113, 227, 0.12);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-menu a.hover-from-left::before {
    transform-origin: left center;
}

.nav-menu a.hover-from-right::before {
    transform-origin: right center;
}

.nav-menu a.hover-from-top::before {
    transform-origin: center top;
}

.nav-menu a.hover-from-bottom::before {
    transform-origin: center bottom;
}

.nav-menu a:hover::before {
    transform: scale(1);
}

.nav-menu a:hover {
    color: #0071e3;
}

.nav-menu a.active {
    color: #0071e3;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(0, 113, 227, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset,
        0 2px 10px rgba(0, 113, 227, 0.08);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
/* Real estate hero background. To use your own image: add it to images/ (e.g. hero-bg.jpg) and set background-image: url('../images/hero-bg.jpg'); */
/* Hero: Welcome to Naman Associates – Dehradun, Uttarakhand (green hills & mountains) */
.hero {
    background: linear-gradient(135deg, #2d4a2a 0%, #1e3320 100%);
    background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.06) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-40px) translateX(-10px);
    }

    75% {
        transform: translateY(-20px) translateX(20px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    filter: none;
    animation: none;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.95;
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.95);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(180deg, #0077ed 0%, #0071e3 50%, #0066cc 100%);
    color: #ffffff;
    border: none;
    font-weight: 600;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
        0 4px 16px rgba(0, 113, 227, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #0077ed 0%, #0066cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 24px rgba(0, 113, 227, 0.4);
    border-color: transparent;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: #0071e3;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 6px 20px rgba(0, 113, 227, 0.15);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.enquire-btn {
    background: linear-gradient(180deg, #0077ed 0%, #0071e3 50%, #0066cc 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 4px 16px rgba(0, 113, 227, 0.35);
}

.enquire-btn:hover {
    background: linear-gradient(180deg, #0077ed 0%, #0066cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px rgba(0, 113, 227, 0.4);
    border-color: transparent;
}

/* ===== Featured Properties Section ===== */
.featured-properties {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 248, 252, 0.6) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.featured-properties h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1d1d1f;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: none;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.featured-properties-cta {
    text-align: center;
    margin-top: 0.5rem;
}

.featured-properties-cta .view-more-btn {
    text-transform: none;
    letter-spacing: -0.2px;
}

.property-card {
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid var(--glass-border);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.property-location {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.property-price {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.property-description {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.view-details {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: -0.2px;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.4) inset;
}

.view-details:hover {
    color: #0052cc;
    background: rgba(0, 113, 227, 0.14);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
}

/* ===== Why Choose Us Section ===== */
.why-us {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(240, 240, 248, 0.5) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.why-us h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #1d1d1f;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: none;
}

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

.feature-box {
    text-align: center;
    padding: 2.5rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid var(--glass-border);
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0071e3 0%, #004bb8 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
        0 -4px 24px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    text-shadow: none;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: none;
}

/* ===== Page Header ===== */
/* Same as hero: Dehradun, Uttarakhand – green hills & mountains (About, Properties, Services, Contact) */
.page-header {
    background: linear-gradient(135deg, #2d4a2a 0%, #1e3320 100%);
    background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
    font-weight: 400;
}

/* ===== About Content ===== */
.about-content {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 248, 252, 0.5) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.about-section {
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h2 {
    color: #1d1d1f;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: none;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    color: #0071e3;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.stat-box p {
    color: #666;
    font-size: 1rem;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.team-member:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-4px);
}

.member-photo-wrap {
    width: fit-content;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.member-photo {
    display: block;
    max-width: 100%;
    height: auto;
}

.team-member h3 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.team-member p {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.value-item {
    padding: 2.5rem;
    background: var(--glass-panel);
    border-left: 4px solid #0071e3;
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.value-item:hover {
    box-shadow: var(--glass-shadow-hover);
}

.value-item h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== About + Reviews Row ===== */
.about-reviews-row {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.about-left .about-section {
    margin-bottom: 1.5rem;
}

.reviews-panel {
    background: var(--glass-panel);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.reviews-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.reviews-scroll {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y proximity;
}

.review-card {
    width: 100%;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--glass-border);
    scroll-snap-align: start;
    min-height: 140px;
}

.review-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.85rem;
    font-size: 1rem;
}

.review-author {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-rating {
    color: #ffb400;
    margin-left: 0.5rem;
}

/* Vertical scrollbar styling */
.reviews-scroll::-webkit-scrollbar {
    width: 8px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

@media (max-width: 980px) {
    .about-reviews-row {
        grid-template-columns: 1fr;
    }

    .reviews-panel {
        margin-top: 1rem;
    }

    .reviews-scroll {
        max-height: 300px;
    }

    .reviews-panel {
        padding: 1rem;
    }
}


/* ===== Properties Section ===== */
.properties-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(240, 240, 248, 0.5) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.filter-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.filter-section h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

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

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.full-properties-grid {
    display: grid;
    gap: 2rem;
}

.property-card-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.property-card-full:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-5px);
}

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

.property-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-type {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, rgba(0, 119, 237, 0.95) 0%, rgba(0, 113, 227, 0.9) 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-info-full {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-info-full h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.property-info-full .property-price {
    font-size: 1.2rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.property-details span {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--gray-color);
    border: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .property-card-full {
        grid-template-columns: 1fr;
    }

    .property-image-full {
        height: 200px;
    }
}

/* ===== Services Section ===== */
.services-content {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 248, 252, 0.5) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--glass-panel);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    border-top: 3px solid #0071e3;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #666;
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

/* ===== Service Process ===== */
.service-process {
    margin: 5rem 0;
    padding: 4rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.service-process h2 {
    color: #1d1d1f;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: none;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

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

.step-number {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: linear-gradient(180deg, #0077ed 0%, #0071e3 100%);
    color: #ffffff;
    border-radius: 50%;
    line-height: 56px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset;
}

.process-step h3 {
    color: #1d1d1f;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.process-step p {
    font-size: 0.85rem;
    color: #666;
}

.process-arrow {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: none;
}

@media (min-width: 769px) {
    .process-arrow {
        display: block;
    }
}

/* ===== Why Services ===== */
.why-services {
    margin: 4rem 0;
}

.why-services h2 {
    color: #1d1d1f;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: none;
}

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

.why-box {
    padding: 2.5rem;
    background: var(--glass-panel);
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.why-box:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-4px);
}

.why-box h3 {
    color: #0071e3;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.why-box p {
    color: #666;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(240, 240, 248, 0.5) 100%);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.6px;
}

.contact-info>p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.info-box {
    background: var(--glass-panel);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    transition: box-shadow 0.4s ease;
}

.info-box:hover {
    box-shadow: var(--glass-shadow-hover);
}

.info-box h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-box p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    background: linear-gradient(180deg, #0077ed 0%, #0071e3 100%);
    color: white;
    padding: 12px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset;
}

.social-icon:hover {
    background: linear-gradient(180deg, #0077ed 0%, #0066cc 100%);
    transform: translateY(-3px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px rgba(0, 113, 227, 0.3);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--glass-panel);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--dark-color);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, #0077ed 0%, #0071e3 50%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.2px;
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 4px 16px rgba(0, 113, 227, 0.35);
}

.submit-btn:hover {
    background: linear-gradient(180deg, #0077ed 0%, #0066cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25) inset, 0 8px 25px rgba(0, 113, 227, 0.3);
}

/* ===== Map Section ===== */
.map-section {
    margin: 5rem 0;
}

.map-section h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.map-location-info {
    background: var(--glass-panel);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.map-location-info p {
    color: var(--gray-color);
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.6;
}

.map-location-info strong {
    color: var(--dark-color);
    font-weight: 600;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--glass-panel);
    padding: 4rem;
    border-radius: var(--border-radius);
    margin: 5rem 0;
    backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur-sm));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.faq-section h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.faq-item:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.faq-item p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, rgba(29, 29, 31, 0.97) 0%, rgba(20, 20, 22, 0.98) 100%);
    color: white;
    padding: 4rem 20px 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(120%) blur(20px);
    -webkit-backdrop-filter: saturate(120%) blur(20px);
    box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.06) inset;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.footer-section h3 {
    font-size: 1.2rem;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: -0.5px;
        white-space: normal;
        /* Allow wrap if absolutely necessary on small mobile */
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .nav-menu {
        display: flex;
        /* Always flex, just hidden by position */
        position: fixed;
        top: 0;
        left: -100%;
        /* Hidden off-screen to the left */
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        gap: 1.5rem;
        /* Increased space between items */
        padding: 5rem 2rem 2rem;
        /* Top padding for breathing room */
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
        /* Slide in */
    }

    .nav-menu a {
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        color: var(--dark-color);
        width: 100%;
        display: block;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #0071e3;
        background: rgba(0, 113, 227, 0.08);
        padding-left: 1.5rem;
        /* Slide text slightly on hover */
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .featured-properties h2,
    .why-us h2,
    .services-content h2,
    .cta-section h2 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .page-header h1 {
        font-size: 2.2rem;
        letter-spacing: -0.6px;
    }

    .property-card-full {
        grid-template-columns: 1fr;
    }

    .property-image-full {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.4rem;
        letter-spacing: -0.4px;
        white-space: normal;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        display: none;
    }

    .featured-properties h2,
    .why-us h2,
    .services-content h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    /* ===== Apple-style Scroll Reveal Animation ===== */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
        will-change: opacity, transform;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delays for grids */
    .reveal.delay-100 {
        transition-delay: 0.1s;
    }

    .reveal.delay-200 {
        transition-delay: 0.2s;
    }

    .reveal.delay-300 {
        transition-delay: 0.3s;
    }

    /* Enhanced Button Hover (Tactile feel) */
    .btn:hover {
        transform: scale(1.02) translateY(-2px);
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

/* ===== Entry Fade-In Animation ===== */
/* GPU-friendly: opacity + translateY only (no scale). Two keyframes for smooth interpolation. */
@keyframes fadeInUpPro {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.page-header,
.featured-properties,
.about-content,
.services-content,
.contact-section,
.footer {
    opacity: 0;
    transform: translateY(12px);
    backface-visibility: hidden;
}

/* Apply when page has loaded. Slightly longer duration + ease-out for smoother perceived motion. */
body.has-loaded .hero {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 30ms;
}

body.has-loaded .page-header {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 60ms;
}

body.has-loaded .featured-properties {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 90ms;
}

body.has-loaded .about-content {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 120ms;
}

body.has-loaded .services-content {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 150ms;
}

body.has-loaded .contact-section {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 180ms;
}

body.has-loaded .footer {
    animation: fadeInUpPro 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 210ms;
}

/* ===== Client Reviews Improvements ===== */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-text {
    background: none;
    border: none;
    color: #0071e3;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-text:hover {
    background: rgba(0, 113, 227, 0.05);
}

.review-form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    animation: fadeInDown 0.4s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group-mini {
    margin-bottom: 1rem;
}

.form-group-mini input,
.form-group-mini textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    border-color: #ddd !important;
    /* Force override if needed */
    background: white;
    font-size: 0.9rem;
}

.star-rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.star-rating-input .star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating-input .star:hover,
.star-rating-input .star.active {
    color: #ff9500;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cancel {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-submit-mini {
    background: #0071e3;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-submit-mini:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Property Image Slider & Lightbox ===== */
.property-image,
.property-image-full {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.property-image {
    height: 200px;
}

.property-image-full {
    height: 300px;
}

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

.property-image:hover img,
.property-image-full:hover img {
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
}

.property-image:hover .slider-arrow,
.property-image-full:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: 300;
}

.lightbox-arrow {
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 0 40px;
    transition: var(--transition);
}

.lightbox-arrow:hover {
    color: #0071e3;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .slider-arrow {
        opacity: 1;
    }

    /* Always show on touch */
    .lightbox-arrow {
        display: none;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}