/* ==========================================================================
   HOMEPAGE STYLING FOR CLB TOÃN 9+ / CLMATH
   Includes Hero Banner Slider, About CLMATH, Why Choose Us, Exam Prep,
   Achievements, Document Library, Feedback/News & Register Form Section.
   ========================================================================== */

/* Common Container */
.home-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. HERO SLIDER SECTION
   ========================================================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f8fafc;
}

.hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.hero-slider:not(.slick-initialized) .hero-slide-item:not(:first-child) {
    display: none;
}

.hero-slide-item {
    position: relative;
    width: 100%;
    display: block;
    outline: none;
}

.hero-slide-link {
    display: block;
    width: 100%;
    text-decoration: none;
    outline: none;
}

.hero-slide-item picture,
.hero-slide-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-slide-item img.img-pc {
    display: block;
}

.hero-slide-item img.img-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-slide-item img.img-pc {
        display: none !important;
    }

    .hero-slide-item img.img-mobile {
        display: block !important;
    }
}

/* Large Next/Prev Arrows on Hover */
.hero-arrow {
    opacity: 1;
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: #ddd8d7cf !important;
    /* backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); */
    border: none;
    border-radius: 8px;
    color: #001594;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); */
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-prev {
    left: 25px;
}

.hero-next {
    right: 25px;
}


/* .hero-arrow:hover {
    background: #e31b23;
    color: #ffffff;
    border-color: #e31b23;
    box-shadow: 0 8px 24px rgba(227, 27, 35, 0.5);
    transform: translate(0, -50%) scale(1.08) !important;
} */

/* Custom Progress Dots & Play/Pause Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 25;
    /* background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); */
}

.hero-progress-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot-item {
    background: none;
    border: none;
    padding: 6px 2px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
}

.hero-dot-bar {
    width: 96px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot-item:hover .hero-dot-bar {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #e31b23;
    border-radius: 2px;
}

.hero-dot-item.active .hero-dot-bar {
    background: rgba(255, 255, 255, 0.35);
}

/* .hero-dot-item.is-finished .hero-dot-progress {
    width: 100% !important;
} */

/* Play/Pause Button */
.hero-play-pause-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-play-pause-btn:hover {
    opacity: 1;
    transform: scale(1.15);
}

.hero-play-pause-btn .icon-play {
    display: none;
}

.hero-play-pause-btn .icon-pause {
    display: block;
}

/* When manually paused, show play icon */
.hero-slider-controls.is-paused .hero-play-pause-btn .icon-play {
    display: block;
}

.hero-slider-controls.is-paused .hero-play-pause-btn .icon-pause {
    display: none;
}

.hero-slider-section {
    min-height: 500px;
}

@media (max-width: 1280px) {
    .hero-slider-section {
        min-height: unset;
    }
}


@media (max-width: 768px) {
    .hero-slider-section {
        min-height: 150px;
    }
}

/* ==========================================================================
   2. ABOUT CLMATH SECTION (GIá»šI THIá»†U Vá»€ CLMATH)
   ========================================================================== */

.home-about-section {
    padding: 45px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 45px;
    align-items: center;
}

.about-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(14, 56, 122, 0.1);
    background-color: #f1f5f9;
}

.about-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-box:hover img {
    transform: scale(1.03);
}

.about-content-box {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 30px;
    font-weight: 700;
    color: #001594;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0 0 14px 0;
    letter-spacing: 0.5px;
}

.about-title .text-red {
    color: #e31b23;
}

