/* =========================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
   @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

   :root {
       --font-serif: 'Playfair Display', serif;
       --font-sans: 'Montserrat', sans-serif;
       
       /* Color Palette Extracted from Design */
       --color-dark-bg: #2C2E26; /* Deep Olive/Brown for Intro & Contact */
       --color-dark-map: #1F2522; /* Connectivity section bg */
       --color-footer-bg: #141414;
       --color-text-main: #333333;
       --color-text-light: #f5f5f5;
       --color-gold-accent: #C5A47E; /* Approximate gold tone if needed */
       --color-beige-bg: #F9F7F2; /* Master plan / light sections */
       --color-border: #444;
   }
   
   * {
       box-sizing: border-box;
       margin: 0;
       padding: 0;
   }
   
   body {
       font-family: var(--font-sans);
       color: var(--color-text-main);
       line-height: 1.6;
       font-size: 16px;
       background-color: #FEF9F3;
       -webkit-font-smoothing: antialiased;
   }
   
   h1, h2, h3, h4 {
       font-family: var(--font-serif);
       font-weight: 400;
   }
   
   ul {
       list-style: none;
   }
   
   a {
       text-decoration: none;
       color: inherit;
       transition: opacity 0.3s;
   }
   
   img {
       max-width: 100%;
       display: block;
       height: auto;
   }
   
   /* Container Utility */
   .container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 20px;
       position: relative;
   }
   
   .container-fluid {
       width: 100%;
       padding: 0;
   }
   
   /* =========================================
      2. HEADER
      ========================================= */
   .main-header {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 100;
       padding: 25px 0;
       background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
   }
   
   .main-header .container {
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   
   .logo img {
       height: 50px; /* Adjust based on actual logo aspect ratio */
       filter: brightness(0) invert(1); /* Ensure logo is white if it's transparent PNG */
   }
   
   .main-nav ul {
       display: flex;
       gap: 30px;
   }
   
   .main-nav a {
       color: #fff;
       text-transform: uppercase;
       font-size: 11px;
       font-weight: 500;
       letter-spacing: 1px;
       font-family: var(--font-sans);
   }
   
   .main-nav a:hover {
       opacity: 0.8;
   }
   
   /* =========================================
      3. HERO SECTION
      ========================================= */
   .hero-section {
       position: relative;
       height: 100vh;
       min-height: 600px;
       /* Placeholder for the landscape image */
       background: url('hero\ image.jpg') center/cover no-repeat; 
       background-color: #556; /* Fallback */
       display: flex;
       align-items: center;
       justify-content: center;
       text-align: center;
       color: #fff;
   }
   
   /* Overlay to ensure text readability matches screenshot */
   .hero-section::before {
       content: '';
       position: absolute;
       top: 0; left: 0; right: 0; bottom: 0;
       background: rgba(0,0,0,0.2);
   }
   
   .hero-content {
       position: relative;
       z-index: 2;
       margin-top: 60px; /* Offset for header */
   }
   
   .hero-content h1 {
       font-size: 5rem;
       line-height: 1;
       font-weight: 400;
       margin-bottom: 10px;
       letter-spacing: -1px;
   }
   
   .hero-content p.subtitle {
       font-family: var(--font-sans);
       font-size: 1rem;
       font-weight: 300;
       text-transform: uppercase;
       letter-spacing: 2px;
   }
   
   /* =========================================
      4. INTRO SECTION (Topographic Bg)
      ========================================= */
      .intro-section {
        position: relative;
        padding: 100px 0;
        text-align: center;
        color: #fff;
        background-color: #353625; /* Olive Green Base */
        overflow: hidden;
    }
    
    /* Pattern Layer */
    .intro-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("contour.png") center center / cover no-repeat;
        opacity: 0.25; /* Control pattern visibility */
        z-index: 1;
    }
    
    /* Optional dark overlay for better contrast */
    .intro-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 2;
    }
    
    /* Keep text above layers */
    .intro-section .container {
        position: relative;
        z-index: 3;
    }
    
   
   .highlight-text {
       font-family: var(--font-serif);
       font-size: 2rem;
       line-height: 1.4;
       font-weight: 400;
       max-width: 900px;
       margin: 0 auto;
   }
   
   /* =========================================
      5. DREAMS SECTION (Overview)
      ========================================= */
   .dreams-section {
       padding: 80px 0;
       background-color: #fff;
       text-align: center;
   }
   
   .dreams-section h2 {
       font-size: 3rem;
       margin-bottom: 30px;
       color: var(--color-text-main);
   }
   
   .dreams-section .content-block {
       max-width: 800px;
       margin: 0 auto 50px auto;
   }
   
   .dreams-section p {
       font-size: 1rem;
       color: #555;
       margin-bottom: 20px;
       line-height: 1.8;
   }
   
   .dreams-section strong {
       font-weight: 600;
       color: #000;
   }
   
   .dreams-section .image-wrapper {
       width: 100%;
       height: 500px;
       overflow: hidden;
   }
   
   .dreams-section .image-wrapper img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   /* =========================================
      6. AMENITIES SECTION
      ========================================= */
   .amenities-section {
       padding: 80px 0;
       background-color: #faf9f6; /* Very light beige/white */
       text-align: center;
   }
   
   .amenities-section h2 {
       font-size: 3.5rem;
       margin-bottom: 20px;
       color: var(--color-text-main);
   }
   
   .amenities-section .section-desc {
       max-width: 800px;
       margin: 0 auto 60px auto;
       color: #666;
       font-size: 1rem;
       line-height: 1.8;
   }
   
   .amenities-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.amenities-grid::-webkit-scrollbar {
    height: 6px;
}

