    /* ============================================ */
/* DECOR DMCA BADGE (FOOTER) */
/* ============================================ */
.footer-bottom-dmca {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: grayscale(30%);
    transition: var(--transition-smooth);
    margin: 0 15px;
}

.footer-bottom-dmca a {
    display: block;
}

.footer-bottom-dmca img {
    height: 24px;
    width: auto;
    border-radius: 4px;
}

.footer-bottom-dmca:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-bottom-dmca {
        width: 100%;
        margin: 15px 0;
    }
}

/* ============================================ */
/* 1. CSS VARIABLES & ROOT SETTINGS */
/* ============================================ */
:root {
    /* Color Palette - Vibrant Yellow Theme */
    --bg-primary: #FFD93D;
    --bg-secondary: #FFF4B8;
    --bg-tertiary: #FFE66D;
    --bg-light: #FFFBEA;
    --bg-dark: #1A1A1A;
    --bg-darker: #0D0D0D;
    
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-light: #717171;
    --text-on-dark: #FFFBEA;
    --text-on-yellow: #1A1A1A;
    
    --accent-primary: #E85D04;
    --accent-secondary: #9D0208;
    --accent-tertiary: #003049;
    --accent-gold: #FFB703;
    --accent-hover: #DC2F02;
    
    --white: #FFFFFF;
    --black: #000000;
    --overlay: rgba(26, 26, 26, 0.75);
    --overlay-light: rgba(255, 217, 61, 0.9);
    
    /* Typography - Font Tiếng Việt tối ưu */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --font-handwritten: 'Caveat', cursive;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing & Layout */
    --container-max: 1400px;
    --section-padding: 120px 0;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 40px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.08);
    --shadow-md: 0 8px 20px rgba(26, 26, 26, 0.12);
    --shadow-lg: 0 20px 40px rgba(26, 26, 26, 0.15);
    --shadow-xl: 0 30px 60px rgba(232, 93, 4, 0.25);
    --shadow-yellow: 0 10px 40px rgba(255, 217, 61, 0.4);
    --shadow-inner: inset 0 2px 10px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================ */
/* 2. RESET & BASE STYLES */
/* ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    -webkit-font-feature-settings: "kern" 1, "liga" 1;
    font-weight: 400;
    word-break: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: break-word;
}

::selection {
    background: var(--accent-primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ============================================ */
/* 3. UTILITY CLASSES */
/* ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 24px;
    padding: 8px 20px;
    background: rgba(232, 93, 4, 0.1);
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(232, 93, 4, 0.2);
    word-break: keep-all;
}

.section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.section-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 1.1;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 900;
    word-break: break-word;
    overflow-wrap: break-word;
}

.section-title .highlight {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    height: 20%;
    background: var(--accent-primary);
    opacity: 0.15;
    z-index: -1;
    transform: skew(-12deg);
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 40px;
    background: var(--text-primary);
    color: var(--bg-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--text-primary);
    word-break: keep-all;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--white);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary i {
    transition: var(--transition-smooth);
}

.btn-primary:hover i {
    transform: translateX(5px) rotate(-10deg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 40px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--text-primary);
    transition: var(--transition-smooth);
    word-break: keep-all;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================ */
/* 4. PRELOADER */
/* ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

.preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skew(-30deg);
    animation: shimmerBg 2.5s infinite;
    z-index: 1;
}

@keyframes shimmerBg {
    0% { left: -100%; }
    100% { left: 200%; }
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.preloader-feather {
    font-size: 4.5rem;
    color: var(--accent-primary);
    animation: floatFeather 2s ease-in-out infinite, glowFeather 2s alternate infinite;
    transform-origin: center bottom;
}

@keyframes floatFeather {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(15deg); }
}

@keyframes glowFeather {
    0% { filter: drop-shadow(0 0 10px rgba(232, 93, 4, 0.2)); }
    100% { filter: drop-shadow(0 0 25px rgba(232, 93, 4, 0.8)); }
}

@keyframes preloaderGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

@keyframes flipPage {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-180deg); }
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-left: 0.2em;
    animation: pulseText 1.5s ease-in-out infinite;
    word-break: keep-all;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.preloader-line {
    width: 180px;
    height: 4px;
    background: rgba(26, 26, 26, 0.1);
    border-radius: var(--border-radius-full);
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: var(--accent-primary);
    border-radius: var(--border-radius-full);
    animation: slideProgress 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes slideProgress {
    0% { left: -40%; }
    100% { left: 100%; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============================================ */
