/* =========================================
   MMC HERO SLIDER
========================================= */

.mmchs {
    position: relative;
    width: 100%;
    height: 750px;
    min-height: 700px;
    overflow: hidden;
    background: #071831;
    color: #fff;
    isolation: isolate;
}

.mmchs *,
.mmchs *::before,
.mmchs *::after {
    box-sizing: border-box;
}

/* Background Images */

.mmchs-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.06);
    transition: opacity 1.1s ease, transform 7s ease-out;
}

.mmchs-bg.is-active {
    opacity: 1;
    transform: scale(1);
}

/* Dark Overlay */

.mmchs-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 47, .94) 0%,
            rgba(5, 23, 53, .86) 38%,
            rgba(5, 20, 43, .58) 72%,
            rgba(5, 18, 39, .42) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 17, 39, .38),
            transparent 55%
        );
}

/* Content Container */

.mmchs-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 70px;
}

.mmchs-content {
    position: relative;
    width: 100%;
    max-width: 1050px;
    height: 100%;
    display: flex;
    flex-direction: column;
   
    padding-top: 70px;
}

/* Eyebrow */

.mmchs-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    color: #dce7fa;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mmchs-eyebrow-line {
    display: inline-block;
    width: 49px;
    height: 2px;
    background: #83b8ff;
}

/* Main Heading */

.mmchs-title {
    margin: 0 0 32px;
    padding: 0;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.055;
    letter-spacing: -2.5px;
    text-transform: capitalize;
}

.mmchs-title .hl {
    display: block;
    margin-top: 10px;
    color: #7FB2FF;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

/* Description */

.mmchs-desc {
    max-width: 720px;
    margin: 0 0 30px;
    color: #c5d0e2;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.62;
}

/* Buttons */

.mmchs-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.mmchs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    padding: 0 28px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .25s ease;
    text-transform: capitalize;
}

.mmchs-btn.primary {
    color: #fff;
    background: #12336f;
    border: 1px solid rgba(120, 170, 255, .25);
}

.mmchs-btn.primary:hover {
    color: #fff;
    background: #1c478f;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.mmchs-btn.ghost {
    color: #fff;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .42);
}

.mmchs-btn.ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

/* Stats */

.mmchs-stats {
    display: grid;
    grid-template-columns: 270px 315px 270px;
    gap: 0;
    margin-top: 39px;
    max-width: 900px;
}

.mmchs-stat {
    display: flex;
    flex-direction: column;
    padding: 2px 20px;
    border-left: 2px solid rgba(105, 164, 255, .65);
}

.mmchs-stat:first-child {
    padding-left: 20px;
}

.mmchs-stat strong {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.7px;
}

.mmchs-stat span {
    color: #bac8df;
    font-size: 16px;
    line-height: 1.4;
}

/* Bottom Caption */

.mmchs-caption {
    position: absolute;
    z-index: 3;
    right: 12%;
    bottom: 85px;
    color: #dce5f4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Slider Dots */

.mmchs-dots {
    position: absolute;
    z-index: 4;
    left: 70px;
    bottom: 95px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mmchs-dot {
    position: relative;
    display: block;
    width: 39px;
    height: 4px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
}

.mmchs-dot::after {
    position: absolute;
    inset: 0;
    content: "";
    background: #36df91;
    transform: scaleX(0);
    transform-origin: left;
}

.mmchs-dot.is-active::after {
    animation: mmchsfill var(--dur) linear forwards;
}

.mmchs.paused .mmchs-dot.is-active::after {
    animation-play-state: paused;
}

@keyframes mmchsfill {
    to {
        transform: scaleX(1);
    }
}

/* Entrance Animation */

.mmchs-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: mmchsup .7s ease forwards;
}

.mmchs-content > :nth-child(2) {
    animation-delay: .1s;
}

.mmchs-content > :nth-child(3) {
    animation-delay: .2s;
}

.mmchs-content > :nth-child(4) {
    animation-delay: .3s;
}

.mmchs-content > :nth-child(5) {
    animation-delay: .4s;
}

@keyframes mmchsup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .mmchs {
        height: 760px;
    }

    .mmchs-container {
        padding: 0 55px;
    }

    .mmchs-title {
        font-size: 54px;
    }

    .mmchs-desc {
        font-size: 18px;
        max-width: 650px;
    }

    .mmchs-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 850px;
    }

    .mmchs-stat strong {
        font-size: 23px;
    }

    .mmchs-stat span {
        font-size: 14px;
    }

    .mmchs-dots {
        left: 55px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .mmchs {
        height: auto;
        min-height: 850px;
    }

    .mmchs-bg {
        background-position: center center;
    }

    .mmchs-overlay {
        background: linear-gradient(
            90deg,
            rgba(4, 19, 47, .94),
            rgba(5, 23, 53, .82)
        );
    }

    .mmchs-container {
        padding: 90px 22px 145px;
    }

    .mmchs-content {
        justify-content: center;
        padding-bottom: 0;
    }

    .mmchs-eyebrow {
        gap: 10px;
        margin-bottom: 22px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .mmchs-eyebrow-line {
        width: 30px;
    }

    .mmchs-title {
        margin-bottom: 22px;
        font-size: clamp(35px, 9vw, 48px);
        line-height: 1.12;
        letter-spacing: -1.5px;
    }

    .mmchs-title .hl {
        margin-top: 8px;
        font-size: .75em;
        letter-spacing: -1px;
    }

    .mmchs-desc {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.6;
    }

    .mmchs-btns {
        gap: 10px;
    }

    .mmchs-btn {
        min-height: 53px;
        padding: 0 17px;
        font-size: 14px;
    }

    .mmchs-stats {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-top: 30px;
    }

    .mmchs-stat {
        padding: 0 0 0 15px;
    }

    .mmchs-stat strong {
        margin-bottom: 5px;
        font-size: 22px;
    }

    .mmchs-stat span {
        font-size: 13px;
    }

    .mmchs-dots {
        left: 22px;
        bottom: 45px;
        gap: 7px;
    }

    .mmchs-dot {
        width: 27px;
        height: 3px;
    }

    .mmchs-caption {
        display: none;
    }

}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .mmchs-bg {
        transition: none;
        transform: none;
    }

    .mmchs-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .mmchs-btn {
        transition: none;
    }

}
