/* ===================================
   LUXURY REAL ESTATE - NEXGEN REALTY
   =================================== */

:root {
    --primary: #4A90E2;
    --primary-light: #6BA3E8;
    --primary-dark: #3A7BC8;
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --silver: #E5E7EB;
    --silver-dark: #D1D5DB;
    --dark: #1F2937;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ===================================
   LOADER
   =================================== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.logo-reveal {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.loader-line {
    width: 200px;
    height: 2px;
    background: var(--silver);
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loadingLine 1.5s ease-in-out infinite;
}

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

@keyframes loadingLine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--dark);
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

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

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

.nav-btn {
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    margin-left: 1rem;
}

.navbar.scrolled .nav-btn {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.35) !important;
}

.navbar.scrolled .nav-btn:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px) scale(1.04) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    z-index: 1002;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
    display: block;
    transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--dark);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--dark);
}

/* Mobile menu backdrop */
.nav-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 1 !important;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
}

.hero-fallback {
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease;
}

.hero-fallback.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    padding: 0 5%;
}

.hero-text {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(74, 144, 226, 0.9);
    border-radius: 50px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--white);
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--silver);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -30px; }
    100% { top: 100%; }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Book Consultation & Hero Outline Buttons - High Visibility & Premium Hover */
.btn-consultation,
.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    border: 2.5px solid #FFFFFF !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 255, 255, 0.3);
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.btn-consultation::after,
.hero-cta .btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.btn-consultation:hover::after,
.hero-cta .btn-outline:hover::after {
    left: 100%;
}

.btn-consultation:hover,
.hero-cta .btn-outline:hover {
    background: #FFFFFF !important;
    color: #0F172A !important;
    border-color: #FFFFFF !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.5), 0 0 25px rgba(255, 255, 255, 0.4) !important;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 0.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.btn-text:hover {
    border-bottom-color: var(--primary);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* ===================================
   TRUST STRIP
   =================================== */

.trust-strip {
    padding: 5rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--silver);
}

.trust-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-text {
    flex: 1;
}

.trust-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.trust-desc {
    font-size: 0.875rem;
    color: var(--gray);
}

.trust-divider {
    width: 1px;
    height: 60px;
    background: var(--silver);
}

@media (max-width: 968px) {
    .trust-items {
        flex-direction: column;
        gap: 2rem;
    }
    
    .trust-divider {
        display: none;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   SECTIONS
   =================================== */

.featured-properties,
.services-section {
    padding: 8rem 0;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 300;
}

/* ===================================
   FEATURED PROPERTIES SECTION
   =================================== */

.featured-properties {
    padding: 7rem 0;
    background: #FFFFFF;
}

.featured-properties .section-title {
    color: #0F172A;
}

.featured-properties .section-subtitle {
    color: #64748B;
}

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

.property-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #E2E8F0;
    opacity: 1 !important;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: #CBD5E1;
}

.property-image {
    position: relative;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
    background: #E2E8F0;
    width: 100%;
}

.property-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

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

.property-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #2563EB;
    color: #FFFFFF;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.property-content {
    padding: 1.75rem 2rem 2rem;
}

.property-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: #0F172A;
    font-weight: 600;
}

.property-location {
    color: #64748B;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.property-features {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.property-features span {
    background: #F8FAFC;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
    border: 1px solid #E2E8F0;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid #F1F5F9;
}

.property-price {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: #2563EB;
}

.property-link {
    color: #0F172A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.property-link:hover {
    color: #2563EB;
}

/* ===================================
   SERVICES / OUR EXPERTISE (MINIMALIST WHITE)
   =================================== */

.services-section {
    padding: 7rem 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.services-section .section-title {
    color: #0F172A !important;
}

.services-section .section-subtitle {
    color: #64748B !important;
}

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

.service-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 3rem 2.25rem;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #CBD5E1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.service-icon {
    margin-bottom: 1.75rem;
    color: #2563EB;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
    color: #0F172A;
    font-weight: 600;
}

.service-desc {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.service-link {
    display: inline-block;
    color: #2563EB;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: #1D4ED8;
    transform: translateX(6px);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   ABOUT PREVIEW / OUR STORY (MINIMALIST WHITE)
   =================================== */

.about-preview {
    padding: 7rem 0;
    background: #FFFFFF;
}

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

.about-preview-content {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.about-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563EB;
    margin-bottom: 1.25rem;
}

.about-preview-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.75rem;
    color: #0F172A;
    line-height: 1.25;
}

.about-preview-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.about-preview-text strong {
    color: #0F172A;
}

.about-preview-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #E2E8F0;
    background: #E2E8F0;
    height: 520px;
    position: relative;
    width: 100%;
}

.about-preview-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-preview-image:hover img {
    transform: scale(1.04);
}

/* ===================================
   PREMIUM EXPERIENCE / THE NEXGEN DIFFERENCE (MINIMALIST WHITE)
   =================================== */

.premium-experience {
    padding: 7rem 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.premium-experience .section-title {
    color: #0F172A !important;
}

.premium-experience .section-subtitle {
    color: #64748B !important;
}

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

.experience-item {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 3rem 2.5rem 3rem 5.5rem;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.experience-item:hover {
    transform: translateY(-8px);
    border-color: #CBD5E1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.experience-number {
    position: absolute;
    left: 1.5rem;
    top: 2.2rem;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: #2563EB;
    line-height: 1;
}

.experience-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
    color: #0F172A;
    font-weight: 600;
}

.experience-desc {
    color: #475569;
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ===================================
   TESTIMONIALS HOME (CLIENT EXPERIENCES)
   =================================== */

.testimonials-home {
    padding: 8rem 0;
    position: relative;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.testimonials-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 29, 0.95) 0%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.testimonials-home .container {
    position: relative;
    z-index: 2;
}

.testimonials-home .section-title {
    color: #FFFFFF !important;
}

.testimonials-home .section-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid #6BA3E8;
    padding: 3rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.testimonial-slide:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    border-left-color: #FFFFFF;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: #6BA3E8;
}

@media (max-width: 968px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FOOTER - MINIMAL & ELEGANT
   =================================== */

.footer {
    background: #F8F9FA;
    color: var(--dark);
}

/* Top Strip */
.footer-strip {
    padding: 2rem 0;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
}

.footer-strip-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--gray);
    font-style: italic;
}