/* DECOR TIÊU ĐỀ PHẦN CẢM NHẬN HỌC SINH */
/* ============================================ */
.testimonials .section-title {
    position: relative;
    font-weight: 900;
    line-height: 1.25;
    color: var(--text-primary);
    z-index: 1;
}

.testimonials .section-title::before {
    content: '"'; 
    font-family: var(--font-serif);
    position: absolute;
    font-size: 3em;
    color: var(--accent-primary);
    opacity: 0.1;
    top: -0.2em;
    left: -0.1em;
    z-index: -1;
    line-height: 1;
}

.testimonials .section-title .highlight {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}

.testimonials .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: -2%;
    width: 104%;
    height: 25%;
    background: var(--accent-primary);
    opacity: 0.15;
    z-index: -1;
    border-radius: 6px;
    transform: skew(-15deg) rotate(-1deg);
}

/* ============================================ */
/* 5. CUSTOM CURSOR (SUBTLE) */
/* ============================================ */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    display: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99997;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot, .cursor-outline {
        display: block;
    }
    body {
        cursor: none;
    }
    a, button, .interactive {
        cursor: none;
    }
}

.cursor-dot.hover {
    width: 16px;
    height: 16px;
    background: var(--accent-secondary);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    border-color: var(--accent-secondary);
}

/* ============================================ */
/* 6. SCROLL PROGRESS */
/* ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* ============================================ */
/* 7. BACKGROUND EFFECTS */
/* ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-gold);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-secondary);
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ============================================ */
/* 8. NAVIGATION */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 24px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 251, 234, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 100;
}

.nav-logo-mark {
    width: 52px;
    height: 52px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.nav-logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.nav-logo:hover .nav-logo-mark {
    transform: rotate(360deg) scale(1.05);
}

.nav-logo:hover .nav-logo-mark::before {
    opacity: 1;
}

.nav-logo-mark span {
    position: relative;
    z-index: 2;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    word-break: keep-all;
}

.nav-logo-sub {
    font-family: var(--font-handwritten);
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    word-break: keep-all;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-link.active {
    background: var(--text-primary);
    color: var(--bg-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    word-break: keep-all;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-secondary);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
    z-index: 0;
}

.nav-cta:hover::before {
    transform: translateX(0);
}

.nav-cta span, .nav-cta i {
    position: relative;
    z-index: 1;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.2);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.side-nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-primary);
    color: var(--bg-light);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.side-nav-dot:hover::before {
    opacity: 1;
    right: 30px;
}

.side-nav-dot.active {
    background: var(--accent-primary);
    border-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.2);
}

/* ============================================ */
/* 9. HERO SECTION */
/* ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 183, 3, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 93, 4, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 10px 24px;
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: slideInDown 1s ease forwards;
    word-break: keep-all;
}

.hero-eyebrow i {
    color: var(--accent-primary);
    font-size: 1rem;
}

/* ============================================ */
/* KHU VỰC TIÊU ĐỀ CHÍNH (HERO TITLE DECOR) - FIXED */
/* ============================================ */
.hero-title {
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-top: 25px;
    margin-top: -25px;
}

.hero-title .line span {
    display: inline-block;
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* FIX: Text stroke với compatibility tốt hơn */
.hero-title .line:nth-child(1) > span { 
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
    text-stroke: 2px var(--text-primary);
    paint-order: stroke fill;
    animation-delay: 0.2s; 
    /* Fallback cho browser không hỗ trợ text-stroke */
    -webkit-text-fill-color: transparent;
}

/* Thêm text-shadow để tạo hiệu ứng outline rõ hơn */
.hero-title .line:nth-child(1) > span::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-text-stroke: 2px var(--text-primary);
    text-stroke: 2px var(--text-primary);
    color: transparent;
}