.amenities-grid::-webkit-scrollbar-thumb {
    background: #C5A47E;
    border-radius: 10px;
}

   
   .amenity-card {
       position: relative;
       height: 400px; /* Fixed height for uniformity */
       overflow: hidden;
   }
   
   .amenity-card img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       transition: transform 0.5s ease;
   }
   
   .amenity-card:hover img {
       transform: scale(1.05);
   }
   
   .card-label {
       position: absolute;
       bottom: 30px;
       left: 50%;
       transform: translateX(-50%);
       background: #FEF9F3;
       padding: 12px 30px;
       font-size: 0.85rem;
       font-weight: 600;
       letter-spacing: 1px;
       text-transform: uppercase;
       color: #333;
       white-space: nowrap;
       box-shadow: 0 5px 15px rgba(0,0,0,0.1);
   }
   
   /* =========================================
      7. CONNECTIVITY SECTION
      ========================================= */
   .connectivity-section {
       background-color: #353625;
       color: #fff;
   }
   
   .connectivity-section .row {
       display: flex;
       flex-wrap: wrap;
   }
   
   .connectivity-list {
       flex: 0 0 35%; /* Left column width */
       padding: 60px 40px 60px 10%; /* Extra padding left */
       display: flex;
       align-items: center;
   }
   
   .connectivity-list ul {
       width: 100%;
   }
   
   .connectivity-item {
       display: flex;
       align-items: flex-start;
       margin-bottom: 35px;
       border-bottom: 1px solid rgba(255,255,255,0.1);
       padding-bottom: 15px;
   }
   
   .connectivity-item:last-child {
       border: none;
       margin-bottom: 0;
   }
   
   .connectivity-item .icon {
       width: 30px;
       height: 30px;
       /* Placeholder for icon image */
       background: url('#') center/contain no-repeat; 
       margin-right: 20px;
       filter: invert(1); /* Make icons white */
   }
   .connectivity-item .details {
       display: flex;
       flex-direction: column;
   }
   
   .connectivity-item .details strong {
       font-family: var(--font-serif);
       font-size: 1.2rem;
       font-weight: 400;
       color: #fff;
       margin-bottom: 4px;
   }
   
   .connectivity-item .details span {
       font-size: 0.8rem;
       text-transform: uppercase;
       color: #aaa;
       letter-spacing: 1px;
   }
   
   .connectivity-map {
       flex: 0 0 65%; /* Right column width */
       height: 600px;
       position: relative;
       overflow: hidden;
   }
   
   .connectivity-map img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   /* =========================================
      8. MASTER PLAN SECTION
      ========================================= */
   .master-plan-section {
       padding: 80px 0;
       background-color: var(--color-beige-bg);
       text-align: center;
   }
   
   .master-plan-section h2 {
       font-size: 3.5rem;
       margin-bottom: 50px;
       color: var(--color-text-main);
   }
   
   .plan-image-wrapper {
       max-width: 1000px;
       margin: 0 auto;
       box-shadow: 0 10px 30px rgba(0,0,0,0.05);
   }
   
   /* =========================================
      9. CONTACT / LEAD FORM SECTION
      ========================================= */
   .lead-section {
       background-color: var(--color-dark-bg);
       /* Simulate the topographic lines texture */
       background-image: repeating-radial-gradient(#3a3b33 0%, #2f3028 10%, #2f3028 20%);
       padding: 80px 0;
       color: #FEF9F3;
   }
   
   .lead-section .logo-area {
       margin-bottom: 40px;
   }
   
   .lead-section .logo-area img {
       height: 40px;
       filter: brightness(0) invert(1);
   }
   
   .contact-grid {
       display: flex;
       justify-content: space-between;
       gap: 60px;
   }
   
   .form-wrapper {
       flex: 0 0 50%;
   }
   
   .contact-info {
       flex: 0 0 40%;
       display: flex;
       flex-direction: column;
       justify-content: flex-start;
       padding-top: 10px;
   }
   
   .form-wrapper h3, .contact-info h3 {
       font-family: var(--font-serif);
       font-size: 2rem;
       margin-bottom: 30px;
       font-weight: 400;
   }
   
   .form-group {
       margin-bottom: 20px;
   }
   
   /* Input Styling */
   .lead-section input[type="text"],
   .lead-section input[type="email"],
   .lead-section input[type="tel"] {
       width: 100%;
       background: transparent;
       border: 1px solid rgba(255,255,255,0.3);
       padding: 15px;
       color: #FEF9F3;
       font-family: var(--font-sans);
       font-size: 0.9rem;
       text-transform: uppercase;
   }
   
   .lead-section input::placeholder {
       color: rgba(255,255,255,0.7);
   }
   
   .lead-section input:focus {
       outline: none;
       border-color: #fff;
   }
   
   /* Captcha & Checkbox Styling */
   .captcha-group {
       margin-bottom: 15px;
   }
   
   .recaptcha-box {
       background: #FEF9F3;
       color: #000;
       width: fit-content;
       padding: 10px 15px;
       border-radius: 2px;
       display: flex;
       align-items: center;
       gap: 10px;
       font-size: 0.8rem;
   }
   
   .checkbox-group {
       display: flex;
       align-items: center;
       gap: 10px;
       font-size: 0.75rem;
       color: rgba(255,255,255,0.7);
   }
   
   .submit-btn {
       background: #fff;
       color: #000;
       border: none;
       padding: 15px 0;
       width: 100%;
       font-weight: 700;
       font-size: 0.9rem;
       cursor: pointer;
       text-transform: uppercase;
       letter-spacing: 1px;
       transition: background 0.3s;
       margin-top: 10px;
   }
   
   .submit-btn:hover {
       background: #ddd;
   }
   
   .phone-number {
       font-family: var(--font-serif);
       font-size: 2rem;
       color: #fff;
       display: block;
       margin-top: 10px;
   }
   
   /* =========================================
      10. FOOTER
      ========================================= */
   .global-footer {
       background-color: var(--color-footer-bg);
       color: #999;
       padding: 70px 0 30px 0;
       font-size: 0.85rem;
   }
   
   .footer-logo {
       margin-bottom: 40px;
       text-align: center;
   }
   
   .footer-logo img {
       height: 40px;
       margin: 0 auto;
       /* Invert if logo is dark, keep if white. Assuming white logo asset */
   }
   
   .footer-links-grid {
       display: grid;
       grid-template-columns: repeat(5, 1fr);
       gap: 20px;
       margin-bottom: 50px;
   }
   
   .footer-col h4 {
       color: #FEF9F3;
       font-family: var(--font-serif);
       font-size: 1.1rem;
       margin-bottom: 20px;
   }
   
   .footer-col ul li {
       margin-bottom: 12px;
   }
   
   .footer-col a {
       color: #999;
       font-family: var(--font-sans);
       font-weight: 300;
   }
   
   .footer-col a:hover {
       color: #fff;
   }
   
   .footer-divider {
       border: 0;
       border-top: 1px solid #333;
       margin: 40px 0;
   }
   
   .footer-bottom {
       display: flex;
       justify-content: space-between;
       align-items: flex-start;
       flex-wrap: wrap;
       gap: 30px;
   }
   
   .bottom-col h4 {
       color: #fff;
       font-family: var(--font-serif);
       font-size: 1rem;
       margin-bottom: 10px;
   }
   
   .bottom-col p, .bottom-col address {
       font-style: normal;
       margin-bottom: 5px;
       line-height: 1.6;
   }
   
   .badge img {
       height: 80px;
   }
   
   .social-icons {
       display: flex;
       gap: 15px;
       margin-top: 15px;
   }
   
   .social-icons a {
       width: 30px;
       height: 30px;
       border: 1px solid #555;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 0.7rem;
       color: #fff;
   }
   
   .copyright-bar {
       border-top: 1px solid #222;
       margin-top: 40px;
       padding-top: 20px;
       text-align: center;
       color: #666;
   }
   
   /* =========================================
      MEDIA QUERIES (Basic Responsiveness)
      ========================================= */
   @media (max-width: 992px) {
       .hero-content h1 { font-size: 3.5rem; }
       .dreams-section h2, .amenities-section h2, .master-plan-section h2 {
           font-size: 2.5rem;
       }
       .connectivity-section .row {
           flex-direction: column;
       }
       .connectivity-list, .connectivity-map {
           flex: 0 0 100%;
           width: 100%;
       }
       .contact-grid {
           flex-direction: column;
       }
       .footer-links-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   }
   
   @media (max-width: 600px) {
       .hero-content h1 { font-size: 2.5rem; }
       .footer-links-grid { grid-template-columns: 1fr; }
       .main-header .container { flex-direction: column; gap: 15px; }
       .main-nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
   }
   /* =========================================
   ADD TO BOTTOM OF CSS
   ========================================= */

/* 1. Default Styles (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
}

.slider-arrow {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

/* 2. Mobile Media Query (Matches Screenshot) */
@media (max-width: 768px) {
    
    /* Header & Menu */
    .main-header {
        padding: 15px 0;
    }    
    .main-header .container {
        justify-content: space-between;
    }
    .logo img { height: 40px; }
    
    .mobile-menu-toggle { display: flex; }
    .main-nav ul { display: none; } /* Hides desktop menu */

    /* Typography Scaling */
    .hero-content h1 { font-size: 3rem; line-height: 1.1; }
    .hero-content .subtitle { font-size: 0.9rem; margin-top: 10px; }
    .highlight-text { font-size: 1.3rem; line-height: 1.6; padding: 0 10px; }
    h2 { font-size: 2rem !important; }

    /* Layout Stacking */
    .hero-section { height: 60vh; }
    .intro-section { padding: 60px 20px; background-image: none; }
    
    .connectivity-section .row,
    .contact-grid {
        flex-direction: column;
    }
    
    .contact-grid { flex-direction: column-reverse; } /* Form bottom, info top */

    /* Amenities Mobile View */
    .slider-arrow { display: flex; } /* Show arrows */

    .card-label {
        width: 80%;
        padding: 15px;
        font-size: 0.8rem;
        bottom: 20px;
    }

    /* Footer Accordion Look */
    .footer-links-grid { display: flex; flex-direction: column; gap: 0; }
    .footer-col { border-bottom: 1px solid #333; }
    .footer-col h4 {
        margin: 0;
        padding: 15px 0;
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
    }
    .footer-col h4::after { content: '+'; font-weight: 300; font-size: 1.2rem; }
    .footer-col ul { display: none; } /* Collapsed by default */

    /* General Spacing */
    .container { padding: 0 20px; }
    .connectivity-map { height: 300px; }
    .form-wrapper, .contact-info { width: 100%; padding: 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 30px; }
}
/* =========================================
   FIX: PERFECT MOBILE FOOTER
   ========================================= */
   @media (max-width: 768px) {

    /* Reset Container Padding */
    .global-footer .container {
        padding: 0 20px;
    }

    /* 1. Logo Spacing */
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }

    /* 2. Accordion Structure (The List) */
    .footer-links-grid {
        display: block; /* No grid, just stack */
        margin-bottom: 30px;
        border-top: 1px solid #333; /* Top border for first item */
    }

    .footer-col {
        border-bottom: 1px solid #333; /* Separators */
        margin-bottom: 0; /* Remove default margins */
    }

    /* The Clickable Header */
    .footer-col h4 {
        margin: 0;
        padding: 15px 0;
        font-size: 0.95rem;
        font-weight: 500;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        /* Prevent text selection when clicking */
        user-select: none; 
        -webkit-user-select: none; 
    }

    /* The Plus Icon (+) */
    .footer-col h4::after {
        content: '+';
        font-size: 1.4rem;
        font-weight: 300;
        line-height: 1;
        transition: transform 0.3s ease;
    }

    /* State: When Open (Active) */
    .footer-col.active h4::after {
        transform: rotate(45deg); /* Turns + into x */
    }

    .footer-col.active h4 {
        color: #C5A47E; /* Optional: Gold color when open */
    }

    /* The Links List (Hidden by default) */
    .footer-col ul {
        display: none;
        padding-bottom: 20px;
        padding-left: 5px;
    }

    .footer-col.active ul {
        display: block; /* Show when active */
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 3. Bottom Section (Address, Socials) */
    .footer-divider {
        display: none; /* Hide the desktop horizontal rule */
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .bottom-col {
        width: 100%;
        margin: 0; /* Reset margins */
    }

    /* Address Text */
    .bottom-col.address address {
        font-style: normal;
        color: #999;
        line-height: 1.6;
        font-size: 0.85rem;
    }

    /* Badge */
    .bottom-col.badge img {
        height: 70px; /* Slightly smaller on mobile */
    }

    /* Contact Details */
    .bottom-col.contact h4 {
        color: #fff;
        margin-bottom: 5px;
        font-size: 1rem;
    }
    .bottom-col.contact p {
        color: #999;
        margin-bottom: 15px;
    }

    /* Social Icons Area */
    .bottom-col.legal p {
        margin-bottom: 5px;
        color: #666;
        font-size: 0.8rem;
    }

    .social-icons {
        justify-content: center;
        gap: 20px;
        margin-top: 25px;
    }

    .copyright-bar {
        border-top: 1px solid #222;
        margin-top: 30px;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 0.75rem;
    }
}
/* =========================================
   INTERACTIVE STATES (REQUIRED FOR JS)
   ========================================= */

/* 1. Mobile Menu Overlay State */
@media (max-width: 768px) {
    /* When nav is open */
    .main-nav.nav-active ul {
        display: flex; /* Show menu */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        padding-top: 80px; /* Space for close button */
        z-index: 1000;
        align-items: center;
        gap: 30px;
    }

    .main-nav.nav-active a {
        font-size: 1.2rem;
        color: #fff;
    }

    /* Hamburger Animation to 'X' */
    .mobile-menu-toggle.toggle-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-toggle.toggle-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.toggle-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.no-scroll {
        overflow: hidden;
    }
}

/* 2. Sticky Header State */
.main-header.scrolled {
    background-color: #000;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* 3. Slider Transitions */
.amenity-card, .image-wrapper img {
    transition: opacity 0.5s ease-in-out;
}

/* Utility to hide/show slides via JS */
.slide-hidden {
    display: none !important;
}

.slide-active {
    display: block !important;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* =========================================
   OUR TEAM SECTION
   ========================================= */

   .team-section {
    padding: 100px 0;
    background-color: #F9F7F2; /* Matches Master Plan / Light Beige background */
    text-align: center;
}

/* Header Area */
.team-header {
    max-width: 800px;
    margin: 0 auto 70px auto;
}

.team-header .section-subtitle {
    display: block;
    font-family: var(--font-sans); /* Montserrat */
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.team-header h2 {
    font-family: var(--font-serif); /* Playfair Display */
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

.header-divider {
    width: 60px;
    height: 1px;
    background-color: #C5A47E; /* Gold Accent */
    margin: 0 auto 25px auto;
}

.team-header .section-desc {
    font-family: var(--font-sans);
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Grid Layout */
/* Horizontal Scrollable Grid */
.team-grid {
    display: flex;             /* Grid hatakar Flex use karein */
    overflow-x: auto;          /* Horizontal scrolling enable karein */
    gap: 30px;                 /* Cards ke beech ka gap */
    padding-bottom: 40px;      /* Scrollbar ke liye thodi jagah aur shadow na kate */
    
    /* Smooth Scroll Snap (Premium feel) */
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
    
    /* Scrollbar ko sundar banane ke liye (Optional) */
    scrollbar-width: thin; 
    scrollbar-color: #C5A47E #eee;
}

/* Scrollbar styling for Chrome/Safari/Edge */
.team-grid::-webkit-scrollbar {
    height: 6px;
}
.team-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.team-grid::-webkit-scrollbar-thumb {
    background: #C5A47E; /* Gold color matches theme */
    border-radius: 10px;
}

/* Card Styling */
.team-card {
    min-width: 280px;  /* Minimum chaudai fix karein */
    max-width: 300px;  /* Zyada chauda na ho */
    flex: 0 0 auto;    /* Card ko shrink hone se rokein */
    
    /* Baaki purani styles same raheingi... */
    background: #fff;
    border-radius: 2px;
    scroll-snap-align: start; /* Scroll karte waqt card start pe rukega */
}

/* Image Area */
.member-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* Classic portrait ratio */
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f0f0f0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional: Start Grayscale for extra 'Old Money' feel, remove if unwanted */
    filter: grayscale(100%); 
    transition: transform 0.8s ease, filter 0.5s ease;
}

/* Typography within Card */
.member-info {
    padding: 0 25px;
}

.member-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #2C2E26; /* Deep Olive/Black */
    margin-bottom: 5px;
}

.designation {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C5A47E; /* Gold Accent */
    margin-bottom: 15px;
    font-weight: 600;
}

.bio {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover Effects (Subtle & Elegant) */
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.team-card:hover .member-image img {
    transform: scale(1.05);
    filter: grayscale(0%); /* Brings color back on hover */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
        gap: 40px;
    }
    
    .team-header h2 {
        font-size: 2.2rem;
    }
}
/* Header layout */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes logo left, hamburger right */
    position: relative;
}

/* Logo stays left */
.logo {
    display: flex;
    align-items: center;
    z-index: 1100;
}

/* Hamburger button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    z-index: 1101;
}

/* Hamburger lines */
.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ===== MOBILE ONLY ===== */
@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto; /* pushes it fully right */
    }

    /* Hide desktop nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        transition: right 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-nav.nav-active {
        right: 0;
    }
}
.main-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.main-header.scrolled {
    background-color: #000;   /* Solid background when scrolling */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    padding: 15px 0;          /* Slightly smaller height like luxury sites */
}

.hero-section { position: relative; z-index: 1; }
.main-header { z-index: 9999; }

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999; /* VERY IMPORTANT */
}
.hero-section {
    position: relative;
    z-index: 1;
}
.main-header.scrolled {
    background-color: #000 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.main-header.scrolled .main-nav a {
    color: #fff;
}
@media (max-width: 768px) {
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }
}
@media (max-width: 768px) {
    .main-header.scrolled {
        background: #000 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
}
.main-header {
    min-height: 70px;
}
.main-header.scrolled .main-nav a {
    color: #fff;
}
.hero-section::before {
    z-index: 0; /* Was covering header */
}

.hero-content {
    position: relative;
    z-index: 1;
}
.floating-reel {
    position: fixed;
    right: 30px;
    top: 65%;              /* Niche shift */
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 9999;
}

.floating-reel video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Close Button */
.reel-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #6c63ff;
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

/* CTA Button */
.reel-cta {
    width: 100%;
    padding: 12px;
    background: #e8d2a8;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

@keyframes reelFadeIn {
    from { opacity: 0; transform: translateY(-40%) scale(0.9); }
    to { opacity: 1; transform: translateY(-50%) scale(1); }
}
@media (max-width: 768px) {
    .floating-reel {
        right: 10px;
        width: 160px;
        top: 70%;
    }
}
.floating-reel {
    position: fixed;
    right: 30px;
    top: 65%;
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 9999;
}

.floating-reel video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.reel-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20; /* Above video */
    background: #6c63ff;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.reel-cta {
    width: 100%;
    padding: 12px;
    background: #e8d2a8;
    border: none;
    font-weight: 600;
    cursor: pointer;
}
/* Reel Box */
.floating-reel {
    position: fixed;
    right: 30px;
    top: 65%;
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 9999;
}

.floating-reel video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Close Button */
.reel-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    background: #6c63ff;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

/* Peek Button (Always Visible) */
.reel-open-btn {
    position: fixed;
    right: 30px;
    bottom: 40px;
    background: #e8d2a8;
    border: none;
    padding: 14px 18px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
}
/* ===== FORCE HORIZONTAL SCROLL ===== */
.amenities-grid {
    display: flex !important;
    gap: 30px;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

/* Remove any grid behavior */
.amenities-grid > * {
    flex-shrink: 0;
}

/* Card sizing */
.amenity-card {
    flex: 0 0 360px !important;
    height: 400px;
    scroll-snap-align: start;
}

/* Scrollbar styling */
.amenities-grid::-webkit-scrollbar {
    height: 6px;
}
.amenities-grid::-webkit-scrollbar-thumb {
    background: #C5A47E;
    border-radius: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .amenity-card {
        flex: 0 0 85% !important;
        height: 300px;
    }
}
/* ===== AMENITIES HORIZONTAL SCROLL ===== */
.amenities-grid {
    display: flex !important;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 20px 30px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.amenity-card {
    flex: 0 0 360px;
    height: 400px;
    scroll-snap-align: start;
}

/* Mobile */
@media (max-width: 768px) {
    .amenity-card {
        flex: 0 0 80%;
        height: 300px;
    }
}

/* Smooth scrollbar */
.amenities-grid::-webkit-scrollbar {
    height: 6px;
}
.amenities-grid::-webkit-scrollbar-thumb {
    background: #C5A47E;
    border-radius: 10px;
}
/* ===== FORCE MOBILE AMENITIES SCROLL ===== */
@media (max-width: 768px) {

    .amenities-section {
        overflow: visible !important;
    }

    .amenities-section .container {
        overflow: visible !important;
        padding-right: 0;
    }

    .amenities-grid {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        gap: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .amenity-card {
        flex: 0 0 85% !important; /* IMPORTANT */
        height: 300px;
        scroll-snap-align: start;
    }
}
/* ===== ABSOLUTE FINAL MOBILE AMENITIES SCROLL FIX ===== */
@media (max-width: 768px) {

    .amenities-section,
    .amenities-section .container {
        overflow: visible !important;
        max-width: 100% !important;
    }

    .amenities-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px 16px 25px 16px;
    }

    .amenities-grid::-webkit-scrollbar {
        display: none;
    }

    .amenity-card {
        flex: 0 0 85vw !important;   /* Use viewport width instead of % */
        height: 280px;
        scroll-snap-align: start;
    }
}
/* =========================================
   CONTACT FORM — PREMIUM UI FIX
   ========================================= */

   .lead-section {
    position: relative;
    overflow: hidden;
}

.contact-grid {
    align-items: stretch;
}

/* FORM BOX */
.form-wrapper {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* Heading spacing */
.form-wrapper h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 30px;
}

/* INPUT FIELDS */
.lead-section .form-group {
    margin-bottom: 22px;
}

.lead-section input[type="text"],
.lead-section input[type="email"],
.lead-section input[type="tel"] {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 16px 18px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: none;
}

/* Placeholder */
.lead-section input::placeholder {
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

/* Focus Effect */
.lead-section input:focus {
    outline: none;
    border-color: #C5A47E;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 2px rgba(197,164,126,0.2);
}

/* CAPTCHA BOX */
.recaptcha-box {
    background: #fff;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 0.85rem;
}

/* TERMS CHECKBOX */
.checkbox-group {
    font-size: 0.8rem;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.checkbox-group input {
    margin-top: 4px;
}

/* SUBMIT BUTTON — LUXURY STYLE */
.submit-btn {
    margin-top: 15px;
    background: linear-gradient(135deg, #C5A47E, #a88965);
    color: #fff;
    border-radius: 6px;
    padding: 16px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* CONTACT INFO SIDE */
.contact-info {
    padding: 40px 0;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 2.2rem;
    color: #C5A47E;
    margin-top: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.phone-number:hover {
    transform: scale(1.05);
}

/* =========================================
   RESPONSIVE FIX
   ========================================= */

@media (max-width: 992px) {
    .form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .contact-grid {
        flex-direction: column;
        gap: 40px;
    }

    .form-wrapper {
        padding: 25px;
    }

    .contact-info {
        text-align: center;
        padding: 0;
    }

    .phone-number {
        font-size: 1.8rem;
    }
}
.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.popup-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 320px;
}

.popup-box h3 {
    margin-bottom: 10px;
}

.popup-box button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #C5A47E;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}






