:root {
    --white: #fff;
    --black: #444;
    --primery: #a77d40;
    --secound: #15973b;
    --background: #f8f5f0;
    --border-color: #dee2e6;
}

@font-face {
    font-family: 'sen';
    src: url('../Font/Sen-Regular.woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'sen';
    transition: 0.3s cubic-bezier(0.215, 0.610, 0.355, 1);
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: var(--background);
    scroll-behavior: smooth;
}

/* Start Animation CSS*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

/* End Animation CSS */
/* Strat Commen CSS */
.container {
    max-width: 1140px;
    margin: auto;
}

img {
    width: 100%;
}

p,
span,
div,
button,
a {
    color: var(--black);
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secound);
}

a {
    text-decoration: none;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    inset: 0;
    z-index: 1;
    background-color: #4444448f;
    display: none;
}

/* --- Hero Section --- */
.hero-banner {
    position: relative;
    width: 100%;
    /* Keep height: auto; to allow the image inside to define the height */
    height: auto; 
    overflow: hidden;
    /* Use flex to align content, but here primarily as a container for the image */
    display: flex; 
    align-items: center;
    justify-content: center;
    margin: 0;
}
/* Hide RERA box in mobile view */
@media (max-width: 768px) {
    .rera-popup-box {
        display: none !important;
    }
}


/* Common Image Styles */
.hero-banner img {
    width: 100%;
    
    height: auto; 
    display: block; 
}


/* RESET DEFAULT BANNER VISIBILITY */
.desktop-img { display: block !important; }
.mobile-img { display: none !important; }

/* FORCE MOBILE VISIBILITY */
@media only screen and (max-width: 768px) {
    .desktop-img { display: none !important; }
    .mobile-img { display: block !important; }
}

@media (max-width: 768px) {
    .rera-main {
        display: none !important;
    }
}


.call-button {
    background-color: var(--primery);
    color: var(--white);
    padding: 7px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.popup-button {
    font-size: 16px;
    border: none;
    padding: 10px 40px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.main-heading {
    font-size: 28px;
    font-weight: 900;
}

.section-content {
    font-size: 16px;
    line-height: 22px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sell_do_form_container form>div:nth-child(6),
.sell_do_form_container form>div:nth-child(7),
.sell_do_form_container form>div:nth-child(8),
.sell_do_form_container .title {
    display: none;
}

.sell_do_form_container form>div:nth-child(9) input {
    width: 100%;
    background-color: var(--primery);
    cursor: pointer;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 16px;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.sell_do_form_container form>div:nth-child(9):hover input {
    background-color: var(--secound);
}

.sell_do_form_container form>div>div {
    padding: 0;
}

.sell_do_form_container form {
    margin-top: 30px;
}

/* End Commen CSS */

/* Start Header CSS */
.header-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    width: 100%;
    background-color: var(--white);
}

.sticky {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
    transition: top 0.5s ease-out, height 0.3s ease-out;
    animation: fadeIn 0.5s ease-out forwards, slideDown 1s ease-out forwards;
    box-shadow: 0px 0px 7px -2px #444;
}

.logo {
    width: 150px;
    display: none;
}

.menu-button {
    background-color: transparent;
    outline: none;
    color: var(--black);
    width: 30px;
    border: none;
    display: none;
    cursor: pointer;
}

.navigation ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    text-transform: uppercase;
}

.navigation li {
    position: relative;
    letter-spacing: 0.4px;
}

.navigation li a {
    text-decoration: none;
}

.navigation li::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--primery);
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.navigation li:hover:after {
    width: 100%;
}

.navigation li:hover a {
    text-decoration: none;
    color: var(--secound);
}

.close-menu {
    position: absolute;
    background-color: var(--black);
    border: none;
    outline: none;
    top: 0;
    left: -40px;
    z-index: 3;
    width: 40px;
    color: var(--white);
    padding: 5px 7px;
    cursor: pointer;
}

/* End Header CSS */
/* Start Banner */
.banner {
    position: relative;
}

.rera-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background-color: var(--white);
}

.web-logo {
    width: 150px;
    display: block;
}

.rera-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: row-reverse;
}

.rera-detail img {
    width: 100px;
}

.rera-content {
    border-right: 1px solid var(--black);
    padding-right: 5px;
}

