@media only screen and (max-width: 1735px) {
    .reviews-sec .owl-carousel .owl-item {
        height: 600px;
    }
}

@media only screen and (max-width: 1600px) {
    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 .row {
        display: flex;
        flex-direction: column;
    }

    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 .row .col-12.col-md-6 {
        width: 100%;
        padding: 0 !important;
    }

    .reviews-sec .owl-carousel .owl-item {
        height: 350px !important;
    }

    .reviews-sec .testimonial .description {
        margin-bottom: 25px;
    }

    .reviews-sec .testimonial {
        margin: 0 0px 30px 0px !important;
    }
}

@media only screen and (max-width: 1360px) {
    .position-relative.d-flex.align-items-center.overlow-x-hidden.py-7.bg-light span {
        font-size: 20px;
    }

    .position-relative.d-flex.align-items-center.overlow-x-hidden.py-7.bg-light {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .position-relative.d-flex.align-items-center.overlow-x-hidden.py-7.bg-light a.p-0.display-3.font-heading.d-inline-block.me-5.text-primary {
        margin-right: 10px !important;
    }

    .amenities-wrap {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 .row {
        padding-left: 50px;
        padding-right: 50px;
        row-gap: 30px;
    }

    section#featured-project-section .row.g-6.d-flex.align-items-center {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    section#featured-project-section .container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        width: 80%;
    }
}

@media only screen and (max-width: 1260px) {
    section#featured-project-section .row.g-6.d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }

    section#featured-project-section .row.g-6.d-flex.align-items-center .col-12.col-md-6.animate.animate-from-bottom {
        padding: 0;
    }

    section#featured-project-section .row.g-6.d-flex.align-items-center .col-12.col-md-5.d-flex.flex-column.justify-content-center {
        width: 100%;
        padding: 0;
    }

    .amenities-wrap {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .amenities-wrap.container-wide.col-12.col-md-11.bg-light.py-6.py-md-8,
    .section#featured-project-section .container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        width: 90%;
    }

    .amenities-sec .wp-block-group.turned-heading-border.text-muted.col-12.col-md-1.d-flex.justify-content-center.align-items-center.is-layout-constrained.wp-block-group-is-layout-constrained {
        border-right: 1px solid #fff;
    }

    .turned-heading-border {
        width: 10% !important;
    }

    section#featured-project-section .container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        padding: 0;
    }
}

@media only screen and (max-width: 991px) {
    section#portfolio .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 {
        width: 90%;
    }

    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 .row {
        padding-left: 0;
        padding-right: 0;
    }

    body.home.page-template-default.page.page-id-6.wp-embed-responsive.overflow-hidden figure.wp-block-image.size-large.d-block.d-lg-none {
        display: none !important;
    }

    header.wp-block-template-part .wp-block-group.text-center.d-flex.flex-column.flex-lg-row.align-items-center.gap-2.gap-lg-4.gap-xxl-5.gap-sl-7.is-layout-constrained.wp-block-group-is-layout-constrained {
        padding-top: 40%;
    }
}

@media only screen and (max-width: 767px) {
    .turned-heading-border {
        width: 100% !important;
    }
    
    header.wp-block-template-part .wp-block-group.text-center.d-flex.flex-column.flex-lg-row.align-items-center.gap-2.gap-lg-4.gap-xxl-5.gap-sl-7.is-layout-constrained.wp-block-group-is-layout-constrained {
        padding-top: 60%;
    }

    section#featured-project-section .row.g-6.d-flex.align-items-center .col-12.col-md-6.animate.animate-from-bottom {
        padding: 0;
        margin-top: 30px;
    }

    .gallery-slider-wrap,
    .tab-section,
    .amenities-sec,
    .virtual-tour-sec {
        flex-direction: column !important;
    }

    .amenities-wrap.container-wide.col-12.col-md-11.bg-light.py-6.py-md-8,
    .section#featured-project-section .container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        width: 100%;
    }

    .amenities-wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .amenities-wrap.container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        padding-top: 30px !important;
    }

    .swiper-full, .specification-slider {
        margin-top: 20px !important;
    }

    .swiper-full .swiper-slide {
        width: 100% !important;
    }

    .tab-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-top: 30px !important;
    }

    section#featured-project-section .container-wide.col-12.col-md-11.bg-light.py-6.py-md-8 {
        width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    div#explore_reviews .container-wide.col-12.col-md-11.bg-secondary.py-6.py-md-8 {
        width: 100%;
    }

    section#portfolio .row {
        grid-template-columns: repeat(1, 1fr);
    }

    .wp-block-image img {
        box-sizing: border-box;
        height: 400px !important;
        max-width: 100%;
        object-fit: cover;
        width: 100%;
        object-position: top;
    }

    footer.wp-block-template-part .col-12.col-md-6.border-primary.border-end.p-5.d-flex.flex-column.gap-4 {
        border-right: none !important;
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .reviews-sec .owl-carousel .owl-item {
        height: 450px !important;
    }

    .reviews-sec .testimonial .title,
    .reviews-sec .testimonial .post {
        left: 10px;
        text-align: left;
    }

    footer.wp-block-template-part .row.flex-column.flex-md-row .col-12.col-md-6.p-5.d-flex.flex-column.gap-4 {
        align-items: flex-start;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    footer.wp-block-template-part .row.flex-column.flex-md-row .col-12.col-md-6.p-5.d-flex.flex-column.gap-4 p.font-heading.text-center.text-lg-start.text-muted {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}
