/*==========================================================
7. CONSOLIDATED RESPONSIVE BREAKPOINTS
==========================================================*/

/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .mm-hero-wrapper {
        min-height: 72vh;
        padding: 90px;
    }

    .mm-hero-content h1 {
        font-size: clamp(3.2rem, 5vw, 4.125rem);
    }

    .mm-mega-menu {
        width: 1360px;
    }
}

/* Desktop Container (1400px+) */
@media (min-width: 1400px) {
    .mm-header .container {
        max-width: 1320px;
    }
}

/* Desktop Navigation (1201px+) */
@media (min-width: 1201px) {
    .mm-has-mega {
        position: relative;
    }

    .mm-has-mega > .mm-mega-menu {
        display: block;
    }
}

/* Laptop (1201px to 1399px) */
@media (max-width: 1399px) {
    .mm-navbar { gap: 24px; }
    .mm-nav > ul { gap: 26px; }

    .mm-hero-wrapper {
        padding: 60px;
    }

    .mm-footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
        gap: 45px;
    }
}

/* Tablet / Desktop Breakpoint (Up to 1200px) */
@media (max-width: 1200px) {
    .mm-topbar,
    .mm-nav,
    .mm-search-btn,
    #mm-btn-primary,
    .mm-mega-menu {
        display: none !important;
    }

    .mm-mobile-toggle {
        display: flex;
    }

    .mm-header {
        position: sticky;
        top: 0;
    }

    .mm-navbar {
        min-height: 82px;
    }

    .mm-hero-wrapper {
        min-height: 65vh;
        padding: 50px;
    }

    .mm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
}

/* Tablet / Small Laptop (Up to 992px / 991px) */
@media (max-width: 992px) {
    .mm-header {
        backdrop-filter: blur(16px);
    }

    .mm-navbar {
        min-height: 78px;
    }

    .mm-logo img {
        height: 58px;
    }

    .mm-hero {
        padding: 30px 0 60px;
    }

    .mm-hero-wrapper {
        min-height: auto;
        padding: 45px;
    }

    .mm-hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }

    .mm-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .mm-hero-list {
        align-items: center;
    }

    .mm-hero-buttons {
        justify-content: center;
    }

    .mm-hero-form {
        margin-top: 40px;
    }

    .mm-search-box {
        padding: 45px 35px;
    }

    .container, 
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mm-footer-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 45px;
    }

    .mm-footer-cta-wrapper
    {
        display: block;
    }

    .mm-footer-cta-buttons
    {
        display:block;
        gap: 10px;
        margin: 10px 0px;
    }

    .mm-footer-cta-buttons .mm-btn-primary
    {
          margin: 10px 0px;
    }

    .mm-footer-cta-content
    {
        align-items: center;
        justify-content: center;
    }
}



/*==========================================================
RESPONSIVE
==========================================================*/

@media (max-width:991px){

    .mm-process-wrapper::before{
        left:35px;
        transform:none;
    }

    .mm-process-step{
        display:block;
        position:relative;
        padding-left:90px;
        margin-bottom:50px;
    }

    .mm-process-caard{
        width:100%;
    }

    .mm-process-number{
        left:35px;
        top:35px;
        transform:translate(-50%,0);
    }

    .mm-story-box,
    .mm-founder-item{
        padding:24px;
        border-radius:18px;
    }

    .mm-page-hero-image img,
    .mm-about-hero-image img,
    .mm-contact-hero-image img,
    .mm-faq-hero-image img,
    .mm-consultation-hero-image img,
    .mm-our-story-image img,
    .mm-founder-image img,
    .mm-method-image img,
    .mm-consult-image img{
        border-radius:22px;
    }

    .mm-contact-info,
    .mm-contact-form,
    .mm-location-card{
        padding:35px;
        border-radius:22px;
    }
}


