/* DOONVIDYA — Premium mobile app homepage (≤991px) */

:root {
    --mhome-primary: #2563eb;
    --mhome-primary-dark: #1d4ed8;
    --mhome-navy: #0f172a;
    --mhome-slate: #475569;
    --mhome-muted: #94a3b8;
    --mhome-bg: #f1f5f9;
    --mhome-card: #ffffff;
    --mhome-radius: 16px;
    --mhome-radius-lg: 22px;
    --mhome-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --mhome-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --mhome-glass: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991.98px) {
    body {
        background: var(--mhome-bg);
        overflow-x: hidden;
    }

    .site-desktop {
        display: none !important;
    }

    .mhome {
        font-family: 'Inter', 'Roboto', system-ui, sans-serif;
        color: var(--mhome-navy);
        letter-spacing: 0;
        padding-bottom: 2rem;
        background: #fff;
    }

    /* —— Top header (white bar, never over hero photo) —— */
    .mhome-header {
        position: relative;
        z-index: 20;
        background: #fff;
        flex-shrink: 0;
    }

    .mhome-nav {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 16px;
        margin: 0;
        background: #fff;
        border: none;
        border-bottom: 1px solid #eef0f5;
        border-radius: 0;
        box-shadow: none;
    }

    .mhome-nav-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        min-width: 0;
    }

    .mhome-nav-brand img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    .mhome-nav-title {
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.15;
        color: var(--mhome-navy);
    }

    .mhome-nav-title span {
        color: var(--mhome-primary);
    }

    .mhome-nav-tag {
        font-size: 0.58rem;
        color: var(--mhome-slate);
        display: block;
        font-weight: 500;
    }

    .mhome-nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .mhome-icon-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid rgba(37, 99, 235, 0.15);
        background: #fff;
        color: var(--mhome-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mhome-icon-btn:active {
        transform: scale(0.96);
    }

    /* —— Responsive hero (phone-hero-mobile.webp) —— */
    .mhome .hero-section.mhome-hero {
        width: 100%;
        min-height: clamp(340px, 62dvh, 460px) !important;
        height: auto !important;
        max-height: none;
        background-image: url('../images/phone-hero.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 82% center;
        position: relative;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 20px 16px 18px;
        margin: 0 !important;
        overflow: hidden;
        border-radius: 0 0 16px 16px;
    }

    .mhome .hero-section .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.34) 42%,
            rgba(0, 0, 0, 0.1) 62%,
            transparent 100%
        ) !important;
        z-index: 1;
        pointer-events: none;
    }

    .mhome .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        min-height: 100%;
        margin: 0;
        text-align: left;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
    }

    .mhome .hero-copy {
        width: 100%;
        max-width: min(50%, 12rem);
    }

    .mhome .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        max-width: 100%;
        width: max-content;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.28);
        color: #fff;
        font-size: clamp(0.54rem, 2.4vw, 0.62rem);
        font-weight: 600;
        margin-bottom: 10px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .mhome .hero-badge-text {
        white-space: nowrap;
    }

    .mhome .hero-badge i {
        color: #93c5fd;
        font-size: 0.62rem;
        flex-shrink: 0;
    }

    .mhome .hero-title {
        font-size: clamp(1.08rem, 4.6vw, 1.38rem);
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: #fff;
        margin: 0 0 8px;
        overflow-wrap: normal;
        max-width: 100%;
    }

    .mhome .hero-title-line,
    .mhome .hero-title-accent {
        display: block;
    }

    .mhome .hero-title-accent {
        background: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #38bdf8 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .mhome .hero-subtitle {
        font-size: clamp(0.66rem, 2.6vw, 0.76rem);
        line-height: 1.45;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        max-width: 100%;
    }

    /* Single-row search bar — moderate corners like reference */
    .mhome .search-bar.search-bar--row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        gap: 0;
        padding: 4px 4px 4px 10px;
        margin: 0;
        margin-top: auto;
        box-sizing: border-box;
        background: #fff;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    }

    .mhome .search-bar__field {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        min-height: 44px;
        padding: 0 6px;
        box-sizing: border-box;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .mhome .search-bar__field--grow {
        flex: 1 1 38%;
        padding-left: 4px;
    }

    .mhome .search-bar__field--select {
        flex: 0 1 auto;
        max-width: 28%;
    }

    .mhome .search-bar__field i {
        color: #94a3b8;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .mhome .search-bar__field input,
    .mhome .search-bar__field select {
        flex: 1;
        min-width: 0;
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-size: 0.72rem;
        color: var(--mhome-navy);
        -webkit-appearance: none;
        appearance: none;
    }

    .mhome .search-bar__field input::placeholder {
        color: #94a3b8;
    }

    .mhome .search-bar__field select {
        cursor: pointer;
        padding-right: 14px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: 8px;
    }

    .mhome .search-bar__divider {
        flex-shrink: 0;
        width: 1px;
        height: 26px;
        background: #e2e8f0;
        margin: 0 2px;
    }

    .mhome .search-bar__cta {
        flex: 0 0 auto;
        width: auto;
        min-height: 42px;
        height: 42px;
        margin-left: 4px;
        padding: 0 12px;
        border: none;
        border-radius: 8px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mhome .search-bar__cta-text {
        display: inline;
    }

    .mhome .search-bar__cta:active {
        transform: scale(0.98);
    }

    /* Tablet: 768px–991px */
    @media (min-width: 768px) and (max-width: 991.98px) {
        .mhome .hero-section {
            min-height: clamp(380px, 58dvh, 480px) !important;
            background-position: 80% center;
            padding: 24px 24px 22px;
            border-radius: 0 0 18px 18px;
        }

        .mhome .hero-copy {
            max-width: min(46%, 14rem);
        }

        .mhome .hero-title {
            font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        }

        .mhome .hero-subtitle {
            font-size: 0.78rem;
        }

        .mhome .search-bar.search-bar--row {
            padding: 6px 6px 6px 12px;
        }

        .mhome .search-bar__field input,
        .mhome .search-bar__field select {
            font-size: 0.78rem;
        }

        .mhome .search-bar__cta {
            font-size: 0.78rem;
            padding: 0 16px;
        }
    }

    /* Mobile: ≤991px */
    @media (max-width: 991px) {
        .mhome .hero-section {
            background-position: 82% center;
            align-items: stretch;
        }
    }

    /* Small phones: ≤576px */
    @media (max-width: 576px) {
        .mhome .hero-section {
            min-height: clamp(320px, 58dvh, 420px) !important;
            background-position: 86% center;
            padding: 18px 14px 16px;
            border-radius: 0 0 14px 14px;
        }

        .mhome .hero-copy {
            max-width: min(52%, 11.5rem);
        }

        .mhome .hero-title {
            font-size: clamp(1rem, 4.2vw, 1.22rem);
            margin-bottom: 6px;
        }

        .mhome .hero-subtitle {
            font-size: clamp(0.62rem, 2.4vw, 0.72rem);
        }

        .mhome .hero-badge {
            font-size: clamp(0.5rem, 2.2vw, 0.58rem);
            margin-bottom: 8px;
        }

        .mhome .search-bar.search-bar--row {
            padding: 4px 4px 4px 8px;
        }

        .mhome .search-bar__field {
            min-height: 40px;
            padding: 0 4px;
        }

        .mhome .search-bar__field--grow {
            flex: 1 1 32%;
        }

        .mhome .search-bar__field--select {
            max-width: 26%;
        }

        .mhome .search-bar__field input,
        .mhome .search-bar__field select {
            font-size: 0.65rem;
        }

        .mhome .search-bar__field i {
            font-size: 0.7rem;
        }

        .mhome .search-bar__divider {
            height: 22px;
            margin: 0 1px;
        }

        .mhome .search-bar__cta {
            min-height: 40px;
            height: 40px;
            padding: 0 10px;
            font-size: 0.65rem;
            gap: 4px;
        }
    }

    /* Very small: ≤375px */
    @media (max-width: 375px) {
        .mhome .hero-section {
            min-height: clamp(300px, 56dvh, 380px) !important;
            background-position: 88% center;
            padding: 16px 12px 14px;
        }

        .mhome .hero-copy {
            max-width: min(54%, 10.5rem);
        }

        .mhome .hero-title {
            font-size: 0.95rem;
        }

        .mhome .hero-subtitle {
            font-size: 0.6rem;
        }

        .mhome .search-bar__cta-text {
            display: none;
        }

        .mhome .search-bar__cta {
            padding: 0 12px;
        }
    }

    /* —— Feature stats —— */
    .mhome-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0.75rem 1rem 0.5rem;
        margin-top: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mhome-stats::-webkit-scrollbar {
        display: none;
    }

    .mhome-stat-card {
        scroll-snap-align: start;
        min-width: 0;
        background: var(--mhome-card);
        border-radius: 14px;
        padding: 12px 8px;
        text-align: center;
        box-shadow: var(--mhome-shadow-sm);
        border: 1px solid rgba(226, 232, 240, 0.8);
        transition: transform 0.2s;
    }

    .mhome-stat-card:active {
        transform: scale(0.97);
    }

    .mhome-stat-icon {
        width: 36px;
        height: 36px;
        margin: 0 auto 8px;
        border-radius: 10px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        color: var(--mhome-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
    }

    .mhome-stat-card span {
        font-size: 0.62rem;
        font-weight: 700;
        color: var(--mhome-navy);
        line-height: 1.3;
        display: block;
    }

    /* —— Section headers —— */
    .mhome-section {
        padding: 1.5rem 0 0.5rem;
    }

    .mhome-section-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 1rem 1rem;
        gap: 12px;
    }

    .mhome-label {
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--mhome-primary);
        margin-bottom: 4px;
    }

    .mhome-section-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--mhome-navy);
        margin: 0;
        line-height: 1.25;
    }

    .mhome-section-title .accent {
        color: var(--mhome-primary);
    }

    .mhome-link {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--mhome-primary);
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* —— College carousel —— */
    .mhome-colleges-scroll {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 1rem 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mhome-colleges-scroll::-webkit-scrollbar {
        display: none;
    }

    .mhome-college-card {
        flex: 0 0 min(280px, 82vw);
        scroll-snap-align: center;
        background: var(--mhome-card);
        border-radius: var(--mhome-radius);
        overflow: hidden;
        box-shadow: var(--mhome-shadow);
        border: 1px solid rgba(226, 232, 240, 0.9);
    }

    .mhome-college-img-wrap {
        position: relative;
        height: 140px;
        overflow: hidden;
    }

    .mhome-college-img-wrap .mhome-college-cover {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 140px;
        object-fit: cover;
        object-position: center;
    }

    .mhome-wishlist {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.95);
        color: var(--mhome-slate);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .mhome-college-logo {
        position: absolute;
        bottom: -14px;
        left: 12px;
        z-index: 2;
        width: 36px;
        height: 36px;
        max-width: 36px;
        max-height: 36px;
        border-radius: 10px;
        background: #fff;
        border: 2px solid #fff;
        box-shadow: var(--mhome-shadow-sm);
        object-fit: contain;
    }

    .mhome-college-body {
        padding: 20px 14px 14px;
    }

    .mhome-college-name {
        font-size: 0.92rem;
        font-weight: 700;
        color: var(--mhome-navy);
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .mhome-college-loc {
        font-size: 0.72rem;
        color: var(--mhome-muted);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mhome-college-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .mhome-college-rating i {
        color: #f59e0b;
    }

    .mhome-college-rating strong {
        color: var(--mhome-navy);
    }

    .mhome-college-meta {
        font-size: 0.7rem;
        color: var(--mhome-slate);
        background: #f8fafc;
        padding: 6px 10px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .mhome-college-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mhome-btn-outline {
        text-align: center;
        padding: 9px;
        border-radius: 10px;
        border: 1.5px solid var(--mhome-primary);
        color: var(--mhome-primary);
        font-size: 0.75rem;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.2s;
    }

    .mhome-btn-solid {
        text-align: center;
        padding: 9px;
        border-radius: 10px;
        background: var(--mhome-primary);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        text-decoration: none;
        border: none;
        transition: background 0.2s;
    }

    .mhome-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding-bottom: 0.5rem;
    }

    .mhome-carousel-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cbd5e1;
    }

    .mhome-carousel-dots span.active {
        width: 18px;
        border-radius: 999px;
        background: var(--mhome-primary);
    }

    /* —— Courses grid —— */
    .mhome-courses-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 1rem 1.5rem;
    }

    .mhome-course-card {
        background: var(--mhome-card);
        border-radius: 14px;
        padding: 16px 12px;
        text-align: center;
        text-decoration: none;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: var(--mhome-shadow-sm);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .mhome-course-card:active {
        transform: scale(0.98);
    }

    .mhome-course-icon {
        width: 44px;
        height: 44px;
        margin: 0 auto 10px;
        border-radius: 12px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        color: var(--mhome-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }

    .mhome-course-name {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--mhome-navy);
        margin-bottom: 2px;
    }

    .mhome-course-count {
        font-size: 0.68rem;
        color: var(--mhome-muted);
        margin: 0;
    }

    .mhome-section-head--center {
        justify-content: center;
        text-align: center;
        padding-bottom: 1rem;
    }

    /* —— Why Choose —— */
    .mhome-why-section {
        padding: 1.5rem 1rem 1rem;
        background: #fff;
    }

    .mhome-why-label {
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: var(--mhome-primary);
        margin-bottom: 1rem;
    }

    .mhome-why-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mhome-why-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        background: var(--mhome-card);
        border: 1px solid #eef0f5;
        border-radius: 14px;
        box-shadow: var(--mhome-shadow-sm);
    }

    .mhome-why-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 10px;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
        color: var(--mhome-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }

    .mhome-why-title {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--mhome-navy);
        margin: 0 0 4px;
    }

    .mhome-why-desc {
        font-size: 0.76rem;
        color: var(--mhome-slate);
        margin: 0;
        line-height: 1.5;
    }

    /* —— Free Counselling —— */
    .mhome-counselling {
        margin: 0 1rem 1.5rem;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--mhome-shadow);
    }

    .mhome-counselling-inner {
        background: linear-gradient(160deg, #0d2b6e 0%, #1a4a9e 50%, #2563eb 100%);
        padding: 1.25rem 1rem 1.5rem;
    }

    .mhome-counselling-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .mhome-counselling-img {
        width: 120px;
        height: auto;
        object-fit: contain;
        margin-bottom: 12px;
    }

    .mhome-counselling-title {
        font-size: 1.25rem;
        font-weight: 800;
        color: #fff;
        margin: 0 0 8px;
    }

    .mhome-counselling-text {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.88);
        margin: 0 0 14px;
        line-height: 1.5;
    }

    .mhome-counselling-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }

    .mhome-counselling-features span {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.9);
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .mhome-counselling-features i {
        font-size: 0.85rem;
    }

    .mhome-counselling-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mhome-counselling-field {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 14px;
        min-height: 48px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
    }

    .mhome-counselling-field i {
        color: rgba(255, 255, 255, 0.65);
        flex-shrink: 0;
    }

    .mhome-counselling-field input,
    .mhome-counselling-field select {
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        background: transparent;
        color: #fff;
        font-size: 0.85rem;
    }

    .mhome-counselling-field input::placeholder {
        color: rgba(255, 255, 255, 0.55);
    }

    .mhome-counselling-field select option {
        color: #0f172a;
        background: #fff;
    }

    .mhome-counselling-submit {
        width: 100%;
        min-height: 50px;
        margin-top: 4px;
        border: none;
        border-radius: 10px;
        background: #22c55e;
        color: #fff;
        font-size: 0.92rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }

    .mhome-counselling-submit:active {
        transform: scale(0.98);
    }

    .mhome-counselling-privacy {
        text-align: center;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.55);
        margin: 8px 0 0;
    }

    .mhome-counselling-privacy i {
        margin-right: 4px;
    }

    /* —— Testimonials —— */
    .mhome-testimonials-section {
        padding-bottom: 1.5rem;
        background: var(--mhome-bg);
    }

    .mhome-testimonials-scroll {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 0 1rem 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mhome-testimonials-scroll::-webkit-scrollbar {
        display: none;
    }

    .mhome-testimonial-card {
        flex: 0 0 min(300px, 88vw);
        scroll-snap-align: center;
        background: var(--mhome-card);
        border: 1px solid #eef0f5;
        border-radius: 16px;
        padding: 22px 18px 18px;
        box-shadow: var(--mhome-shadow-sm);
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mhome-testimonial-quote i {
        font-size: 1.4rem;
        color: var(--mhome-primary);
        opacity: 0.35;
    }

    .mhome-testimonial-text {
        font-size: 0.84rem;
        color: var(--mhome-slate);
        line-height: 1.65;
        margin: 0;
        flex: 1;
    }

    .mhome-testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }

    .mhome-testimonial-avatar {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--mhome-primary);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mhome-testimonial-name {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--mhome-navy);
        margin: 0 0 2px;
    }

    .mhome-testimonial-college {
        font-size: 0.72rem;
        color: var(--mhome-muted);
    }

    /* —— Mobile footer override —— */
    .mhome + main .footer,
    body > .footer.mhome-footer {
        margin-top: 0;
    }

    .footer.mhome-footer-mobile .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer.mhome-footer-mobile .footer-socials {
        justify-content: center;
    }

    .footer.mhome-footer-mobile .footer-contact li {
        justify-content: center;
    }

    /* Offcanvas menu */
    .mhome-offcanvas .offcanvas-header {
        border-bottom: 1px solid #e2e8f0;
    }

    .mhome-offcanvas .nav-link {
        font-weight: 600;
        color: var(--mhome-navy);
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .mhome-offcanvas .mhome-menu-cta {
        margin-top: 1rem;
        display: block;
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: #fff;
        text-align: center;
        font-weight: 700;
        text-decoration: none;
    }
}

@media (max-width: 480px) {
    .mhome-stats {
        grid-template-columns: repeat(4, minmax(72px, 1fr));
    }

    .mhome-stat-card span {
        font-size: 0.58rem;
    }
}

@media (min-width: 992px) {
    .mhome {
        display: none !important;
    }

    .site-desktop {
        display: block;
    }
}