.hero-title .line:nth-child(2) > span,
.hero-title .line:nth-child(3) > span { 
    text-shadow: 4px 4px 0px rgba(255, 255, 255, 0.8), 
                 8px 8px 0px rgba(232, 93, 4, 0.15);
}

.hero-title .line:nth-child(2) > span { animation-delay: 0.4s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.6s; }

@keyframes revealText {
    to { transform: translateY(0); }
}

.hero-title .accent {
    color: var(--accent-primary);
    font-family: var(--font-handwritten);
    font-size: 0.85em;
    text-transform: none;
    letter-spacing: 0;
    display: inline-block;
    transform: rotate(-6deg) translateY(-5px);
    margin-left: 10px;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

.hero-description {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.hero-meta {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: 0;
}

.hero-meta-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    word-break: keep-all;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-main {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(26, 26, 26, 0.1);
    animation: rotateCircle 30s linear infinite;
}

.hero-circle-1 {
    width: 100%;
    height: 100%;
}

.hero-circle-2 {
    width: 80%;
    height: 80%;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 20s;
}

.hero-circle-3 {
    width: 60%;
    height: 60%;
    animation-duration: 15s;
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-center-piece {
    width: 70%;
    height: 70%;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-center-piece::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px dashed var(--accent-primary);
    border-radius: 50%;
    animation: rotateCircle 20s linear infinite reverse;
    z-index: -1;
}

.hero-center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 10px var(--white);
    animation: floatIcon 4s ease-in-out infinite;
}

.hero-center-icon {
    font-size: 8rem;
    color: var(--accent-primary);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-floating-tag {
    position: absolute;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    animation: floatTag 5s ease-in-out infinite;
    word-break: keep-all;
}

.hero-floating-tag-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-floating-tag-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2.5s;
}

.hero-floating-tag-3 {
    top: 50%;
    right: -15%;
    animation-delay: 1.5s;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-floating-tag-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-floating-tag-content {
    display: flex;
    flex-direction: column;
}

.hero-floating-tag-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.hero-floating-tag-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    z-index: 3;
    word-break: keep-all;
}

.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--text-primary), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-indicator .scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--accent-primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; }
    100% { top: 100%; }
}

/* ============================================ */
/* 10. MARQUEE SECTION */
/* ============================================ */
.marquee {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 60px;
    text-transform: uppercase;
    word-break: keep-all;
}

.marquee-item .separator {
    color: var(--accent-primary);
    font-size: 2rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================ */
/* 11. ABOUT SECTION */
/* ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-visual {
    position: relative;
    height: 700px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(232, 93, 4, 0.1) 100%);
    z-index: 1;
}

.about-image-main i {
    font-size: 10rem;
    color: var(--accent-primary);
    opacity: 0.3;
    z-index: 0;
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: var(--accent-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
    border: 10px solid var(--bg-light);
}

.about-image-accent-content {
    text-align: center;
}

.about-image-accent-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.about-image-accent-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    word-break: keep-all;
}

.about-stamp {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-15deg);
    width: 160px;
    height: 160px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    animation: rotateStamp 20s linear infinite;
    overflow: hidden;
}

.about-stamp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.05);
}

@keyframes rotateStamp {
    from { transform: translateY(-50%) rotate(-15deg); }
    to { transform: translateY(-50%) rotate(345deg); }
}

.about-stamp-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    word-break: keep-all;
}

.about-stamp-icon {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin: 8px 0;
}

.about-content .section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-primary);
    margin-bottom: 24px;
    line-height: 1.5;
    position: relative;
    padding-left: 30px;
}

.about-lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 4px;
    height: 80%;
    background: var(--accent-primary);
    border-radius: 2px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.about-feature:hover .about-feature-icon {
    background: var(--accent-primary);
    color: var(--white);
    transform: rotate(360deg);
}

.about-feature-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: 0;
    text-transform: none;
}

.about-feature-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================ */
/* 12. PHILOSOPHY SECTION - BENTO GRID */
/* ============================================ */
.philosophy {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(232, 93, 4, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 183, 3, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.philosophy-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.philosophy .section-label {
    background: rgba(232, 93, 4, 0.2);
    color: var(--accent-gold);
    border-color: rgba(232, 93, 4, 0.3);
}

.philosophy .section-title {
    font-weight: 400;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.philosophy .section-title .highlight-echo {
    display: block;
    font-weight: 900;
    color: var(--white);
    margin-top: 8px;
    position: relative;
    letter-spacing: 0.02em;
    animation: echoWave 2s ease-in-out infinite alternate;
}

@keyframes echoWave {
    0% {
        text-shadow: 
            0px 0px 0 rgba(255, 183, 3, 0.9),
            0px 0px 0 rgba(232, 93, 4, 0.7),
            0px 0px 0 rgba(157, 2, 8, 0.5);
        transform: translateY(0);
    }
    100% {
        text-shadow: 
            3px 3px 0 rgba(255, 183, 3, 0.9),
            6px 6px 0 rgba(232, 93, 4, 0.7),
            9px 9px 0 rgba(157, 2, 8, 0.5);
        transform: translateY(-6px);
    }
}

.philosophy .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 60px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.bento-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-item:hover::before {
    transform: scaleX(1);
}

.bento-item-1 {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.2), rgba(157, 2, 8, 0.1));
    border-color: var(--accent-primary);
}

.bento-item-2 {
    grid-column: span 2;
}

.bento-item-5 {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(232, 93, 4, 0.1));
    border-color: var(--accent-gold);
    flex-direction: row;
    align-items: center;
    gap: 40px;
    min-height: 200px;
}

.bento-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(232, 93, 4, 0.3);
    transition: var(--transition-smooth);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(232, 93, 4, 0.5);
}

