@media (max-width:991px) {

    section.banner .carousel-caption .content {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    section.banner h3 {
        margin-right: 0;
    }

    section.banner .bottom-content,
    section.banner .bottom-content .row {
        flex-wrap: wrap;
        gap: 30px 0;
    }

    section.banner .carousel-caption {
        inset: 0;
        padding: 70px 30px;
        max-width: 100%;
        width: 100%;
    }

    section.banner img.d-block.w-100 {
        min-height: 600px;
        border-bottom-right-radius: 100px
    }

    section.featured-news-and-events .header h2 {
        text-align: center;
    }

    section.service .content img {
        max-height: 300px;
        min-height: unset;
    }

    section.about-us img {
        margin-bottom: 30px;
    }

    section.featured-news-and-events .feature-news,
    section.featured-news-and-events .feature-news img {
        max-width: 100%;
    }

    section.featured-news-and-events .row>div:last-child .row>div>.content>img,
    section.featured-news-and-events .row>div:last-child .row>div>.content>div {
        width: 50%;
    }

    section.about-us h2 {
        text-align: center;
    }

    section.about-us .content {
        max-width: unset;
        margin-left: unset;

    }

    section.about-us .content a {
        margin: auto;
    }

    section.featured-news-and-events .wrapper>.row {
        gap: 26px 0;
    }

    section.inuire-now input:not(input[type="submit"]),
    section.inuire-now textarea,
    section.inuire-now .contact-detail,
    section.latest-blogs img {
        max-width: 100%;
    }

    section.latest-blogs .row {
        gap: 30px 0;
    }

    section.banner h3 {
        font-size: 35px !important;
        line-height: 50px !important;
        text-align: center !important;
    }


    .hellowbar.sticky-top .col-lg-8 {
        padding: 0 15px;
    }

    section.latest-blogs .blogs--col {
        width: 48%;
    }

    section.latest-blogs .content {
        padding-left: 0;
    }

    section.service .header {
        max-width: 100%;
        padding: 0 20px;
    }

    section.facility img {
        border-radius: 5px 30px;
    }

    section.why-choose-us .header {
        max-width: 100%;
        margin: auto auto 40px auto;
    }

}

@media (max-width:767px) {
    section.banner .bottom-content {
        padding: 50px 20px;
    }

    section.facility .owl-carousel .row {
        flex-direction: column;
        gap: 50px 0;
    }

    section.facility .owl-carousel .row>img,
    section.facility .owl-carousel .row>div {
        width: 100% !important;
    }

    section.facility .content a {
        margin: auto;
    }

    section.facility .owl-stage-outer {
        margin-bottom: 20px;
    }

    section.latest-blogs .header {
        margin: auto;
        text-align: center;
    }

    section.latest-blogs .header a {
        margin: auto;
    }

    section.latest-blogs .blogs--col {
        width: 100%;
    }

    section.latest-blogs .blogs--flex.d-flex.justify-content-between {
        flex-direction: column;
        gap: 50px;
    }

    section.inuire-now h2 {
        text-align: center;
    }

    section.inuire-now {
        border-radius: 80px 0 0;
    }

    section.about-us.p-0 {
        padding: 50px 20px !important;
    }

    section.inuire-now .detail a br {
        display: none;
    }
   section.inuire-now .col-md-6:nth-of-type(2) a{
        gap: 17px;
    }
    
    section.inuire-now .col-md-6:nth-of-type(4) a {
        gap: 18px;
    }
}

@media (max-width:575px) {
    section.banner img.d-block.w-100 {
        min-height: 650px;
    }

    section.carousel-template img,
    section.latest-blogs .content {
        max-width: 100%;
    }

    section.carousel-template .header {
        margin-bottom: 20px;
        max-width: 100%;
    }

    section.latest-blogs .content {
        padding-left: 0;
    }

    section.our-client-says .item>img {
        max-width: 112px;
    }

    section.banner .bottom-content {
        padding: 50px 15px;
    }

    section.service .content {
        flex-direction: column;
        padding-right: unset;
    }

    section.service .content .right-content {
        padding: 20px;
    }

    section.service .content>div {
        width: 100%;
    }

    section.service .content img {
        clip-path: unset;
    }
    section.inuire-now .col-md-6:nth-of-type(4) a {
        gap: 23px;
    }
 
}

@media (max-width: 500px) {
    section.service .right-content {
        padding: 20px 0;
    }

    section.featured-news-and-events .row>div:last-child .row>div>.content>img,
    section.featured-news-and-events .row>div:last-child .row>div>.content>div {
        width: 100%;
    }

    section.featured-news-and-events .row>div:last-child .row>div>.content {
        flex-direction: column;
    }

    section.featured-news-and-events img {
        clip-path: polygon(100% 0, 100% 50%, 80% 100%, 0 100%, 0 0);
    }

    section.featured-news-and-events .row>div:last-child .row .contents {
        padding: 20px;
    }

    section.featured-news-and-events .row>div:last-child .content img {
        max-height: 200px;
    }

    section.featured-news-and-events a.yellow-btn {
        justify-content: center;
    }

    section.inuire-now .detail a br {
        display: block;
    }

}

@media (max-width:420px) {
    section.banner img.d-block.w-100 {
        min-height: 700px;
    }
}

@media (max-width:390px) {
    section.banner img.d-block.w-100 {
        min-height: 800px;
    }
}