/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
}

.mobile-menu-logo {
    display: none;
}

.mob-menu {
    justify-content: space-between;
}

/* ===============================
   SIDE MENU CONTAINER
================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 22px 20px;
    transition: left 0.35s ease;
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
    left: 0;
}

/* ===============================
   HEADER AREA
================================ */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header img {
    height: 42px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--theme-color-3);
}

/* ===============================
   MENU LIST
================================ */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 12px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color-3);
    transition: all 0.25s ease;
}

/* Hover & Active */
.mobile-menu a:hover,
.mobile-menu a.active {
    background: linear-gradient(90deg,
            rgba(109, 165, 221, 0.15),
            rgba(53, 30, 143, 0.15));
    color: var(--theme-color-2);
}

/* ===============================
   FOOTER AREA
================================ */
.mobile-menu-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.mobile-menu-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--theme-color-4);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu-footer i {
    color: inherit;
}

/* ===============================
   OVERLAY
================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ================================
   MINI MOBILE (Very Small Phones)
   ================================ */
@media (max-width: 374px) {
    .banner-title {
        font-size: 22px;
    }

    .edu-logo {
        height: 38px;
    }
}

/* ================================
   MOBILE (Phones)
   ================================ */
@media (max-width: 767px) {

    /* Top bars */
    .top-bar {
        display: none;
    }

    .edu-top-info {
        padding: 12px 0;
    }

    .edu-top-info .row>div {
        margin-bottom: 12px;
        justify-content: center;
        text-align: center;
    }

    .edu-info-item {
        justify-content: center;
    }

    .edu-logo {
        height: 42px;
        margin-bottom: 8px;
    }

    .d-none-mobile {
        display: none !important;
    }

    .edu-menu,
    .edu-social {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--theme-color-2);
    }

    .mobile-menu-logo {
        display: inline-block;
    }

    .edu-hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .enquiry-card {
        margin-top: 40px;
    }

    .hero-section img {
        height: 300px;
        object-fit: cover;
    }

    .hero-section .carousel-caption {
        width: 70%;
        top: 40%;
        left: 50%;
    }

    h5.banner-sub-title {
        font-size: 14px;
        margin-bottom: 10px;
        text-shadow: 0 0 11px rgb(255 255 255);
    }

    .hero-section .carousel-caption h2.banner-title {
        font-size: 30px;
    }

    .hero-section .carousel-caption p {
        font-size: 10px;
        line-height: normal;
    }

    .hero-section .carousel-caption .btn-sec {
        display: none;
    }

    section.hero-section .carousel-control-next-icon,
    section.hero-section .carousel-control-prev-icon {
        width: 40px;
        height: 40px;
        background-size: 20px;
    }

    .carousel-item::after {
        background: linear-gradient(24deg, rgb(255 255 255 / 92%) 31.2%, rgba(0, 9, 41, 0) 65.89%);
    }

    .abt-collage-img-section {
        position: relative;
        flex-wrap: wrap;
        padding-bottom: 2em;
    }

    .abt-left-img img {
        display: none;
    }

    .abt-text-collage {
        position: absolute;
        transform: translate(20%, 80%);
        width: 325px;
    }

    h6.sub-title {
        font-size: 13px;
    }

    .section-head .title {
        font-size: 22px;
    }

    body,
    p {
        line-height: 22px;
        font-size: 14px;
    }

    ul.list {
        margin-bottom: 0;
    }

    section {
        padding: 30px 0;
    }

    .why-choose-icon {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }

    h5.title {
        font-size: 16px;
    }

    .why-choose-content {
        padding-left: 35px;
    }

    .row.custom-row .col-md-3 {
        width: 100%;
    }

    .program-card {
        width: 70%;
        margin: 0 auto;
    }

    .program-card.top-down {
        margin-top: 0px;
        padding: 40px 20px 20px;
    }

    .program-icon {
        width: 120px;
        height: 120px;
    }

    .btn-sec.btn-flex {
        margin-bottom: 2em;
    }

    h4.footer-heading {
        font-size: 18px;
        margin-bottom: 22px;
        margin-top: 20px;
    }

    .footer-bubble {
        padding: 10px;
        flex-direction: column;
        font-size: 12px;
    }

    ul.footer-links li {
        font-size: 14px;
    }

    .contact-social a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .section-head {
        text-align: center;
    }

    section.our-programs-section .col-md-6 p {
        text-align: center;
    }

    .abt-box-con {
        font-size: 25px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .abt-box {
        padding: 15px;
        text-align: center;
        color: #fff;
    }

    section.breadcrumb-section {
        padding: 30px 0;
    }

    h1.breadcrumb-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    img.page-img {
        margin-bottom: 20px;
    }

    section.our-programs-section.our-programs-page .program-card {
        flex-direction: column;
        text-align: center;
        width: 90%;
    }

    section.our-programs-section.our-programs-page .program-icon {
        margin: 0 auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .curriculum-closing p {
        font-size: 12px;
        line-height: 1.5;
    }

    .curriculum-closing .title {
        font-size: 24px;
        line-height: 1.6;
    }

    img.image {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-bottom: 20px;
    }

    .call-contact {
        flex: inherit;
        text-align: start;
    }

    .image-frame-sec {
        position: relative;
        margin-bottom: 20px;
        height: auto;
    }

    img.image-frame-mini {
        width: 200px;
        height: auto;
        border-radius: 10px;
        border: 10px solid #fff;
        transform: translate(0%, 0px);
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .program-card {
        position: relative;
        padding: 50px 40px 30px;
        border-radius: 150px;
        text-align: center;
        z-index: 1;
        overflow: hidden;
        transition: all 0.5s;
    }

    .lead-card {
        margin-bottom: 20px;
        height: auto;
    }

    .impact-card {
        flex-direction: column;
    }

    .vis-mis-card {
        height: auto;
        margin-bottom: 20px;
    }

    img.girl-img {
        margin-bottom: 20px;
    }

    .program-card {
        margin-bottom: 20px;
    }
}

/* ================================
   TABLET (iPad & small tablets)
   ================================ */
@media (min-width: 768px) and (max-width: 991px) {

    .edu-logo {
        height: 48px;
    }

    .edu-info-item {
        font-size: 14px;
    }
}

/* ================================
   LAPTOP & DESKTOP
   ================================ */
@media (min-width: 992px) {
    .edu-menu {
        display: flex;
    }
}

/* ================================
   BIG SCREEN ONLY
   ================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1530px;
    }
}