.bento-item-1 .bento-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.bento-item-5 .bento-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    margin-bottom: 0;
    min-width: 100px;
}

.bento-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.bento-item-1 .bento-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.bento-item-5 .bento-title {
    font-size: 2rem;
    color: var(--accent-gold);
}

.bento-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.bento-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    letter-spacing: -0.05em;
}

/* ============================================ */
/* 13. CURRICULUM SECTION - TABS */
/* ============================================ */
.curriculum {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.curriculum-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.curriculum-header {
    text-align: center;
    margin-bottom: 60px;
}

.tabs-nav {
    display: inline-flex;
    gap: 8px;
    background: var(--white);
    padding: 10px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 14px 32px;
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    word-break: keep-all;
}

.tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
    z-index: 0;
    border-radius: var(--border-radius-full);
}

.tab-btn span {
    position: relative;
    z-index: 1;
}

.tab-btn.active::before {
    transform: scaleX(1);
}

.tab-btn.active {
    color: var(--bg-light);
}

.tab-btn:not(.active):hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.tabs-content {
    position: relative;
    min-height: 500px;
    margin-top: 60px;
}

.tab-pane {
    display: none;
    animation: fadeInScale 0.6s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.curriculum-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.curriculum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.curriculum-card > * {
    position: relative;
    z-index: 1;
}

.curriculum-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.curriculum-card:hover::before {
    opacity: 1;
}

.curriculum-card-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--bg-secondary);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.curriculum-card:hover .curriculum-card-number {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.curriculum-card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.curriculum-card:hover .curriculum-card-icon {
    background: var(--accent-primary);
    color: var(--white);
    transform: rotate(360deg) scale(1.1);
}

.curriculum-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.curriculum-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.curriculum-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.curriculum-list-item i {
    color: var(--accent-primary);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    background: rgba(232, 93, 4, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================ */
/* 14. TESTIMONIALS - HORIZONTAL SCROLL */
/* ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonials-nav {
    display: flex;
    gap: 12px;
}

.testimonials-nav button {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.testimonials-nav button:hover {
    background: var(--text-primary);
    color: var(--bg-light);
    transform: scale(1.1);
}

.testimonials-track-wrapper {
    overflow: hidden;
    margin: 0 -32px;
    padding: 0 32px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.testimonial-quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--accent-primary);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 1rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--bg-secondary);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: var(--shadow-md);
}

.testimonial-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0;
    text-transform: none;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================ */
/* 15. LOCATION SECTION */
/* ============================================ */
.location {
    padding: var(--section-padding);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.location-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.location-info .section-title {
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.location-info .section-title .highlight {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4em;
    font-weight: 500;
    color: var(--accent-primary);
    letter-spacing: 0.02em;
    margin-top: 10px;
    position: relative;
    padding-bottom: 15px;
}

.location-info .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent-primary);
    opacity: 0.8;
    transform: none;
    border-radius: 2px;
}

.location-lead {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    font-style: italic;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.location-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.location-item-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.location-item:hover .location-item-icon {
    background: var(--accent-primary);
    color: var(--white);
    transform: rotate(360deg);
}

.location-item-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: 0;
    text-transform: none;
}

.location-item-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.location-map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 10px solid var(--white);
    height: 600px;
    position: relative;
    background: var(--bg-secondary);
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    z-index: 3;
    word-break: keep-all;
}

.location-map-badge i {
    color: var(--accent-primary);
}

/* ============================================ */
/* 16. CONTACT SECTION */
/* ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--text-primary);
    color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(232, 93, 4, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 183, 3, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact .section-label {
    background: rgba(232, 93, 4, 0.2);
    color: var(--accent-gold);
    border-color: rgba(232, 93, 4, 0.3);
}

.contact .section-title {
    color: #FFFFFF;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.highlight-glow {
    background: linear-gradient(135deg, #FFE66D, #FF9F1C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(255, 217, 61, 0.7));
}

.highlight-glow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #FFD93D;
    border-radius: 4px;
    opacity: 0.5;
    z-index: -1;
    transform: skew(-15deg);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 60px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(232, 93, 4, 0.3);
}

.contact-card-icon {
    width: 90px;
    height: 90px;
    background: var(--white);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2.2rem;
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-icon {
    background: var(--text-primary);
    color: var(--accent-gold);
    transform: rotate(360deg) scale(1.1);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
}

.contact-card a:hover {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.contact-note {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-note i {
    color: var(--accent-gold);
}

/* ============================================ */
/* DECOR TIÊU ĐỀ "LỘ TRÌNH CHINH PHỤC" (BADGE STYLE) */
/* ============================================ */
.curriculum-header .section-title {
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    letter-spacing: 0.02em;
}

.curriculum-header .section-title .highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: var(--white);
    padding: 8px 35px;
    border-radius: 100px;
    box-shadow: 0 12px 25px rgba(232, 93, 4, 0.3);
    display: inline-flex;
    align-items: center;
    transform: translateY(-5px) rotate(-2deg);
    position: relative;
    letter-spacing: 0.05em;
}

.curriculum-header .section-title .highlight::after {
    display: none;
}

.curriculum-header .section-title .highlight::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    pointer-events: none;
}

