@media (min-width:1300px) {
    .container-lg {
        max-width: 1240px;
    }
}

@media (min-width:1600px) {}

@media (min-width:1860px) {
    .container-lg {
        max-width: 1600px;
    }
}

@media (min-width:2500px) {}

@media (min-width:2500px) {}

@media (min-width:1200px) and (max-width:1280px) {
    .brand_logo a {
        width: 180px;
    }

    header .menu {
        gap: .5rem;
    }

    header .menu a {
        letter-spacing: .5px;
    }
}

@media (max-width:1199.9px) {
    .section_title .h1 {
        font-size: 2.5rem;
    }

    .facilityBox .img-box video {
        aspect-ratio: 2/1;
    }
    .clubhouse--image {
        margin-top: -10rem;
        z-index: 0 !important;
    }
}

@media (max-width:991.9px) {
    html {
        font-size: 87.5%;
    }
    .clubhouse--image {
        margin-top: -8rem;
        z-index: 0 !important;
    }
    .brand_logo {
        width: 110px;
    }

    header.fixed .brand_logo {
        width: 110px;
    }

    .brand_logo a {
        width: auto !important;
    }

    .image-slide {
        width: 100%;
    }

    .image-slide img {
        aspect-ratio: 5/4;
    }

    .swiper-facility {
        --slide-width: 100%;
    }

    #amenities .facilityBox .inner {
        overflow: visible;
    }

    #amenities .facilityBox .box-title {
        left: 1rem !important;
        right: 1rem !important;
        top: 1rem;
        bottom: auto;
        width: auto !important;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    #amenities .facilityBox .box-title h3,
    #amenities .facilityBox .box-title p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    #amenities .facilityBox.swiper-slide.swiper-slide-active .box-title {
        left: 1rem !important;
        right: 1rem !important;
    }

    #amenities .facilityBox .box-title h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    #amenities .facilityBox .img-box img {
        width: 100%;
        max-width: 100%;
        display: block;
        aspect-ratio: 16/10;
        object-fit: cover;
    }

    .fpBox.mpBox .inner img {
        aspect-ratio: 2/1;
    }
}

@media (max-width:767.9px) {
    .container-lg {
        max-width: 660px;
    }
    .clubhouse--image {
        margin-top: -5rem;
        z-index: 0 !important;
    }
 
    .form-group>i,
    .form-group>.field-icon {
        max-width: 60px;
        flex: 0 0 40px;
    }

    .highlights-list li + li::before {
        content: "";
        display: inline-block;
        width: 0px !important;
        height: 0rem !important;
        background-color: transparent;
        vertical-align: middle;
    }

    .hero {
        height: auto;
    }

    .hero .hero-caption {
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 0.5rem 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
    }

    .hero .hero-caption .hero-caption-grid {
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .hero .hero-caption .hero-caption-grid > .small-icon {
        display: flex;
    }

    .hero .hero-caption .hero-caption-item {
        justify-content: flex-start;
        width: 100%;
    }

    .hero .hero-caption .small-icon i {
        border-color: rgba(255, 255, 255, 0.25);
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero .hero-caption .small-icon i svg {
        width: 18px;
        height: 18px;
    }

    .hero .hero-caption .small-icon small,
    .hero .hero-caption .small-icon b {
        color: #fff;
        text-align: left;
    }

    .hero .hero-caption .small-icon small span {
        font-size: 0.68rem;
    }

    .hero .hero-caption .small-icon b {
        font-size: 0.78rem;
    }

    #amenities.amenities-section {
        overflow: visible;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    #amenities .amenities-head {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #amenities .amenities-swiper-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #amenities .section_title h2 {
        font-size: 1.5rem;
    }

    #amenities .amenities-intro {
        /* font-size: 0.9rem; */
        line-height: 1.55;
    }

    #amenities .facilityBox .box-title {
        left: 0.75rem !important;
        right: 0.75rem !important;
        top: 0.75rem;
    }

    #amenities .facilityBox .box-title h3 {
        font-size: 1rem;
    }

    #amenities .facilityBox .box-title p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    #amenities .facilityBox .img-box img {
        aspect-ratio: 4/3;
    }

    .amenities-swiper-control {
        margin-top: 1.25rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 0.5rem;
    }

    .amenities-swiper-control .swiper-button-prev,
    .amenities-swiper-control .swiper-button-next {
        min-width: 44px;
        min-height: 44px;
    }

    .facilityBox .img-box video {
        aspect-ratio: 3/2;
    }

    .common-query-form {
        position: static;
        transform: none;
        max-width: 100%;
        overflow: hidden;
    }

    .common-query-form>div {
        border-bottom: 4px solid var(--accent-color);
    }

    .common-query-form img {
        max-width: 200px;
        margin: 0 auto;
    }

    .sun-num {
        flex-basis: auto;
        width: 33%;
    }

    .modal-icons {
        padding: 1rem;
    }

    .table {
        table-layout: auto;
    }

    .custom-bannerLogo {
        position: absolute;
        max-width: 50%;
        z-index: 11;
        left: 25%;
        top: 13%;
    }

    .copyrights {
        margin-top: 20px !important;
    }
}

