/* =========================================
   HOANG MAI CHICH BONG - EDUCATION SECTION
========================================= */

.hm-edu {
    --edu-green: #16864A;
    --edu-dark: #08613D;
    --edu-orange: #FF8A24;
    --edu-yellow: #FFD84D;
    --edu-cream: #FFF9E9;
    --edu-light-green: #E8F6E9;
    --edu-text: #294438;
    --edu-muted: #718078;

    position: relative;
    overflow: hidden;
    padding: 90px 20px;
    background: #fff;
    color: var(--edu-text);
    font-family: "Be Vietnam Pro", sans-serif;
}

.hm-edu,
.hm-edu * {
    box-sizing: border-box;
}

.hm-edu__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hm-edu h2,
.hm-edu h3,
.hm-edu h4,
.hm-edu p {
    margin-top: 0;
}

.hm-edu h2,
.hm-edu h3,
.hm-edu h4 {
    font-family: "Nunito", "Be Vietnam Pro", sans-serif;
    color: var(--edu-text);
}

.hm-edu p {
    color: var(--edu-muted);
    font-size: 14px;
    line-height: 1.85;
}

.hm-edu a {
    text-decoration: none !important;
}

/* HEADER */

.hm-edu__header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.hm-edu__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 30px;
    background: var(--edu-light-green);
    color: var(--edu-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.hm-edu__eyebrow-icon {
    color: var(--edu-orange);
    font-size: 17px;
}

.hm-edu__title {
    margin: 22px 0 16px !important;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.2px;
    text-transform: uppercase!important;
}

.hm-edu__title span {
    display: block;
    margin-top: 5px;
    color: var(--edu-green);
}

.hm-edu__description {
    max-width: 650px;
    margin: 0 auto;
    font-size: 15px;
}

/* INTRO */

.hm-edu__intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 45px;
    margin-bottom: 90px;
    padding: 48px;
    border-radius: 30px;
    background: var(--edu-cream);
}

