/* ==========================================================
   English FAN — Premium Homepage
   Brand:
   Blue #0B10F5
   Red  #F11414
   Navy #0B0F2E
========================================================== */


/* ==========================================================
   Shared Homepage Helpers
========================================================== */

.ef-home-hero,
.ef-home-intro,
.ef-home-features,
.ef-home-courses,
.ef-home-cta,
.ef-home-team {
    position: relative;
}

.ef-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    color: var(--ef-red);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.ef-eyebrow i {
    font-size: 16px;
}

.ef-eyebrow--light {
    color: rgba(255,255,255,.85);
}

.ef-eyebrow--light i {
    color: var(--ef-red);
}

.ef-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.ef-section-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--ef-navy);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.35;
}

.ef-section-heading h2 span {
    color: var(--ef-blue);
}

.ef-section-heading > p {
    max-width: 400px;
    margin: 0;
    color: #737b96;
    font-size: 14px;
    line-height: 2;
}

.ef-section-heading--center {
    display: block;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ef-section-heading--center h2 {
    margin-right: auto;
    margin-left: auto;
}

.ef-section-heading--center > p {
    margin: 12px auto 0;
}
/* ==========================================================
   HERO
========================================================== */

.ef-home-hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(85, 105, 255, .32) 0,
            rgba(85, 105, 255, 0) 23%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(60, 80, 230, .30) 0,
            rgba(60, 80, 230, 0) 25%
        ),
        linear-gradient(
            125deg,
            #1829f4 0%,
            #1025d8 50%,
            #071a9d 100%
        );

}


/* ==========================================================
   CONTAINER
========================================================== */

.ef-home-hero .container {

    position: relative;

    z-index: 5;

}


/* ==========================================================
   BACKGROUND SHAPES
========================================================== */

.ef-home-hero__shape {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: 1;

}


.ef-home-hero__shape--one {

    width: 390px;

    height: 390px;

    top: -205px;

    left: -45px;

    background: rgba(255, 255, 255, .075);

}


.ef-home-hero__shape--two {

    width: 370px;

    height: 370px;

    right: -115px;

    bottom: -240px;

    background: rgba(255, 255, 255, .055);

}


.ef-home-hero__shape--three {

    width: 165px;

    height: 165px;

    right: 33%;

    top: -110px;

    border: 2px solid rgba(255, 255, 255, .08);

    background: transparent;

}


/* ==========================================================
   CONTENT
========================================================== */

.ef-home-hero__content {

    position: relative;

    z-index: 5;

    max-width: 720px;

    padding: 70px 0;

    animation: efHeroContent .8s ease-out both;

}


/* ==========================================================
   EYEBROW
========================================================== */

.ef-home-hero__content .ef-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 46px;

    padding: 0 20px;

    margin-bottom: 23px;

    border: 1px solid rgba(255, 255, 255, .28);

    border-radius: 30px;

    background: rgba(255, 255, 255, .025);

    color: #fff !important;

    font-size: 13px;

    font-weight: 700;

    backdrop-filter: blur(8px);

}


.ef-home-hero__content .ef-eyebrow i {

    color: #fff !important;

    font-size: 17px;

}


/* ==========================================================
   TITLE
========================================================== */

.ef-home-hero__content h1 {

    max-width: 720px;

    margin: 0 0 23px;

    color: #fff !important;

    font-size: clamp(40px, 4.2vw, 64px);

    font-weight: 900;

    line-height: 1.45;

    letter-spacing: -1px;

}


.ef-home-hero__content h1 span {

    display: block;

    color: #fff !important;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

.ef-home-hero__content > p {

    max-width: 650px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, .82) !important;

    font-size: 15px;

    line-height: 2.2;

}


/* ==========================================================
   ACTIONS
========================================================== */

.ef-home-hero__actions {

    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;

}


/* General Button */

.ef-home-hero__actions .btn {

    min-height: 54px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 0 26px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;

}


.ef-home-hero__actions .btn:hover {

    transform: translateY(-3px);

}


/* ==========================================================
   PRIMARY BUTTON
========================================================== */

.ef-home-hero__actions .btn.v1 {

    border: 1px solid var(--ef-red) !important;

    background: var(--ef-red) !important;

    color: #fff !important;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .16);

}


.ef-home-hero__actions .btn.v1 i {

    color: #fff !important;

}


