/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;

    background: #f7f9fc;
}


/* =========================================================
   SLIDER
========================================================= */

.hero-slider {
    position: relative;
    min-height: 690px;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    padding: 145px 0 105px;

    opacity: 0;
    visibility: hidden;

    transform: translateX(35px);

    transition:
        opacity 650ms cubic-bezier(.2,.8,.2,1),
        transform 650ms cubic-bezier(.2,.8,.2,1),
        visibility 650ms;
}

.hero-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* =========================================================
   SLIDE BACKGROUNDS
========================================================= */

.hero-slide-general {
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(255, 92, 99, .19),
            transparent 29%
        ),
        radial-gradient(
            circle at 72% 65%,
            rgba(73, 132, 255, .15),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff8f8 47%,
            #f2f6ff 100%
        );
}


.hero-slide-kpss {
    background:
        radial-gradient(
            circle at 82% 32%,
            rgba(53, 117, 255, .24),
            transparent 30%
        ),
        radial-gradient(
            circle at 69% 78%,
            rgba(255, 78, 91, .15),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f2f7ff 58%,
            #e5efff 100%
        );
}


.hero-slide-ags {
    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(147, 76, 255, .24),
            transparent 30%
        ),
        radial-gradient(
            circle at 68% 75%,
            rgba(255, 92, 168, .16),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf5ff 55%,
            #f2e7ff 100%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.hero-container {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   COPY
========================================================= */

.hero-copy {
    max-width: 650px;
}


.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 25px;

    padding: 9px 14px;

    border:
        1px solid rgba(16,45,86,.09);

    border-radius: 999px;

    background:
        rgba(255,255,255,.70);

    color: var(--navy);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.35px;

    box-shadow:
        0 8px 25px rgba(16,45,86,.05);

    backdrop-filter: blur(12px);
}


.hero-badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 0 5px rgba(215,25,32,.10);
}


.hero-copy h1,
.hero-copy h2 {
    max-width: 640px;

    margin: 0;

    color: var(--navy-dark);

    font-size:
        clamp(54px, 5.5vw, 82px);

    font-weight: 900;

    line-height: .96;

    letter-spacing: -5px;
}


.hero-copy h1 span,
.hero-copy h2 span {
    display: block;

    color: var(--red);
}


.hero-slide-kpss .hero-copy h2 span {
    color: var(--exam-kpss);
}


.hero-slide-ags .hero-copy h2 span {
    color: #8338ec;
}


.hero-lead {
    max-width: 550px;

    margin-top: 25px;

    color: #63738a;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 30px;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 52px;

    padding: 0 21px;

    border-radius: 14px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}


.hero-button-primary {
    background: var(--red);

    color: #ffffff;

    box-shadow:
        0 12px 28px rgba(215,25,32,.19);
}


.hero-slide-kpss .hero-button-primary {
    background: var(--exam-kpss);

    box-shadow:
        0 12px 28px rgba(var(--exam-kpss-rgb),.20);
}


.hero-slide-ags .hero-button-primary {
    background: #8338ec;

    box-shadow:
        0 12px 28px rgba(131,56,236,.20);
}


.hero-button-secondary {
    border:
        1px solid rgba(16,45,86,.11);

    background:
        rgba(255,255,255,.68);

    color: var(--navy);

    backdrop-filter: blur(10px);
}


.hero-button:hover {
    transform: translateY(-3px);
}


/* =========================================================
   BENEFITS
========================================================= */

.hero-benefits {
    display: flex;
    align-items: center;

    gap: 25px;

    margin-top: 38px;
}


.hero-benefits > div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #596b82;

    font-size: 11px;
    font-weight: 750;
}


.hero-benefits i {
    color: var(--red);
}


/* =========================================================
   VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 480px;
}


/* =========================================================
   GENERAL VISUAL
========================================================= */

.visual-circle {
    position: absolute;

    width: 370px;
    height: 370px;

    top: 45px;
    right: 15px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #ff5b68,
            #ff8790
        );

    box-shadow:
        0 35px 80px rgba(255,91,104,.22);
}


.visual-card {
    position: absolute;

    border:
        1px solid rgba(255,255,255,.50);

    box-shadow:
        0 25px 60px rgba(16,45,86,.14);

    backdrop-filter:
        blur(14px);
}


.visual-card-main {
    width: 315px;
    height: 350px;

    top: 80px;
    right: 72px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 32px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.86),
            rgba(255,255,255,.56)
        );

    transform:
        rotate(5deg);
}


.visual-small {
    color: var(--red);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.6px;
}


.visual-card-main strong {
    margin-top: 6px;

    color: var(--navy-dark);

    font-size: 65px;
    font-weight: 950;

    letter-spacing: -5px;
}


.visual-year {
    margin-top: 8px;

    color: #718096;

    font-size: 11px;
    font-weight: 750;
}


.visual-card-small {
    width: 155px;
    height: 155px;

    left: 15px;
    bottom: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    border-radius: 25px;

    background: #2868eb;

    color: #ffffff;

    transform:
        rotate(-7deg);
}


.visual-card-small i {
    align-self: flex-end;

    font-size: 20px;
}


.visual-card-small span {
    font-size: 17px;
    font-weight: 850;

    line-height: 1.05;
}


