/* Luxury Real Estate Style - Vantage Living Realty (Sophisticated Dark Theme) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary: #003366; /* Professional Deep Blue */
    --accent: #0056b3;  /* Brighter Blue for hover/accents */
    --bg: #ffffff;      /* White background */
    --black: #ffffff;   /* Used as background color in some places */
    --charcoal: #f8f9fa; /* Very light gray for subtle sections */
    --white: #ffffff;
    --text: #1a1a1a;    /* Dark gray for text readability */
    --muted: #666666;   /* Gray for muted text */
    --border: rgba(0, 0, 0, 0.1); /* Darker borders for light theme */
    --f-heading: 'Cinzel', serif;
    --f-serif: 'Cormorant Garamond', serif;
    --f-sans: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --header-height: 100px;
}

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

body {
    font-family: var(--f-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
.serif {
    font-family: var(--f-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
    /* Adjusted letter spacing for Cinzel */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 80px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    header .container {
        padding: 0 20px !important;
    }
}

/* Header & Nav — White Glass Effect */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 51, 102, 0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
}

/* Animatic hide class */
header.nav-hide {
    transform: translateY(-100%);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 80px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo {
    font-family: var(--f-heading);
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #003366;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo span {
    color: rgba(0, 51, 102, 0.65);
    font-size: 10px;
    letter-spacing: 0.3em;
    margin-top: 5px;
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 60px;
    align-items: center;
}

nav ul li a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: #111111;
    opacity: 1;
    font-family: var(--f-sans);
}

nav ul li a:hover,
nav ul li a.active {
    opacity: 1;
    color: #c9a050;
    text-decoration: none;
}

.nav-cta {
    background-color: #c9a050;
    color: #ffffff;
    padding: 12px 28px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
    border-radius: 2px;
}

.nav-cta:hover {
    background-color: #b8903e;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 160, 80, 0.4);
}

.mobile-menu-toggle {
    display: none;
    /* Only visible on mobile */
}

/* Megamenu Styles */
.nav-item-dropdown {
    position: static;
    /* Important: Allows megamenu to span based on header width */
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 900;
    padding: 0;
}

/* Hover revealed logic */
.nav-item-dropdown:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu .container {
    max-width: 1400px !important;
    /* Standard site width for content */
    margin: 0 auto;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns side-by-side */
    gap: 40px;
}

.megamenu-column h4 {
    font-family: var(--f-heading);
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}


.megamenu-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--primary);
}

.megamenu-column ul {
    display: block;
    /* Overriding nav ul flex */
    gap: 0;
}

.megamenu-column ul li {
    margin-bottom: 18px;
    display: block;
}

.megamenu-column ul li a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
    transition: var(--transition);
    display: inline-block;
    padding: 0;
}

.megamenu-column ul li a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(8px);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: var(--bg);
    overflow: hidden;
    /* Prevent bleed */
}

.hero-content-wrapper {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.hero-bg-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
}

.eyebrow {
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 24px;
    display: block;
    font-family: var(--f-serif);
    font-style: italic;
}

.hero-content h1 {
    font-size: 84px;
    /* Larger heading */
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 500;
    animation: fadeInUp 1.2s ease;
}

.hero-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 50px;
    animation: fadeInUp 1.5s ease;
    font-family: var(--f-serif);
}

.btn {
    display: inline-block;
    padding: 20px 50px;
    /* More generous padding */
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

/* Stats Section */
.stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat-item span {
    display: block;
}

.stat-num {
    font-family: var(--f-serif);
    font-size: 32px;
    color: var(--accent);
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-top: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: -100px;
    /* Pushed further down for empty space */
    left: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.scroll-indicator::after {
    content: '';
    width: 60px;
    height: 1px;
    background: white;
}

/* Sections */
section {
    padding: 120px 0;
}

.hero {
    padding: 0 !important;
    /* Hero has no padding - it fills viewport */
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 64px;
    /* More dramatic */
    margin-bottom: 20px;
    font-weight: 400;
}

.section-title .divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin: 30px auto 0;
}

/* Impact Scroll Section */
.impact-scroll-section {
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--bg);
}

.impact-container {
    width: 100%;
    position: relative;
}