.ef-home-hero__actions .btn.v1:hover {

    border-color: #fff !important;

    background: #fff !important;

    color: var(--ef-blue) !important;

}


.ef-home-hero__actions .btn.v1:hover i {

    color: var(--ef-blue) !important;

}


/* ==========================================================
   SECONDARY BUTTON
========================================================== */

.ef-home-hero__actions .btn.v2 {

    border: 1px solid rgba(255, 255, 255, .70) !important;

    background: transparent !important;

    color: #fff !important;

}


.ef-home-hero__actions .btn.v2 i {

    color: #fff !important;

}


.ef-home-hero__actions .btn.v2:hover {

    border-color: #fff !important;

    background: rgba(255, 255, 255, .12) !important;

    color: #fff !important;

}


.ef-home-hero__actions .btn.v2:hover i {

    color: #fff !important;

}


/* ==========================================================
   TRUST
========================================================== */

.ef-home-hero__trust {

    display: flex;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 27px;

}


.ef-home-hero__trust-item {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, .78) !important;

    font-size: 12px;

}


.ef-home-hero__trust-item i {

    color: #fff !important;

    font-size: 17px;

}


.ef-home-hero__trust-divider {

    width: 1px;

    height: 23px;

    background: rgba(255, 255, 255, .28);

}


/* ==========================================================
   VISUAL
========================================================== */

.ef-home-hero__visual {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;


}


/* ==========================================================
   IMAGE RINGS
========================================================== */

.ef-home-hero__image-ring {

    position: absolute;

    width: min(455px, 92%);

    aspect-ratio: 1;

    border: 1px solid rgba(255, 255, 255, .32);

    border-radius: 50%;

}


.ef-home-hero__image-ring::before {

    content: "";

    position: absolute;

    inset: 20px;

    border: 1px solid rgba(255, 255, 255, .17);

    border-radius: 50%;

}


.ef-home-hero__image-ring::after {

    content: "";

    position: absolute;

    inset: 42px;

    border: 1px solid rgba(255, 255, 255, .09);

    border-radius: 50%;

}


/* ==========================================================
   MAIN IMAGE
========================================================== */

.ef-home-hero__image {

    position: relative;

    z-index: 3;

    width: min(385px, 78%);

    aspect-ratio: 1;

}


.ef-home-hero__image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    border: 8px solid rgba(255, 255, 255, .15);

    border-radius: 50%;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .30),
        0 0 0 8px rgba(35, 65, 255, .35);

}


/* ==========================================================
   RED FLOATING ICONS
========================================================== */

.ef-home-hero__icon {

    position: absolute;

    z-index: 6;

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 5px solid rgba(255, 255, 255, .13);

    border-radius: 50%;

    background: var(--ef-red) !important;

    color: #fff !important;

    font-size: 29px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, .23);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.ef-home-hero__icon i {

    color: #fff !important;

    line-height: 1;

}


.ef-home-hero__icon:hover {

    transform: translateY(-5px) scale(1.06);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .30);

}


/* ==========================================================
   ICON POSITIONS
========================================================== */

.ef-home-hero__icon--top-left {

    top: 17%;

    left: 3%;

}


.ef-home-hero__icon--top-right {

    top: 7%;

    right: 10%;

}


.ef-home-hero__icon--bottom-right {

    right: 3%;

    bottom: 15%;

}


