/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-green { color: #008000; }
.text-red { color: #cc0000; }
.text-blue { color: #3b82f6; text-decoration: none; }
.section-padding { padding: 50px 0; }
.section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.mt-4 { margin-top: 30px; }

/* Enquiry Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-box h2 {
    color: #008000;
    margin-bottom: 6px;
    font-size: 24px;
}
.modal-box p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #555;
    line-height: 1;
}
.modal-close:hover { color: #cc0000; }
.modal-form-group { margin-bottom: 14px; }
.modal-form-group input,
.modal-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.modal-form-group input:focus,
.modal-form-group textarea:focus {
    border-color: #008000;
}
/* =========================================
   Announcement Marquee Bar CSS
========================================= */
.announcement-bar {
    background-color: #f26b38; /* Red background for urgency/attention */
    color: #ffffff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-left: 100%; /* Start off-screen to the right */
    animation: scroll-left 25s linear infinite;
}

/* Pause the text scrolling when the user hovers over it */
.announcement-bar:hover .marquee-content {
    animation-play-state: paused;
}

/* Keyframes for right-to-left scrolling */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* =========================================
   Media Queries for Announcement Bar
========================================= */

/* Tablets and medium screens */
@media screen and (max-width: 768px) {
    .announcement-bar {
        padding: 8px 0;
    }
    .marquee-content {
        font-size: 14px;
        animation-duration: 20s; /* Adjust speed for smaller screens */
    }
}

/* Mobile phones and small screens */
@media screen and (max-width: 480px) {
    .announcement-bar {
        padding: 6px 0;
    }
    .marquee-content {
        font-size: 13px;
        animation-duration: 15s; /* Faster scroll on very small screens */
    }
}
.modal-submit-btn {
    width: 100%;
    background-color: #008000;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color 0.2s;
}
.modal-submit-btn:hover { background-color: #006600; }

/* Fixed Elements */
.enquiry-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #008000;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    z-index: 1000;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
}
.phone-icon {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: #fde047;
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 50px;
    background-color: #fff;
    border-bottom: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1000;
}
.top-bar .logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
}
.contact-info span {
    font-size: 13.5px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 7px;
}
.contact-info span i {
    color: #f26b38;
    font-size: 14px;
}

/* Navbar */
.navbar {
    background-color: #f26b38;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 12px rgba(242,107,56,0.3);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 4px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 18px 14px;
    display: block;
    letter-spacing: 0.4px;
    border-bottom: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}
.nav-links a:hover {
    background: rgba(0,0,0,0.12);
    border-bottom: 3px solid #fff;
}
.closed-btn {
    background-color: #008000;
    color: white;
    border: none;
    padding: 11px 28px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,100,0,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.closed-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0,100,0,0.4);
}

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(0,0,0,0.12); }
.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}
.mobile-apply-btn { display: none; }
body.menu-open { overflow: hidden; }

