/* ==============================
   Responsive Typography
================================= */
@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1280px;
    }
}

@media (min-width: 1600px) {}

/* Large Tablets / Landscape (992px – 1199px) */
@media (max-width: 1199px) {}

/* Tablets Portrait (768px – 991px) */
@media (max-width: 991px) {

    #navigation_bar,
    #navigation_bar.nav-down {
        backdrop-filter: none;
    }

    #home-banner .banner-image {
        display: none;
    }

    #home-banner .banner-bg {
        top: 0;
        bottom: unset;
        height: 100%;
    }

    #home-banner .banner-bg picture {
        height: 100%;
    }

    #home-banner {
        padding-bottom: 35%;
        background: url(../images/home/home-banner-bg-mobile.png) no-repeat;
        background-size: cover;
        height: 10%;
    }

    #home-banner .container,
    #home-banner .row {
        height: auto !important;
    }

    #home-banner .banner-btn {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    #home-banner .banner-btn a {
        display: inline-flex;
        width: 100%;
        padding-block: 20px;
    }

    .banner-box {
        padding-top: 6rem;
    }

    #home-philosophy {
        background: url(../images/home/home-philosophy-bg-mobile.png) no-repeat;

    }

    #home-philosophy .philosophy-images {
        flex-wrap: nowrap;
    }

    #home-philosophy .philosophy-images-one {
        height: auto;
        width: 150px;
    }

    #home-philosophy .philosophy-images-two,
    #home-philosophy .philosophy-images-three {
        height: 150px;
        width: 200px;
    }

    #home-philosophy .philosophy-images-three .play-btn {
        height: 50px;
        width: 50px;
    }

    .philosophy-content {
        text-align: center;
        margin: 5rem 0;
    }

    div#school-tabs .nav-link {
        width: 100%;
    }

    #home-our-school .our-school-card {
        padding: 30px;
    }

    #home-beyond-classroom {
        padding-top: 20%;
        text-align: left;
        padding-bottom: 20%;
    }

    #home-testimonial .testimonial-content {
        padding-inline: 2rem;
    }

    #home-testimonial .testimonial-content p {
        text-align: left;
    }

    #home-testimonial .card p {
        padding: 2rem 0;
        max-width: 70%;
    }

    #home-testimonial .card {
        max-width: 90%;
        margin: auto;
    }

    #home-testimonial {
        padding: 0;
    }

    #home-insights {
        padding: 20% 0;
    }

    #home-testimonial .container-fluid {
        border-radius: 0;
    }

    .insight-wrapper {
        padding-top: 10%;
    }

    .insight-content-btn {
        display: none;
    }

    #home-insights .insight-content-text h3 {
        font-size: 22px;
        line-height: normal;
    }

    #home-insights .insight-content-image {
        width: 250px;
        flex: 0 0 30%;
    }

    #home-insights .insight-inner-content {
        flex-wrap: wrap;
    }

    #home-insights .insight-content-text {
        flex: 0 0 60%;
    }

    #home-cta .cta-content h2 {
        font-size: 25px;
        line-height: normal;
    }

    #home-cta .cta-content {
        padding: 2rem;
        border-radius: 0;
        margin-bottom: 3rem;
    }

    #home-cta .cta-image {
        right: 0;
        width: 45%;
        overflow: hidden;
        bottom: 0;
    }

    #home-cta .primary-btn {
        font-size: 12px;
    }

    section#home-cta {
        overflow: hidden;
    }

    .right-divider {
        border-left: none;
        border-top: 1px solid #eee;
        margin-top: 20px;
        padding-top: 20px;
    }

    .social-stack {
        flex-direction: row;
        margin-top: 15px;
    }

    #navigation_bar .navbar .nav-link {
        text-align: center;
    }

    .dropdown-menu.mega-menu {
        overflow: hidden;
        width: 100%;
        margin: auto;
        padding: 30px 10px;
    }
    .program-cta{
        flex-wrap: wrap;
    }
}

/* Mobile Landscape (576px – 767px) */
@media (max-width: 767px) {
    #home-cta .cta-image {
        right: -70%;
        width: 95%;
        overflow: hidden;
    }
}

/* Mobile Portrait (≤575px) */
@media (max-width: 575px) {}

/* Mobile Portrait (≤398px) */
@media (max-width: 398px) {}

/* Landscape Mode Fix (any device) */
@media (orientation: landscape) {}