/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes efHeroContent {

    from {

        opacity: 0;

        transform: translateX(35px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


@keyframes efHeroVisual {

    from {

        opacity: 0;

        transform: translateX(-35px) scale(.96);

    }

    to {

        opacity: 1;

        transform: translateX(0) scale(1);

    }

}


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

@media (max-width: 1199px) {

    .ef-home-hero {

        min-height: 620px;

    }


    .ef-home-hero__content {

        padding: 60px 0;

    }


    .ef-home-hero__visual {

        min-height: 520px;

    }


    .ef-home-hero__image-ring {

        width: 420px;

    }


    .ef-home-hero__image {

        width: 355px;

    }


    .ef-home-hero__icon {

        width: 64px;

        height: 64px;

        font-size: 27px;

    }

}


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

@media (max-width: 991px) {

    .ef-home-hero {

        min-height: auto;

        padding-bottom: 55px;

    }


    /* Image first */

    .ef-home-hero .col-lg-5 {

        order: 1;

    }


    /* Content second */

    .ef-home-hero .col-lg-7 {

        order: 2;

    }


    .ef-home-hero__visual {

        min-height: 430px;

        margin-bottom: 0;

        padding-top: 25px;

    }


    .ef-home-hero__content {

        max-width: 720px;

        padding: 20px 0 45px;

        text-align: center;

    }


    .ef-home-hero__content .ef-eyebrow {

        margin-bottom: 20px;

    }


    .ef-home-hero__content h1 {

        margin-right: auto;

        margin-left: auto;

        font-size: clamp(36px, 6vw, 52px);

        line-height: 1.5;

    }


    .ef-home-hero__content > p {

        margin-right: auto;

        margin-left: auto;

    }


    .ef-home-hero__actions {

        justify-content: center;

    }


    .ef-home-hero__actions .btn {

        min-width: 190px;

    }


    .ef-home-hero__trust {

        justify-content: center;

    }

}


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

@media (max-width: 575px) {

    .ef-home-hero {

        padding-bottom: 35px;

    }


    .ef-home-hero__visual {

        min-height: 350px;

        padding-top: 15px;

    }


    .ef-home-hero__image-ring {

        width: 300px;

    }


    .ef-home-hero__image {

        width: 250px;

    }


    .ef-home-hero__image img {

        border-width: 6px;

    }


    .ef-home-hero__icon {

        width: 56px;

        height: 56px;

        border-width: 4px;

        font-size: 23px;

    }


    .ef-home-hero__icon--top-left {

        top: 13%;

        left: 3%;

    }


    .ef-home-hero__icon--top-right {

        top: 5%;

        right: 3%;

    }


    .ef-home-hero__icon--bottom-right {

        right: 2%;

        bottom: 8%;

    }


    .ef-home-hero__content {

        padding: 10px 0 30px;

    }


    .ef-home-hero__content .ef-eyebrow {

        min-height: 44px;

        padding: 0 16px;

        font-size: 11px;

    }


    .ef-home-hero__content h1 {

        font-size: 32px;

        line-height: 1.55;

        letter-spacing: -.5px;

    }


    .ef-home-hero__content > p {

        padding: 0 8px;

        font-size: 13px;

        line-height: 2.1;

    }


    .ef-home-hero__actions {

        flex-direction: column;

        gap: 10px;

        width: 100%;

    }


    .ef-home-hero__actions .btn {

        width: 100%;

        min-width: 0;

        min-height: 54px;

    }


    .ef-home-hero__trust {

        flex-direction: column;

        gap: 12px;

        margin-top: 22px;

    }


    .ef-home-hero__trust-divider {

        display: none;

    }

}

/* ==========================================================
   INTRO
========================================================== */

.ef-home-intro {
    padding: 105px 0;
    background: #fff;
}

.ef-home-intro__visual {
    position: relative;
    max-width: 510px;
    margin: 0 auto;
    padding: 0 35px 35px 0;
}

.ef-home-intro__image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 25px 70px rgba(11,15,46,.13);
}

.ef-home-intro__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(11,15,46,.22)
    );
}

.ef-home-intro__image img {
    width: 100%;
    aspect-ratio: 4/4.7;
    display: block;
    object-fit: cover;
}

.ef-home-intro__visual::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    height: 75%;
    border-radius: 28px;
    background: #eef0ff;
}

.ef-home-intro__badge {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 65px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(11,15,46,.15);
    color: var(--ef-navy);
    font-size: 12px;
}

.ef-home-intro__badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef0ff;
    color: var(--ef-blue);
    font-size: 18px;
}

.ef-home-intro__badge strong {
    color: var(--ef-red);
}

.ef-home-intro__content {
    max-width: 590px;
    padding-right: 20px;
}

.ef-home-intro__content h2 {
    margin: 0 0 20px;
    color: var(--ef-navy);
    font-size: 39px;
    font-weight: 800;
    line-height: 1.45;
}

.ef-home-intro__content h2 span {
    display: block;
    color: var(--ef-blue);
}

.ef-home-intro__lead {
    margin: 0 0 28px;
    color: #68718c;
    font-size: 15px;
    line-height: 2.15;
}

.ef-home-intro__points {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 25px;
}