.about-subtitle {
    font-size: 16px;
    /* color: #334155; */
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-subtitle strong {
    color: #001594;
    font-weight: 700;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    /* width: 44px;
    height: 44px;
    background: #f0f4fa;
    border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001594;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* .about-feature-item:hover .about-feature-icon {
    background: #e31b23;
    color: #ffffff;
    transform: scale(1.08);
} */

.about-feature-icon svg,
.about-feature-icon img,
.about-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.about-feature-text {
    flex: 1;
}

.about-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #001594;
    margin: 0 0 4px 0;
}

.about-feature-desc {
    font-size: 14px;
    /* color: #64748b; */
    line-height: 1.55;
    margin: 0;
}

.btn-about-more {
    display: inline-block;
    align-self: flex-start;
    background-color: #001594;
    color: #ffffff !important;
    padding: 10px 35px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(14, 56, 122, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-about-more:hover {
    background-color: #e31b23;
    color: #ffffff !important;

    transform: translateY(-2px);
}

/* ==========================================================================
   3. WHY CHOOSE US SECTION (VÃŒ SAO CHá»ŒN CLB TOÃN 9+)
   ========================================================================== */

.home-why-section {
    padding: 20px 0 60px;
}

.why-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #001594;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
}

.why-section-title .text-red {
    color: #e31b23;
}

.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.why-card-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 16px 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(14, 56, 122, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 0;
}

.why-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14, 56, 122, 0.12);
    /* border-color: rgba(227, 27, 35, 0.3); */
}

.why-card-icon-wrap {
    /* width: 54px; */
    /* height: 54px; */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 50%; */
    /* background: #f0f4fa; */
    transition: all 0.3s ease;
}

.why-card-box:hover .why-card-icon-wrap {
    /* background: #e31b23; */
    /* transform: scale(1.08); */
}

.why-card-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.why-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #001594;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.why-card-desc {
    font-size: 14px;
    /* color: #64748b; */
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

@media (max-width: 480px) {
    .home-why-section {
        padding: 20px 0 45px;
    }
}

/* ==========================================================================
   4. EXAM PREPARATION SECTION (LUYá»†N THI)
   ========================================================================== */

.home-exam-prep-section {
    padding: 0px 0 50px;
    background-color: #ffffff;
}

@media (max-width: 480px) {
    .home-exam-prep-section {
        padding: 0px 0 30px;
    }
}

.exam-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #001594;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 35px 0;
    letter-spacing: 0.5px;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    margin-bottom: 30px;
}

.exam-item {
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
    display: block;
}

.exam-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #cbd5e1;
}

.exam-icon-wrap {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.exam-title {
    font-size: 20px;
    font-weight: 700;
    color: #001594;
    margin: 0 0 8px 0;
}

.exam-desc {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 250px;
}

.btn-exam-more {
    display: inline-block;
    background-color: #001594;
    color: #ffffff !important;
    padding: 10px 35px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(14, 56, 122, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-exam-more:hover {
    background-color: #e31b23;
    color: #ffffff !important;

    transform: translateY(-2px);
}

/* ==========================================================================
   5. ACHIEVEMENTS SECTION (THÃ€NH TÃCH Cá»¦A CHÃšNG TÃ”I)
   ========================================================================== */

.home-achievements-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #071b42 0%, #001594 100%);
    position: relative;
    overflow: hidden;
}

.achievements-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 35px 0;
    letter-spacing: 0.5px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 25px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 0;
}

.achievement-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.achievement-icon-wrap {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

.achievement-number {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.achievement-label {
    font-size: 16px;
    color: #cbd5e1;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .home-achievements-section {
        padding: 35px 0;
    }
}

/* ==========================================================================
   6. DOCUMENT LIBRARY SECTION (THÆ¯ VIá»†N TÃ€I LIá»†U - MAX 5 ITEMS PER TAB)
   ========================================================================== */

.home-docs-section {
    padding: 40px 0;
    background-color: #f8fafc;
}

.docs-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #001594;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 22px 0;
    letter-spacing: 0.5px;
}

/* Docs Tabs Nav */
.docs-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    max-width: 100%;
    width: max-content;
    margin: 0 auto 25px auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.docs-tabs-nav::-webkit-scrollbar {
    height: 4px;
}

.docs-tabs-nav::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.docs-tabs-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.docs-tabs-nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.doc-tab-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #475569;
    padding: 8px 4px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease;
    outline: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.doc-tab-btn:hover {
    color: #001594;
}

.doc-tab-btn.active {
    color: #001594;
    font-weight: 800;
}

.doc-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background-color: #001594;
    border-radius: 2px;
}