/* End Banner CSS */
/* Strat Main Section CSS */
.main {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.web-details {
    max-width: 66.666%;
    width: 100%;
}

.content-form {
    max-width: 33.333%;
    width: 100%;
    position: sticky;
    height: 100%;
    top: 120px;
}

section {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.form-container {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.form-container-title a {
    display: block;
    margin-top: 10px;
}

/* Start About CSS */
.about-content {
    padding-top: 30px;
    color: var(--black);
}

.about-head {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 30px;
}

/* Start Price CSS */
.price {
    margin-top: 30px;
}

.price-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-part {
    max-width: calc(50% - 20px);
}

/* Start Contant Form CSS */
.contact {
    margin-top: 30px;
}

/*  Start Floor Plan */
.floor-plan {
    margin-top: 30px;
}

.tab-container {
    width: 100%;
    height: 100%;
}

.tab-header {
    background-color: #f1f1f1;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    overflow-x: scroll;
}

.tab {
    flex-shrink: 0;
    width: fit-content;
    background-color: inherit;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.tab:hover {
    background-color: #ddd;
}

.tab.active {
    background-color: #ccc;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.tab-content:hover img {
    transform: scale(1.1);
}

/* Start Amenities CSS */
.amenities {
    margin-top: 30px;
}

.amenities-head {
    text-align: center;
    margin-bottom: 30px;
}

.amenities-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.amenities-part {
    max-width: calc(25% - 20px);
    text-align: center;
}

.amenities-part img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.amenities-part:hover img {
    transform: scale(1.1);
}

.amenities-part h4 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* Start Gallery CSS */
.gallery {
    margin-top: 30px;
}

.gallery-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-part {
    max-width: calc(33.33% - 20px);
    text-align: center;
}

.gallery-part img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.gallery-part:hover img {
    transform: scale(1.1);
}

/* Start Location CSS */
.location {
    margin-top: 30px;
}

.location-map {
    width: 100%;
    height: 100%;
}

.location-map img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.near-by {
    margin-top: 20px;
}

.near-by h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.near-by ul {
    list-style-type: auto;
}

.near-by li {
    font-size: 14px;
    margin-left: 15px;
    margin-bottom: 10px;
}

/* Strat FAQ CSS */
.faq {
    margin-top: 30px;
}

.button-icon {
    width: 20px;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-header.active .button-icon {
    transform: rotate(-180deg);
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.accordion-header {
    background-color: #f4f4f4;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #ddd;
}

.accordion-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    color: var(--black);
}

.accordion-content p {
    padding: 18px 0;
    font-size: 12px;
}

.about-developer-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-developer-title h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.about-developer-content p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}


/* End Main Section CSS */
/* Strat Footer CSS */
.footer {
    background-color: var(--primery);
    text-align: justify;
    margin-top: 30px;
    padding-top: 50px;
    padding-bottom: 30px;
    font-weight: 100;
    line-height: 25px;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.footer .section-content {
    color: var(--white);
}

.footer a {
    color: var(--white);
    font-weight: 600;
}

.footer-rera {
    text-align: center;
    color: var(--white);
    margin-top: 20px;
}

/* End Footer CSS */
/* Strat Policy CSS */
.policy {
    margin-top: 30px;
}

.policy h4 {
    margin-top: 20px;
}

.policy .section-content {
    text-align: justify;
}

/* End Policy CSS */
/* Strat Popup CSS */
.popup {
    display: none;
    max-width: 500px;
    width: 85%;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: var(--white);
    transform: translate(-50%, -50%);
    border-radius: 5px;
    z-index: 1;
}

.popup-container {
    padding: 20px;
}

.popup-container h4 {
    text-align: center;
}

.closepopup {
    width: 35px;
    border-radius: 100px;
    background-color: var(--black);
    position: absolute;
    top: -15px;
    right: -15px;
    color: var(--white);
    border: none;
    outline: none;
    padding: 5px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.closepopup svg {
    width: 25px;
}

.bottom-to-top {
    width: 40px;
    position: fixed;
    right: 10px;
    bottom: 60px;
    cursor: pointer;
    background-color: var(--black);
    color: var(--white);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.bottom-to-top svg {
    width: 30px;
}

.whatsapp {
    width: 40px;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.whatsapp a {
    color: var(--secound);
}

.action-button {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* End Popup CSS */
/* Start Responcive CSS */
@media(min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }

    .navigation ul {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .main {
        flex-direction: column;
    }

    .web-details,
    .content-form {
        max-width: 100%;
        position: unset;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    .navigation ul {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }

    .header-grid {
        padding: 10px 20px;
        justify-content: space-between;
    }

    .rera-popup-box {
        margin-left: auto;
    }

    .menu-button {
        display: block;
    }

    .navigation {
        background-color: var(--white);
        width: 70%;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1;
        height: 100vh;
        padding-top: 30px;
        transform: translate(150%);
    }

    .navigation.active {
        transform: translate(0%);
    }

    .navigation ul {
        flex-direction: column;
        justify-content: center;
        font-size: 16px;
        gap: 20px;
    }

    .logo {
        width: 110px;
    }

    .rera-detail {
        width: fit-content;
    }

    .section-heading {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .gallery-part,
    .amenities-part {
        max-width: calc(50% - 20px);
    }

    .floor-plan-part {
        width: 100%;
        max-width: 100%;
    }

    .web-logo {
        display: none;
    }

    .logo {
        display: block;
    }

    .gallery-grid {
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: unset;
    }

    .gallery-part {
        overflow: hidden;
        flex-shrink: 0;
    }
}

@media (max-width: 567px) {
    .container {
        max-width: 100%;
        margin: auto 20px;
    }

    .price-part {
        max-width: 100%;
    }

    .gallery-part,
    .amenities-part {
        max-width: 100%;
        width: 100%;
    }

    .gallery-part img,
    .amenities-part img {
        height: 250px;
    }

    section {
        padding: 15px;
    }

    .tab {
        font-size: 11px;
        padding: 10px;
    }

    .tab-content {
        padding: 10px;
    }
}

@media(max-width:527px) {
    .main-heading {
        font-size: 18px;
    }

    .rera-detail img {
        width: 80px;
    }

    .accordion-content p,
    .near-by li,
    .rera-content p {
        font-size: 10px;
    }

    .section-content {
        font-size: 12px;
        text-align: justify;
    }

    .amenities-part h4 {
        font-size: 14px;
    }

    .popup-button {
        font-size: 9px;
        padding: 10px;
    }

    .form-container-title a,
    .accordion-header {
        font-size: 12px;
    }

    .footer {
        font-weight: 500;
    }
}
/* Default: Show Desktop Banner */
.banner-desktop { display: block; }
.banner-mobile { display: none; }

/* Mobile Only */
@media (max-width: 567px) {
    .banner-desktop { display: none; }
    .banner-mobile { display: block; }
}


/* End Responcive CSS */