/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background Image and Container */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    /* Path to your large background image */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/anvaya-villas-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: left;
    color: white;
}

/* Header Navigation Styling */
.header-container {
    position: absolute;
    top: 30px;
    width: 90%;
    max-width: 1300px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.nav-pill {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 35px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.main-logo img {
    height: 35px;
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #c0392b;
}

/* Contact Button with Gradient */
.contact-btn {
    position: absolute;
    right: 0;
    background: linear-gradient(to right, #b32a2b 0%, #3ca5a5 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Hero Center Content */
.hero-content {
    text-align: center;
    margin-top: 150px;
}

.brand-box {
    background-color: white;
    padding: 15px 40px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.brand-box img {
    width: 143px;
    height: auto;
}

.main-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sub-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Location Tag Styling */
.location-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
}

.location-tag i {
    color: #e74c3c; /* Red color for the map pin icon */
    font-size: 1.5rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 1024px) {
    .nav-pill { display: none; } /* Standard behavior for mobile: hide desktop nav */
    .contact-btn { position: relative; top: -100px; right: auto; }
    .main-title { font-size: 2rem; }
}
.info-section {
    padding: 50px 0; /* Reduced section padding */
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.content-wrapper {
    display: flex;
    width: 90%;
    max-width: 1100px; /* Slightly narrower for a tighter look */
    gap: 25px;
    align-items: center; /* Aligns both items vertically in the center */
}

/* Media Box - Reduced Height */
.media-box {
    flex: 0 0 62%; 
    height: 450px;  /* Reduced from 520px */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.media-box img,
.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Form Card - Decreased Height & Padding */
.form-card {
    flex: 0 0 38%;
    background: #ffffff;
    padding: 25px 30px; /* Reduced padding from 35px */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    /* Removed min-height to let it shrink to content */
}

.form-logo {
    width: 110px; /* Slightly smaller logo */
    margin-bottom: 10px;
}

.form-header h2 {
    font-size: 26px; /* Reduced font size */
    color: #23395b;
    margin-bottom: 2px;
}

.form-header p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px; /* Less space before inputs */
}

/* Tighter Input Fields */
.form-group {
    margin-bottom: 12px; /* Reduced from 18px */
}

.form-group label {
    display: block;
    font-size: 13px; /* Slightly smaller text */
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 10px 15px; /* Reduced padding for shorter height */
    background-color: #f4f4f4;
    border: none;
    border-radius: 6px;
    font-size: 13px;
}

/* Button */
.submit-btn {
    background-color: #cb2d2e;
    color: white;
    width: 170px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .media-box, .form-card {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
    }
}
.about-project {
    padding: 20px 0;
    background-color: #ffffff;
    text-align: center;
}

.about-header h2 {
    font-size: 36px;
    color: #1e3a5a; /* Deep blue color */
    font-weight: 500;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Row Styling */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; /* Spacing between the three items */
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.icon-box i {
    font-size: 45px; /* Large icons like in the image */
    color: #1e3a5a;
}

.stat-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.stat-info p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        padding-left: 20%; /* Centering effect on mobile */
    }
    
    .about-header h2 {
        font-size: 28px;
    }
}
.project-visual-section {
    padding: 40px 0 0 0; /* No bottom padding so image hits edge if needed */
    background-color: #fff;
    text-align: center;
}

.info-labels-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* Space between the two labels */
    margin-bottom: 0px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.info-icon i {
    font-size: 50px;
    color: #2c3e50; /* Dark navy color */
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 20px;
    color: #1e3a5a;
    font-weight: 700;
}

.info-text span {
    font-size: 13px;
    color: #777;
}

.info-text small {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin-left: 5px;
}

/* Vertical bar for LP No */
.lp-box {
    gap: 20px;
}

.vertical-divider {
    width: 3px;
    height: 35px;
    background-color: #333;
}

/* Rendering Image Styling */
.main-render-box {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 30px 30px 0 0; /* Rounded top corners like in some renders */
    overflow: hidden;
}

.main-render-box img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-labels-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .vertical-divider {
        display: none; /* Hide bar on mobile for cleaner look */
    }

    .info-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}
.highlights-section {
    padding: 60px 0;
    background-color: #fff;
}

/* DECREASED WIDTH CONTAINER */
.compact-container {
    width: 95%;
    max-width: 1100px; /* This makes the section narrower */
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left Column */
.content-col {
    flex: 0 0 65%; /* Width for the grey cards */
}

.grey-card {
    background-color: #f2f4f7; /* Matching the light grey in image */
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.section-title {
    color: #1e3a5a;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.accent-line {
    width: 40px;
    height: 2px;
    background-color: #cb2d2e;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 14px;
    color: #444;
    margin-bottom: 25px;
}

/* List Grid */
.list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.list-item i {
    color: #cb2d2e;
    font-size: 18px;
}

/* Right Column Form */
.form-col {
    flex: 0 0 32%; /* Width for the contact form */
    position: sticky;
    top: 20px;
}

.white-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.form-header h2 {
    font-size: 24px;
    color: #1e3a5a;
    margin: 10px 0 2px 0;
}

.form-header p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 5px;
    font-size: 13px;
}

.red-download-btn {
    width: 100%;
    background-color: #cb2d2e;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.red-download-btn:hover {
    background-color: #a82526;
}

/* Responsive */
@media (max-width: 992px) {
    .compact-container {
        flex-direction: column;
    }
    .content-col, .form-col {
        flex: 0 0 100%;
        width: 100%;
    }
    .list-grid {
        grid-template-columns: 1fr;
    }
}
/* CONSTRAIN THE MAIN CONTAINER WIDTH */
.compact-container {
    width: 95%;
    max-width: 940px; /* This makes the entire section narrow and centered */
    margin: 0 auto;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* LEFT COLUMN (The Grey Cards) */
.content-col {
    flex: 0 0 64%; /* Adjusted width for the highlights/amenities side */
}

.grey-card {
    background-color: #f2f4f7;
    padding: 30px 35px; /* Comfortable internal spacing */
    border-radius: 20px;
    margin-bottom: 25px;
    width: 100%; /* Takes up the 64% of the container */
    box-sizing: border-box;
}

/* MASTER PLAN CARD (Single column, same width) */
.master-card {
    max-width: fit-content; /* Ensures Master Plan matches the Highlights width */
   
}

/* RIGHT COLUMN (The Contact Form) */
.form-col {
    flex: 0 0 33%; /* Adjusted width for the form side */
    position: sticky;
    top: 20px;
}

/* LIST TEXT ADJUSTMENT */
.list-item {
    font-size: 13.5px; /* Smaller text to fit the narrower boxes */
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    font-size: 26px;
    color: #1e3a5a;
    font-weight: 600;
}

/* Responsive: Stack them on small screens */
@media (max-width: 900px) {
    .compact-container {
        flex-direction: column;
        align-items: center;
    }
    .content-col, .form-col {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Gallery Section Styling */
.gallery-section {
    background-color: #1a2938; /* Dark navy background from image */
    padding: 60px 0;
    text-align: center;
    color: white;
}

.gallery-header h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 40px;
}

/* Slider Wrapper */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* Image Container */
.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 0; /* No gap between images as per your image */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.gallery-container img {
    flex: 0 0 33.33%; /* Shows exactly 3 images at a time */
    width: 33.33%;
    height: 450px; /* Adjust height as needed */
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: background 0.3s;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Footer Button Styling */
.gallery-footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .gallery-container img {
        flex: 0 0 50%; /* 2 images on tablet */
        width: 50%;
    }
}

@media (max-width: 600px) {
    .gallery-container img {
        flex: 0 0 100%; /* 1 image on mobile */
        width: 100%;
    }
    .gallery-header h2 { font-size: 28px; }
}
/* Download Brochure Button Design */
.btn-download {
    background-color: #cb2d2e; /* The specific red from your image */
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px; /* This creates the capsule shape */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Space between icon and text */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Adds slight depth */
}

/* Icon styling inside the button */
.btn-download i {
    font-size: 20px;
}

/* Hover Effect */
.btn-download:hover {
    background-color: #a82526; /* Slightly darker red on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Active (Click) Effect */
.btn-download:active {
    transform: translateY(0);
}

.location-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.location-header h2 {
    font-size: 38px;
    color: #1e3a5a;
    font-weight: 500;
    margin-bottom: 5px;
}

.location-header p {
    font-size: 15px;
    color: #555;
    margin-bottom: 40px;
}

/* Container for list and map */
.location-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px; /* Wider for this specific section to fit map and list */
}

/* Left side List Area */
.location-list {
    flex: 1;
    display: flex;
    gap: 20px;
    text-align: left;
}

.points-col {
    flex: 1;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.point-item i {
    color: #cb2d2e; /* Red color for checkmark */
    font-size: 18px;
    flex-shrink: 0;
}

/* Map Box Styling */
.map-box {
    flex: 0 0 450px; /* Fixed width for the map side */
}

.map-box iframe {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .location-grid {
        flex-direction: column;
        align-items: center;
    }
    .map-box {
        width: 100%;
        flex: 0 0 auto;
    }
    .location-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .location-list {
        flex-direction: column;
    }
    .location-header h2 {
        font-size: 28px;
    }
}
.route-map-section {
    padding: 40px 0 60px 0;
    background-color: #fff;
}

/* Matching the style of your other grey/white cards */
.route-card {
    background-color: #f9f9f7; /* Very light beige/grey from image */
    padding: 40px;
    border-radius: 40px; /* Highly rounded corners as per image */
    border: 1px solid #e0e0e0;
    width: 100%;
    text-align: center;
}

.map-visual-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.route-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Specific button styling for the Google Maps link */
.btn-map-red {
    background-color: #cb2d2e;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px; /* Capsule shape */
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(203, 45, 46, 0.3);
}

.btn-map-red i {
    font-size: 18px;
}

.btn-map-red:hover {
    background-color: #a82526;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(203, 45, 46, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .route-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .btn-map-red {
        width: 100%;
        justify-content: center;
    }
}
.get-in-touch-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.touch-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Watermark Side */
.watermark-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.watermark-img {
    width: 100%;
    max-width: 450px; /* Adjust size based on your icon */
    opacity: 1; /* Makes it look like a faint watermark */
}

/* Form Side */
.form-col-final {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.form-col-final .white-form-card {
    width: 100%;
    max-width: 450px;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08); /* Soft shadow like image */
    border: 1px solid #f0f0f0;
}

.form-col-final h2 {
    font-size: 32px;
    color: #1e3a5a;
    font-weight: 600;
    margin: 15px 0 5px 0;
}

/* Specific button for this form (aligned left, not full width) */
.red-download-btn-small {
    background-color: #cb2d2e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    font-size: 15px;
    transition: background 0.3s;
}

.red-download-btn-small:hover {
    background-color: #a82526;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .touch-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .watermark-col {
        display: none; /* Hide watermark on mobile for cleaner look */
    }

    .form-col-final {
        justify-content: center;
    }
}
/* Footer Styles */
.site-footer {
    background-color: #f8f9fa; /* Light grey background */
    padding: 60px 0 40px 0;
    text-align: center;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand img {
    max-width: 280px; /* Adjust based on your logo size */
    height: auto;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 11.5px;
    color: #888; /* Faded grey color for disclaimer */
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: justify; /* Professional block-style text */
    text-align-last: center; /* Centers the very last line of the paragraph */
}

/* The White Copyright Bar */
.copyright-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Very subtle shadow */
    max-width: 900px;
    margin: 0 auto;
}

.copyright-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    .footer-disclaimer p {
        text-align: center; /* Center everything on mobile */
        font-size: 10px;
    }
    
    .footer-brand img {
        max-width: 200px;
    }
}
/* Sticky Bottom-Left Button */
.sticky-side-btn {
    position: fixed;
    bottom: 40px; /* Distance from bottom */
    left: 0;      /* Flush against the left side */
    background-color: #cb2d2e;
    color: white;
    padding: 6px 12px 6px 10px;
    border-radius: 0 50px 50px 0; /* Rounded only on the right side */
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 999; /* Ensure it stays above everything */
    box-shadow: 4px 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sticky-side-btn:hover {
    padding-left: 30px; /* Slight slide out effect on hover */
    background-color: #a82526;
}

/* Modal Overlay (Background blur) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

/* The Modal Box */
.modal-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Close Button (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.close-btn:hover { color: #cb2d2e; }
/* Right Sticky Button - Teal Color */
.sticky-side-btn-right {
    position: fixed;
    bottom: 40px;
    right: 0; /* Flush against the right side */
    background-color: #26b1b6; /* Teal color from your image */
    color: white;
    padding: 12px 20px 12px 25px;
    border-radius: 50px 0 0 50px; /* Rounded only on the left side */
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 999;
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sticky-side-btn-right:hover {
    padding-right: 35px; /* Slides out to the left slightly */
    background-color: #1e8e92;
}

/* Button color inside the visit form */
.teal-btn {
    background-color: #26b1b6;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.teal-btn:hover {
    background-color: #1e8e92;
}

/* --- MOBILE RESPONSIVENESS (768px and below) --- */
@media screen and (max-width: 768px) {
    
    /* 1. Header & Hamburger */
    .nav-pill { display: none !important; } /* Hide desktop nav pill */
    
    .header-container {
        justify-content: space-between;
        top: 15px;
    }

    .hamburger-menu {
        display: block;
        font-size: 28px;
        color: #fff;
        cursor: pointer;
        background: rgba(0,0,0,0.5);
        padding: 10px 15px;
        border-radius: 8px;
    }

    .phone-text { display: none; } /* Hide number on very small screens, keep icon */
    .contact-btn {
        position: relative;
        right: 0;
        padding: 12px 15px;
    }

    /* 2. Mobile Menu Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 80%;
        height: 100%;
        background: #1e3a5a;
        z-index: 9999;
        transition: 0.4s ease;
        padding: 60px 30px;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-overlay.active { right: 0; }

    .close-mobile-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 40px;
        color: white;
    }

    .mobile-links a {
        color: white;
        text-decoration: none;
        font-size: 20px;
        margin-bottom: 25px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
    }

    /* 3. Hero Section Adjustments */
    .hero-section { height: 70vh; }
    .main-title { font-size: 1.8rem !important; }
    .sub-title { font-size: 0.9rem; padding: 0 10px; }
    .brand-box img { width: 160px; }
    .hero-content { margin-top: 120px; }

    /* 4. Layout Fixes (Stacking columns) */
    .content-wrapper, .compact-container, .location-grid, .touch-grid {
        flex-direction: column !important;
        align-items: center !important;
    }

    .media-box, .form-card, .content-col, .form-col, .map-box, .watermark-col, .form-col-final {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .media-box { height: 250px; }

    /* 5. Stats & Lists */
    .stats-row { gap: 30px; }
    .list-grid { grid-template-columns: 1fr; }
    
    /* 6. Gallery */
    .gallery-container img {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    /* 7. Sticky Buttons */
    .sticky-side-btn, .sticky-side-btn-right {
        padding: 10px;
        font-size: 12px;
    }
    .sticky-side-btn span, .sticky-side-btn-right span { display: none; } /* Show only icons on mobile to save space */
    
    /* 8. Spacing */
    .info-section, .highlights-section, .location-section {
        padding: 40px 15px;
    }
}

/* Ensure Hamburger is hidden on Desktop */
@media screen and (min-width: 769px) {
    .hamburger-menu, .mobile-nav-overlay {
        display: none;
    }
}
/* --- Fix for Master Plan Mobile View --- */

/* 1. Ensure the container takes full width on mobile */
.master-plan-container {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden; /* Prevents horizontal scroll */
    padding: 10px 0;
}

/* 2. Force the image to be responsive on mobile */
.master-plan-img {
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive adjustment */
@media screen and (max-width: 768px) {
    .master-plan-container {
        padding: 5px;
    }

    .master-plan-img {
        /* This overrides your inline max-width: 500px !important; */
        width: 100% !important; 
        max-width: 100% !important; 
    }

    /* Adjust the card padding so the image doesn't feel cramped */
    .master-card {
        padding: 20px 15px !important;
        width: 100% !important;
    }
}
@media screen and (min-width: 769px) {
    .master-plan-img {
        max-width: 500px;
    }
}
/* --- Hero Content Mobile Responsiveness --- */
@media screen and (max-width: 768px) {
    
    .hero-section {
        height: 70vh; /* Reduced height for mobile screens */
        min-height: 450px;
        background-attachment: scroll; /* Better performance on mobile browsers */
    }

    .hero-content {
        margin-top: 110px; /* Moves content up closer to the header */
        padding: 0 15px;    /* Prevents text from touching the screen edges */
        width: 100%;
    }

    .brand-box {
        padding: 10px 25px; /* Smaller padding for the logo container */
        margin-bottom: 20px;
    }

    .brand-box img {
        width: 140px; /* Scaled down logo width */
        height: auto;
    }

    .main-title {
        font-size: 1.8rem !important; /* Significantly smaller font for mobile */
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .sub-title {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .location-tag {
        font-size: 0.95rem;
        gap: 8px;
    }

    .location-tag i {
        font-size: 1.1rem; /* Smaller map icon */
    }
}

/* Container for the dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Style for the 'Villas' link with icon */
.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger i {
    font-size: 10px;
    transition: transform 0.3s;
}

/* The actual dropdown box */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 10px; /* Space between pill and menu */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #333 !important;
    padding: 10px 20px !important;
    text-decoration: none;
    display: block !important;
    font-size: 14px;
    margin: 0 !important;
    transition: background 0.3s, color 0.3s;
}

/* Hover effects */
.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #cb2d2e !important;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* Rotate icon on hover */
.nav-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

/* Add a small invisible bridge so the menu doesn't close 
   when moving the mouse from the nav-pill to the menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}
/* Mobile Dropdown Styling */
.mobile-dropdown {
    width: 100%;
    margin-bottom: 2px;
}

.mobile-dropdown-trigger {
    color: white;
    font-size: 20px;
    padding: 0px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    margin-bottom:25px !important;
}

.mobile-dropdown-trigger i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Submenu hidden state */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-submenu a {
    padding: 2px 15px !important;
    font-size: 16px !important;
    border-bottom: none !important;
    opacity: 0.8;
}

/* Active classes added via JS */
.mobile-dropdown.open .mobile-submenu {
    max-height: 200px; /* Adjust based on content height */
}

.mobile-dropdown.open .mobile-dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-dropdown.open .mobile-dropdown-trigger {
    color: #cb2d2e; /* Optional: Change color when open */
}
/* ==========================================
   DESKTOP STYLES (Screen > 1024px)
   ========================================== */
.hamburger {
    display: none; /* Hidden on desktop */
}

/* Ensure sub-menu shows on hover for desktop */
.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* ==========================================
   MOBILE STYLES (Screen <= 1024px)
   ========================================== */
@media screen and (max-width: 1024px) {
    
    /* 1. Keep the White Pill Container Visible */
    .nav-pill {
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        padding: 8px 20px;
        position: relative;
        z-index: 1005;
    }

    /* 2. Show Hamburger Icon */
    .hamburger {
        display: block !important;
        cursor: pointer;
        font-size: 24px;
        color: #333;
        margin-left: auto;
    }

    /* 3. Dropdown Menu under the Pill */
    .nav-links {
        display: none; /* Hidden by default */
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 260px;
        flex-direction: column;
        padding: 15px 0;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Active Menu Class */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        color: #333 !important;
        padding: 12px 25px;
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    /* 4. Villas Sub-menu behavior */
    .nav-dropdown { width: 100%; }

    .dropdown-content {
        display: none !important; /* Force hide on mobile by default */
        position: static;
        width: 100%;
        background-color: #f9f9f9;
        box-shadow: none;
        padding-left: 20px;
    }

    /* Active Sub-menu Class (toggled via JS) */
    .nav-dropdown.show-villas .dropdown-content {
        display: block !important;
    }

    /* Rotate icon when sub-menu is open */
    .nav-dropdown.show-villas .dropdown-trigger i {
        transform: rotate(180deg);
    }

    /* Hide floating elements to prevent overlap */
    .contact-btn, .mobile-nav-overlay, .hamburger-menu {
        display: none !important;
    }
}