/* Docs Tab Content Panels */
.doc-tab-panel {
    display: none;
}

.doc-tab-panel.active {
    display: block;
    animation: docsFadeIn 0.35s ease forwards;
}

@keyframes docsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@media (max-width: 768px) {
    .home-docs-section {
        padding: 30px 0;
    }
}

/* ==========================================================================
   7. FEEDBACK & NEWS DUAL SECTION (Cáº¢M NHáº¬N PHá»¤ HUYNH & TIN Tá»¨C)
   ========================================================================== */

.home-feedback-news-section {
    padding: 30px 0 0px;
    background-color: #ffffff;
}

.feedback-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 35px;
    align-items: start;
}

.feedback-block {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.news-block {
    min-width: 0;
    width: 100%;
}

/* Titles */
.block-title-wrap {
    margin-bottom: 25px;
}

.block-header-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.block-title {
    font-size: 24px;
    font-weight: 700;
    color: #001594;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.3px;
    position: relative;
}

.view-all-link {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.view-all-link svg {
    transition: transform 0.2s ease;
}

.view-all-link:hover svg {
    transform: translateX(3px);
}

/* --- Feedback Block & Slider Safety --- */
.feedback-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    padding-bottom: 4px;
}

.feedback-slider:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.feedback-slider:not(.slick-initialized) .feedback-slide-item:not(:first-child) {
    display: none;
}

.feedback-slide-item {
    outline: none;
    padding: 4px;
    width: 100%;
    box-sizing: border-box;
}

.feedback-card {
    background: #f0f4fa;
    border-radius: 18px;
    padding: 28px 26px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(14, 56, 122, 0.05);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.feedback-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #001594;
    margin: 0 0 3px 0;
}

.author-role {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 6px 0;
}

.rating-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 20px;
}

.feedback-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feedback Slider Dots */
.feedback-slider .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    list-style: none;
    padding: 6px 0 10px 0 !important;
    margin: 8px 0 0 0 !important;
}

.feedback-slider .slick-dots li {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
}

.feedback-slider .slick-dots li.slick-active {
    transform: scale(1);
}

.feedback-slider .slick-dots li button::before,
.feedback-slider .slick-dots li button::after {
    display: none !important;
}