.ef-home-intro__point {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.ef-home-intro__point > span {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f0f1ff;
    color: var(--ef-blue);
    font-size: 18px;
}

.ef-home-intro__point h4 {
    margin: 0 0 4px;
    color: var(--ef-navy);
    font-size: 15px;
    font-weight: 700;
}

.ef-home-intro__point p {
    margin: 0;
    color: #7c849b;
    font-size: 12px;
    line-height: 1.8;
}

.ef-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ef-red);
    font-size: 13px;
    font-weight: 700;
    transition: gap .25s ease;
}

.ef-text-link:hover {
    color: var(--ef-red) !important;
    gap: 11px;
}


/* ==========================================================
   FEATURES
========================================================== */

.ef-home-features {
    padding: 100px 0;
    background: #f7f8fc;
}

.ef-feature-card {
    position: relative;
    height: 100%;
    min-height: 275px;
    padding: 31px 27px;
    overflow: hidden;
    border: 1px solid #e7e9f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(11,15,46,.045);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.ef-feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(11,16,245,.15);
    box-shadow: 0 22px 55px rgba(11,15,46,.1);
}

.ef-feature-card--active {
    border-color: transparent;
    background:
        linear-gradient(
            145deg,
            #0B10F5,
            #1114C7
        );
}

.ef-feature-card__number {
    position: absolute;
    top: 20px;
    left: 22px;
    color: #dfe2f0;
    font-size: 11px;
    font-weight: 800;
}

.ef-feature-card--active .ef-feature-card__number {
    color: rgba(255,255,255,.35);
}

.ef-feature-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 14px;
    background: #eff0ff;
    color: var(--ef-blue);
    font-size: 23px;
}

.ef-feature-card--active .ef-feature-card__icon {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.ef-feature-card h3 {
    margin: 0 0 12px;
    color: var(--ef-navy);
    font-size: 18px;
    font-weight: 750;
}

.ef-feature-card--active h3 {
    color: #fff;
}

.ef-feature-card p {
    margin: 0;
    color: #788199;
    font-size: 13px;
    line-height: 2;
}

.ef-feature-card--active p {
    color: rgba(255,255,255,.78);
}


/* ==========================================================
   COURSES
========================================================== */

.ef-home-courses {
    padding: 105px 0 95px;
    background: #fff;
}

.ef-level-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e8eaf2;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(11,15,46,.055);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ef-level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 65px rgba(11,15,46,.12);
}

.ef-level-card__image {
    position: relative;
    overflow: hidden;
}

.ef-level-card__image a {
    display: block;
}

.ef-level-card__image img {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.ef-level-card:hover .ef-level-card__image img {
    transform: scale(1.06);
}

.ef-level-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11,15,46,.02),
        rgba(11,15,46,.25)
    );
    pointer-events: none;
}

.ef-level-card__badge,
.ef-level-card__label {
    position: absolute;
    z-index: 2;
    top: 15px;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ef-level-card__badge {
    left: 15px;
    padding: 6px 12px;
    background: var(--ef-red);
}

.ef-level-card__label {
    right: 15px;
    padding: 6px 11px;
    background: rgba(11,15,46,.68);
    backdrop-filter: blur(8px);
}

.ef-level-card__body {
    padding: 24px 22px 23px;
}

.ef-level-card__body h3 {
    min-height: 52px;
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
}

.ef-level-card__body h3 a {
    color: var(--ef-navy);
}

.ef-level-card__body h3 a:hover {
    color: var(--ef-blue) !important;
}

.ef-level-card__body p {
    min-height: 70px;
    margin: 0 0 17px;
    color: #788199;
    font-size: 12px;
    line-height: 1.95;
}

.ef-level-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ef-red);
    font-size: 12px;
    font-weight: 700;
    transition: gap .25s ease;
}

.ef-level-card__link:hover {
    color: var(--ef-red) !important;
    gap: 10px;
}

.ef-home-courses__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 27px;
    border-top: 1px solid #eceef5;
}

.ef-home-courses__footer p {
    margin: 0;
    color: #737c95;
    font-size: 13px;
}

.ef-home-courses__footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 10px;
}


/* ==========================================================
   CTA
========================================================== */

.ef-home-cta {
    overflow: hidden;
    padding: 75px 0;
    background:
        linear-gradient(
            120deg,
            #080d2c 0%,
            #0c1160 55%,
            #0B10F5 100%
        );
}

.ef-home-cta__glow {
    position: absolute;
    top: -180px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.045);
}