.visual-word {
    position: absolute;

    top: 30px;
    left: -10px;

    color: var(--navy);

    opacity: .055;

    font-size: 72px;
    font-weight: 950;

    letter-spacing: -6px;

    transform:
        rotate(-90deg)
        translateX(-100%);

    transform-origin:
        left top;
}


.visual-star {
    position: absolute;

    right: 5px;
    bottom: 10px;

    color: #ffb800;

    font-size: 65px;
}


/* =========================================================
   KPSS VISUAL
========================================================= */

.exam-card {
    position: absolute;

    width: 350px;
    height: 390px;

    top: 45px;
    right: 45px;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 35px;

    overflow: hidden;

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            #397cff,
            #1d55cc
        );

    color: #ffffff;

    box-shadow:
        0 35px 75px rgba(39,100,231,.25);

    transform:
        rotate(4deg);
}


.exam-card span {
    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.5px;

    opacity: .75;
}


.exam-card strong {
    margin-top: 3px;

    font-size: 80px;
    font-weight: 950;

    line-height: 1;

    letter-spacing: -6px;
}


.exam-card p {
    margin-top: 12px;

    font-size: 15px;
    font-weight: 650;

    line-height: 1.45;

    opacity: .82;
}


.exam-arrow {
    position: absolute;

    width: 48px;
    height: 48px;

    top: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.18);
}


.exam-background-word {
    position: absolute;

    left: 0;
    bottom: 15px;

    color: #2868eb;

    opacity: .08;

    font-size: 110px;
    font-weight: 950;

    letter-spacing: -9px;
}


.exam-orbit {
    position: absolute;

    border:
        1px solid rgba(40,104,235,.18);

    border-radius: 50%;
}


.exam-orbit-one {
    width: 430px;
    height: 430px;

    top: 25px;
    right: 0;
}


.exam-orbit-two {
    width: 510px;
    height: 510px;

    top: -15px;
    right: -40px;
}


/* =========================================================
   AGS VISUAL
========================================================= */

.ags-card {
    position: absolute;

    width: 350px;
    height: 390px;

    top: 45px;
    right: 50px;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 35px;

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            #a660ff,
            #7134db
        );

    color: #ffffff;

    box-shadow:
        0 35px 75px rgba(131,56,236,.24);

    transform:
        rotate(-4deg);
}


.ags-icon {
    position: absolute;

    width: 55px;
    height: 55px;

    top: 25px;
    right: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background:
        rgba(255,255,255,.18);

    font-size: 20px;
}


.ags-card > span {
    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.5px;

    opacity: .75;
}


.ags-card strong {
    margin-top: 3px;

    font-size: 88px;
    font-weight: 950;

    line-height: 1;

    letter-spacing: -7px;
}


.ags-card p {
    max-width: 220px;

    margin-top: 12px;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.5;

    opacity: .84;
}


.ags-mini {
    position: absolute;

    left: 5px;
    bottom: 35px;

    z-index: 3;

    width: 135px;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px;

    border-radius: 22px;

    background: #ff66aa;

    color: #ffffff;

    font-size: 18px;
    font-weight: 900;

    box-shadow:
        0 20px 45px rgba(255,102,170,.22);

    transform:
        rotate(6deg);
}


.ags-shape {
    position: absolute;

    border-radius: 50%;
}


.ags-shape-one {
    width: 390px;
    height: 390px;

    top: 50px;
    right: 10px;

    background:
        #e1c5ff;
}


.ags-shape-two {
    width: 150px;
    height: 150px;

    right: -10px;
    bottom: 5px;

    background:
        #ffb9da;
}


/* =========================================================
   CONTROLS
========================================================= */

.hero-controls {
    position: absolute;

    z-index: 10;

    left: 50%;
    bottom: 28px;

    transform:
        translateX(-50%);

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}


.hero-control {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 10px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #8793a3;

    cursor: pointer;
}


.hero-control > span {
    font-size: 9px;
    font-weight: 850;
}


.hero-control strong {
    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}


.hero-control-line {
    position: relative;

    width: 100%;
    min-width: 75px;

    height: 2px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(16,45,86,.10);
}


.hero-control-line i {
    position: absolute;

    inset: 0;

    background: var(--red);

    transform:
        scaleX(0);

    transform-origin:
        left;
}


.hero-control.active {
    color: var(--navy);
}


.hero-control.active .hero-control-line i {
    animation:
        heroProgress 6s linear forwards;
}


@keyframes heroProgress {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: auto;
    }

    .hero-slider {
        min-height: 870px;
    }

    .hero-slide {
        padding:
            125px 0 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .hero-copy {
        max-width: 620px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size:
            clamp(48px, 10vw, 68px);

        letter-spacing: -4px;
    }

    .hero-visual {
        min-height: 330px;

        transform:
            scale(.78);

        transform-origin:
            top center;
    }

}


@media (max-width: 600px) {

    .hero-slider {
        min-height: 850px;
    }

    .hero-slide {
        padding:
            110px 0 95px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 48px;

        letter-spacing: -3px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .hero-benefits {
        flex-wrap: wrap;

        gap: 13px 20px;
    }

    .hero-visual {
        margin-top: -10px;

        transform:
            scale(.66);
    }

    .hero-controls {
        gap: 8px;
    }

    .hero-control strong {
        display: none;
    }

    .hero-control-line {
        min-width: 45px;
    }

}

/* Reserve below-the-fold space while its non-blocking stylesheets load. */
.programs-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.why-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 1100px;
}
