/*primary color*/
.bg-cream {
    background-color: #FFF2E1;
}
.hero-wave {
    color: #f4f8ff;
}

/*font*/
body {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

/* Site-wide type scale */
h1 { line-height: 1.25; }
.text-5xl { font-size: 52px; line-height: 1.16; }
.text-3xl { font-size: 36px; line-height: 1.28; }
.text-2xl { font-size: 32px; line-height: 1.3; }
.text-xl { font-size: 22px; line-height: 1.35; }
.text-lg { font-size: 18px; }
.text-sm { font-size: 14px; }
p { font-size: 18px; line-height: 1.65; }
.hero-description { font-size: 20px !important; line-height: 1.55; margin-bottom: 80px !important; }
nav .text-sm { font-size: 15px; }
button { font-size: 16px; }
footer p, footer label, footer a { font-size: 14px; }

.bg-yellow-500 {
    background-color: #F48C06;
}
.text-yellow-500 {
    color: #F48C06;
}
.floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating-4 { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
}
.text-darken {
    color: #2F327D;
}

/* Simple, consistent hover states */
a, button, .grid.md\:grid-cols-3 > div {
    transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
nav a:hover,
.container a:hover { color: #F48C06; }
button:hover { transform: translateY(-2px); }
.grid.md\:grid-cols-3 > div {
    border: 2px solid #e1e8f7;
}
.bg-yellow-500,
button.bg-yellow-500 {
    box-shadow: 0 8px 16px rgba(244, 140, 6, .22);
}
.bg-yellow-500:hover,
button.bg-yellow-500:hover {
    background-color: #dc7900;
    box-shadow: 0 12px 22px rgba(244, 140, 6, .3);
}
.border-yellow-500 {
    border-width: 1px;
    border-color: #F48C06 !important;
    color: #F48C06 !important;
}
.border-yellow-500:hover {
    background-color: #F48C06;
    color: #fff !important;
}
.container a.underline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F48C06;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 3px;
}
.container a.underline::after {
    content: "→";
    transition: transform .2s ease;
}
.container a.underline:hover::after { transform: translateX(4px); }
.grid.md\:grid-cols-3 > div:hover {
    transform: translateY(-12px);
    border-color: #F48C06;
    box-shadow: 0 22px 38px rgba(47, 50, 125, .20) !important;
}
.grid.md\:grid-cols-3 > div > div:first-child {
    transition: transform .25s ease, box-shadow .25s ease;
}
.grid.md\:grid-cols-3 > div:hover > div:first-child {
    transform: translateY(-3.35rem) scale(1.1);
    box-shadow: 0 14px 24px rgba(47, 50, 125, .24) !important;
}
.grid.md\:grid-cols-3 > div h1 {
    transition: color .2s ease;
}
.grid.md\:grid-cols-3 > div:hover h1 {
    color: #F48C06 !important;
}

/* Classroom-interface benefits */
.clarity-interface-points > .flex {
    margin: 14px 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(47, 50, 125, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.clarity-interface-points > .flex:hover {
    transform: translateX(6px);
    border-color: rgba(244, 140, 6, .42);
    box-shadow: 0 12px 24px rgba(47, 50, 125, .12);
}
.clarity-interface-points > .flex p {
    margin: 0;
    font-size: 17px !important;
    line-height: 1.55;
}
.clarity-interface-points > .flex > div:first-child {
    box-shadow: 0 6px 14px rgba(47, 50, 125, .12);
}

/* News and trusted-partner highlights */
.news-heading h1 { position: relative; display: inline-block; }
.news-heading h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: #F48C06;
}
.news-featured,
.news-item {
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.news-featured {
    padding: 14px;
    border: 1px solid #e9edf5;
    border-radius: 18px;
    background: #fff;
}
.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(47, 50, 125, .12);
}
.news-item {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 14px;
}
.news-item:hover {
    transform: translateX(6px);
    border-color: #e8edf7;
    background: #f9fbff;
}
.news-item:hover h1 { color: #F48C06 !important; }
.news-list {
    gap: 10px !important;
}
.news-item {
    padding: 6px 8px;
}
.news-item h1 {
    font-size: 16px !important;
    line-height: 1.45;
}
.news-item p {
    margin: 6px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.45;
}
.home-overview,
.news-section {
    position: relative;
    isolation: isolate;
}
.home-overview::before,
.news-section::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: calc(50% - 50vw);
    bottom: 0;
    left: calc(50% - 50vw);
    content: "";
}
.home-overview {
    padding: 72px 0 64px;
}
.home-overview::before {
    background: linear-gradient(135deg, #f4f8ff 0%, #edf5ff 100%);
}
.home-overview .clarity-copy--intro {
    margin-top: 0 !important;
}
.news-section {
    padding: 64px 0;
}
.news-section::before {
    background: linear-gradient(135deg, #fffaf3 0%, #fff2e3 100%);
}
.news-section .news-heading {
    margin-top: 0 !important;
}
.news-section .news-grid {
    margin-bottom: 0 !important;
}
@media (max-width: 640px) {
    .news-item h1 { font-size: 14px !important; }
    .news-item p { font-size: 12px !important; }
    .home-overview,
    .news-section { padding: 44px 0; }
}

/* Nháº¯p nÃ¨n xen káº½ giÃºp cÃ¡c khÃ³i ná»™i dung dÃ¯ dÃ ng nháº­n diá»‡n. */
.section-panel {
    padding: 52px 46px;
    margin-top: 0 !important;
    position: relative;
    isolation: isolate;
}
.section-panel::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: calc(50% - 50vw);
    bottom: 0;
    left: calc(50% - 50vw);
    content: "";
}
.section-panel--blue {
    background: #edf5ff;
}
.section-panel--blue::before {
    background: linear-gradient(135deg, #f4f8ff 0%, #edf5ff 100%);
}
.section-panel > button[data-aos="flip-up"] {
    margin-top: 28px !important;
    margin-bottom: 0 !important;
}
.feature-more-panel {
    position: relative;
    isolation: isolate;
    padding: 24px 0;
}
.feature-more-panel::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: calc(50% - 50vw);
    bottom: 0;
    left: calc(50% - 50vw);
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e3 100%);
    content: "";
}
.section-panel--first {
    margin-top: 0 !important;
}
.section-panel--peach {
    background: none;
}
.section-panel--peach::before {
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e3 100%);
}
.section-panel--mint {
    background: none;
}
.section-panel--mint::before {
    background: linear-gradient(135deg, #f1fbf8 0%, #eaf8f3 100%);
}
@media (max-width: 768px) {
    .section-panel {
        padding: 34px 20px;
    }
    .section-panel--first {
        margin-top: 0 !important;
    }
}
.trusted-section {
    display: none;
    max-width: 1020px !important;
    padding: 12px 0;
    text-align: center;
}
.trusted-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 1px solid #f5b84c;
    border-radius: 999px;
    color: #F48C06;
    background: #fff8e9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}
.trusted-section__title {
    margin: 0;
    color: #174783;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.28;
}
.trusted-section__description {
    max-width: 780px;
    margin: 10px auto 8px;
    color: #65769a;
    font-size: 16px !important;
    line-height: 1.6;
}
.trusted-section__line {
    display: block;
    width: 54px;
    height: 3px;
    margin: 0 auto 22px;
    border-radius: 99px;
    background: #F48C06;
}
.trusted-section__viewport { overflow: hidden; width: 100%; }
.trusted-section__logos {
    display: flex;
    gap: 14px;
    width: calc(150% + 21px);
    animation: trusted-logo-scroll 10s ease-in-out 1 forwards;
}
.trusted-section__card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc((100% - 70px) / 6);
    min-height: 96px;
    padding: 16px;
    border: 1px solid #d6e3f5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(47, 50, 125, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.trusted-section__card:hover {
    transform: translateY(-5px);
    border-color: #F48C06;
    box-shadow: 0 12px 22px rgba(47, 50, 125, .12);
}
.trusted-section__card img { max-width: 100%; transition: transform .2s ease; }
.trusted-section__card:hover img { transform: scale(1.06); }

@keyframes trusted-logo-scroll {
    0%, 45% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.333333% - 7px)); }
}

