/* ========================================================
   GURU KASHI UNIVERSITY - MOU / PARTNERSHIPS PAGE
   Pixel-Perfect Redesign based on Figma Design
   Font: Karla, sans-serif
   Primary: #9f2b2c (GKU Maroon)
   ======================================================== */

.mou-page-wrapper {
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    font-family: 'Karla', sans-serif;
    color: #222222;
}

/* --------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------- */
.mou-hero-wrapper {
    max-width: 1860px;
    margin: 20px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.mou-hero-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    min-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mou-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.mou-hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 40px 65px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.mou-hero-eyebrow {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    color: #9f2b2c;
    margin-bottom: 16px;
    display: inline-block;
    text-align: center;
}

.mou-hero-title {
    color: #000000;
    font-family: 'Karla', sans-serif;
    font-size: 50px;
    font-style: normal;
    font-weight: 300;
    line-height: 58px;
    letter-spacing: -2px;
    margin: 0 0 20px 0;
    text-align: center;
    max-width: 900px;
}

.mou-title-maroon {
    font-weight: 700;
    color: #9f2b2c;
}

.mou-hero-desc {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.72px;
    color: #000000;
    margin: 0 auto 40px;
    max-width: 1126px;
    text-align: center;
}

/* Stat Cards */
.mou-stats-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px;
    max-width: 684px;
    width: 100%;
}