/* Hero Section */
.hero {
    display: flex;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    min-height: auto;
}
.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    flex: 1 1 100%;
    min-width: 0;
}
.hero-content {
    flex: 1;
    padding: 70px 60px;
    background: linear-gradient(160deg, #ffffff 60%, #eaf5ea 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 4px solid #e8f5e9;
}
.hero-content h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff3f3;
    color: #cc0000;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #f5c6c6;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #1a5c1a;
}
.hero-content > p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.hero-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 18px 0 10px;
    color: #008000;
    line-height: 1.3;
}
.hero-content h3 {
    font-size: 16px;
    color: #555;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-content h3::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #f26b38;
    font-size: 14px;
}
.registration-box {
    background: linear-gradient(135deg, #ffe600, #ffc200);
    display: inline-block;
    padding: 12px 24px;
    font-weight: 800;
    border-radius: 8px;
    font-size: 17px;
    margin-bottom: 20px;
    color: #222;
    box-shadow: 0 4px 12px rgba(255,200,0,0.3);
    letter-spacing: 0.5px;
}
.units-left {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0faf0;
    border: 1px solid #b2dfb2;
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 4px;
    width: fit-content;
}
.hero-image-container {
    flex: 1;
    position: relative;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.price-badge {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e50000;
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px dashed white;
    z-index: 3;
}
.price-badge .price { font-size: 36px; font-weight: bold; line-height: 1;}

/* Allocation Banner */
.allocation-banner { position: relative; }
.allocation-banner img { width: 100%; height: auto; display: block; }
.banner-date {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #facc15;
    padding: 10px 40px;
    border-radius: 30px;
    text-align: center;
}
.banner-date span { display: block; font-size: 14px; }
.banner-date strong { font-size: 24px; }

/* Overview */
.rera-bar {
    background-color: #008000;
    color: white;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 20px;
}
.closed-badge {
    background-color: #a7d0a7;
    color: white;
    border: none;
    padding: 8px 25px;
    font-size: 16px;
    margin: 20px 0;
    border-radius: 5px;
}
.overview-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-top: 30px;
    text-align: left;
}
.overview-text h2 { margin-bottom: 20px; color: #333;}
.overview-text p { margin-bottom: 15px; line-height: 1.6; color: #555; }
.overview-cert img {
    width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Payment Tables */
.table-responsive { overflow-x: auto; margin-bottom: 20px; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.data-table th {
    background-color: #000;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #444;
}
.data-table td {
    padding: 15px;
    border: 1px solid #ddd;
    color: #555;
}
.note { font-size: 14px; margin-bottom: 10px; }
.additional-charges {
    list-style: none;
    margin-bottom: 40px;
}
.additional-charges li { margin-bottom: 10px; font-size: 14px; }
.plan-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}
.plan-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    color: #555;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.amenity-card {
    background: #f9f9f9;
    border-bottom: 3px solid #eee;
}
.amenity-card img { width: 100%; height: 200px; object-fit: cover; }
.amenity-card p { padding: 15px; font-weight: bold; color: #333; }

/* Location Map */
.location-desc {
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    color: #555;
}
.map-swiper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.map-swiper .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
}
.map-swiper .swiper-button-next,
.map-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.map-swiper .swiper-button-next::after,
.map-swiper .swiper-button-prev::after {
    font-size: 16px;
}
.map-swiper .swiper-pagination-bullet-active {
    background: #008000;
}

/* Floor Plan */
.floor-plan-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.floor-plan-grid img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
}
.benefits-grid ul { list-style: none; }
.benefits-grid li {
    margin-bottom: 15px;
    color: #555;
}
.benefits-grid i { color: #555; margin-right: 10px; }

/* Button Loader */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Validation Errors */
label.error {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

/* Contact Form */
.contact h3 { font-size: 28px; margin-bottom: 40px; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.form-group { margin-bottom: 15px; }
.form-group.row {
    display: flex;
    gap: 15px;
}
.input-wrap {
    flex: 1;
    min-width: 0;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.submit-btn {
    background-color: #008000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    float: left;
}
.contact-details p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}
/*mobilemenu*/


/* Footer */
footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 40px 30px 24px;
    color: #555;
    font-size: 14px;
    border-top: 4px solid #f26b38;
}
footer p strong {
    font-size: 14px;
    color: #333;
}
.footer-links {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #f26b38;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid #f26b38;
    transition: background 0.2s, color 0.2s;
}
.footer-links a:hover {
    background: #f26b38;
    color: #fff;
}
.disclaimer {
    font-size: 12px;
    margin-top: 18px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #888;
    line-height: 1.7;
    border-top: 1px solid #ddd;
    padding-top: 16px;
}

/* ===================== RESPONSIVE ===================== */

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-image-container { display: none; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .floor-plan-grid { flex-direction: column; align-items: center; }
    .navbar { padding: 0 20px; }
    .top-bar { padding: 12px 20px; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    /* Top bar */
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        text-align: left;
    }
    .top-bar .logo {
        flex: 0 0 auto;
        text-align: left;
    }
    .top-bar .logo img { height: 60px; }
    .contact-info {
        flex: 1 1 auto;
        flex-direction: column;
        gap: 3px;
        align-items: flex-end;
        text-align: right;
        min-width: 0;
    }
    .contact-info span {
        font-size: 11px;
        gap: 5px;
        word-break: break-word;
    }
    .contact-info span strong { font-size: 11px; font-weight: 600; }
    .contact-info span i { font-size: 12px; }

    /* Navbar */
    .navbar {
        padding: 8px 15px;
        justify-content: flex-end;
        position: sticky;
    }
    .hamburger {
        display: flex;
        order: 2;
    }
    .nav-button { display: none; }
    .mobile-apply-btn {
        display: inline-block;
        order: 1;
        margin-right: auto;
        background: #008000 !important;
        color: #fff;
        padding: 8px 16px;
        font-size: 12px;
        text-align: left;
        box-shadow: 0 2px 6px rgba(0,100,0,0.3);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f26b38;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
        pointer-events: none;
    }
    .nav-links.active {
        max-height: calc(100vh - 60px);
        padding: 8px 0 16px;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        pointer-events: auto;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0s;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        padding: 14px 22px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.18);
        border-left: 4px solid transparent;
    }
    .nav-links a:hover {
        background: rgba(0,0,0,0.18);
        border-bottom: 1px solid rgba(255,255,255,0.18);
        border-left: 4px solid #008000;
    }

    /* Hero — override flex to block so image sits flush */
    .hero {
        display: block;
    }
    .hero-banner-img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Sections */
    .section-padding { padding: 35px 0; }
    .section-title { font-size: 22px; margin-bottom: 20px; }

    /* Overview */
    .overview-grid { grid-template-columns: 1fr; gap: 20px; }
    .overview-text h2 { font-size: 20px; }
    .overview-cert img { max-height: 550px !important; object-fit: cover; width: 100%; }

    /* Floor Plan */
    #floor-plan { padding-left: 15px; padding-right: 15px; }
    #floor-plan div[style] { display: block !important; }

    /* Amenities */
    .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .amenity-card img { height: 140px; }

    /* Benefits */
    .benefits-grid { grid-template-columns: 1fr; gap: 0; justify-items: start; }
    .benefits-grid ul { padding-left: 10px; }

    /* Location Benefits + sections after — left/right padding on mobile */
    .benefits,
    #payment-plan,
    #amenities,
    #contact {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Payment */
    .data-table th,
    .data-table td { padding: 8px 6px; font-size: 12px; }
    .plan-table td { padding: 10px; font-size: 13px; }
    .note { font-size: 12px; }
    .additional-charges li { font-size: 13px; }

    /* Contact */
    .contact-container { grid-template-columns: 1fr; gap: 25px; }
    .form-group.row { flex-direction: column; gap: 0; }
    .form-group.row input { margin-bottom: 15px; }
    .submit-btn { width: 100%; float: none; }
    .contact h3 { font-size: 20px; margin-bottom: 20px; }

    /* Modal */
    .modal-box {
        padding: 25px 18px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    /* Map swiper */
    .map-swiper .swiper-slide img { height: 260px; }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .top-bar { padding: 6px 10px; }
    .top-bar .logo img { height: 52px; }
    .navbar { padding: 8px 10px; }
    .section-padding { padding: 28px 0; }
    .section-title { font-size: 18px; }
    .contact-info span,
    .contact-info span strong { font-size: 10px; }
    .overview-text h2 { font-size: 18px; }
    .amenities-grid { grid-template-columns: 1fr; }
    .amenity-card img { height: 180px; }
    .plan-table td { padding: 8px; font-size: 12px; }
    .modal-box { padding: 20px 14px; }
    .rera-bar { font-size: 13px; }
}