.hm-edu__tag {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--edu-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.hm-edu__intro-content h3 {
    margin-bottom: 18px !important;
    font-size: clamp(27px, 3vw, 37px);
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase!important;
}

.hm-edu__intro-content > p {
    margin-bottom: 22px;
}

.hm-edu__checklist {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-edu__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--edu-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.hm-edu__checklist li span {
    display: inline-flex;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #D8EFD9;
    color: var(--edu-green);
    font-weight: 900;
}

/* INTRO VISUAL */

.hm-edu__intro-visual {
    position: relative;
    display: flex;
    min-height: 310px;
    align-items: center;
    justify-content: center;
}

.hm-edu__visual-circle {
    position: absolute;
    width: 275px;
    height: 275px;
    border: 2px dashed rgba(22, 134, 74, .25);
    border-radius: 50%;
}

.hm-edu__visual-circle::before,
.hm-edu__visual-circle::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.hm-edu__visual-circle::before {
    inset: 20px;
    background: #DDF1D9;
}

.hm-edu__visual-circle::after {
    inset: 42px;
    border: 1px solid rgba(22, 134, 74, .16);
}

.hm-edu__visual-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 230px;
    min-height: 205px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 5px solid #fff;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(37, 89, 55, .1);
    text-align: center;
}

.hm-edu__visual-icon {
    margin-bottom: 15px;
    font-size: 48px;
}

.hm-edu__visual-card strong {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 900;
}

.hm-edu__visual-card > span:last-child {
    color: var(--edu-muted);
    font-size: 12px;
    line-height: 1.7;
}

.hm-edu__floating {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 15px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
    color: var(--edu-text);
    font-size: 12px;
    font-weight: 800;
}

.hm-edu__floating span {
    font-size: 19px;
}

.hm-edu__floating--one {
    top: 25px;
    right: -5px;
}

.hm-edu__floating--two {
    bottom: 25px;
    left: 0;
}

/* SECTION HEADINGS */

.hm-edu__section-heading {
    max-width: 700px;
    margin: 0 auto 35px;
    text-align: center;
}

.hm-edu__mini-label {
    display: block;
    margin-bottom: 10px;
    color: var(--edu-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.hm-edu__section-heading h3 {
    margin-bottom: 12px !important;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 900;
    text-transform: uppercase!important;
}

.hm-edu__section-heading p {
    margin-bottom: 0;
}

.hm-edu__section-heading--activities {
    margin-top: 85px;
}

/* FIVE LEARNING AREAS */

.hm-edu__areas {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.hm-edu__area {
    grid-column: span 2;
    min-width: 0;
    padding: 25px;
    border: 1px solid transparent;
    border-radius: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hm-edu__area:nth-child(4) {
    grid-column: 2 / span 2;
}

.hm-edu__area:nth-child(5) {
    grid-column: 4 / span 2;
}

.hm-edu__area:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(35, 70, 46, .08);
}

.hm-edu__area--green {
    background: #EAF7EA;
    border-color: #D9EED9;
}

.hm-edu__area--orange {
    background: #FFF1E3;
    border-color: #FFE5CC;
}

.hm-edu__area--blue {
    background: #EAF5FF;
    border-color: #D8EAFE;
}

.hm-edu__area--pink {
    background: #FFF0F2;
    border-color: #FFE0E5;
}

.hm-edu__area--yellow {
    background: #FFF9DF;
    border-color: #F7EEC1;
}

.hm-edu__area-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.hm-edu__area-icon {
    display: inline-flex;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #fff;
    font-size: 28px;
}

.hm-edu__area-number {
    color: rgba(41, 68, 56, .3);
    font-size: 24px;
    font-weight: 900;
}

.hm-edu__area h4 {
    margin-bottom: 10px !important;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
}

.hm-edu__area p {
    margin-bottom: 0;
    font-size: 13px;
}

/* ACTIVITIES */

.hm-edu__activities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hm-edu__activity {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid #EDF1ED;
    border-radius: 20px;
    background: #fff;
    transition: border-color .25s ease, transform .25s ease,
                box-shadow .25s ease;
}

.hm-edu__activity:hover {
    transform: translateY(-3px);
    border-color: #CDE8D0;
    box-shadow: 0 10px 30px rgba(35, 70, 46, .06);
}

.hm-edu__activity-icon {
    display: flex;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    font-size: 27px;
}

.hm-edu__activity-icon--green {
    background: #E8F6E9;
}

.hm-edu__activity-icon--orange {
    background: #FFF0E1;
}

.hm-edu__activity-icon--blue {
    background: #E9F4FF;
}

.hm-edu__activity-icon--pink {
    background: #FFF0F2;
}

.hm-edu__activity-icon--yellow {
    background: #FFF7D9;
}

.hm-edu__activity-icon--purple {
    background: #F2ECFF;
}

.hm-edu__activity h4 {
    margin: 3px 0 8px !important;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
}

.hm-edu__activity p {
    margin-bottom: 0;
    font-size: 13px;
}

/* SUMMER PROGRAM */

.hm-edu__summer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 65px;
    padding: 30px;
    border-radius: 23px;
    background: #FFF7D9;
}

.hm-edu__summer-icon {
    display: flex;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #fff;
    font-size: 37px;
}

.hm-edu__summer-content {
    flex: 1;
}

.hm-edu__summer-content .hm-edu__tag {
    margin-bottom: 7px;
    color: #A56A00;
}

.hm-edu__summer-content h3 {
    margin-bottom: 8px !important;
    font-size: 22px;
    font-weight: 900;
}

.hm-edu__summer-content p {
    margin-bottom: 0;
    font-size: 13px;
}

.hm-edu__summer-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 12px;
    background: var(--edu-green);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.hm-edu__summer-btn:hover {
    transform: translateY(-2px);
    background: var(--edu-dark);
    color: #fff !important;
}

.hm-edu__summer-btn span {
    font-size: 18px;
}

/* TEACHERS */

.hm-edu__teachers {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 22px;
    padding: 30px;
    border: 1px solid #E7F0E8;
    border-radius: 23px;
    background: #F8FCF8;
}

.hm-edu__teachers-icon {
    display: flex;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #E5F3E5;
    font-size: 35px;
}

.hm-edu__teachers-content {
    flex: 1;
}

.hm-edu__teachers-content h3 {
    margin-bottom: 8px !important;
    font-size: 21px;
    font-weight: 900;
}

.hm-edu__teachers-content p {
    margin-bottom: 0;
    font-size: 13px;
}

.hm-edu__teachers-badge {
    flex: 0 0 auto;
    color: var(--edu-green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}

.hm-edu__teachers-badge span {
    display: block;
    margin-bottom: 5px;
    color: #F45B68;
    font-size: 28px;
}

/* CTA */

.hm-edu__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 65px;
    padding: 40px;
    border-radius: 26px;
    background: var(--edu-green);
    box-shadow: 0 15px 35px rgba(22, 134, 74, .15);
}

.hm-edu__cta-content {
    flex: 1;
}

.hm-edu__cta-label {
    display: block;
    margin-bottom: 12px;
    color: #D7F4D8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.hm-edu__cta h3 {
    margin-bottom: 12px !important;
    color: #fff;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 900;
    line-height: 1.35;
}

.hm-edu__cta h3 span {
    color: var(--edu-yellow);
}

.hm-edu__cta-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.hm-edu__cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
}

.hm-edu__phone {
    display: inline-flex;
    min-width: 195px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    border-radius: 12px;
    background: var(--edu-orange);
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
}

.hm-edu__phone:hover {
    transform: translateY(-2px);
    background: #F07812;
    color: #fff !important;
}

.hm-edu__phone--secondary {
    border: 1px solid rgba(255, 255, 255, .45);
    background: transparent;
}

.hm-edu__phone--secondary:hover {
    background: rgba(255, 255, 255, .12);
}

/* TABLET */

@media (max-width: 1024px) {
    .hm-edu {
        padding: 70px 20px;
    }

    .hm-edu__intro {
        gap: 25px;
        padding: 32px;
    }

    .hm-edu__areas {
        gap: 14px;
    }

    .hm-edu__area {
        padding: 21px;
    }

    .hm-edu__area h4 {
        font-size: 16px;
    }

    .hm-edu__summer {
        flex-wrap: wrap;
    }

    .hm-edu__summer-content {
        min-width: 200px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .hm-edu {
        padding: 50px 15px;
    }

    .hm-edu__header {
        margin-bottom: 35px;
    }

    .hm-edu__title {
        font-size: 26px;
        letter-spacing: -.6px;
    }

    .hm-edu__description {
        font-size: 13px;
    }

    .hm-edu__intro {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 60px;
        padding: 25px 20px;
        border-radius: 22px;
    }

    .hm-edu__intro-content h3 {
        font-size: 28px;
    }

    .hm-edu__intro-visual {
        min-height: 275px;
        margin-top: 5px;
    }

    .hm-edu__visual-circle {
        width: 240px;
        height: 240px;
    }

    .hm-edu__visual-card {
        width: 205px;
        min-height: 180px;
        padding: 20px;
    }

    .hm-edu__visual-icon {
        font-size: 40px;
    }

    .hm-edu__floating--one {
        right: 0;
    }

    .hm-edu__floating--two {
        left: 0;
    }

    .hm-edu__section-heading {
        margin-bottom: 25px;
    }

    .hm-edu__section-heading h3 {
        font-size: 27px;
    }

    .hm-edu__section-heading p {
        font-size: 13px;
    }

    .hm-edu__areas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hm-edu__area,
    .hm-edu__area:nth-child(4),
    .hm-edu__area:nth-child(5) {
        grid-column: auto;
        padding: 17px;
        border-radius: 17px;
    }

    .hm-edu__area:last-child {
        grid-column: 1 / -1;
    }

    .hm-edu__area-top {
        margin-bottom: 15px;
    }

    .hm-edu__area-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
        font-size: 24px;
    }

    .hm-edu__area-number {
        font-size: 19px;
    }

    .hm-edu__area h4 {
        font-size: 15px;
    }

    .hm-edu__area p {
        font-size: 12px;
        line-height: 1.75;
    }

    .hm-edu__section-heading--activities {
        margin-top: 60px;
    }

    .hm-edu__activities {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hm-edu__activity {
        gap: 14px;
        padding: 18px;
        border-radius: 17px;
    }

    .hm-edu__activity-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 23px;
    }

    .hm-edu__activity h4 {
        font-size: 15px;
    }

    .hm-edu__activity p {
        font-size: 12px;
    }

    .hm-edu__summer {
        gap: 15px;
        margin-top: 45px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .hm-edu__summer-icon {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
        border-radius: 16px;
        font-size: 28px;
    }

    .hm-edu__summer-content {
        min-width: 0;
    }

    .hm-edu__summer-content h3 {
        font-size: 19px;
    }

    .hm-edu__summer-content p {
        font-size: 12px;
    }

    .hm-edu__summer-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .hm-edu__teachers {
        align-items: flex-start;
        gap: 14px;
        margin-top: 15px;
        padding: 20px 17px;
        border-radius: 18px;
    }

    .hm-edu__teachers-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 25px;
    }

    .hm-edu__teachers-content h3 {
        font-size: 17px;
    }

    .hm-edu__teachers-content p {
        font-size: 12px;
    }

    .hm-edu__teachers-badge {
        display: none;
    }

    .hm-edu__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 23px;
        margin-top: 45px;
        padding: 27px 21px;
        border-radius: 20px;
        text-align: center;
    }

    .hm-edu__cta h3 {
        font-size: 25px;
    }

    .hm-edu__cta-label {
        font-size: 9px;
        line-height: 1.7;
    }

    .hm-edu__cta-content p {
        font-size: 12px;
    }

    .hm-edu__cta-actions {
        width: 100%;
    }

    .hm-edu__phone {
        width: 100%;
        min-width: 0;
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-edu *,
    .hm-edu *::before,
    .hm-edu *::after {
        transition: none !important;
        animation: none !important;
    }
}