/* --- Basic Setup & Variables --- */
:root {
    --deep-green: #004d40;
    --white: #ffffff;
    --gold: #c4a66a;
    --light-gray: #f4f4f4;
    --dark-gray: #333333;
    --font-primary: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 30px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--deep-green);
    margin-bottom: 50px;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #b39154;
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    padding-left: 1rem;
}

@media screen and (max-width: 576px) {
    .logo img {
        height: 30px;
    }

}

.rera-main {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    line-height: 1.2;
    margin: 0;
    color: #333;
    user-select: none;
    max-width: 320px;
    text-align: right;
    padding-right: 1rem;
}

.rera-with-qr {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.rera-detail-01 p {
    margin: 0;
}

.rera-detail-01 p a {
    text-decoration: none;
}

.rera-qr img {
    height: 40px;
    width: auto;
    display: block;
}

/* Bank details paragraph */
.bank-details {
    margin: 0;
    font-size: 10px;
    line-height: 1.2;
    color: #555;
}

/* Hide RERA details on mobile */
@media (max-width: 768px) {
    .rera-qr {
        display: none !important;
    }
}

/* --- Navigation --- */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--deep-green);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

/*button centering class --- */
.button-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    /* Optional: adds some space above the button */
}

/* --- Hero Section --- */
.hero-banner {
    position: relative;
    width: 100%;
    /* Let the image determine the height on all devices */
    height: auto;
    overflow: hidden;
    /* This will position your content on top of the banner */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Common Image/Video Styles */
.hero-banner img,
.hero-banner {
    width: 100%;
    height: 100%;
    /* Use object-fit: cover to make the image fill the container, preventing empty space */
    object-fit: cover;
}

.desktop-img {
    display: none;
    /* Hidden by default, shown on larger screens */
}

.hero-banner .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

@media (max-width: 767px) {
    .hero-banner .desktop-img {
        display: none;
    }

    .hero-banner .mobile-img {
        display: block;
        height: auto;
        /* The height will be determined by the image's aspect ratio */
    }

    .hero-banner .mobile-img img {
        /* Use object-fit: contain to show the entire image and prevent cropping */
        object-fit: contain;
    }
}




@media (min-width: 768px) {
    .hero-banner .desktop-img {
        display: block;
        height: 100vh;
    }

    .hero-banner .mobile-img {
        display: none;
    }
}

/* --- About Section --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--deep-green);
    margin-bottom: 20px;
}

.about-slider {
    flex: 1;
}

.about-slider img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Unit Specifications Table --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.spec-table th,
.spec-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.spec-table th {
    background-color: var(--deep-green);
    color: var(--white);
    font-weight: 600;
}

.spec-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.spec-table tr:hover {
    background-color: #e2e2e2;
}

/* --- Amenities Section --- */
#amenities {
    background-color: var(--light-gray);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.amenity-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Correct Flexbox properties for centering */
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the content horizontally */
    
}

.amenity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.amenity-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    
}

.amenity-item span {
    display: block;
    font-weight: 600;
    color: var(--deep-green);
}
@media (max-width: 768px) {
  .amenities-grid { display: none; }
}


@media (min-width: 769px) {
  .amenitiesSwiper { display: none !important; }
}

/* --- Gallery Section (Swiper) --- */
#gallery {
    background-color: var(--white);
}

.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
    /* Space for pagination */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--deep-green) !important;
}

.swiper-pagination-bullet-active {
    background: var(--deep-green) !important;
}


/* --- Floor Plans & Price Section --- */
.tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-button {
    flex-shrink: 0;
    /* Prevents buttons from shrinking */
    padding: 15px 20px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    transition: color 0.3s;
}

.tab-button.active {
    color: var(--deep-green);
    font-weight: 700;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.tab-content {
    display: none;
    text-align: center;
}

.tab-content.active {
    display: block;
}

.tab-content img {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 10px;
}

/* ... (existing code) ... */

/* --- Banks & Financing --- */
#banks {
    background-color: var(--light-gray);
}

/* Updated styles for the Swiper carousel */
.bankSwiper {
    width: 100%;
    padding: 0 40px;
    /* Add padding for navigation arrows */
}

.bankSwiper .swiper-wrapper {
    align-items: center;
    /* Vertically center the logos */
}

.bankSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bankSwiper img {
    height: 100px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.bankSwiper img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Style for swiper navigation buttons */
.bankSwiper .swiper-button-next,
.bankSwiper .swiper-button-prev {
    color: var(--deep-green);
    top: 50%;
    transform: translateY(-50%);
}

/* Media Query for smaller screens (e.g., phones) */
@media (max-width: 767px) {
    .bankSwiper img {
        height: 60px;
        /* Reduced height for mobile view */
    }
}


/* --- FAQs & Enquire Form --- */

.faq-enquire-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-section,
.enquire-form-section {
    flex: 1;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(131, 154, 100, 0.646);
    box-shadow: 0 5px 15px rgba(152, 192, 129, 0.77);
    background: var(--white);
}

.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--deep-green);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.accordion-content p {
    padding: 0 0 20px 0;
}

/* REFINED FORM STYLES */

.enquire-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal-width columns */
    gap: 20px;
    /* Space between rows and columns */
}