/* Overview: below xl, columns are col-12 — full width + block section title fixes uneven right gap / alignment */
@media (max-width: 1199.9px) {
    #overview .home-overview--content {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    #overview .section_title {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #overview .home-overview--content p {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width:1199.98px) {
    body {
        padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    }

    .footer-enquiryBtn {
        display: flex !important;
        z-index: 1040;
    }

    .back_to_top {
        bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
        z-index: 1041;
    }
}

@media (max-width:575.9px) {
    html {
        font-size: 75%;
    }

    body {
        text-align: center;
    }

    .mobile_menu .mobile_menu_wrapper {
        max-width: 440px;
        padding-top: 100px;
    }

    .hero {
        height: 480px;
    }

    .hero .hero-caption {
        padding: 0.65rem 0.35rem 0.85rem;
    }

    .hero .hero-caption .row,
    .hero .hero-caption .hero-caption-grid {
        row-gap: 0.65rem;
        padding: 0 0.25rem;
    }

    .hero .hero-caption .small-icon small span {
        font-size: 0.62rem;
    }

    .hero .hero-caption .small-icon b {
        font-size: 0.72rem;
    }

    .hero .hero-caption .small-icon i {
        width: 30px;
        height: 30px;
    }

    .hero .hero-caption .small-icon i svg {
        width: 16px;
        height: 16px;
    }

    /* Floor plan cards - mobile */
    .fpBox .inner {
        padding: 1.25rem 1rem;
    }

    .fpBox .inner img {
        max-width: 200px;
    }

    .fpDetails h3 {
        font-size: 1.35rem;
        margin: 1rem 0;
    }

    .fpDetails ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .fpDetails ul li span {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .small-icon small {
        font-size: 1rem;
    }

    .cta:not(.d-flex) .button,
    .section_title {
        margin-left: auto;
        margin-right: auto;
    }

    .cta.d-flex {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    #amenities.amenities-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #amenities .amenities-head,
    #amenities .amenities-swiper-wrap {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    #amenities .section_title h2 {
        font-size: 1.35rem;
    }

    /* #amenities .amenities-intro {
        font-size: 0.85rem;
    } */

    #amenities .facilityBox .box-title h3 {
        font-size: 1.1rem;
    }

    #amenities .facilityBox .box-title p {
        font-size: 0.75rem;
    }

    .amenities-swiper-control .cta .button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .facilityBox .img-box video {
        aspect-ratio: 1/1;
    }

    .by_numbersBox .inner {
        aspect-ratio: 1/1;
    }

    .iconsContainer .amenBox figure .img-fluid,
    .connectivity-box .in .img-fluid {
        max-width: 55px;
        flex: 0 0 55px;
        padding: 14px;
    }

    .modal-content button.close {
        right: 10px;
    }

    .modal-logo {
        padding: 2rem 0;
    }

    .modal-logo img {
        max-width: 240px;
    }

    .breadcrumb {
        justify-content: center;
    }
}

@media (max-width:480px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }


    #amenities .section_title h2 {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    /* #amenities .amenities-intro {
        font-size: 0.8rem;
    } */

    .section_title {
        margin-bottom: 1.75rem;
    }

    .section_title h2 {
        font-size: 1.75rem;
        margin-bottom: 0;
    }

    #overview .section_title h2 {
        font-size: 1.75rem !important;
    }

    .section_title .h1 {
        font-size: 2rem;
    }

    .form-control.lg {
        padding: 1rem;
    }

    .form-group>i {
        max-width: 40px;
        flex: 0 0 40px;
    }

    .cta {
        margin-top: 1.75rem;
    }

    .sun-num {
        width: 50%;
    }

    .sun-num p br {
        display: none;
    }

    .back_to_top {
        bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
        z-index: 1041;
    }

    .table th,
    .table td {
        padding: 1rem;
    }
}

@media (max-width:425px) {}

@media (max-width:375px) {}

@media (max-width:320px) {}