@media (max-width: 768px) {
    .trusted-section__title { font-size: 26px; }
    .trusted-section__description { font-size: 15px !important; }
    .trusted-section__logos { width: calc(300% + 42px); animation: none; }
    .trusted-section__card { flex-basis: calc((100% - 70px) / 6); min-height: 82px; padding: 12px; }
}

/* Larger reading scale for the main learning-content sections */
.clarity-copy--intro h1 { font-size: 32px !important; line-height: 1.3; }
.clarity-copy--medium h1 { font-size: 32px !important; line-height: 1.3; }
.clarity-copy--large h1 { font-size: 36px !important; line-height: 1.28; }
.clarity-copy p { font-size: 18px !important; line-height: 1.65; }
.clarity-copy a { font-size: 18px; }

/* Use the full text column; the original Tailwind right padding caused early wrapping. */
.clarity-copy h1,
.clarity-copy p {
    padding-right: 0 !important;
    max-width: none;
}

@media (max-width: 768px) {
    .text-5xl { font-size: 38px; }
    .text-3xl { font-size: 30px; }
    .text-2xl { font-size: 28px; }
    .text-xl { font-size: 20px; }
    p { font-size: 16px; }
    .hero-description { font-size: 20px !important; }
    nav .text-sm, button { font-size: 15px; }
    .clarity-copy--large h1 { font-size: 30px !important; }
    .clarity-copy--intro h1,
    .clarity-copy--medium h1 { font-size: 26px !important; }
    .clarity-copy p { font-size: 18px !important; }
    .clarity-copy a { font-size: 18px; }
}