/* Mobile & Tablet Portrait (Up to 768px) */
@media (max-width: 768px) {
    .mm-header {
        border-bottom: 1px solid rgba(90, 44, 160, .06);
    }

    .mm-navbar {
        min-height: 74px;
        gap: 15px;
    }

    .mm-logo img {
        height: 54px;
    }

    .mm-header-right {
        gap: 12px;
    }

    .mm-mobile-toggle {
        width: 48px;
        height: 48px;
    }

    .mm-mobile-toggle span {
        width: 24px;
    }

    .mm-hero {
        padding: 20px 0 50px;
    }

    .mm-hero-wrapper {
        padding: 30px;
        border-radius: 24px;
    }

    .mm-hero-wrapper::after {
        display: none;
    }

    .mm-hero-form {
        padding: 28px;
    }

    .mm-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .mm-hero-buttons .mm-btn {
        width: 100%;
        min-width: 100%;
    }

    .mm-consultation-floating,
    .mm-tutors-floating-card {
        display: none;
    }

    .mm-search-popup {
        padding: 20px;
    }

    .mm-search-box {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .mm-search-input {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
        padding: 20px;
    }

    .mm-search-input .mm-btn {
        width: 100%;
        min-width: 100%;
    }

    .mm-search-popular {
        gap: 10px;
    }
}

@media (max-width:767px){

    .mm-process{
        padding:70px 0;
    }

    .mm-process-wrapper::before{
        left:28px;
        width:3px;
    }

    .mm-process-step{
        padding-left:70px;
        margin-bottom:40px;
    }

    .mm-process-caard{
        padding:24px 20px;
        border-radius:18px;
    }

    .mm-process-number{
        width:55px;
        height:55px;
        left:28px;
        top:24px;
        font-size:18px;
    }

    .mm-process-caard h3{
        font-size:22px;
        margin-bottom:12px;
    }

    .mm-process-caard p{
        font-size:15px;
        line-height:1.8;
    }

    .mm-story-box,
    .mm-founder-item{
        padding:22px;
        border-radius:16px;
    }

    .mm-page-hero-image img,
    .mm-about-hero-image img,
    .mm-contact-hero-image img,
    .mm-faq-hero-image img,
    .mm-consultation-hero-image img,
    .mm-our-story-image img,
    .mm-founder-image img,
    .mm-method-image img,
    .mm-consult-image img{
        border-radius:18px;
        margin-top:20px;
    }

    .mm-contact-info,
    .mm-contact-form,
    .mm-location-card{
        padding:28px;
        border-radius:18px;
    }


}


/* Small Mobile Breakpoints (Up to 576px / 480px / 420px) */
@media (max-width: 576px) {
    .mm-navbar {
        min-height: 68px;
    }

    .mm-logo img {
        height: 46px;
    }

    .mm-mobile-toggle {
        width: 46px;
        height: 46px;
    }

    .mm-mobile-toggle span {
        width: 22px;
    }

    .mm-mobile-menu {
        width: 100%;
    }

    .mm-mobile-header {
        padding: 18px 20px;
    }

    .mm-mobile-logo img {
        height: 52px;
    }

    .mm-mobile-body {
        padding: 20px;
    }

    .mm-mobile-nav > li > a,
    .mm-mobile-dropdown-btn {
        padding: 16px 0;
    }

    .mm-mobile-submenu {
        padding-left: 10px;
    }

    .mm-mobile-submenu a {
        padding: 11px 14px;
    }

    .mm-mobile-footer {
        margin-top: 28px;
        padding-top: 24px;
    }

    .mm-mobile-footer > a i {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .mm-mobile-social {
        gap: 12px;
        margin: 24px 0;
    }

    .mm-mobile-social a {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .mm-mobile-btn {
        min-height: 50px;
    }

    .mm-hero-wrapper {
        padding: 24px;
    }

    .mm-search-box {
        padding: 35px 20px;
    }

    .mm-search-close {
        width: 42px;
        height: 42px;
        top: 18px;
        right: 18px;
    }
}


@media (max-width:575px){

    .mm-process{
        padding:60px 0;
    }

    .mm-process-wrapper::before{
        left:22px;
    }

    .mm-process-step{
        padding-left:55px;
        margin-bottom:30px;
    }

    .mm-process-number{
        width:44px;
        height:44px;
        left:22px;
        top:20px;
        font-size:16px;
    }

    .mm-process-caard{
        padding:20px 18px;
        border-radius:16px;
    }

    .mm-process-caard h3{
        font-size:20px;
    }

    .mm-process-caard p{
        font-size:14px;
    }

    .mm-story-box,
    .mm-founder-item{
        padding:18px;
        border-radius:14px;
    }

    .mm-page-hero-image img,
    .mm-about-hero-image img,
    .mm-contact-hero-image img,
    .mm-faq-hero-image img,
    .mm-consultation-hero-image img,
    .mm-our-story-image img,
    .mm-founder-image img,
    .mm-method-image img,
    .mm-consult-image img{
        border-radius:14px;
        box-shadow:0 12px 30px rgba(43,11,102,.08);
        margin-bottom: 15px;
    }

    .mm-contact-info,
    .mm-contact-form,
    .mm-location-card{
        padding:20px;
        border-radius:16px;
    }

}


@media (max-width: 420px) {
    .mm-hero-form {
        padding: 20px;
    }
}

/*==========================================================
8. UTILITIES & ACCESSIBILITY OVERRIDES
==========================================================*/

@media print {
    header,
    footer,
    .mm-topbar,
    .mm-header-right,
    .mm-mobile-menu,
    .mm-mobile-overlay,
    .mm-search-popup,
    .mm-hero {
        display: none !important;
    }

    .mm-header {
        position: static;
        box-shadow: none;
        border: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after,
    .mm-mega-menu,
    .mm-mega-column,
    .mm-mega-highlight,
    .mm-mega-column a,
    .mm-mobile-menu,
    .mm-mobile-overlay,
    .mm-mobile-header,
    .mm-mobile-nav,
    .mm-mobile-footer,
    .mm-mobile-nav > li,
    .mm-mobile-toggle span,
    .mm-search-popup,
    .mm-search-box,
    .mm-search-close,
    .mm-search-popular a,
    .mm-hero-form,
    .mm-hero-content {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}