.ef-home-cta .container {
    position: relative;
    z-index: 2;
}

.ef-home-cta__content h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 40px;
    font-weight: 850;
    line-height: 1.4;
}

.ef-home-cta__content h2 span {
    color: #fff;
}

.ef-home-cta__content p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 2;
}

.ef-home-cta__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 13px;
}

.ef-home-cta__action .btn {
    width: 100%;
    max-width: 245px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
}

.ef-home-cta__contact {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 600;
}

.ef-home-cta__contact:hover {
    color: #fff !important;
}


/* ==========================================================
   TEAM
========================================================== */

.ef-home-team {
    padding: 105px 0 100px;
    background: #f7f8fc;
}

.ef-teacher-card {
    overflow: hidden;
    border: 1px solid #e8eaf2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(11,15,46,.055);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ef-teacher-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 65px rgba(11,15,46,.12);
}

.ef-teacher-card__image {
    position: relative;
    overflow: hidden;
}

.ef-teacher-card__image img {
    width: 100%;
    aspect-ratio: 1/1;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.ef-teacher-card:hover .ef-teacher-card__image img {
    transform: scale(1.05);
}

.ef-teacher-card__overlay {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(11,15,46,.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.ef-teacher-card__body {
    padding: 22px;
    text-align: center;
}

.ef-teacher-card__body h3 {
    margin: 0 0 7px;
    color: var(--ef-navy);
    font-size: 18px;
    font-weight: 750;
}

.ef-teacher-card__body p {
    margin: 0;
    color: var(--ef-red);
    font-size: 12px;
    font-weight: 600;
}


/* ==========================================================
   Animations
========================================================== */

@keyframes efHeroContent {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

@keyframes efHeroVisual {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 991px) {

    .ef-home-hero {
        min-height: 580px;
    }

    .ef-home-hero__content {
        padding: 65px 0;
    }

    .ef-home-hero__content h1 {
        font-size: 46px;
    }

    .ef-home-hero__content p {
        font-size: 14px;
    }

    .ef-home-hero__visual {
        min-height: 440px;
    }

    .ef-home-hero__image {
        width: 78%;
    }

    .ef-home-hero__floating-card {
        left: -10px;
        bottom: 40px;
    }

    .ef-home-intro {
        padding: 85px 0;
    }

    .ef-home-intro__content {
        padding-right: 0;
    }

    .ef-section-heading h2 {
        font-size: 32px;
    }

    .ef-home-features,
    .ef-home-courses,
    .ef-home-team {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .ef-home-cta__content h2 {
        font-size: 34px;
    }

}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 767px) {

    .ef-section-heading {
        display: block;
        margin-bottom: 35px;
        text-align: center;
    }

    .ef-section-heading h2 {
        font-size: 28px;
    }

    .ef-section-heading > p {
        margin: 12px auto 0;
        font-size: 13px;
    }

    .ef-home-hero {
        min-height: auto;
    }

    .ef-home-hero__content {
        padding: 58px 0 30px;
        text-align: center;
    }

    .ef-home-hero__content h1 {
        margin-bottom: 17px;
        font-size: 35px;
        line-height: 1.55;
        letter-spacing: 0;
    }

    .ef-home-hero__content p {
        margin-right: auto;
        margin-bottom: 25px;
        margin-left: auto;
        font-size: 13px;
        line-height: 2;
    }

    .ef-home-hero__actions {
        justify-content: center;
    }

    .ef-home-hero__actions .btn {
        min-height: 48px;
        padding: 0 19px;
        font-size: 12px;
    }

    .ef-home-hero__trust {
        justify-content: center;
        gap: 12px;
    }

    .ef-home-hero__trust-item {
        font-size: 10px;
    }

    .ef-home-hero__visual {
        min-height: 390px;
        margin-top: 5px;
    }

    .ef-home-hero__image {
        width: min(310px, 76%);
    }

    .ef-home-hero__image-ring {
        width: min(350px, 86%);
    }

    .ef-home-hero__floating-card {
        left: 3%;
        bottom: 30px;
        min-width: 190px;
        padding: 10px 12px;
        font-size: 10px;
    }

    .ef-home-hero__floating-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 16px;
    }

    .ef-home-intro {
        padding: 70px 0;
    }

    .ef-home-intro__visual {
        max-width: 450px;
        padding-right: 20px;
        padding-bottom: 20px;
    }

    .ef-home-intro__badge {
        right: 5px;
        bottom: 42px;
    }

    .ef-home-intro__content h2 {
        font-size: 29px;
    }

    .ef-home-intro__lead {
        font-size: 13px;
    }

    .ef-home-features,
    .ef-home-courses,
    .ef-home-team {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .ef-feature-card {
        min-height: 245px;
        padding: 27px 23px;
    }

    .ef-level-card__body h3,
    .ef-level-card__body p {
        min-height: auto;
    }

    .ef-home-courses__footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ef-home-cta {
        padding: 65px 0;
        text-align: center;
    }

    .ef-home-cta__content h2 {
        font-size: 29px;
    }

    .ef-home-cta__content p {
        font-size: 13px;
    }

    .ef-home-cta__action {
        align-items: center;
    }

}


/* ==========================================================
   Small Mobile
========================================================== */

@media (max-width: 575px) {

    .ef-home-hero__content {
        padding-top: 48px;
    }

    .ef-home-hero__content h1 {
        font-size: 30px;
    }

    .ef-home-hero__content p {
        font-size: 12px;
    }

    .ef-home-hero__visual {
        min-height: 330px;
    }

    .ef-home-hero__image {
        width: 250px;
    }

    .ef-home-hero__image-ring {
        width: 285px;
    }

    .ef-home-hero__floating-card {
        left: 2%;
        bottom: 20px;
        min-width: 170px;
    }

    .ef-home-intro__content h2 {
        font-size: 26px;
    }

    .ef-home-intro__point > span {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .ef-home-intro__point h4 {
        font-size: 14px;
    }

    .ef-home-intro__point p {
        font-size: 11px;
    }

    .ef-feature-card {
        min-height: auto;
    }

    .ef-section-heading h2 {
        font-size: 25px;
    }

    .ef-home-cta__content h2 {
        font-size: 26px;
    }

}


/* ==========================================================
   Very Small Mobile
========================================================== */

@media (max-width: 375px) {

    .ef-home-hero__content h1 {
        font-size: 27px;
    }

    .ef-home-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .ef-home-hero__actions .btn {
        width: 100%;
    }

    .ef-home-hero__visual {
        min-height: 305px;
    }

    .ef-home-hero__image {
        width: 225px;
    }

    .ef-home-hero__image-ring {
        width: 255px;
    }

    .ef-home-hero__floating-card {
        min-width: 155px;
        font-size: 9px;
    }

}



































































/* =========================================================
   INTRO
========================================================= */

.ef-courses-intro {
    padding: 90px 0 45px;
    background: #fff;
}

.ef-courses-intro__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 42px;
}

.ef-courses-intro__head > div {
    max-width: 620px;
}

.ef-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ef-blue);
    font-size: 14px;
    font-weight: 800;
}

.ef-section-label::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 3px;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 10px;
    background: var(--ef-red);
}

.ef-courses-intro__head h2 {
    margin: 0;
    color: var(--ef-navy);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.5;
}

.ef-courses-intro__head h2 span {
    color: var(--ef-blue);
}

.ef-courses-intro__head p {
    max-width: 500px;
    margin: 0;
    color: var(--ef-muted);
    font-size: 15px;
    line-height: 2;
}


/* =========================================================
   COURSE GRID
========================================================= */

.ef-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}