/* Main Footer */
.footer-main {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Brand Column */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-founder {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-founder strong {
    color: var(--dark);
    font-weight: 600;
}

/* Footer Columns */
.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition-fast);
}

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

.footer-links a:hover::after {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9375rem;
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Social Media */
.footer-social {
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    text-align: center;
}

.footer-social-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Bottom Bar */
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid #E5E7EB;
}

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

.footer-copyright {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

.footer-legal .separator {
    color: #D1D5DB;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 4rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-strip-text {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-strip {
        padding: 1.5rem 0;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
    }
}

/* ===================================
   WHATSAPP FLOAT
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

[data-scroll] {
    opacity: 1 !important;
    transform: none !important;
}

[data-scroll].visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 968px) {
    .container {
        padding: 0 4%;
    }
    
    .nav-container {
        padding: 0 4%;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: var(--transition-fast);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--dark);
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Sections */
    .featured-properties,
    .services-section,
    .about-preview,
    .premium-experience,
    .testimonials-home,
    .cta-section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Property Cards */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .property-image {
        height: 250px;
    }
    
    .property-content {
        padding: 1.5rem;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .property-price {
        font-size: 1.5rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* About Preview */
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-preview-image {
        height: 400px;
    }
    
    /* Experience Grid */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .experience-item {
        padding-left: 4rem;
    }
    
    .experience-number {
        font-size: 2.5rem;
    }
    
    /* Testimonials */
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-slide {
        padding: 2rem 1.5rem;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 2rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 5%;
    }
    
    .nav-container {
        padding: 0 5%;
    }
    
    .nav-menu {
        width: 85%;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    /* Hero */
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    /* Trust Strip */
    .trust-strip {
        padding: 3rem 0;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 2rem;
    }
    
    .trust-divider {
        display: none;
    }
    
    .trust-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .trust-icon {
        width: 40px;
        height: 40px;
    }
    
    .trust-value {
        font-size: 1rem;
    }
    
    .trust-desc {
        font-size: 0.8125rem;
    }
    
    /* Sections */
    .featured-properties,
    .services-section,
    .about-preview,
    .premium-experience,
    .testimonials-home,
    .cta-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    /* Property Cards */
    .properties-grid {
        gap: 1.5rem;
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .property-content {
        padding: 1.25rem;
    }
    
    .property-title {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    
    .property-location {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .property-features {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .property-features span {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .property-footer {
        padding-top: 1rem;
    }
    
    .property-price {
        font-size: 1.4rem;
    }
    
    .property-link {
        font-size: 0.875rem;
    }
    
    /* Services */
    .services-grid {
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 2rem 1.25rem;
    }
    
    .service-icon {
        margin-bottom: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .service-desc {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    /* About Preview */
    .about-preview-grid {
        gap: 2rem;
    }
    
    .about-label {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    
    .about-preview-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .about-preview-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .about-preview-image {
        height: 350px;
    }
    
    /* Experience */
    .experience-grid {
        gap: 2rem;
    }
    
    .experience-item {
        padding-left: 3.5rem;
    }
    
    .experience-number {
        font-size: 2rem;
    }
    
    .experience-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .experience-desc {
        font-size: 0.9375rem;
    }
    
    /* Testimonials */
    .testimonials-slider {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .testimonial-slide {
        padding: 1.75rem 1.25rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-author {
        padding-top: 1.25rem;
    }
    
    .author-name {
        font-size: 0.9375rem;
    }
    
    .author-title {
        font-size: 0.8125rem;
    }
    
    /* CTA */
    .cta-section {
        padding: 5rem 0;
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .cta-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        gap: 0.875rem;
    }
    
    /* Footer */
    .footer-strip {
        padding: 1.5rem 0;
    }
    
    .footer-strip-text {
        font-size: 0.9375rem;
    }
    
    .footer-main {
        padding: 3.5rem 0 2rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-desc,
    .footer-founder {
        font-size: 0.875rem;
    }
    
    .footer-heading {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-links a,
    .footer-contact li {
        font-size: 0.875rem;
    }
    
    .footer-social {
        padding-top: 1.5rem;
    }
    
    .footer-social-heading {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        padding: 1.25rem 0;
    }
    
    .footer-copyright,
    .footer-legal a {
        font-size: 0.8125rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 1.25rem;
        right: 1.25rem;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Reduce transition speeds on mobile for snappier feel */
@media (max-width: 968px) {
    :root {
        --transition: all 0.3s ease;
        --transition-fast: all 0.2s ease;
    }

    /* Backdrop filter is VERY expensive on mobile - disable it */
    .nav-menu {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    /* Disable backdrop filter on glass cards */
    .glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Content visibility for below-fold sections - browser skips rendering until visible */
.trust-strip,
.featured-properties,
.services-section,
.about-preview,
.premium-experience,
.testimonials-home,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* GPU layer hint only for elements that actually animate */
.hero-video,
.hero-fallback,
.loader {
    will-change: opacity;
}

.nav-menu {
    will-change: transform;
}

