@media screen and (max-width: 1441px) {
    .section__ameni .owl-carousel .owl-nav .owl-next {
        left: 13%;
    }

    .logo_tit h2 {
        font-size: 45px;
    }

    .phase_tit h2 {
        font-size: 35px;
        /* width: 50%; */
    }

    .designmain {
        position: absolute;
        top: 0% !important;
        right: 0% !important;
    }

    .designmainleft {
        position: absolute;
        top: 0% !important;
        left: 0% !important;
        transform: scaleX(-1);
    }
}

@media screen and (max-width: 1200px) {
    .over_div h3 {
        font-size: 2.1rem;
    }

    .feat_para p {
        width: 100%;
        margin: auto;
    }

    .cont_div h3 {
        font-size: 2.5rem;
    }


}

@media screen and (max-width: 1024px) {
    .ameni_para p {
        width: 100%;
        font-size: 1.15rem;
        line-height: 1.9rem;
    }

    .amen_image img {
        height: 250px;
    }

    .designmainleft {
        display: none;
    }

    .designmain {
        display: none;
    }
}

@media screen and (max-width: 990px) {
    .header {
        padding: 1rem 1rem 0;
    }

    .logo_tit h2 {
        font-size: 33px;
    }

    .phase_tit h2 {
        font-size: 27px;
    }

    .phase_tit::after {
        height: 50px;
    }

    .over_img img {
        width: 100%;
    }

    .over1_img {
        display: none;
    }

    .over_div h3 {
        font-size: 1.8rem;
    }

    .over_div p,
    .feat_div p {
        margin-left: 0;
        font-size: 1.15rem;
        line-height: 1.9rem;
    }

    .high_div p {
        font-size: 13px;
    }

    .feat_div h3 {
        font-size: 3.5rem;
        margin-top: -3%;
    }

    .feat_para p {
        font-size: 13px;
    }

    .accordion-button p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .accordion-body p {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }

    .faq_div .accordion-body p {
        line-height: 1.8rem;
    }

    .cont_left {
        padding-left: 1.5rem;
    }

    .cont_div h3 {
        font-size: 2rem;
    }

    .designmainleft {
        display: none;
    }

    .designmain {
        display: none;
    }

}

@media screen and (max-width: 767px) {
    .hambergur img {
        width: 37px;
    }

    .hambergur p {
        font-size: 16px;
    }

    .logo {
        max-width: 150px;
        margin-top: 8px;
    }

    .logo_tit img {
        width: 30%;
    }

    .logo_tit h2 {
        font-size: 20px;
    }

    .phase_tit::after {
        height: 35px;
        top: -5px;
    }

    .phase_tit h2 {
        font-size: 17px;
    }

    .over1_img {
        display: block;
        bottom: -11%;
        right: -18%;
        width: 48%;
    }

    .over_div {
        margin-top: 2%;
    }

    .over_div h3 {
        font-size: 2rem;
    }

    .high_div p {
        font-size: 15px;
    }

    .feat_para p {
        font-size: 1.2rem;
    }

    .feat_div h3 {
        font-size: 3rem;
        margin-top: -4%;
    }

    .section__gal .cont_row {
        flex-direction: column-reverse;
    }

    /* floor plans: tabs stack, plans go one per row */
    .fp_head p {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    .section__conf .nav-tabs {
        gap: 10px;
    }

    .section__conf .nav-tabs .nav-link {
        font-size: 1rem;
        padding: 9px 18px;
    }

    .section__conf .nav-tabs .nav-link span {
        font-size: 1rem;
    }

    .fp_card__body {
        padding: 14px 14px 18px;
        gap: 12px;
    }

    .fp_card__body h4 {
        font-size: 0.95rem;
    }

    /* the card is half a phone screen wide, so the specs stack */
    .fp_card__specs li {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 2px;
        text-align: center;
    }

    .fp_card__specs span {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .fp_card__specs strong {
        font-size: 0.9rem;
        text-align: center;
    }

    .fp_btn {
        font-size: 0.9rem;
        padding: 9px 22px;
    }

    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 0.5rem 1rem;
        margin: 0 10px;
    }

    /* gallery arrows sit centered below the slides, not over them */
    .section__gal .owl-carousel .owl-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-top: 22px;
    }

    .section__gal .owl-carousel .owl-nav .owl-next,
    .section__gal .owl-carousel .owl-nav .owl-prev {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section__gal .owl-carousel .owl-nav .owl-next img,
    .section__gal .owl-carousel .owl-nav .owl-prev img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .section__ameni .owl-carousel .owl-nav .owl-next {
        left: 19%;
    }

    .amen_image img {
        height: auto;
    }

    .foot_div img {
        width: 55%;
    }

    .designmainleft {
        display: none;
    }

    .designmain {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .nav-tabs {
        flex-wrap: nowrap;
    }

    .over1_img {
        right: -1%;
        width: 42%;
    }

    .over_div h3,
    .feat_div h3 {
        font-size: 2rem;
    }

    .high_div img {
        width: 40px;
    }

    .cont_div h2 {
        font-size: 1.4rem;
    }

    .designmainleft {
        display: none;
    }

    .designmain {
        display: none;
    }
}

/* Floor plans: below lg the three plans ride a full-width snap track */
@media screen and (max-width: 991px) {
    .section__conf .fp_track {
        flex-wrap: nowrap;
        /* centring an overflowing flex row puts the first card out of scroll
           reach, and the row's negative gutters clip its left edge — both hid
           the ground floor plan */
        /* !important because Bootstrap's .justify-content-center utility is */
        justify-content: flex-start !important;
        margin-left: 0;
        margin-right: 0;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .section__conf .fp_track::-webkit-scrollbar {
        display: none;
    }

    .section__conf .fp_track > [class*="col-"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: start;
    }

    .fp_nav_arrows {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-top: 22px;
    }

    .fp_nav_arrows .swiper-button {
        position: static;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .fp_nav_arrows .swiper-button img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* One gutter and one vertical rhythm for every section on small screens —
   the wide-screen sections use a 92% container that didn't match Bootstrap's */
@media screen and (max-width: 991px) {
    #overview > .container,
    #features > .container,
    #connectivity > .container {
        width: 100%;
    }

    .section__over,
    .section__conf,
    .section__gal,
    .section__connect,
    .section__faq {
        padding: 60px 0;
    }

    /* the gallery runs its carousels full-bleed, so its copy needs its own */
    #gallery .feat_div {
        padding-left: 12px;
        padding-right: 12px;
    }

    #overview .over-form {
        padding: 32px 24px;
    }

    /* the highlight slider closes the overview, spaced off the copy above */
    #overview .ameni-carousel {
        padding-top: 30px;
        margin-top: 36px;
    }
}
