/* ==========================================================================
   Academic+ Responsive Stylesheet (responsive.css)
   Mobile & Tablet Media Queries
   ========================================================================== */

/* ==================== 1500px Breakpoint ==================== */
@media (max-width: 1500.98px) {

    #testimonials,
    #enquiry-section {
        padding: 0 70px 0 70px;
    }

    .border-secondary-subtle .row>* {
        padding-right: 0 !important;
    }

    .hero-slide {
        background-position: center center;
    }

    .border-secondary-subtle small.text-muted {
        font-size: 10px !important;
    }
}

/* ==================== 1200px Breakpoint ==================== */
@media (max-width: 1199.98px) {
    #testimonials {
        padding: 0 30px 0 0;
    }

    #enquiry-section {
        padding: 0 0 0 30px;
    }

    a.navbar-brand img {
        width: 160px;
    }
}

/* ==================== 1024px Breakpoint ==================== */
@media (max-width: 1024.98px) {
    a.navbar-brand img {
        width: 160px;
    }

    .hero-slide {
        background-position: center center;
        padding: 50px 0;
    }

    #testimonials,
    #enquiry-section {
        padding: 0 30px 0 30px;
    }
}

/* ==================== 991px & Below (Tablets & Mobile) ==================== */
@media (max-width: 991.98px) {
    .hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 65%, rgba(255, 255, 255, 0.45) 100%);
        z-index: 0;
        pointer-events: none;
    }

    .navbar-nav .dropdown-menu {
        min-width: auto !important;
    }

    .dropdown-item {
        white-space: inherit !important;
    }

    #mobileNavOffcanvas .dropdown-menu {
        margin: 0.35rem 0 0.5rem 0 !important;
    }

    .ps-4 {
        padding-left: 10px !important;
    }

    #testimonials-enquiry {
        padding: 40px 0;
    }

    #testimonials-enquiry .container-fluid {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #testimonials-enquiry .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #testimonials {
        padding: 0 0 35px 0;
    }

    #enquiry-section {
        padding: 35px 0 0 0;
    }

    #testimonials-enquiry:after {
        width: 100%;
        height: 58%;
        top: auto;
        bottom: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 59, 100, 0.08);
    }

    #mobileNavOffcanvas {
        --bs-offcanvas-width: 300px;
        max-width: 85vw;
        box-shadow: 6px 0 28px rgba(0, 0, 0, 0.16);
        height: 100vh;
    }

    #mobileNavOffcanvas .offcanvas-header {
        background-color: #ffffff;
        padding: 1.1rem 1.25rem;
    }

    #mobileNavOffcanvas .offcanvas-body {
        padding: 1.25rem;
    }

    #mobileNavOffcanvas .navbar-nav {
        align-items: stretch;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #mobileNavOffcanvas .nav-link {
        font-size: 1.05rem;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        text-align: left;
    }

    #mobileNavOffcanvas .nav-link:hover,
    #mobileNavOffcanvas .nav-link:active {
        background-color: var(--brand-softgreen);
        color: var(--brand-emerald) !important;
    }

    #mobileNavOffcanvas .dropdown-menu {
        background-color: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: none !important;
        border-radius: 10px;
        margin: 0.35rem 0 0.5rem 0.5rem;
        padding: 0.35rem;
    }

    #mobileNavOffcanvas .dropdown-item {
        padding: 0.55rem 0.75rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .mobile-offcanvas-btn {
        width: 100% !important;
        justify-content: center;
        padding: 0.8rem 1.5rem !important;
    }

    a.navbar-brand img {
        width: 160px;
    }

    .navbar-mobile-cta {
        transform: translateX(25px) translateY(2px) !important;
    }

    .hero-slide {
        padding: 57px 0;
        min-height: 400px;
    }

    .bg-brand-emerald {
        margin: auto;
    }

    .hero-section h1.text-brand-navy {
        line-height: 1.11;
        font-size: 57px;
    }

    .text-uppercase.fw-bold.text-dark.mb-2 {
        font-size: 10px !important;
    }

    .trust-pill {
        margin-bottom: 15px !important;
    }

    #why-academic .card .rounded-3,
    #our-programs .card .position-relative.rounded-3 {
        height: auto !important;
    }

    #our-programs .card h6,
    #our-programs .service-card-title {
        font-size: 16px;
        min-height: auto;
    }

    #our-programs .card p,
    #our-programs .service-card-desc {
        font-size: 13px;
        min-height: auto;
    }

    #our-programs .col {
        margin-bottom: 30px;
    }

    #our-programs .col:last-child {
        margin-bottom: 0;
    }

    .site-footer {
        padding: 45px 0 calc(25px + env(safe-area-inset-bottom, 0px)) !important;
        margin-top: auto !important;
    }

    .site-footer .foot_logo img {
        width: 175px;
    }

    .site-footer .footer-heading {
        margin-top: 0.75rem;
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .site-footer .footer-link,
    .site-footer .footer-btn {
        font-size: 0.92rem;
        padding: 0;
    }

    .footer-contact-card {
        margin-bottom: 0 !important;
    }

    .connect-team-section {
        padding: 60px 0 70px;
    }

    .connect-heading-wrap {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .connect-team-title {
        font-size: 2rem;
    }

    .connect-expert-card {
        min-height: auto;
        padding: 26px 20px;
    }

    .contact-master-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .contact-img-wrapper {
        min-height: 300px;
        max-height: 360px;
        margin-bottom: 0.5rem;
    }

    .contact-main-title {
        font-size: 1.85rem;
    }

    .recaptcha-card {
        width: 100%;
    }

    .btn-emerald-contact {
        width: 100%;
    }
}

/* ==================== 767px & Below (All 767.98px / 767px / 768px Mobile Rules) ==================== */
@media (max-width: 767px) {

    




    section {
        padding: 50px 0;
    }

    .hero-swiper-btn {
        display: none !important;
    }

    .inner-banner,
    .inner-banner.career-banner,
    .inner-banner.contact-banner {
        padding: 50px 0 45px;
    }

    .inner-banner h1 {
        font-size: 1.5rem;
    }

    .package-subject-card {
        flex: 0 1 calc(50% - 10px);
        min-width: 140px;
        padding: 14px 16px;
        gap: 10px;
    }

    .package-subject-icon {
        font-size: 1.2rem;
    }

    .package-subject-card .subject-name {
        font-size: 13px;
    }

    .mmt-cta-box {
        padding: 20px;
    }

    .cta-headline {
        font-size: 1.35rem;
    }

    .benefit-grid-card {
        padding: 22px 20px 18px;
    }

    .benefit-title {
        font-size: 1.12rem;
    }

    .vm-card-body {
        padding: 1.5rem;
    }

    .madhyamik-mock-test h2,
    .hs-mock-test h2 {
        font-size: 20px;
        line-height: 1.5em;
    }

    h3.text-brand-navy,
    .mmt-bonus-box h4 {
        line-height: 1.5em;
    }

    .schedule-feature-media {
        min-height: auto;
    }

    .schedule-card::before {
        height: 3px;
    }

    .schedule-card-desc {
        margin-bottom: 0;
    }

    .schedule-card {
        padding: 25px 25px 30px 25px;
    }

    .package-subject-card {
        flex: 0 1 46%;
        min-width: 46%;
    }

    .mmt-bonus-box {
        padding: 20px;
    }

    .exclusive_bonus.pb-0 {
        padding-bottom: 50px !important;
    }

    .takeaway-chip {
        font-size: 10px;
    }

    .cta-tag-pill {
        font-size: 11px;
    }

    .btn-emerald {
        padding: 0.5rem 1rem;
    }

    #streams-section .mb-5,
    .mock_test_help .mb-5,
    #syllabus-section .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .syllabus-subject-box {
        padding: 11px;
    }

    .mock_test_help {
        padding-top: 0;
    }

    /* Syllabus Tabs One-Line Horizontal Scroll */
    .syllabus-nav-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        width: max-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 5px;
        border-radius: 50rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .syllabus-nav-pills::-webkit-scrollbar {
        display: none;
    }

    .syllabus-nav-pills .nav-item {
        flex-shrink: 0;
    }

    .syllabus-nav-pills .nav-link {
        white-space: nowrap !important;
        padding: 8px 18px;
        font-size: 0.88rem;
        padding: 7px 14px !important;
    }

    .career-value-card {
        padding: 20px;
    }

    .role-spotlight-card {
        padding: 20px;
    }

    .feel-free-contact-sec {
        padding: 0 0 50px;
    }

    .blog_srch_field {
        position: relative;
        margin-bottom: 20px;
    }

    .blog_srch_field input {
        width: 100% !important;
    }

    .blog_content_info {
        gap: 10px;
    }

    .blog_white_bg h4 {
        font-size: 1.15rem;
    }
}

/* ==================== 575px Breakpoint (Mobile Small) ==================== */
@media (max-width: 575.98px) {
    .syllabus-nav-pills .nav-link {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .connect-team-title {
        font-size: 1.75rem;
    }

    .connect-expert-card {
        padding: 22px 18px;
    }

    .connect-expert-link {
        font-size: 0.92rem;
    }
}

/* ==================== 480px Breakpoint ==================== */
@media (max-width: 480px) {}

/* ==================== 400px Breakpoint (Extra Small Mobile) ==================== */
@media (max-width: 400px) {
    .navbar-logo {
        max-height: 34px;
    }

    .navbar-mobile-cta {
        font-size: 0.75rem;
        padding: 0.38rem 0.75rem !important;
        gap: 0.3rem !important;
        transform: translateX(7px) translateY(2px) !important;
    }
}