.impact-track {
    position: relative;
    height: 650px; /* Provides space for the arc */
    width: 100%;
    margin-top: 50px;
    will-change: transform;
}

.impact-card {
    position: absolute;
    width: 320px;
    height: 520px;
    left: 50%;
    margin-left: -160px; /* Center horizontally */
    top: 0;
    border-radius: 160px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    background-color: var(--charcoal);
    transform-origin: center center;
    /* Removed transition so JS can smoothly animate it during scroll */
}

.impact-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.impact-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.impact-overlay.dark {
    background-color: var(--primary);
    color: #ffffff;
}

.impact-overlay h3 {
    font-family: var(--f-heading);
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
}

.impact-overlay h3 span {
    display: block;
    font-size: 14px;
    font-family: var(--f-sans);
    margin-top: 15px;
    opacity: 0.8;
    text-transform: none;
    letter-spacing: 0.5px;
}

.impact-footer {
    text-align: center;
    margin-top: 80px;
}

.impact-footer h2 {
    font-family: var(--f-serif);
    font-size: 48px;
    font-style: italic;
    color: var(--primary);
    line-height: 1.2;
}

/* Adjust card rotation in JS parallax */

/* Property Grid - Standard Layout (used on properties.html) */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border: none;
    margin-bottom: 50px;
}

/* ===================================================
   Featured Properties Carousel (index.html only)
   =================================================== */
.fp-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.fp-carousel-viewport {
    flex: 1;
    overflow: hidden;
    /* hide scrollbar */
}

/* Inside the carousel viewport, the grid becomes a wide flex row */
.fp-carousel-viewport .property-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 0;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Each card is exactly 1/3 of the viewport width */
.fp-carousel-viewport .property-grid .property-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
}

/* Carousel navigation buttons */
.fp-carousel-btn {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    margin: 0 10px;
    opacity: 0.85;
}

.fp-carousel-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.fp-carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08);
    opacity: 1;
}

.fp-carousel-btn:hover svg {
    stroke: #000;
}

.fp-carousel-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    transform: none;
}

/* Dot indicators */
.fp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.fp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.fp-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .fp-carousel-viewport .property-grid .property-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .fp-carousel-btn {
        width: 42px;
        height: 42px;
        margin: 0 5px;
    }

    .fp-carousel-viewport .property-grid .property-card {
        flex: 0 0 calc(100% - 0px);
        min-width: calc(100% - 0px);
    }
}

.property-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.property-card:last-child {
    border-right: 1px solid var(--border);
}

.property-card:hover {
    background-color: #ffffff;
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.12);
    border-color: rgba(0, 51, 102, 0.3);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.property-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.property-price {
    font-family: var(--f-serif);
    font-size: 22px;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 0;
}

.property-info h3 {
    font-family: var(--f-heading);
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.3s;
}

.property-card:hover h3 {
    color: var(--accent);
}

.property-location {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.location-pin-icon {
    width: 15px;
    height: 15px;
    color: var(--primary);
    stroke-width: 2px;
    flex-shrink: 0;
}

.property-details {
    display: none;
}

/* Details Footer Section */
.property-details-footer {
    display: flex;
    background-color: #fcfcfc;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.prop-detail-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background-color 0.3s ease;
}

.prop-detail-col:last-child {
    border-right: none;
}

.property-card:hover .prop-detail-col {
    background-color: #f8f9fa;
}

.prop-detail-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    stroke-width: 1.5px;
    margin-bottom: 8px;
}