/* =========================================================
   COURSE CARD
========================================================= */

.ef-course-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ef-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(11, 15, 46, .07);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.ef-course-card:hover {
    transform: translateY(-7px);
    border-color: rgba(11, 16, 245, .22);
    box-shadow: 0 22px 55px rgba(11, 15, 46, .12);
}


/* Gold card */

.ef-course-card--gold {
    border-color: rgba(11, 16, 245, .28);
    box-shadow:
        0 18px 50px rgba(11, 16, 245, .13),
        0 0 0 1px rgba(11, 16, 245, .04);
}

.ef-course-card--gold::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--ef-blue),
        #5960FF,
        var(--ef-red)
    );
    z-index: 4;
}


/* =========================================================
   IMAGE
========================================================= */

.ef-course-card__image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #101644,
        #1824A8
    );
}

.ef-course-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}

.ef-course-card:hover .ef-course-card__image img {
    transform: scale(1.055);
}

.ef-course-card__image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(11,15,46,.05) 25%,
            rgba(11,15,46,.75) 100%
        );
    pointer-events: none;
}

.ef-course-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.9);
    font-size: 65px;
}

.ef-course-card__medal {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    font-size: 27px;
}

.ef-course-card__featured {
    position: absolute;
    left: 18px;
    top: 20px;
    z-index: 3;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ef-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 7px 20px rgba(11,16,245,.35);
}