.curriculum-header .section-subtitle {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius-full);
    display: inline-block;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 26, 26, 0.05);
    margin-top: 15px !important;
}

/* ============================================ */
/* 17. TERMS PAGE (HIDDEN) */
/* ============================================ */
.terms-page {
    display: none;
    padding: 140px 0 100px;
    background: var(--bg-light);
    min-height: 100vh;
    position: relative;
    z-index: 9990;
}

.terms-page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.terms-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    padding: 12px 24px;
    background: var(--white);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-sm);
    word-break: keep-all;
}

.terms-back-btn:hover {
    transform: translateX(-5px);
    background: var(--accent-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.terms-content {
    background: var(--white);
    padding: 70px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--bg-secondary);
}

.terms-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--bg-secondary);
}

.terms-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.terms-header p {
    color: var(--text-light);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-secondary);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.terms-section p,
.terms-section li {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
    font-size: 1rem;
}

.terms-section ul {
    padding-left: 20px;
    list-style: disc;
}

.terms-section li {
    margin-bottom: 10px;
}

.terms-section li::marker {
    color: var(--accent-primary);
}

/* ============================================ */
/* 18. FOOTER */
/* ============================================ */
.footer {
    background: var(--bg-darker);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(232, 93, 4, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 183, 3, 0.08) 0%, transparent 40%);
    z-index: 0;
}