.prop-detail-val {
    font-family: var(--f-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.prop-detail-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* About Section */
.about-preview {
    border-top: 1px solid var(--border);
    padding: 0 !important;
    /* The inner columns manage their own spacing */
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-text {
    padding: 80px 60px;
    border-right: 1px solid var(--border);
}

.about-text h2 {
    font-size: 50px;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: none;
    /* Ensure normal case unless explicitly overridden */
}

.about-text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* View All Floating Button */
.view-all-float {
    position: relative;
    width: 120px;
    height: 120px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    transform: rotate(-15deg);
    cursor: pointer;
    margin: -60px auto 0;
    z-index: 10;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
    background-color: #ffffff !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--f-heading);
    font-size: 20px;
    letter-spacing: 0.2em;
    color: #1a1a1a !important;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

.footer-logo img {
    height: 50px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    align-self: flex-start !important;
    display: block !important;
}

.footer-logo span {
    font-size: 12px;
    color: #555555 !important;
    letter-spacing: 0.4em;
    margin-top: 5px;
    font-weight: 600;
}

.footer-info p {
    color: #333333 !important;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

.footer-links ul li a {
    color: #333333 !important; /* Dark text */
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #c9a050 !important; /* Gold hover effect */
    transform: translateX(3px); /* Subtle cursor hover movement */
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: #666666 !important;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-bg-wrapper {
        display: none;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }

    /* Hero Responsive */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 60px !important;
    }

    .hero-content-wrapper {
        padding: 40px 20px;
        border-right: none;
    }

    .hero-content h1 {
        font-size: 38px !important;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        padding: 18px 30px;
    }

    .hero-search {
        flex-direction: column !important;
        max-width: 100% !important;
        border-radius: 4px !important;
        margin-bottom: 40px !important;
    }

    .hero-search input {
        width: 100% !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .hero-search button {
        width: 100% !important;
        padding: 14px !important;
    }

    .hero-bg-wrapper {
        display: block !important;
        height: 35vh !important;
        position: relative !important;
    }

    /* Impact Scroll Responsive */
    .impact-scroll-section {
        padding: 60px 0;
    }

    .impact-track {
        height: 400px;
    }

    .impact-card {
        width: 220px;
        height: 340px;
        margin-left: -110px;
        border-radius: 110px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .impact-overlay h3 {
        font-size: 18px;
    }

    .impact-overlay h3 span {
        font-size: 11px;
        margin-top: 8px;
    }

    .impact-footer h2 {
        font-size: 26px !important;
        padding: 0 20px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-columns {
        display: flex !important;
        flex-direction: column;
    }

    .about-text {
        padding: 40px 10px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

    .about-text h2 {
        font-size: 28px !important;
        margin-bottom: 20px;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .stats {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: flex-start;
    }

    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    .stat-num {
        font-size: 24px !important;
    }

    .section-title h2 {
        font-size: 32px !important;
    }

    section {
        padding: 60px 0 !important;
    }

    .partners-header h2 {
        font-size: 24px !important;
    }

    .partners-header p {
        font-size: 14px !important;
    }
}

/* Gated Content & Enquiry Wall */
.gated-content {
    position: relative;
}

.gated-blur {
    filter: blur(15px);
    pointer-events: none;
    user-select: none;
    transition: var(--transition);
}

.unlocked-access .gated-blur {
    filter: blur(0);
    pointer-events: auto;
    user-select: auto;
}

.enquiry-wall-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid var(--primary);
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 500px;
}

.unlocked-access .enquiry-wall-overlay {
    display: none;
}

.lock-badge {
    color: var(--primary);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.unlocked-access .lock-badge {
    display: none;
}

/* Mobile Navigation Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        padding-bottom: 50px;
    }

    nav ul.nav-active {
        transform: translateX(0);
    }

    .nav-cta {
        display: none;
    }

    nav ul li a {
        font-size: 16px;
    }

    .megamenu {
        display: none !important;
        /* Hide mega menu on mobile for simplicity */
    }
}

.advisor-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111 !important;
    border: 1px solid var(--primary) !important;
    padding: 6px 18px 6px 6px !important;
    border-radius: 50px !important;
}

.floating-btn span, .advisor-trigger span {
    color: #ffffff !important;
}

.advisor-status-img {
    position: relative;
    width: 34px;
    height: 34px;
}

.advisor-status-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.advisor-status-img .status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-width: 1px;
}

.advisor-trigger-mobile i {
    color: var(--primary);
}

/* Digital Concierge Widget */
#concierge-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.concierge-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--charcoal);
    border: 1px solid var(--border);
    padding: 8px 18px 8px 8px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.concierge-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.concierge-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: visible;
}

.concierge-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border: 2px solid var(--charcoal);
    border-radius: 50%;
}

.concierge-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.concierge-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    background: var(--charcoal);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.concierge-panel.active {
    transform: translateY(-80px) scale(1);
    opacity: 1;
    visibility: visible;
}

.concierge-header {
    background: rgba(201, 160, 80, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.concierge-advisor-info strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
}

.concierge-advisor-info span {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.concierge-close {
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
}

.concierge-body {
    padding: 25px;
}

.concierge-body p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 20px;
}

.concierge-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.concierge-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Parallax Image Styles */
.property-image,
.gallery-item,
.hero-bg-wrapper {
    overflow: hidden;
}

.parallax-img {
    will-change: transform;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
}

/* Cinematic Showcase Section */
.cinematic-showcase {
    position: relative;
    height: 100vh;
    margin: 60px 0 0 0;
    padding: 0 !important;
    overflow: hidden;
    border-top: 1px solid rgba(201, 160, 80, 0.2);
    border-bottom: 1px solid rgba(201, 160, 80, 0.3);
    /* Subtle gold accent border */
}

.showcase-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
    z-index: 2;
}

.showcase-content {
    max-width: 800px;
    text-align: center;
}

.showcase-content h2 {
    font-size: 72px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--white);
    /* Pure White */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    /* Strong Black Shadow for visibility */
}

/* Animations for Reveal */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: none;
}