/* =========================================================
   BODY
========================================================= */

.ef-course-card__body {
    padding: 27px 25px 23px;
}

.ef-course-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.ef-course-card__label {
    display: block;
    margin-bottom: 5px;
    color: var(--ef-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ef-course-card__heading h3 {
    margin: 0;
    color: var(--ef-navy);
    font-size: 27px;
    font-weight: 800;
}

.ef-course-card__number {
    color: rgba(11,15,46,.10);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.ef-course-card__subtitle {
    margin: 13px 0 0;
    color: #353A54;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}


/* =========================================================
   META
========================================================= */

.ef-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.ef-course-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 9px;
    background: var(--ef-light);
    color: #5F657A;
    font-size: 12px;
    font-weight: 600;
}

.ef-course-card__meta i {
    color: var(--ef-blue);
    font-size: 15px;
}


/* =========================================================
   TOGGLE
========================================================= */

.ef-course-card__toggle {
    width: 100%;
    min-height: 52px;
    margin-top: 23px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(11,16,245,.16);
    border-radius: 13px;
    background: rgba(11,16,245,.035);
    color: var(--ef-blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.ef-course-card__toggle:hover,
.ef-course-card.is-open .ef-course-card__toggle {
    border-color: var(--ef-blue);
    background: var(--ef-blue);
    color: #fff;
}

.ef-course-card__toggle-icon {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11,16,245,.08);
    transition: transform .35s ease, background .25s ease;
}

.ef-course-card__toggle:hover .ef-course-card__toggle-icon,
.ef-course-card.is-open .ef-course-card__toggle-icon {
    background: rgba(255,255,255,.15);
}

.ef-course-card.is-open .ef-course-card__toggle-icon {
    transform: rotate(180deg);
}


/* =========================================================
   EXPANDABLE DETAILS
========================================================= */

.ef-course-card__details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows .45s ease,
        opacity .3s ease;
}

.ef-course-card.is-open .ef-course-card__details {
    grid-template-rows: 1fr;
    opacity: 1;
}

.ef-course-card__details-inner {
    min-height: 0;
    overflow: hidden;
}

.ef-course-card__details-divider {
    width: 100%;
    height: 1px;
    margin: 23px 0;
    background: var(--ef-border);
}

.ef-course-card__description {
    color: #555C72;
    font-size: 14px;
    line-height: 2.25;
}

.ef-course-card__description strong {
    color: var(--ef-navy);
}

.ef-course-card__description ul {
    margin: 12px 0;
    padding-right: 20px;
}

.ef-course-card__description li {
    margin-bottom: 7px;
}


/* =========================================================
   REGISTER BOX
========================================================= */

.ef-course-card__register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(11,16,245,.055),
            rgba(241,20,20,.035)
        );
    border: 1px solid rgba(11,16,245,.10);
}

.ef-course-card__register div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ef-course-card__register span {
    color: #70768A;
    font-size: 12px;
}

.ef-course-card__register strong {
    color: var(--ef-navy);
    font-size: 14px;
    line-height: 1.7;
}

.ef-course-card__register-btn {
    flex-shrink: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 11px;
    background: var(--ef-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform .25s ease,
        background .25s ease;
}

.ef-course-card__register-btn:hover {
    color: #fff;
    background: #080CC4;
    transform: translateY(-2px);
}

.ef-course-card__close {
    width: 100%;
    margin-top: 14px;
    padding: 9px;
    border: 0;
    background: transparent;
    color: #858A9B;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease;
}

.ef-course-card__close:hover {
    color: var(--ef-blue);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.ef-courses-empty {
    max-width: 650px;
    margin: 20px auto 50px;
    padding: 65px 30px;
    text-align: center;
    border: 1px solid var(--ef-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(11,15,46,.06);
}

.ef-courses-empty__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(11,16,245,.07);
    color: var(--ef-blue);
    font-size: 35px;
}

.ef-courses-empty h3 {
    margin: 0 0 9px;
    color: var(--ef-navy);
    font-size: 22px;
    font-weight: 800;
}

.ef-courses-empty p {
    margin: 0 0 24px;
    color: var(--ef-muted);
    line-height: 2;
}

.ef-courses-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 11px;
    background: var(--ef-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.ef-courses-cta {
    padding: 45px 0 95px;
    background: #fff;
}

.ef-courses-cta__box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px 45px;
    border-radius: 25px;
    background:
        linear-gradient(
            125deg,
            var(--ef-navy),
            #151E6A
        );
    box-shadow: 0 22px 60px rgba(11,15,46,.18);
}

.ef-courses-cta__box::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(241,20,20,.16);
}

.ef-courses-cta__content {
    position: relative;
    z-index: 2;
}

.ef-courses-cta__content > span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 600;
}

.ef-courses-cta__content h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.ef-courses-cta__content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 2;
}