.footer-top {
    padding: 100px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-top-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 28px;
}

.footer-brand .nav-logo-title {
    color: var(--white);
}

.footer-brand .nav-logo-sub {
    color: var(--accent-gold);
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 32px;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    transform: scale(0);
    transition: var(--transition-smooth);
    border-radius: 50%;
    z-index: 0;
}

.footer-social a:hover::before {
    transform: scale(1);
}

.footer-social a:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(232, 93, 4, 0.3);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 16px;
    word-break: break-word;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(8px);
}

.footer-links a:hover::before {
    width: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact-item i {
    color: var(--accent-gold);
    margin-top: 4px;
    min-width: 20px;
    font-size: 1.1rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--accent-gold);
}

.footer-middle {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-middle-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.footer-cta-content h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.7) 20%,
        rgba(255, 255, 255, 1) 40%,
        var(--accent-gold) 50%,
        rgba(255, 255, 255, 1) 60%,
        rgba(255, 255, 255, 0.7) 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 3.5s linear infinite;
    word-break: break-word;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.footer-cta-content h3 span {
    display: inline-block;
    padding: 0 5px;
    background: linear-gradient(-45deg, #FFB703, #E85D04, #DC2F02, #FFB703);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: 
        gradientMove 4s ease infinite, 
        pulseWord 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(232, 93, 4, 0.4));
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseWord {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.08) translateY(-3px); }
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
}

.footer-cta-action {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--accent-primary);
    color: var(--white);
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    word-break: keep-all;
}

.footer-cta-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 93, 4, 0.4);
}

.footer-cta-btn.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-cta-btn.secondary:hover {
    background: var(--white);
    color: var(--text-primary);
    border-color: var(--white);
}

.footer-bottom {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.footer-bottom a {
    color: var(--accent-gold);
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* ============================================ */
/* 19. ZALO FLOATING BUTTON */
/* ============================================ */
.zalo-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.zalo-float-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #0068FF;
    border-radius: 50%;
    animation: zaloPulse 2s infinite;
    z-index: 0;
}

@keyframes zaloPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.zalo-float-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0068FF;
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--border-radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 104, 255, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    word-break: keep-all;
}

.zalo-float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 104, 255, 0.5);
}

.zalo-float-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}

.zalo-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    margin-right: 12px;
}

.zalo-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--white);
}

.zalo-float-btn:hover .zalo-tooltip {
    opacity: 1;
    margin-right: 16px;
}

/* ============================================ */
/* 20. BACK TO TOP */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--text-primary);
    color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-primary);
    transform: translateY(-5px);
}