/* Floating Contact Cluster (WhatsApp + Call) */
.floating-contact-cluster {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    border-radius: 30px;
    padding: 14px 20px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.floating-btn.wa {
    background: #25D366;
}

.floating-btn.call {
    background: linear-gradient(135deg, #c9a050, #8b6914);
    color: #000;
}

.mobile-bottom-bar {
    display: none;
}

/* Hidden on desktop */

.floating-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

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

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: var(--charcoal);
    padding: 50px;
    text-align: center;
    border: 1px solid var(--primary);
    max-width: 400px;
    border-radius: 8px;
}

/* Lazy Loading Styles */
.lazy-img {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.lazy-img.loaded {
    opacity: 1;
}

.lazy-bg {
    /* Gradients will show, images will be injected via JS */
}

.lazy-bg.loaded {
    transition: opacity 0.8s ease-in-out;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Laptops, Tablets & Mobile)
   ========================================================================== */

/* Large Tablets / Small Laptops (Max 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 5vw !important;
    }

    h2 {
        font-size: 4vw !important;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .gallery-item.large {
        height: 400px;
    }

    /* Testimonials Grid */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Standard Laptops & Desktops (Max 1440px) */
@media (max-width: 1440px) {
    .hero-content h1 {
        font-size: 64px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-content-wrapper {
        padding: 40px;
    }

    .hero-search {
        margin-bottom: 30px !important;
    }
}

/* Scroll Reveal Animation System */
/* === Scroll Reveal Animation System ===
   Progressive Enhancement: content is ALWAYS visible.
   When JS loads, it adds .js-animate to <html>, enabling animations.
   This means the page NEVER shows blank content even if JS fails. */

.reveal {
    /* Visible by default — no JS required */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Only hide elements when JS has confirmed it's running */
.js-animate .reveal {
    opacity: 0;
    transform: translateY(30px);
}

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


/* Desktop-only specific layout fixes */
@media (min-width: 1024px) {
    .about-columns {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 60px;
    }
}

/* Tablets & Mobile Landscape (Max 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    /* Remove body padding so header sits at top */
    .container {
        padding: 0 20px !important;
    }

    /* Pull logo further left */
    h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 28px !important;
    }

    .eyebrow {
        font-size: 10px !important;
    }

    header {
        padding: 15px 0;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    }

    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    nav>div:not(.mobile-menu-toggle) {
        display: none !important;
    }

    /* Hide EN/AR and extra buttons, but keep the hamburger */

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        color: #003366 !important;
        z-index: 1001;
        position: relative;
    }
    .mobile-menu-toggle svg,
    .mobile-menu-toggle i {
        color: #003366 !important;
        stroke: #003366 !important;
    }

    /* ------------------------------------------- */
    /* DETACHED MOBILE LODHA OVERLAY SYSTEM        */
    /* ------------------------------------------- */
    /* ── MOBILE NAV OVERLAY: WHITE THEME ── */
    #mobile-lodha-overlay {
        position: fixed !important;
        inset: 0 !important;
        width: 100dvw !important;
        height: 100dvh !important;
        background: #ffffff !important;
        /* NO backdrop-filter — causes black on iOS Safari */
        z-index: 2147483647 !important;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    #mobile-lodha-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    #mobile-lodha-overlay .overlay-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0, 51, 102, 0.1);
        width: 100%;
    }

    #mobile-lodha-overlay>ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0 30px;
        margin: 0;
        list-style: none;
        width: 100%;
        display: flex;
        overflow-y: auto;
        padding-bottom: 100px;
    }

    #mobile-lodha-overlay>ul>li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 51, 102, 0.08) !important;
        padding: 22px 0;
    }

    #mobile-lodha-overlay>ul>li>a {
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0.1em !important;
        text-transform: uppercase !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #003366 !important;
        text-decoration: none !important;
        opacity: 1 !important;
    }

    /* Submenu (Megamenu) formatting inside the Lodha Overlay */
    #mobile-lodha-overlay .megamenu {
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
    }

    #mobile-lodha-overlay .nav-item-dropdown.mobile-expanded .megamenu {
        display: block !important;
    }

    #mobile-lodha-overlay .megamenu .container {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Lodha-Style Category Headers (e.g. Residential, Icons) */
    #mobile-lodha-overlay .megamenu-column {
        border-bottom: 1px solid rgba(0, 51, 102, 0.08) !important;
    }

    #mobile-lodha-overlay .megamenu-column:last-child {
        border-bottom: none;
    }

    #mobile-lodha-overlay .megamenu-column h4 {
        color: #003366 !important;
        font-size: 15px !important;
        margin: 0 !important;
        padding: 20px 0 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: var(--f-sans) !important;
        cursor: pointer;
    }

    #mobile-lodha-overlay .megamenu-column h4::after {
        display: none !important;
    }

    #mobile-lodha-overlay .megamenu ul {
        display: none !important;
        flex-direction: column !important;
        padding: 0 0 20px 20px !important;
        gap: 20px !important;
    }

    #mobile-lodha-overlay .megamenu-column.mobile-expanded ul {
        display: flex !important;
    }

    #mobile-lodha-overlay .megamenu ul li {
        border-bottom: none !important;
        padding: 0 !important;
    }

    #mobile-lodha-overlay .megamenu ul li a {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
        opacity: 1 !important;
    }

    .project-name {
        font-size: 14px !important;
        color: #003366 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        font-weight: 500;
    }

    .project-loc {
        font-size: 11px !important;
        color: rgba(0, 51, 102, 0.6) !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .overlay-close-btn {
        color: #003366 !important;
        cursor: pointer;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Megamenu Fix */
    .nav-item-dropdown .megamenu {
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
    }

    .nav-item-dropdown.mobile-expanded .megamenu {
        display: block !important;
    }

    .megamenu .container {
        padding: 20px 0 0 0;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-cta {
        display: none;
    }

    /* Hide CTA on small mobile header to save space */

    /* Fix overlap from floating contact buttons */
    body {
        padding-bottom: 90px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-info {
        align-items: center;
        text-align: center;
    }

    .hero {
        min-height: 80vh;
        padding: 150px 0 50px;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* Hide absolute positioned element that causes overlap on small screens */

    .hero-search {
        flex-direction: column;
        width: 100%;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .hero-search input {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-size: 11px !important;
        /* Smaller text to prevent placeholder cut-off */
        padding: 12px 15px !important;
    }

    .hero-search button {
        width: 100%;
        padding: 15px !important;
    }

    #advanced-filter-form {
        grid-template-columns: 1fr;
    }

    /* Testimonials Grid */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Amenities */
    .amenity-list {
        grid-template-columns: 1fr 1fr;
    }

    /* Property Details layout */
    div[style*="display: flex; justify-content: space-between; align-items: flex-end;"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    div[style*="text-align: right;"] {
        text-align: left !important;
    }

    /* Hide old oversized floating buttons completely on mobile */
    .floating-contact-cluster {
        display: none !important;
    }

    /* Lodha-Style Sticky Bottom Bar */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .mobile-bottom-bar a {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--white);
        font-size: 10px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 600;
        opacity: 0.8;
    }

    .mobile-bottom-bar i {
        width: 14px;
        height: 14px;
    }
}

/* Mobile Portrait (Max 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 32px !important;
    }

    .amenity-list {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .logo {
        font-size: 18px;
    }

    .logo span {
        font-size: 7px;
    }

    .property-card h3 {
        font-size: 20px;
    }

    .property-price {
        font-size: 22px;
    }

    /* About Page Mobile Fixes */
    section[style*="padding: 180px 0 100px"] {
        padding: 120px 0 60px !important;
    }

    section[style*="padding: 180px 0 100px"] h1 {
        font-size: 32px !important;
    }

    /* Mobile impact card grid removed to allow JavaScript arc animation to run */

    /* ─── CINEMATIC GALLERY: Prevent overflow on mobile ─── */
    .cinematic-gallery-section {
        width: 100% !important;
        margin-left: 0 !important;
        overflow: hidden !important;
    }
    .gallery-slide {
        flex: 0 0 88vw !important;
        height: 260px !important;
    }
}

/* --- Partners Slider --- */
.partners-slider {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    overflow: hidden;
    position: relative;
}

.partners-slider .container {
    position: relative;
    z-index: 1;
}

.partners-header {
    text-align: center;
    margin-bottom: 80px;
}

.partners-header h2 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #003366;
    opacity: 0.8;
    margin-bottom: 15px;
}

.partners-header p {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #003366;
    font-style: italic;
    font-weight: 500;
}

/* Perfect Seamless Track */
.partners-track {
    display: flex;
    width: max-content;
    animation: seamlessScroll 55s linear infinite;
}

.partner-logo-group {
    display: flex;
    gap: 130px;
    padding-right: 130px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 240px;
    height: 120px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    transition: all 0.5s ease;
}

.partner-logo img {
    height: auto;
    max-height: 85px;
    width: auto;
    max-width: 100%;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

@keyframes seamlessScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Side Fades - Removed per user request to remove blur effect */
.partners-slider-fade-left,
.partners-slider-fade-right {
    display: none !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partner-logo img {
        height: 60px;
    }

    .partners-track {
        gap: 60px;
    }
}

/* ===================================================
   Cinematic 3-Banner Section (replaces Featured Properties)
   =================================================== */
.cinematic-banners {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.cin-banner {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 480px;
    overflow: hidden;
    cursor: pointer;
}

.cin-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.cin-banner:hover .cin-banner-img {
    transform: scale(1.05);
}

/* Gradient overlay — bottom-heavy to frame the text */
.cin-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.52) 0%,
        rgba(0, 0, 0, 0.18) 55%,
        rgba(0, 0, 0, 0.04) 100%
    );
    z-index: 1;
    transition: background 0.6s ease;
}

.cin-banner:hover .cin-banner-overlay {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.22) 55%,
        rgba(0, 0, 0, 0.06) 100%
    );
}