.ef-courses-cta__button {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 23px;
    border-radius: 13px;
    background: #fff;
    color: var(--ef-blue);
    font-size: 14px;
    font-weight: 800;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.ef-courses-cta__button:hover {
    background: var(--ef-blue);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .ef-courses-grid {
        gap: 18px;
    }

    .ef-course-card__body {
        padding: 23px 20px 20px;
    }

    .ef-course-card__heading h3 {
        font-size: 24px;
    }

    .ef-courses-intro__head {
        gap: 30px;
    }

}


@media (max-width: 991px) {

    .ef-courses-hero {
        min-height: 300px;
    }

    .ef-courses-intro {
        padding-top: 70px;
    }

    .ef-courses-intro__head {
        display: block;
        margin-bottom: 35px;
    }

    .ef-courses-intro__head p {
        max-width: 700px;
        margin-top: 18px;
    }

    .ef-courses-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ef-course-card--gold {
        grid-column: 1 / -1;
    }

    .ef-course-card--gold .ef-course-card__image {
        height: 270px;
    }

    .ef-courses-cta__box {
        padding: 35px 30px;
    }

}


@media (max-width: 767px) {

    .ef-courses-hero__content {
        padding: 45px 0;
    }

    .ef-courses-hero__content h1 {
        font-size: 31px;
    }

    .ef-courses-hero__content p {
        font-size: 15px;
    }

    .ef-courses-grid {
        grid-template-columns: 1fr;
    }

    .ef-course-card--gold {
        grid-column: auto;
    }

    .ef-course-card__image,
    .ef-course-card--gold .ef-course-card__image {
        height: 225px;
    }

    .ef-course-card__register {
        align-items: stretch;
        flex-direction: column;
    }

    .ef-course-card__register-btn {
        width: 100%;
    }

    .ef-courses-cta__box {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 24px;
    }

    .ef-courses-cta__button {
        width: 100%;
    }

}


@media (max-width: 575px) {

    .ef-courses-hero {
        min-height: 280px;
    }

    .ef-courses-hero__content {
        padding: 38px 0;
    }

    .ef-courses-hero__eyebrow {
        font-size: 12px;
    }

    .ef-courses-hero__content h1 {
        font-size: 27px;
        line-height: 1.55;
    }

    .ef-courses-hero__content p {
        font-size: 14px;
        line-height: 2;
    }

    .ef-courses-intro {
        padding: 55px 0 30px;
    }

    .ef-courses-intro__head h2 {
        font-size: 28px;
    }

    .ef-course-card {
        border-radius: 20px;
    }

    .ef-course-card__image {
        height: 205px;
    }

    .ef-course-card__body {
        padding: 22px 18px 18px;
    }

    .ef-course-card__heading h3 {
        font-size: 23px;
    }

    .ef-course-card__subtitle {
        font-size: 14px;
    }

    .ef-course-card__meta span {
        font-size: 11px;
    }

    .ef-course-card__description {
        font-size: 13px;
        line-height: 2.15;
    }

    .ef-courses-cta {
        padding-bottom: 65px;
    }

}


@media (max-width: 375px) {

    .ef-courses-hero__content h1 {
        font-size: 24px;
    }

    .ef-course-card__medal {
        width: 46px;
        height: 46px;
        font-size: 23px;
    }

    .ef-course-card__featured {
        font-size: 10px;
        padding: 6px 9px;
    }

    .ef-course-card__heading h3 {
        font-size: 21px;
    }

    .ef-courses-cta__content h2 {
        font-size: 23px;
    }

}






















