@media (max-width: 1024px) {
    .header-middle .contact {
        display: none !important;
    }
    .bottom_header nav .nav-link {
        font-size: 12px !important;
    }
    .top_header::after {
        left: 29.8% !important;
    }
}

@media (max-width: 912px) {
    .about_description h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    .media1 {
        background: #ea4610 !important;
    }
    .media2 {
        background: #004a89 !important;
    }
    .header-middle .contact {
        display: none !important;
    }
    .logo h6 {
        display: none !important;
    }
    .top_header::after {
        left: 9.1% !important;
    }
    .flip-card-front img {
        height: auto !important;
    }
}

@media (max-width: 820px) {
    .about_description h3 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    .media1 {
        background: #ea4610 !important;
    }
    .media2 {
        background: #004a89 !important;
    }
    .header-middle .contact {
        display: none !important;
    }
    .logo h6 {
        display: none !important;
    }
    .flip-card-front img {
        height: auto !important;
    }
}

@media (max-width: 600px) {
    .media-padding {
        padding-left:20px !important;
    }
    .program_detail .image_class {
        height: auto !important;
        width: auto !important;
        margin-left: 0 !important;
        padding-top: 5px !important;
    }

    .banner_news .text-block {
        bottom: 50px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 20px !important;
    }
    .line {
        padding-left: 20px !important;
    }
    .banner_news .text-block h4 {
        font-size: 14px !important;
        font-weight: 500 !important;
    }
    .carousel-indicators [data-bs-target] {
        margin-bottom: 0px !important;
    }
    .borderstyle .h6 {
        text-align: center !important;
        float: none !important;
    }
    .news_events .news-list {
        flex-wrap: wrap !important;
    }
    .news_events .news-list .img-holder {
        width: 100% !important;
    }
    .news_events .news-list .img-holder {
        border-radius: 15px 15px 0 0 !important;
    }
    .news_events .news-list .img-holder .bg-stretch {
        border-radius: 15px 15px 0 0 !important;
    }
    .media-top {
        margin-top: 30px !important;
    }
    .flip-card-back h4 {
        font-size: 14px !important;
    }
    .flip-card-front img {
        height: 180px !important;
        width: inherit !important;
    }

    .header-middle .contact {
        display: none !important;
    }
    .logo h6 {
        display: none !important;
    }
    .logo h3 {
        font-size: 18px !important;
        margin-bottom: 0 !important;
    }
    .logo img {
        height: 100% !important;
    }
    .logo {
        height: 60px !important;
    }
    .top_header::after {
        border-top: 0 !important;
    }
    .media1 {
        background: #ea4610 !important;
    }
    .media2 {
        background: #004a89 !important;
    }
    .below_slider {
        padding: 300px 0 0 !important;
    }
    .margin1 {
        margin-bottom: 20px !important;
    }
    .enquiry {
        display: none !important;
    }
    .flip-card {
        height: 260px !important;
    }
    .image_class {
        text-align: center;
        margin-left: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 20px !important;
        height: auto !important;
        width: auto !important;
    }
    .image_class.float-end {
        float: none !important;
    }
    .description_main img {
        height: 100% !important;
        width: 100% !important;
    }
    .card_class .card .imgDiv {
        height: auto !important;
    }
    .card_class .card .card-img-top {
        height: auto !important;
    }
    .margin{
        margin-top: 30px !important;
    }
}

@media (max-width: 540px) {
    .enquiry {
        display: none !important;
    }
    .margin1 {
        margin-bottom: 20px !important;
    }
    .carousel-indicators [data-bs-target] {
        margin-bottom: 0px !important;
    }
    .flip-card-front img {
        height: auto !important;
        width: inherit !important;
    }
    .flip-card {
        height: 325px !important;
    }
}
@media (max-width: 414px) {
    .flip-card {
        height: 270px !important;
    }
}
@media (max-width: 375px) {
    .flip-card {
        height: 270px !important;
    }
}
@media (max-width: 280px) {
    .flip-card {
        height: 240px !important;
    }
}