/* Text block — bottom-left like the reference */
.cin-banner-content {
    position: absolute;
    bottom: 56px;
    left: 60px;
    z-index: 2;
    color: #ffffff;
}

.cin-banner-eyebrow {
    font-family: var(--f-sans);
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 12px;
    display: block;
}

.cin-banner-title {
    font-family: var(--f-serif);
    font-size: clamp(42px, 5.5vw, 80px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    text-transform: none;
    transform: translateY(0);
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.cin-banner:hover .cin-banner-title {
    transform: translateY(-4px);
}

.cin-banner-subtitle {
    font-family: var(--f-sans);
    font-size: 14px;
    font-weight: 300;
    opacity: 0.82;
    letter-spacing: 0.04em;
    max-width: 360px;
    line-height: 1.6;
    transition: opacity 0.5s ease;
}

/* Invisible full-panel click link */
.cin-banner-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

/* Thin horizontal accent line between banners */
.cin-banner + .cin-banner {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .cin-banner {
        height: 60vh;
        min-height: 380px;
    }
    .cin-banner-content {
        left: 40px;
        bottom: 44px;
    }
}

@media (max-width: 768px) {
    .cin-banner {
        height: 55vw;
        min-height: 300px;
    }
    .cin-banner-content {
        left: 24px;
        bottom: 30px;
    }
    .cin-banner-subtitle {
        display: none;
    }
}

/* =====================================================
   PROPERTY CATEGORIES SECTION
   5 animated cards below the cinematic banners
   ===================================================== */
.prop-cats-section {
    padding: 100px 60px;
    background: #ffffff;
    overflow: hidden;
}

.prop-cats-header {
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.prop-cats-header.in-view {
    opacity: 1;
    transform: translateY(0);
}

.prop-cats-title {
    font-family: var(--f-heading);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    color: #0a0a0a;
    margin: 12px 0 18px;
    letter-spacing: 0.03em;
}

.prop-cats-sub {
    font-size: 15px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 5-column grid */
.prop-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Card */
.prop-cat-card {
    display: block;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition:
        opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 0.5s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.prop-cat-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays for each card */
.prop-cat-card[data-index="1"] { transition-delay: 0.05s; }
.prop-cat-card[data-index="2"] { transition-delay: 0.15s; }
.prop-cat-card[data-index="3"] { transition-delay: 0.25s; }
.prop-cat-card[data-index="4"] { transition-delay: 0.35s; }
.prop-cat-card[data-index="5"] { transition-delay: 0.45s; }

.prop-cat-card:hover {
    box-shadow: 0 16px 48px rgba(0, 51, 102, 0.15);
    transform: translateY(-6px) scale(1.01);
}

/* Image wrapper */
.prop-cat-img-wrap {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.prop-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.prop-cat-card:hover .prop-cat-img {
    transform: scale(1.08);
}

/* Dark gradient overlay at bottom of image */
.prop-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
    transition: background 0.5s ease;
}
.prop-cat-card:hover .prop-cat-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.05) 60%);
}

/* Card text body */
.prop-cat-body {
    padding: 22px 20px 24px;
    background: #ffffff;
    border-top: 2px solid transparent;
    transition: border-color 0.4s ease;
    position: relative;
}
.prop-cat-card:hover .prop-cat-body {
    border-top-color: #c9a050;
}

/* Number badge */
.prop-cat-num {
    font-family: var(--f-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #c9a050;
    display: block;
    margin-bottom: 8px;
}

/* Category name */
.prop-cat-name {
    font-family: var(--f-heading);
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 500;
    color: #0a0a0a;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}
.prop-cat-card:hover .prop-cat-name {
    color: #003366;
}

/* Description */
.prop-cat-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 14px;
    font-family: var(--f-sans);
}

/* CTA row */
.prop-cat-cta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.3s ease;
}
.prop-cat-card:hover .prop-cat-cta {
    opacity: 1;
    transform: translateX(0);
    color: #c9a050;
}

/* Responsive */
@media (max-width: 1100px) {
    .prop-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .prop-cats-section {
        padding: 80px 40px;
    }
}
@media (max-width: 768px) {
    .prop-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .prop-cat-img-wrap {
        height: 200px;
    }
    .prop-cats-section {
        padding: 60px 20px;
    }

    /* Mobile Menu Toggle Styling */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border-radius: 4px;
        cursor: pointer;
        margin-left: 20px;
        transition: var(--transition);
        color: #003366 !important; /* Dark Blue lines */
    }
    .mobile-menu-toggle svg {
        width: 32px !important;
        height: 32px !important;
        stroke-width: 1.5;
    }
}

/* Mobile Overlay Theme Overrides */
#mobile-lodha-overlay {
    background: #ffffff !important; /* Force White Background */
    color: #003366 !important;
}