.feedback-slider .slick-dots li button {
    font-size: 0 !important;
    line-height: 0 !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #cbd5e1;
    border: none;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.feedback-slider .slick-dots li.slick-active button {
    background: #001594;
    border-radius: 50% !important;
    opacity: 1;
}

/* --- News Block (Slick Slider - 3 items) --- */
.js-news-slider .slick-list {
    margin: 0 -9px;
}

.js-news-slider .slick-slide {
    margin: 0 9px;
    box-sizing: border-box;
}

.news-card-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-thumb-box {
    position: relative;
    width: 100%;
    height: 145px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f1f5f9;
}

.news-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-link:hover .news-thumb-box img {
    transform: scale(1.06);
}

.news-card-body {
    display: flex;
    flex-direction: column;
}

.news-date-home {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

@media (max-width: 768px) {
    .block-title {
        font-size: 22px;
        text-align: center;
    }

    .home-feedback-news-section {
        padding: 20px 0 0px;
    }
}

/* ==========================================================================
   8. REGISTER FORM BANNER SECTION (ÄÄ‚NG KÃ Há»ŒC - MATCHING SAMPLE IMAGE)
   ========================================================================== */

.home-register-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.register-banner-card {
    background: linear-gradient(135deg, #031496 0%, #152d5d 100%);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(14, 56, 122, 0.2);
    position: relative;
    overflow: hidden;
}

.register-banner-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 35px;
    align-items: center;
    padding: 0 15px;
}

.register-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.register-image-box img,
.student-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.register-form-box {
    display: flex;
    flex-direction: column;
    padding: 30px 30px 20px 0;
}

.register-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.register-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 22px 0;
    font-weight: 400;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    width: 100%;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.form-row-1-2 {
    display: grid;
    grid-template-columns: calc((10 / 3) * 10% - 6.7px) auto;
    gap: 10px;
}

.form-group-full {
    width: 100%;
}

.reg-input {
    width: 100%;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13.5px;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.reg-input::placeholder {
    color: #94a3b8;
}

/* .reg-input:focus {
    border-color: #ffb800;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.35);
} */

.reg-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    cursor: pointer;
}

.form-row-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.btn-register-submit {
    background-color: #ffb800;
    color: #001594;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-register-submit:hover {
    background-color: #fbad18;
    color: #071b42;
}

.btn-register-submit svg {
    flex-shrink: 0;
}

.home-teacher-section {
    padding-top: 30px
}

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

@media (max-width: 1200px) {
    .why-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

}

@media (max-width: 992px) {


    .hero-arrow {
        width: 48px;
        height: 48px;
    }

    .hero-arrow svg {
        width: 24px;
        height: 24px;
    }

    .home-about-section {
        padding: 25px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-title {
        font-size: 26px;
    }

    .about-image-box {
        max-width: 650px;
        margin: 0 auto;
        order: 1;
    }

    .why-section-title,
    .exam-section-title,
    .achievements-section-title,
    .docs-section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .exam-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 0;
    }

    .exam-item:nth-child(2n)::after {
        display: none;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .docs-tabs-nav {
        gap: 18px;
    }

    .doc-tab-btn {
        font-size: 15px;
    }

    .feedback-news-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .register-banner-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .register-form-box {
        padding: 0;
    }

    .register-image-box {
        display: none;
    }

    .register-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .docs-tabs-nav {
        justify-content: left;
    }

    .hero-arrow {
        display: none !important;
    }

    .hero-slider .slick-dots {
        bottom: 12px;
    }

    .about-title {
        font-size: 22px;
    }

    .about-subtitle {
        font-size: 14px;
    }

    .about-features-list {
        gap: 18px;
        margin-bottom: 25px;
    }

    .why-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .why-card-box {
        padding: 22px 12px;
    }

    .doc-card-box:nth-child(5) {
        display: none;
    }

    .form-row-3,
    .form-row-1-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn-register-submit {
        width: 100%;
        justify-content: center;
    }

    .register-banner-card {
        padding: 25px 18px;
    }


    .block-title-wrap {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {


    .btn-about-more,
    .btn-exam-more,
    .btn-docs-more {
        width: 100%;
        text-align: center;
    }

    .why-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .why-card-title {
        font-size: 16px;
    }

    .why-card-desc {
        font-size: 12px;
    }

    .exam-grid {
        /* grid-template-columns: 1fr; */
        gap: 25px 0;
    }

    .exam-item {
        padding: 0 8px;
    }

    .exam-title {
        font-size: 18px;
    }

    .exam-desc {
        font-size: 13px;
    }

    .exam-item::after {
        display: none !important;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .achievement-card {
        padding: 24px 12px;
    }

    .achievement-number {
        font-size: 26px;
    }

    .achievement-label {
        font-size: 12.5px;
    }

    .docs-tabs-nav {
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
    }



    .doc-card-box {
        padding: 18px 10px 14px;
    }

    .doc-card-title {
        font-size: 13px;
    }

    .doc-card-meta {
        font-size: 11.5px;
        margin-bottom: 12px;
    }

    .btn-doc-download {
        font-size: 12px;
    }

    .news-thumb-box {
        height: 180px;
    }
}

/* ==========================================================================
   TRAINING PROGRAM SECTION (CHÆ¯Æ NG TRÃŒNH ÄÃ€O Táº O)
   ========================================================================== */

.home-program-section {
    padding: 0 0 40px;
    background-color: #ffffff;
}

.program-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #001594;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.program-cards-slider .slick-slide {
    margin: 15px 8px;
}

.program-cards-slider .slick-list {
    margin: 0 -8px;
}

.program-card-inner {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(14, 56, 122, 0.08);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.program-card-inner:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 14px 32px rgba(14, 56, 122, 0.16); */
}

.program-card-top {
    position: relative;
    padding: 20px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 17px 17px 0 0;
    /* overflow: hidden; */
}

/* Card color gradients matching mockup */
.card-yellow .program-card-top {
    background: linear-gradient(180deg, #ffc107 0%, #f59e0b 100%);
}

.card-light-blue .program-card-top {
    background: linear-gradient(180deg, #38b6ff 0%, #1890ff 100%);
}

.card-ocean-blue .program-card-top {
    background: linear-gradient(180deg, #0084ff 0%, #0066cc 100%);
}

.card-red .program-card-top {
    background: linear-gradient(180deg, #ff4d4f 0%, #e31b23 100%);
}

.card-navy .program-card-top {
    background: linear-gradient(180deg, #18428c 0%, #001594 100%);
}

.card-gold .program-card-top {
    background: linear-gradient(180deg, #ffc107 0%, #f59e0b 100%);
}

.program-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    z-index: 2;
    position: relative;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 53px;
}

.program-student-img-wrap {
    /* height: 175px; */
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
    z-index: 1;
    position: relative;
}

.program-student-img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
    /* transform: translateY(22px); */
}

.program-card-bottom {
    background: #ffffff;
    padding: 16px 12px 20px;
    text-align: center;
    border-radius: 0 0 17px 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-program-action {
    display: inline-block;
    width: 100%;
    max-width: 150px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    text-align: center;
    line-height: 1.3;
    border: 2px solid var(--card-color, #f59e0b);
    color: var(--card-color, #f59e0b);
    background-color: var(--card-bg-light, rgba(245, 158, 11, 0.12));
}

/* Button color styles matching design mockup */
.btn-yellow {
    background-color: #fff9e6;
    border: 1.5px solid #f59e0b;
    color: #333333;
}

.btn-yellow:hover {
    background-color: #f59e0b;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-light-blue {
    background-color: #e6f7ff;
    border: 1.5px solid #1890ff;
    color: #333333;
}

.btn-light-blue:hover {
    background-color: #1890ff;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.35);
}

.btn-ocean-blue {
    background-color: #e6f2ff;
    border: 1.5px solid #0066cc;
    color: #333333;
}

.btn-ocean-blue:hover {
    background-color: #0066cc;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.35);
}

.btn-red {
    background-color: #ffe6e6;
    border: 1.5px solid #e31b23;
    color: #333333;
}

.btn-red:hover {
    background-color: #e31b23;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.35);
}

.btn-yellow-navy {
    background-color: #fff9e6;
    border: 1.5px solid #f59e0b;
    color: #333333;
}

.btn-yellow-navy:hover {
    background-color: #f59e0b;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-gold {
    background-color: #fff9e6;
    border: 1.5px solid #f59e0b;
    color: #333333;
}

.btn-gold:hover {
    background-color: #f59e0b;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Slick Dots Custom Styling for Program Section */
.program-cards-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.program-cards-slider .slick-dots li {
    margin: 0;
    padding: 0;
}

.program-cards-slider .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-cards-slider .slick-dots li.slick-active button {
    background-color: #001594;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 1200px) {

    .program-card-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .home-program-section {
        padding: 0 0 45px;
    }

    .program-section-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .program-card-title {
        font-size: 18px;
    }

    .btn-program-action {
        font-size: 12px;
        padding: 7px 10px;
    }
}