/* Make fields with the full-width class span both columns */
.enquire-form .full-width {
    grid-column: span 2;
}

/* Styling for each individual form field container */
.enquire-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    
    /* Space between the span label and the input */
}

/* Adjust the style for the span labels */
.enquire-form span {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Ensure all inputs and textareas have a consistent look */
.enquire-form input,
.enquire-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    /* Slightly more rounded corners */
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Adjust the checkbox group layout to a single row */
/* Styling for the checkbox group to make it horizontal */
.checkbox-group {
    display: flex;
    /* Enables flexbox layout */
    align-items: center;
    /* Vertically centers all items in the row */
    gap: 15px;
    /* Adds space between the text and the checkboxes */
}

/* Ensure individual checkbox labels are also in a row */
.checkbox-group label {
    display: flex;
    align-items: center;
    /* Vertically centers the text and input */
    gap: 5px;
    /* Adds a small space between the checkbox and its label text */
}

.checkbox-group .form-label {
    margin: 0;
}

/* --- RESPONSIVE DESIGN FOR FORM GRID --- */
@media (max-width: 768px) {
    /* Form ko 2-column grid mein badalta hai */
    .enquire-form .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* In fields ko poori width mein rakhta hai */
    .enquire-form .full-width {
        grid-column: span 2;
    }

    /* Labels ka font size chhota karte hain */
    .enquire-form .form-field span,
    .enquire-form .checkbox-group p {
        font-size: 0.9rem;
    }

    /* Input fields ki padding aur font size adjust karte hain */
    .enquire-form .form-field input,
    .enquire-form .form-field select {
        width: 100%; /* All inputs will now have the same width as their parent */
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    /* Checkbox labels ko chhota karte hain */
    .enquire-form .checkbox-group label {
        font-size: 0.9rem;
    }
}

.form-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}




/* --- Footer --- */
.footer {
    background-color: var(--deep-green);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* --- Animations on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Pop-up Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    align-items: center;
    max-width: 600px;
    /* Increased width from 500px to 600px */
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;

}

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;

}

.modal-close-button:hover {
    color: var(--dark-gray);
}

.modal-content h3 {
    color: var(--deep-green);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
}

.modal-content p {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

/* --- Location Section --- */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.map-container.show {
    opacity: 1;
    transform: translateY(0);
}

.location-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landmarks {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.landmarks.show {
    opacity: 1;
    transform: translateY(0);
}

.landmarks h3 {
    font-size: 24px;
    color: var(--deep-green);
    margin-bottom: 25px;
}

.landmark-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.landmark-item:hover {
    transform: translateY(-5px);
}

.landmark-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    font-size: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        order: -1;
    }
}

@media (max-width: 768px) {

    /* Reduce heading size on screens up to 768px */
    .section-title {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }


    .main-nav {
        position: absolute;
        top: 71px;
        /* Height of header */
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .main-nav.nav-open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--light-gray);
    }

    .main-nav a {
        display: block;
        padding: 1.5rem;
    }

    .nav-toggle {
        display: block;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger {
        display: block;
        position: relative;
        width: 25px;
        height: 3px;
        background: var(--deep-green);
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--deep-green);
        left: 0;
        transition: transform 0.3s ease, top 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    /* Hamburger animation to 'X' */
    .nav-open .hamburger {
        background: transparent;
    }

    .nav-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-open .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .about-container,
    .faq-enquire-container {
        flex-direction: column;
        gap: 30px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile styles for About section */
    .about-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .about-slider {
        margin-top: 20px;
    }

    /* Form rows should stack on mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row input:first-child {
        margin-bottom: 15px;
    }

}

@media (max-width: 576px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }

   
    .bank-logos img {
        height: 40px;
    }
}


/* --- Mobile Sticky Footer --- */
.mobile-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    /* Hidden by default */
    justify-content: space-around;
    align-items: center;
    background-color: var(--deep-green);
    color: var(--white);
    padding: 10px 0;
    border-radius: 10px 10px 0 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

/* Make it visible on screens up to 767px wide (phones) */
@media (max-width: 767px) {
    .mobile-fixed-footer {
        display: flex;
    }

    body {
        padding-bottom: 60px;
        /* Adjust this value based on the footer's height */
    }
}

.mobile-fixed-footer .footer-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-fixed-footer .footer-button:hover {
    background-color: #003a2e;
    /* A slightly darker green for hover effect */
}

.mobile-fixed-footer .footer-button i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Ensure the last button has a border for separation */
.mobile-fixed-footer .call-now {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
/* --- New Location & Address Section Styles --- */
.location-address {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.map-image-container {
    width: 100%;
    height: auto;
}

.map-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.address-details {
    padding: 30px;
}

.address-details h3 {
    color: var(--deep-green);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.address-details p {
    color: #555;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.contact-item i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.contact-item a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--deep-green);
}

/* Responsive adjustments for the new section */
@media (min-width: 768px) {
    .location-address {
        flex-direction: row;
        align-items: stretch;
    }
    
    .map-image-container {
        flex: 1;
        order: 2; 
    }
    
    .address-details {
        flex: 1;
        order: 1; 
        padding: 50px;
    }
}
/* --- Unit Specifications Table --- */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
}

.spec-table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}