/* ============================================ */
/* 21. RESPONSIVE DESIGN - MOBILE & TABLET */
/* ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-visual {
        height: 500px;
    }
    .about-container,
    .location-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-visual {
        height: 500px;
        max-width: 500px;
        margin: 0 auto;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-item-1 {
        grid-column: span 2;
        grid-row: span 1;
    }
    .bento-item-5 {
        grid-column: span 2;
        flex-direction: column;
        text-align: center;
    }
    .footer-top-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .side-nav {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        z-index: 99;
        border-radius: 0;
        padding: 0;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-link {
        font-size: 1.3rem;
        padding: 14px 30px;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-actions {
        display: none;
    }
    .curriculum-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
    .footer-middle-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-cta-action {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    .container,
    .nav-container,
    .hero-container,
    .about-container,
    .philosophy-container,
    .curriculum-container,
    .testimonials-container,
    .location-container,
    .contact-container,
    .terms-container,
    .footer-top-container,
    .footer-middle-container,
    .footer-bottom-container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-meta {
        flex-direction: column;
        gap: 20px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item-1, .bento-item-2, .bento-item-5 {
        grid-column: span 1;
    }
    .bento-item-5 {
        flex-direction: column;
        text-align: center;
    }
    .tabs-nav {
        flex-direction: column;
        border-radius: var(--border-radius-md);
        width: 100%;
    }
    .tab-btn {
        width: 100%;
    }
    .testimonial-card {
        flex: 0 0 100%;
    }
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-top-container {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .terms-content {
        padding: 40px 24px;
    }
    .terms-header h1 {
        font-size: 2rem;
    }
    .zalo-float {
        bottom: 20px;
        right: 20px;
    }
    .zalo-float-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .back-to-top {
        bottom: 100px;
        right: 20px;
    }
    .marquee-item {
        font-size: 1.8rem;
        gap: 30px;
    }
    .hero-floating-tag {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .about-visual {
        height: 400px;
    }
    .about-image-accent-number {
        font-size: 3.5rem;
    }
    .about-stamp {
        width: 100px;
        height: 100px;
    }
    .about-stamp-text {
        font-size: 0.7rem;
    }
    .about-stamp-icon {
        font-size: 1.5rem;
    }
    .bento-item {
        padding: 28px;
        min-height: 220px;
    }
    .bento-title {
        font-size: 1.3rem;
    }
    .bento-item-1 .bento-title {
        font-size: 1.8rem;
    }
    .bento-item-5 .bento-title {
        font-size: 1.5rem;
    }
    .contact-card {
        padding: 30px 24px;
    }
    .contact-card h3 {
        font-size: 1.3rem;
    }
    .contact-card a {
        font-size: 1.3rem;
    }
    .footer-cta-content h3 {
        font-size: 1.8rem;
    }
}

/* ============================================ */
/* 22. TV & LARGE SCREEN OPTIMIZATION */
/* ============================================ */
@media (min-width: 1920px) {
    :root {
        --container-max: 1600px;
    }
    
    html {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: clamp(4rem, 8vw, 9rem);
    }
    
    .section-title {
        font-size: clamp(3rem, 6vw, 7rem);
    }
    
    .bento-title {
        font-size: 2rem;
    }
    
    .bento-item-1 .bento-title {
        font-size: 3.5rem;
    }
    
    .bento-item-5 .bento-title {
        font-size: 3rem;
    }
}

@media (min-width: 2560px) {
    :root {
        --container-max: 1800px;
    }
    
    html {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: clamp(5rem, 7vw, 10rem);
    }
    
    .section-title {
        font-size: clamp(3.5rem, 5vw, 8rem);
    }
    
    .marquee-item {
        font-size: 4rem;
    }
}

@media (min-width: 3840px) {
    :root {
        --container-max: 2200px;
    }
    
    html {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: clamp(6rem, 6vw, 12rem);
    }
    
    .section-title {
        font-size: clamp(4rem, 4vw, 9rem);
    }
    
    .marquee-item {
        font-size: 5rem;
    }
    
    .bento-grid {
        gap: 30px;
    }
    
    .bento-item {
        padding: 60px;
        min-height: 350px;
    }
}

