/* ==========================================================================
   0. RESET & CHỦ ĐỀ HỆ THỐNG (VARIABLES)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* --- HỆ THỐNG MÀU SẮC (COLORS) --- */
    --primary-color: #7dd3fc;
    /* Xanh nhạt bầu trời */
    --secondary-color: #0369a1;
    /* Xanh đậm đại dương */
    --hover-color: #0c4a6e;
    --text-color: #0f172a;
    /* Xám đen Slate cao cấp */
    --text-color-light: #ffffff;
    --bg-light: #f0f9ff;
    /* Nền xanh băng siêu nhạt dịu mắt */
    --white: #ffffff;
    --gray: #64748b;
    --black: #000000;
    --orange: #e5b842;
    --graylight: #ccc;
    --lightwhite: #e0e0e0;
    --lightwhite1: #bbb;
    --blacklight: #333;
    --btn-color: #0369a1;
    --btn-hover-color: #ff9f00;
    --border-color: #e2e8f0;
    --error-color: #ef4444;
    --navi-color: #003d80;

    /* --- CẤU HÌNH KÍCH THƯỚC LẶP LẠI NHIỀU --- */
    --nav-height: 70px;

    /* Độ bo góc (Border Radius) */
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 50%;

    /* Khoảng cách đệm nội dung (Padding) */
    --pad-section: 80px 0;
    --pad-section-mobile: 50px 0;
    --pad-card: 30px;
    --pad-input: 12px;

    /* Cỡ chữ hệ thống (Font Size) */
    --fs-title: 2rem;
    --fs-sub-title: 1.25rem;
    --fs-body: 1rem;
    --fs-sm: 0.9rem;
    --card-width: 360px;
    --card-gap: 20px;

    /* Đổ bóng (Box Shadow) */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(3, 105, 161, 0.04);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
    --shadow-btn: 0 4px 10px rgba(3, 105, 161, 0.15);
    --shadow-float: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--nav-height);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   1. STICKY NAVIGATION BAR (THANH MENU)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: #475569;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.register-btn-box {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.btn-register {
    display: inline-block;
    background-color: var(--btn-color);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    transition: background-color 0.3s ease;
    animation: attention 1.5s infinite, glow 1.5s infinite;
}

@keyframes attention {
    0%, 70%, 100% { transform: scale(1) rotate(0); }
    75% { transform: scale(1.08) rotate(-4deg); }
    80% { transform: scale(1.08) rotate(4deg); }
    85% { transform: scale(1.08) rotate(-4deg); }
    90% { transform: scale(1.08) rotate(4deg); }
    95% { transform: scale(1); }
}

@keyframes glow {
    0%, 70%, 100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); }
    75% { box-shadow: 0 0 8px rgba(255, 193, 7, 0.6); }
    80% { box-shadow: 0 0 15px rgba(255, 193, 7, 0.8); }
    85% { box-shadow: 0 0 20px rgba(255, 193, 7, 1); }
    90% { box-shadow: 0 0 15px rgba(255, 193, 7, 0.8); }
    95% { box-shadow: 0 0 8px rgba(255, 193, 7, 0.6); }
}

.btn-register:hover {
    background-color: var(--btn-hover-color);
}

.btn-register:active {
    transform: scale(0.95);
}

/* ==========================================================================
   2. GLOBAL LAYOUTS & COMPONENTS
   ========================================================================== */
section {
    padding: var(--pad-section);
    scroll-margin-top: var(--nav-height);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: var(--fs-title);
    color: var(--navi-color);
    margin-bottom: 45px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: #ffc107;
    border-radius: 50px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color) !important;
    color: var(--white);
    padding: 12px 35px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(3, 105, 161, 0.15);
}