#mobile-lodha-overlay .overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #ffffff !important; /* Ensure header is white */
    border-bottom: 1px solid rgba(0, 51, 102, 0.08);
}

#mobile-lodha-overlay .overlay-header .logo {
    color: #003366 !important;
}

#mobile-lodha-overlay .overlay-close-btn {
    color: #003366 !important; /* Clearly visible Deep Blue */
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-lodha-overlay ul {
    padding: 30px 24px;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

#mobile-lodha-overlay ul li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

#mobile-lodha-overlay ul li a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: #003366 !important; /* Dark Blue Text */
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    width: 100%;
}

#mobile-lodha-overlay .megamenu {
    display: none; /* Keep it simple on mobile unless expanded */
    position: relative !important;
    background: #f8f9fa !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#mobile-lodha-overlay .mobile-expanded .megamenu {
    display: block !important;
}

#mobile-lodha-overlay .megamenu .container {
    padding: 10px 20px !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
}

#mobile-lodha-overlay .megamenu-column h4 {
    margin-bottom: 10px !important;
    color: #003366 !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px !important;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 480px) {
    .prop-cats-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Luxury Property Showcase Gallery --- */
.property-showcase-container { width: 100%; margin-bottom: 40px; }
.main-image-viewport { position: relative; width: 100%; aspect-ratio: 16/9; background: #111; overflow: hidden; cursor: zoom-in; border: 1px solid var(--border); }
.showcase-main-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.showcase-overlay { position: absolute; bottom: 20px; right: 20px; background: rgba(0,0,0,0.6); color: #fff; padding: 8px 15px; border-radius: 50px; display: flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease; }
.main-image-viewport:hover .showcase-overlay { opacity: 1; }
.thumbnail-strip-wrapper { margin-top: 15px; width: 100%; overflow-x: auto; padding-bottom: 10px; }
.thumbnail-strip-wrapper::-webkit-scrollbar { display: none; }
.thumbnail-strip { display: flex; gap: 12px; min-width: min-content; }
.thumb-item { width: 100px; height: 65px; border: 2px solid transparent; cursor: pointer; overflow: hidden; transition: all 0.3s ease; flex-shrink: 0; }
.thumb-item img { width: 100%; height: 100%; opacity: 0.6; transition: opacity 0.3s ease; object-fit: cover; }
.thumb-item:hover img { opacity: 1; }
.thumb-item.active { border-color: var(--primary); }
.thumb-item.active img { opacity: 1; }
.lightbox-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; flex-direction: column; justify-content: center; align-items: center; }
.lightbox-content { position: relative; width: 90%; max-width: 1200px; max-height: 80vh; }
.lightbox-content img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; animation: zoomIn 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.lightbox-close { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 40px; background: none; border: none; cursor: pointer; z-index: 10001; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; padding: 20px; cursor: pointer; font-size: 24px; transition: background 0.3s ease; z-index: 10001; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter { margin-top: 20px; color: var(--primary); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 768px) { .main-image-viewport { aspect-ratio: 4/3; } .thumb-item { width: 80px; height: 55px; } .lightbox-nav { padding: 15px; font-size: 18px; } .lightbox-nav.prev { left: 10px; } .lightbox-nav.next { right: 10px; } }

/* =========================================
   BANNER 2 PREMIUM POPUP (BEHANCE STYLE)
   ========================================= */
.banner-premium-popup {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.15); /* Light frosted glass tint */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    /* Animation driven by CSS variables from JS */
    transform: translate3d(-50%, var(--scroll-y, 0px), 0) scale(var(--scroll-scale, 1));
    opacity: var(--scroll-opacity, 1); /* Fallback to 1 if JS fails */
    transition: box-shadow 0.4s ease, opacity 0.1s ease, transform 0.1s ease-out;
    will-change: transform, opacity;
}

.banner-premium-popup:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.banner-premium-popup .popup-thumb-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-premium-popup .popup-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-premium-popup:hover .popup-thumb-wrap img {
    transform: scale(1.08);
}

.banner-premium-popup .popup-details {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: transparent !important;
    text-align: center;
}

.banner-premium-popup .popup-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.banner-premium-popup h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.3;
}

.banner-premium-popup p {
    margin: 0;
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.banner-premium-popup #popup-enquire-btn {
    width: 100%;
    margin-top: auto; /* Pushes button to bottom of flex container */
    background: rgba(255, 255, 255, 0.2); /* Frosted Button */
    color: #ffffff;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.banner-premium-popup #popup-enquire-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .banner-premium-popup {
        right: 50%;
        bottom: 20px;
        transform: translate3d(50%, var(--scroll-y, 0px), 0) scale(var(--scroll-scale, 0.85));
        width: 240px;
        height: 250px;
        border-radius: 12px;
    }
    .banner-premium-popup:hover {
        transform: translate3d(50%, calc(var(--scroll-y, 0px) - 6px), 0) scale(calc(var(--scroll-scale, 1) * 1.03));
    }
    .banner-premium-popup .popup-thumb-wrap {
        height: 100px;
    }
    .banner-premium-popup .popup-details {
        padding: 5px 15px;
        justify-content: center;
    }
    .banner-premium-popup h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .banner-premium-popup p {
        font-size: 11px;
    }
    .banner-premium-popup #popup-enquire-btn {
        padding: 10px;
        font-size: 11px;
    }
}