/* ============================================ */
/* 23. PRINT STYLES */
/* ============================================ */
@media print {
    .navbar, .zalo-float, .scroll-progress, .cursor-dot, .cursor-outline, 
    .floating-shapes, .bg-grid, .preloader, .back-to-top, .side-nav,
    .hero-scroll-indicator, .marquee {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .hero, .contact, .philosophy, .footer {
        background: white !important;
        color: black !important;
    }
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* ============================================ */
/* 24. REDUCED MOTION */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ============================================ */
/* 25. ANIMATIONS FOR SCROLL REVEAL */
/* ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ============================================ */
/* FIX LỖI GIAO DIỆN: Ẩn hoàn toàn cụm ảnh trên Điện thoại/Tablet */
/* ============================================ */
@media (max-width: 1024px) {
    .about-visual {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hero-scroll-indicator {
        display: none !important; 
    }
    /* Ẩn hoàn toàn khối hình ảnh ở trang chủ trên màn hình nhỏ */
    .hero-visual {
        display: none !important; 
    }
    /* Khử khoảng trống thừa do ảnh để lại */
    .hero-container {
        gap: 0 !important; 
    }
    .hero {
        padding-bottom: 60px !important; /* Thu gọn khoảng cách sát với thanh đen */
    }
}

/* ============================================ */
/* FIX LỖI GIAO DIỆN: Sửa lỗi vòng lặp chữ bị giật và tăng tốc độ ĐT/Tablet */
/* ============================================ */
.marquee-track {
    gap: 0 !important; 
    width: max-content !important; /* QUAN TRỌNG NHẤT: Ép track nhận đủ kích thước thật để -50% chuẩn xác 100% */
    will-change: transform; /* Kích hoạt GPU xử lý chuyển động để lướt mượt trên mobile */
    -webkit-transform: translate3d(0, 0, 0); /* Tránh rung giật (anti-flicker) */
}

.marquee-item {
    padding-right: 60px; /* Chuyển khoảng trống thành padding để nối đuôi mượt mà */
    flex-shrink: 0 !important; /* Ngăn text bị ép nhỏ lại làm sai lệch tính toán chiều dài */
}

@media (max-width: 992px) {
    .marquee-track {
        animation-duration: 14s !important; /* Tốc độ vừa phải cho Tablet */
    }
    .marquee-item {
        gap: 40px !important; /* Khoảng cách giữa các thành phần bên trong item */
        padding-right: 40px !important; /* Khoảng cách nối đuôi */
    }
}

@media (max-width: 768px) {
    .marquee-track {
        animation-duration: 9s !important; /* Tốc độ nhanh hơn trên Điện thoại */
    }
    .marquee-item {
        gap: 30px !important; 
        padding-right: 30px !important;
        font-size: 1.8rem !important;
    }
}

/* ============================================ */
/* 26. LANGUAGE SWITCHER TOGGLE - FIXED FLAGS */
/* ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--border-radius-full);
    padding: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 26, 26, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Thanh trượt nền phía sau */
.lang-switcher::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--text-primary);
    border-radius: var(--border-radius-full);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.lang-switcher[data-lang="en"]::before {
    transform: translateX(100%);
}

.lang-btn {
    position: relative;
    z-index: 1;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.4s ease;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
    word-break: keep-all;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn.active {
    color: var(--bg-light);
}

.lang-btn:not(.active):hover {
    color: var(--text-primary);
}

/* Flag container */
.flag-icon {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    vertical-align: middle;
}

/* Vietnamese Flag */
.flag-vi {
    background: #DA251D;
}

.flag-vi::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFF00;
    font-size: 10px;
    line-height: 1;
}

/* US/English Flag - Simplified stripes */
.flag-en {
    background: repeating-linear-gradient(
        0deg,
        #B22234 0px,
        #B22234 2px,
        #FFFFFF 2px,
        #FFFFFF 4px,
        #B22234 4px,
        #B22234 6px,
        #FFFFFF 6px,
        #FFFFFF 8px,
        #B22234 8px,
        #B22234 10px,
        #FFFFFF 10px,
        #FFFFFF 12px
    );
}

/* Hiệu ứng ripple khi click */
.lang-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Tooltip ngôn ngữ */
.lang-switcher-wrapper {
    position: relative;
}

.lang-switcher-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: var(--text-primary);
    color: var(--bg-light);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.lang-switcher-wrapper:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================ */
/* 27. LANGUAGE INDICATOR BADGE (Mobile) */
/* ============================================ */
.lang-indicator-mobile {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 998;
    background: var(--white);
    border-radius: var(--border-radius-full);
    padding: 6px 14px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    border: 1px solid rgba(26, 26, 26, 0.08);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================ */
/* 28. SMOOTH TEXT TRANSITION FOR i18n */
/* ============================================ */
[data-i18n] {
    transition: opacity 0.3s ease;
}

[data-i18n].lang-changing {
    opacity: 0;
}

/* ============================================ */
/* 29. RESPONSIVE - Language Switcher */
/* ============================================ */
@media (max-width: 992px) {
    .lang-switcher {
        margin-bottom: 20px;
    }
    
    .lang-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        order: -1;
        margin-bottom: 16px;
    }
    
    .lang-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .lang-indicator-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .lang-indicator-mobile::before {
        content: '🌐';
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .flag-icon {
        width: 16px;
        height: 11px;
    }
}

/* ============================================ */
/* 30. PRINT - Hide language switcher */
/* ============================================ */
@media print {
    .lang-switcher,
    .lang-indicator-mobile {
        display: none !important;
    }
}