.btn:hover {
    background-color: var(--btn-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(3, 105, 161, 0.25);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   3. SECTION: TRANG CHỦ (HERO)
   ========================================================================== */
.hero {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    
    /* Bỏ height cố định 520px và dùng tỉ lệ khung hình linh hoạt */
    height: auto;
    aspect-ratio: 16 / 6; /* Bạn có thể điều chỉnh tỉ lệ này (vd: 16/5, 16/7) tùy theo ảnh banner gốc */
    
    padding: 0;
    animation: heroBgSlider 15s infinite ease-in-out;
}
@keyframes heroBgSlider {
    0%, 33% { background-image: url('img/banner/banner1.jpg'); }
    33.01%, 66% { background-image: url('img/banner/banner2.jpg'); }
    66.01%, 100% { background-image: url('img/banner/banner3.jpg'); }
}

/* ==========================================================================
   4. SECTION: GIỚI THIỆU & SLIDER BAR (CAROUSEL)
   ========================================================================== */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 350px;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

.slider-container {
    flex: 1;
    min-width: 350px;
    height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(3, 105, 161, 0.12);
}

.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.42, 0, 0.58, 1);
}

.slide {
    width: 33.333%;
    flex-shrink: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.4);
    color: var(--white);
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

/* ==========================================================================
   5. KHỐI SỐ LIỆU THỐNG KÊ (COUNTERS) & NGÀNH ĐÀO TẠO
   ========================================================================== */
.counters {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.counter-item h3 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 800;
}

.counter-item p {
    font-size: var(--fs-sm);
    color: #e0f2fe;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card {
    background: var(--white);
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(3, 105, 161, 0.12);
    border-top-color: var(--secondary-color);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.meta {
    font-size: var(--fs-sm);
    color: var(--gray);
    margin-bottom: 15px;
    font-weight: 700;
}

.program-horizontal-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.program-horizontal-list .card {
    flex: 0 0 350px;
    box-sizing: border-box;
}

.program-horizontal-list .card a {
    display: inline-block;
}

.program-horizontal-list .card a h3:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.program-horizontal-list::-webkit-scrollbar { height: 6px; }
.program-horizontal-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.program-horizontal-list::-webkit-scrollbar-thumb { background: #0369a1; border-radius: 10px; }

/* ==========================================================================
   6. SECTION: ĐÁNH GIÁ (TESTIMONIALS)
   ========================================================================== */
.student-feedback {
    background: linear-gradient(rgba(8, 85, 160, .88), rgba(8, 85, 160, .88)),
        url("img/banner/1784275449007_4957532506545840640_g8991506068228464132_eaede0e67cb63afbc482d278abf52f7c.jpg") center center/cover no-repeat;
    padding: 60px 0;
}

.student-feedback .section-title {
    color: #fff;
    font-size: 34px;
}

.student-feedback .section-title::after {
    background: rgba(255, 255, 255, .85);
    width: 120px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feedback-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 62, 130, .55);
    backdrop-filter: blur(5px);
    border-radius: 14px;
    padding: 22px;
    min-height: 240px;
    transition: all .35s ease;
}

.feedback-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
}

.feedback-avatar {
    flex-shrink: 0;
    width: 130px;
    display: flex;
    justify-content: center;
}

.feedback-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00d2ff;
    transition: .35s;
}

.feedback-card:hover .feedback-avatar img {
    transform: scale(1.05);
}

.feedback-content {
    flex: 1;
}

.feedback-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.5;
}

.feedback-content h3 span {
    color: #7fd8ff;
    font-size: 15px;
    font-weight: 600;
}

.feedback-content p {
    color: #e4f2ff;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   7. SECTION: LIÊN HỆ & FORM ĐĂNG KÝ
   ========================================================================== */
.contact {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--bg-light);
}

.contact .section-title {
    color: var(--white);
}

.registration-layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin-top: 20px;
}

.countdown-col {
    flex: 4;
    background: var(--secondary-color);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px 25px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.main-title {
    color: var(--orange);
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
}

.sub-title {
    font-size: 16px;
    line-height: 1.6;
    color: var(--lightwhite);
}

.countdown-section {
    margin: 15px 0;
}

.countdown-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.countdown-container {
    display: flex;
    gap: 12px;
}

.countdown-box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-time {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--orange);
    font-family: 'Courier New', monospace;
}