.mou-stat-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 212px;
    max-width: 212px;
    height: 87px;
    padding: 16px 14px;
    box-sizing: border-box;
    background: rgba(217, 217, 217, 0.2);
    border: 1px solid rgba(173, 173, 173, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.mou-stat-box:hover {
    transform: translateY(-3px);
    background: rgba(217, 217, 217, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.mou-stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mou-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mou-stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.mou-stat-value {
    font-family: 'Karla', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 0;
    color: #000000;
    margin: 0;
}

.mou-stat-label {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.64px;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Recognised & Accredited By */
.mou-accred-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 5px;
    width: 100%;
}

.mou-accred-title {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    color: #9f2b2c;
    margin: 0 0 18px 0;
    text-align: center;
}

.mou-accred-marquee {
    width: 100%;
}

.mou-accred-track {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mou-accred-clone {
    display: none !important;
}

.mou-accred-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 780px;
    margin: 0 auto;
}

.mou-accred-item {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mou-accred-item:hover {
    transform: translateY(-2px) scale(1.08);
}

.mou-accred-item img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* Seamless loop for mobile accreditation: Right to Left */
@keyframes mouAccredScrollRightToLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --------------------------------------------------------
   2. GLOBAL COLLABORATIONS SECTION
   -------------------------------------------------------- */
.mou-global-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 24px 20px;
    text-align: center;
    box-sizing: border-box;
}

.mou-section-eyebrow {
    color: #9F2B2C;
    text-align: center;
    font-family: Karla;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.56px;
    margin-bottom: 8px;
    display: inline-block;
}

.mou-section-title {
    color: #000;
    text-align: center;
    font-family: Karla;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 47px;
    letter-spacing: -1.6px;
    margin: 0 auto 16px;
    max-width: 850px;
}

.mou-section-title span {
    font-weight: 400;
}

.mou-section-desc {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.64px;
    color: #666666;
    max-width: 1392px;
    margin: 0 auto 36px;
}

.mou-global-logos-marquee {
    width: 100%;
    max-width: 1400px;
    margin: 25px auto 10px;
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}

/* Soft edge gradient masks across all viewports */
.mou-global-logos-marquee::before,
.mou-global-logos-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.mou-global-logos-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.mou-global-logos-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.mou-global-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: mouScrollLeftToRight 28s linear infinite;
}

.mou-global-marquee-track:hover,
.mou-global-marquee-track:active {
    animation-play-state: paused;
}

.mou-global-logos-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
}

.mou-global-logo-item {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    flex-shrink: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.mou-global-logo-item:hover {
    transform: scale(1.08);
}

.mou-global-logo-item img {
    height: 50px;
    width: auto;
    max-width: 104px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Fallback for legacy class */
.mou-global-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Seamless infinite loop: Left to Right across 4 identical groups (25% cycle) */
@keyframes mouScrollLeftToRight {
    0% {
        transform: translate3d(-25%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Gradient Divider Line */
.mou-divider-line {
    width: 100%;
    max-width: 1440px;
    height: 1.5px;
    margin: 45px auto;
    background: linear-gradient(90deg, rgba(159, 43, 44, 0) 0%, rgba(159, 43, 44, 1) 50%, rgba(159, 43, 44, 0) 100%);
    border: none;
}

/* --------------------------------------------------------
   3. OUR PARTNERSHIPS SECTION (GRID)
   -------------------------------------------------------- */
.mou-partnerships-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px 50px;
    text-align: center;
    box-sizing: border-box;
}

.mou-partners-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 20px;
    row-gap: 36px;
    justify-items: center;
    align-items: start;
    margin-top: 36px;
}

.mou-partner-card {
    width: 164px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.25s ease;
}

.mou-partner-card:hover {
    transform: translateY(-4px);
}

.mou-card-box {
    width: 164px;
    height: 80px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25) inset, 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mou-partner-card:hover .mou-card-box {
    box-shadow: 4px 8px 18px rgba(159, 43, 44, 0.22), inset 0px 0px 4px rgba(0, 0, 0, 0.05);
}

.mou-card-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) contrast(160%) brightness(92%);
    -webkit-filter: grayscale(100%) contrast(160%) brightness(92%);
    opacity: 0.92;
    transition: filter 0.3s ease, -webkit-filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.mou-partner-card:hover .mou-card-box img,
.mou-partner-card:focus .mou-card-box img,
.mou-partner-card:active .mou-card-box img {
    filter: grayscale(0%) contrast(100%) brightness(100%);
    -webkit-filter: grayscale(0%) contrast(100%) brightness(100%);
    opacity: 1;
    transform: scale(1.05);
}

.mou-card-title {
    width: 164px;
    margin-top: 10px;
    color: #000;
    text-align: center;
    font-family: Karla;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.56px;
    text-align: center;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.mou-partner-card:hover .mou-card-title {
    color: #9f2b2c;
}

/* --------------------------------------------------------
   4. CALL TO ACTION (CTA BANNER)
   -------------------------------------------------------- */
.mou-cta-wrapper {
    max-width: 1440px;
    margin: 20px auto 70px;
    padding: 0 24px;
    box-sizing: border-box;
}

.mou-cta-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: url('/public/frontend/images/bottom-cta-bg .webp') center / cover no-repeat;
    padding: 40px 50px;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
}

.mou-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mou-cta-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    color: #ffffff;
    text-align: left;
}

.mou-cta-eyebrow {
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    display: inline-block;
}

.mou-cta-title {
    color: #FFF;
    font-family: Karla;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 42px;
    /* 140% */
    letter-spacing: -1.2px;
    margin: 0 0 12px 0;
}

.mou-cta-title strong {
    color: #FFF;
    font-family: Karla;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 42px;
    letter-spacing: -1.2px;
}

.mou-cta-desc {
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.28px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 24px 0;
    max-width: 774px;
}

.mou-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 162px;
    height: 44px;
    background: #ffffff;
    color: #9f2b2c;
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.72px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.mou-cta-btn:hover {
    background: #fc0;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------
   5. MODAL POPUP FOR MOU DETAILS
   -------------------------------------------------------- */
.mou-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mou-modal.active {
    display: flex;
    opacity: 1;
}

.mou-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 40px 60px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: mouModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mouModalIn {
    from {
        transform: translateY(20px) scale(0.96);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.mou-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mou-close-btn:hover {
    background: #9f2b2c;
    color: #ffffff;
    transform: rotate(90deg);
}

.mou-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mou-modal-logo-card {
    width: 180px;
    height: 90px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.mou-modal-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none !important;
    -webkit-filter: none !important;
}

.mou-modal-main-img {
    max-width: 280px;
    max-height: 140px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.mou-modal-title {
    font-family: 'Karla', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #9f2b2c;
    margin: 0 0 14px 0;
    text-align: center;
}

.mou-modal-desc {
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    text-align: justify;
    margin-bottom: 20px;
}

.mou-modal-stamp {
    position: absolute;
    bottom: 15px;
    right: 25px;
    pointer-events: none;
}

.mou-modal-stamp img {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* --------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------- */
@media (max-width: 1400px) {
    .mou-partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .mou-hero-card {
        min-height: 700px;
    }

    .mou-hero-content {
        padding: 50px 30px;
        max-width: 960px;
    }

    .mou-partners-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .mou-hero-wrapper {
        margin: 15px auto 35px;
        padding: 0 15px;
    }

    .mou-hero-card {
        border-radius: 28px;
        min-height: auto;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .mou-hero-content {
        padding: 45px 25px 50px;
        max-width: 100%;
        text-align: center;
    }

    .mou-hero-title {
        font-size: 38px;
        line-height: 46px;
    }

    .mou-stats-row {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        margin-bottom: 40px;
    }

    .mou-stat-box {
        flex: 1 1 calc(50% - 16px);
        min-width: 180px;
        max-width: 240px;
    }

    .mou-accred-logos {
        gap: 16px;
        justify-content: center;
    }

    .mou-partners-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 28px;
    }

    .mou-cta-banner {
        padding: 35px 30px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .mou-hero-wrapper {
        margin: 12px auto 25px;
        padding: 0 12px;
    }

    .mou-hero-card {
        position: relative;
        border-radius: 26px;
        min-height: auto;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center 30% !important;
        background-color: #fbfbfb !important;
        overflow: hidden;
    }

    /* Warm bottom gold/amber glow matching original design */
    .mou-hero-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 110px;
        pointer-events: none;
        z-index: 1;
        border-bottom-left-radius: 26px;
        border-bottom-right-radius: 26px;
    }

    .mou-hero-content {
        padding: 28px 14px 26px;
        position: relative;
        z-index: 2;
    }

    .mou-hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .mou-hero-title {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: -0.6px;
        margin: 0 0 12px 0;
        max-width: 325px;
    }

    .mou-hero-desc {
        font-size: 13px;
        line-height: 18px;
        letter-spacing: -0.25px;
        color: #2e2e2e;
        margin: 0 auto 22px;
        max-width: 320px;
    }

    /* Stats Layout: 2 boxes in top row, 1 centered in bottom row */
    .mou-stats-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 24px;
    }

    .mou-stat-box {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(185, 185, 185, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
    }

    /* Box 1 (144+ Active MoUs) & Box 2 (10+ Countries): Side-by-side in Row 1 */
    .mou-stat-box:nth-child(1),
    .mou-stat-box:nth-child(2) {
        flex: 1 1 calc(50% - 6px);
        max-width: calc(50% - 6px);
        min-width: 135px;
        height: 68px;
        padding: 8px 10px;
    }

    /* Box 3 (10,000+ Student Impact): Centered in Row 2 */
    .mou-stat-box:nth-child(3) {
        flex: 0 1 auto;
        min-width: 175px;
        max-width: 195px;
        height: 62px;
        padding: 8px 14px;
        margin: 0 auto;
    }

    .mou-stat-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .mou-stat-value {
        font-size: 19px;
        font-weight: 700;
        line-height: 22px;
        letter-spacing: -0.3px;
        color: #000000;
    }

    .mou-stat-label {
        font-size: 12px;
        font-weight: 500;
        line-height: 15px;
        letter-spacing: -0.2px;
        color: #333333;
    }

    /* Recognised & Accredited By: Mobile Marquee (Right to Left loop, 40px x 40px) */
    .mou-accred-wrapper {
        margin-top: 4px;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .mou-accred-title {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        margin: 0 0 12px 0;
        color: #9f2b2c;
    }

    .mou-accred-marquee {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        padding: 4px 0;
    }


    .mou-accred-track {
        display: flex;
        width: max-content;
        align-items: center;
        flex-wrap: nowrap;
        will-change: transform;
        animation: mouAccredScrollRightToLeft 16s linear infinite;
    }

    .mou-accred-track:hover,
    .mou-accred-track:active {
        animation-play-state: paused;
    }

    .mou-accred-group {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 16px;
        padding-right: 16px;
        flex-shrink: 0;
        margin: 0;
        max-width: none;
    }

    .mou-accred-clone {
        display: flex !important;
    }

    .mou-accred-item {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .mou-accred-item img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        object-fit: contain !important;
        display: block;
    }

    .mou-section-desc {
        font-size: 15px;
        line-height: 22px;
    }

    .mou-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 14px;
        row-gap: 24px;
    }

    .mou-partner-card,
    .mou-card-box,
    .mou-card-title {
        width: 100%;
        max-width: 150px;
    }

    .mou-card-box {
        height: 72px;
    }

    .mou-card-title {
        font-size: 13px;
        line-height: 15px;
    }

    .mou-cta-banner {
        padding: 30px 20px;
    }

    .mou-cta-title {
        font-size: 22px;
    }

    .mou-cta-desc {
        font-size: 13px;
        line-height: 18px;
    }

    /* Global Flags Marquee for Tablet & Mobile */
    .mou-global-logos-marquee {
        margin: 15px auto 5px;
    }

    .mou-global-logos-group {
        gap: 16px;
        padding-right: 16px;
    }

    .mou-global-logo-item {
        height: 44px;
        padding: 0 2px;
    }

    .mou-global-logo-item img {
        height: 40px;
        max-width: 84px;
    }

    .mou-global-marquee-track {
        animation-duration: 22s;
    }

    /* Modal Popup on Mobile: Place badge at the bottom of content, never over text */
    .mou-modal {
        padding: 16px 12px;
    }

    .mou-modal-box {
        padding: 32px 20px 24px;
        border-radius: 22px;
        max-height: 88vh;
        display: flex;
        flex-direction: column;
    }

    .mou-modal-title {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 12px;
    }

    .mou-modal-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .mou-modal-stamp {
        position: static;
        display: flex;
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: 12px;
        margin-bottom: 0;
        pointer-events: none;
    }

    .mou-modal-stamp img {
        width: 70px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .mou-section-eyebrow {
        font-size: 12px;
    }

    .mou-section-title {
        font-size: 22px;
        line-height: normal;
    }

    .mou-hero-wrapper {
        margin: 8px auto 20px;
        padding: 0 8px;
    }

    .mou-hero-card {
        border-radius: 22px;
    }

    .mou-hero-card::after {
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
    }

    .mou-hero-content {
        padding: 24px 10px 28px;
    }

    .mou-stats-row {
        gap: 8px;
        max-width: 320px;
        margin-bottom: 20px;
    }

    .mou-stat-box:nth-child(1),
    .mou-stat-box:nth-child(2) {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 5px);
        min-width: 125px;
        height: 64px;
        padding: 6px 8px;
    }

    .mou-stat-box:nth-child(3) {
        min-width: 160px;
        max-width: 180px;
        height: 58px;
        padding: 6px 12px;
    }

    .mou-stat-icon {
        width: 28px;
        height: 28px;
    }

    .mou-stat-value {
        font-size: 17px;
        line-height: 20px;
    }

    .mou-stat-label {
        font-size: 11px;
        line-height: 14px;
    }

    .mou-accred-marquee {
        max-width: 320px;
    }

    .mou-accred-group {
        gap: 14px;
        padding-right: 14px;
    }

    .mou-accred-item {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .mou-accred-item img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .mou-accred-track {
        animation-duration: 14s;
    }

    .mou-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
        row-gap: 20px;
    }

    .mou-partner-card,
    .mou-card-box,
    .mou-card-title {
        max-width: 100%;
    }

    .mou-card-box {
        height: 68px;
        border-radius: 14px;
    }

    .mou-card-title {
        font-size: 12px;
        line-height: 14px;
    }

    /* Flags Marquee for Small Screens */
    .mou-global-logos-group {
        gap: 12px;
        padding-right: 12px;
    }

    .mou-global-logo-item {
        height: 38px;
    }

    .mou-global-logo-item img {
        height: 36px;
        max-width: 76px;
    }

    .mou-global-marquee-track {
        animation-duration: 18s;
    }

    .mou-modal-box {
        padding: 26px 16px 20px;
        border-radius: 18px;
    }

    .mou-modal-title {
        font-size: 18px;
        line-height: 23px;
    }

    .mou-modal-desc {
        font-size: 13px;
        line-height: 1.55;
    }

    .mou-modal-stamp {
        margin-top: 8px;
    }

    .mou-modal-stamp img {
        width: 60px;
    }
}