.countdown-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--lightwhite1);
    text-transform: uppercase;
}

.benefit-list {
    list-style: none;
    padding: 15px 0 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: left;
}

.benefit-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--lightwhite);
}

.benefit-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 20px;
}

.form-col {
    flex: 6;
    width: 100%;
}

.form-box {
    background: var(--bg-light);
    padding: var(--pad-card);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    color: var(--blacklight);
}

.form-box h3 {
    text-align: center;
    color: var(--orange);
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    color: var(--text-color);
}

.form-group .required {
    color: var(--error-color);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: var(--pad-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--fs-body);
    outline: none;
    color: var(--text-color);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

#otherMajorGroup {
    animation: fadeInForm 0.3s ease-in-out;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.radio-options {
    display: flex;
    gap: 25px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.error-msg {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    display: block;
    width: 100%;
    margin: 15px auto 0;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #f3d36b, #d9aa28);
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.submit-btn:hover {
    background: var(--btn-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 159, 0, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   8. CỤM NÚT LIÊN HỆ TIỆN ÍCH TRÔI (FLOATING BUTTONS)
   ========================================================================== */
.floating-contact {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 0;
    border: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.float-phone {
    background-color: #22c55e !important;
    animation: pulsePhone 2s infinite;
}

.float-zalo {
    background-color: #0068ff !important;
    animation: pulseZalo 2s infinite;
}

.float-btn:hover {
    animation: none !important;
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.float-zalo img,
.float-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes pulsePhone {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
}

@keyframes pulseZalo {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
}

/* ==========================================================================
   9. KHỐI ĐỐI TÁC CHIẾN LƯỢC (INFINITE SCROLL)
   ========================================================================== */
.partner-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    position: relative;
}

.partner-slider::before,
.partner-slider::after {
    content: "";
    height: 100%;
    width: 150px;
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.partner-slider::before {
    top: 0; left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-slider::after {
    top: 0; right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, rgba(255, 255, 255, 0) 100%);
}

.partner-track {
    display: flex;
    width: max-content;
    animation: infiniteScroll 25s linear infinite;
    will-change: transform;
}

.partner-slider:hover .partner-track {
    animation-play-state: paused;
}

.partner-item {
    width: 250px;
    padding: 0 15px;
    flex-shrink: 0;
}

.partner-box {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(3, 105, 161, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.partner-box img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-box:hover img {
    transform: scale(1.05);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   10. HỎI ĐÁP (FAQS) & LỘ TRÌNH
   ========================================================================== */
.faq-tree-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 4px 1fr;
    align-items: start;
}

.center-line {
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    margin: 0 auto;
}

.faq-side {
    display: flex;
    flex-direction: column;
}

.faq-link-line {
    padding: 20px 30px;
    color: #1e293b;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-link-line::after {
    content: "→";
    color: #838f9d;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-link-line:hover {
    color: #0056b3;
    background-color: #f8fafc;
    padding-left: 35px;
}

.faq-link-line:hover::after {
    color: #0056b3;
    transform: translateX(5px);
}

.roadmap-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 159, 0, 0.18);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.roadmap-step h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: var(--fs-sub-title);
    font-weight: 700;
}

/* ==========================================================================
   11. CÁC THÀNH PHẦN PHỤ KHÁC (VIDEO, TOAST, BACK TO TOP)
   ========================================================================== */
#backToTop {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-float);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#backToTop.show {
    display: flex !important;
}

#backToTop:hover {
    background-color: var(--btn-hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 159, 0, 0.4);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: -350px;
    background-color: var(--white);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99999;
    width: 320px;
}

.toast.show {
    left: 30px;
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--btn-hover-color);
}

.toast-body p {
    font-size: var(--fs-sm);
    font-weight: normal;
    margin: 0;
}

.toast-time {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background: #13385b;
    color: #d9d9d9;
    padding: 45px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1.2fr 1.4fr;
    column-gap: 35px;
    row-gap: 20px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 22px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    border-radius: 10px;
    background: #ffc107;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-list li i {
    color: #ffc107;
    width: 20px;
    font-size: 17px;
    margin-top: 4px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    position: relative;
    transition: all .3s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: .3s;
}

.footer-links a:hover {
    color: #ffc107;
    transform: translateX(6px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-img {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: .35s;
}

.footer-img:hover {
    transform: scale(1.03);
}

.follow-text {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: .3s;
}

.social a:hover {
    background: #ffc107;
    color: #13385b;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, .3);
}

.footer-bottom {
    margin-top: 35px;
    padding: 18px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 15px;
    color: #ccc;
}

/* ==========================================================================
   13. TIỆN ÍCH LỚP PHỤ (HELPER CLASSES)
   ========================================================================== */
.mt-3 { margin-top: 15px !important; }
.bg-white { background-color: var(--white) !important; }
.bg-light { background-color: var(--bg-light) !important; }

.incentives { padding: 50px 0; }
.incentives .flex-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.incentive-video, .incentive-text {
    flex: 1;
    min-width: 350px;
}

.incentive-video .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #000;
}

.incentive-video .video-link {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.incentive-video .video-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.incentive-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(224, 34, 34, 0.9);
    width: 68px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.incentive-text h3 { font-size: 24px; margin-bottom: 15px; color: #333; }
.incentive-text p { margin-bottom: 20px; font-size: 16px; line-height: 1.6; color: #666; }
.incentive-list { list-style: none; padding-left: 0; margin-bottom: 25px; }
.incentive-list li { margin-bottom: 12px; font-size: 15px; color: #444; }

.btn-primary-custom {
    cursor: pointer;
    background-color: #0060a9 !important;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
}

.partner-heading {
    text-align: center;
    margin-bottom: 25px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   14. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (min-width: 1025px) {
    .slide-btn:hover { background: rgba(3, 105, 161, 0.85); }
    .menu-toggle { display: none; }
}

@media (max-width: 1024px) {
    .registration-layout { flex-direction: column; gap: 30px; }
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 35px; }
    .feedback-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    section { padding: var(--pad-section-mobile); }
    .nav-container .logo { display: none !important; }
    .nav-container { display: flex; justify-content: flex-end; padding: 0 20px; }
    
    .hero {
        height: 0 !important;             /* Đưa height về 0 để padding-top quyết định chiều cao */
        width: 100% !important;
        min-height: 0 !important;
        
        background-size: cover !important; /* Phủ kín 100% chiều ngang màn hình */
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important; /* Xóa màu nền xanh thừa nếu có */
        
        /* Chỉnh tỉ lệ padding-top chuẩn theo ảnh banner của bạn */
        padding-top: 35.5% !important;     /* Khớp hoàn hảo với ảnh banner */
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: #0369a1;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
        display: flex;
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li { width: 100%; text-align: center; }
    .nav-menu li a { display: block; padding: 10px 0; width: 100%; }

    .about-content { flex-direction: column; gap: 25px; }
    .about-text, .slider-container { width: 100%; min-width: 100%; }
    .slider-container { height: 350px; margin-top: 20px; }

    .program-horizontal-list .card { flex: 0 0 290px; }
    .form-box { padding: 25px 20px; }
    .partner-item { width: 160px; padding: 0 8px; }
    .partner-box { height: 70px; font-size: 0.85rem; }
    .floating-contact { bottom: 20px; right: 20px; }

    .footer { text-align: center; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .contact-list li, .social { justify-content: center; }
    .footer-img { margin: auto auto 15px; }

    .student-feedback { padding: 50px 0; }
    .student-feedback .section-title { font-size: 28px; }
    .feedback-card { flex-direction: column; text-align: center; padding: 20px; }
    .feedback-avatar { width: auto; }
    .feedback-avatar img { width: 100px; height: 100px; }
}