/* ========== PASS ENGLISH - MODERN STYLESHEET ========== */

/* Google Fonts - Be Vietnam Pro (designed for Vietnamese) */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&display=swap');

/* Variables */
:root {
    --primary-navy: #1a5f8a;
    --primary-blue: #2ea5da;
    --accent-gold: #f47c20;
    --accent-orange: #ff6b35;
    --light-blue: #e6f4fa;
    --text-dark: #2d3748;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-border: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1a5f8a 0%, #2ea5da 100%);
    --gradient-accent: linear-gradient(135deg, #f47c20 0%, #ff6b35 100%);
    --gradient-light: linear-gradient(180deg, #f8fafc 0%, #e6f4fa 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(46,165,218,0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }
.scroll-animate.delay-5 { transition-delay: 0.5s; }

/* ========== HEADER ========== */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 25px;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact i {
    font-size: 12px;
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-fast);
}

.header-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu > a,
.nav-item > a {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-navy);
    padding: 10px 0;
    position: relative;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.nav-menu > a:hover,
.nav-menu > a.active,
.nav-item:hover > a {
    color: var(--primary-blue);
}

.nav-menu > a::after,
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.nav-menu > a:hover::after,
.nav-menu > a.active::after,
.nav-item:hover > a::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item > a i {
    font-size: 10px;
    transition: var(--transition-normal);
}

.nav-item:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-cta .btn {
    padding: 10px 20px;
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244,124,32,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244,124,32,0.45);
}

.btn-outline {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-navy {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26,95,138,0.35);
}

.btn-navy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26,95,138,0.45);
}

.btn-white {
    background: var(--white);
    color: var(--primary-navy);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary-navy);
    padding: 5px;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--primary-blue);
}

/* Hide close button on desktop */
.close-menu {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    color: var(--white);
    margin-top: 95px;
    position: relative;
    overflow: visible;
}

/* Decorative Elements - Hidden to prevent overflow */
.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.hero-shape-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 35%;
    animation: float 5s ease-in-out infinite;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    color: var(--accent-gold);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease;
}

.hero-content .slogan {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Hero Image Decoration */
.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

.wave-divider-light .shape-fill {
    fill: var(--gray-light);
}

/* ========== STATS ========== */
.stats {
    background: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition-normal);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-border);
}

.stat-item:hover {
    background: var(--light-blue);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--white);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
    font-size: 14px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--gradient-light);
}

.section-navy {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 4px;
}

.section-navy .section-title h2 {
    color: var(--white);
}

.section-navy .section-title h2::after {
    background: var(--accent-gold);
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
    margin-top: 20px;
}

.section-navy .section-title p {
    color: rgba(255,255,255,0.85);
}

/* ========== COURSES ========== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.course-content {
    padding: 28px;
}

.course-content h3 {
    color: var(--primary-navy);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--gray-border);
}

.course-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(46,165,218,0.3);
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.feature-card:hover h3 {
    color: var(--white);
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    transition: var(--transition-normal);
}

.feature-card:hover p {
    color: rgba(255,255,255,0.9);
}

/* ========== VALUES ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.value-item {
    background: var(--white);
    padding: 35px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.value-item h3 {
    color: var(--primary-navy);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 40px;
    color: var(--light-blue);
    opacity: 0.5;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-content {
    margin-bottom: 25px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.testimonial-info h4 {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 16px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 500;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FORM ========== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: 'Be Vietnam Pro', sans-serif;
    transition: var(--transition-normal);
    background: var(--white);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(46,165,218,0.15);
}

.form-control::placeholder {
    color: #a0aec0;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a5f8a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.contact-form .btn {
    padding: 18px 30px;
    font-size: 17px;
    margin-top: 10px;
}

.contact-form {
    background: var(--white);
    padding: 50px 55px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 100%;
    margin: 0;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 35px;
}

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 24px;
    color: var(--white);
    z-index: 2;
    transition: var(--transition-normal);
}

.gallery-item:hover::before {
    opacity: 0.8;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========== SCHEDULE TABLE ========== */
.schedule-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.schedule-table th,
.schedule-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--gray-border);
}

.schedule-table th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-table tr {
    transition: var(--transition-fast);
}

.schedule-table tr:hover {
    background: var(--light-blue);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-about img.footer-logo {
    filter: none;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 14px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
}

.footer-links a {
    display: block;
    padding: 10px 0;
    opacity: 0.8;
    transition: var(--transition-fast);
    font-size: 14px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 8px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    color: var(--white);
    text-align: center;
    margin-top: 95px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.breadcrumb {
    margin-top: 25px;
    font-size: 14px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb a {
    color: var(--accent-gold);
    font-weight: 500;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ========== FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
}

.floating-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}

.floating-btn:hover {
    transform: scale(1.15);
}

.floating-btn.phone {
    background: var(--gradient-accent);
}

.floating-btn.zalo {
    background: linear-gradient(135deg, #0068ff 0%, #00a5ff 100%);
}

.floating-btn.messenger {
    background: linear-gradient(135deg, #006aff 0%, #00c6ff 100%);
}

/* ========== GLASSMORPHISM CARDS ========== */
.glass-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== CAROUSEL - TESTIMONIALS & GALLERY ========== */
.testimonial-carousel-wrapper,
.gallery-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.gallery-carousel-wrapper {
    max-width: 1000px;
}

.testimonial-carousel,
.gallery-carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonial-track,
.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide,
.gallery-slide {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Testimonial Card New Design */
.testimonial-card-new {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.testimonial-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f47c20, #ff6b35, #f47c20);
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 48px;
    color: var(--light-blue);
    opacity: 0.5;
}

.testimonial-avatar-new {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.testimonial-stars {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-name {
    color: var(--primary-navy);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-navy);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(26,95,138,0.3);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

.gallery-btn {
    background: var(--primary-navy);
    color: var(--white);
}

.gallery-btn:hover {
    background: var(--accent-gold);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-dot:hover {
    background: rgba(255,255,255,0.7);
}

.testimonial-dot.active {
    background: var(--white);
    transform: scale(1.2);
    border-color: var(--accent-gold);
}

.gallery-dots {
    margin-top: 30px;
}

.gallery-dot {
    width: 50px;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    background: var(--primary-blue);
}

.gallery-dot.active {
    background: var(--primary-navy);
    width: 70px;
}

/* Gallery Grid */
.gallery-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item-new {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-item-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-new:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,95,138,0.9) 0%, rgba(46,165,218,0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}

.gallery-overlay i {
    font-size: 32px;
}

.gallery-overlay span {
    font-size: 16px;
    font-weight: 600;
}

.gallery-item-new:hover .gallery-overlay {
    opacity: 1;
}

/* ========== GIOI THIEU PAGE ========== */
/* About Founder */
.about-founder-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-founder-img {
    flex: 0 0 380px;
}
.about-founder-img img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.about-founder-content {
    flex: 1;
}

/* Vision Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.vision-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.vision-card .vision-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.vision-card .vision-icon i {
    color: white;
    font-size: 24px;
}
.vision-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}
.vision-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Pham Gia */
.pham-gia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Difference Section */
.difference-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.difference-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.difference-column-right {
    padding-top: 40px;
}
.diff-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.diff-item-blue {
    background: linear-gradient(135deg, #2ea5da, #1a5f8a);
    color: white;
}
.diff-item-dark {
    background: linear-gradient(135deg, #1a5f8a, #0d3a5c);
    color: white;
}
.diff-item-white {
    background: white;
    border: 3px solid #2ea5da;
    color: var(--primary-navy);
}
.diff-item .diff-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.diff-item-white .diff-icon {
    background: linear-gradient(135deg, #2ea5da, #1a5f8a);
}
.diff-item .diff-icon i {
    font-size: 20px;
    color: white;
}
.diff-item span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.diff-item span.highlight {
    color: #f47c20;
    font-size: 18px;
    font-weight: 800;
}

/* Teachers Section */
.teachers-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}
.teachers-img {
    flex: 1;
}
.teachers-img img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.teachers-content {
    flex: 1;
}

/* ========== VALUES SECTION ========== */
.values-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    width: 200px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    /* Menu Toggle Button */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--gradient-primary);
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(26,95,138,0.3);
        z-index: 100;
        position: relative;
    }

    .menu-toggle:hover {
        transform: scale(1.05);
    }

    .menu-toggle i {
        font-size: 20px;
    }

    /* Mobile Navigation Menu - Full Screen Overlay */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(180deg, #0f172a 0%, #1a365d 50%, #1e4976 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 30px 30px;
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Close Button */
    .nav-menu .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.1);
        border: 2px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        color: white;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    .nav-menu .close-menu:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
    }

    /* Menu Links */
    .nav-menu > a,
    .nav-menu .nav-item > a {
        display: block;
        color: white;
        font-size: 18px;
        font-weight: 500;
        padding: 15px 0;
        text-decoration: none;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s;
    }

    .nav-menu > a:hover,
    .nav-menu .nav-item > a:hover {
        color: var(--accent-gold);
    }

    .nav-menu > a::after {
        display: none;
    }

    /* Nav Item (Dropdown Parent) */
    .nav-menu .nav-item {
        width: 100%;
        position: relative;
    }

    .nav-menu .nav-item > a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav-menu .nav-item > a i {
        font-size: 12px;
        transition: transform 0.3s;
    }

    .nav-menu .nav-item.dropdown-open > a i {
        transform: rotate(180deg);
    }

    /* Dropdown Menu */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        padding: 10px 0;
        display: none;
        border-radius: 10px;
        min-width: auto;
        margin-top: 5px;
    }

    .nav-menu .dropdown-menu::before {
        display: none;
    }

    .nav-menu .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu a {
        color: rgba(255,255,255,0.9);
        padding: 12px 20px;
        font-size: 15px;
        text-align: center;
        border-bottom: none;
    }

    .nav-menu .dropdown-menu a:hover {
        color: var(--accent-gold);
        background: rgba(255,255,255,0.05);
        padding-left: 20px;
    }

    .nav-menu .dropdown-menu a::before {
        display: none;
    }

    /* Hide header CTA on mobile */
    .header-cta {
        display: none;
    }

    /* Header layout on mobile */
    .header-main .container {
        padding: 10px 15px;
    }

    .logo img {
        height: 40px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .courses-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }

    .header-contact {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .hero {
        padding: 140px 0 100px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content .slogan {
        font-size: 24px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .stats-grid,
    .courses-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none;
    }

    /* Values Grid - Mobile */
    .values-grid {
        gap: 15px;
    }
    .value-card {
        width: calc(50% - 10px);
        min-width: 150px;
        padding: 25px 15px;
    }
    .value-card h3 {
        font-size: 26px !important;
    }
    .value-card p {
        font-size: 12px !important;
    }

    /* Gioi Thieu Page - Mobile */
    .about-founder-grid {
        flex-direction: column;
        gap: 30px;
    }
    .about-founder-img {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .about-founder-content {
        text-align: center;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vision-card {
        padding: 25px;
    }
    .vision-card .vision-icon {
        margin: 0 auto 15px;
    }
    .vision-card h3 {
        text-align: center;
    }
    .vision-card p {
        text-align: center;
    }

    .pham-gia-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .difference-grid {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .difference-column {
        width: 100%;
        max-width: 350px;
        gap: 15px;
    }
    .difference-column-right {
        padding-top: 0;
    }
    .diff-item {
        padding: 15px 20px;
    }
    .diff-item span {
        font-size: 14px;
    }

    .teachers-grid {
        flex-direction: column;
        gap: 30px;
    }
    .teachers-img {
        order: -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-about img.footer-logo {
        height: 45px;
        margin: 0 auto 15px;
        display: block;
    }

    .footer-about p {
        font-size: 14px;
        opacity: 0.9;
    }

    .social-links {
        justify-content: center;
    }

    .footer h4 {
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        display: none;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    /* Carousel Responsive */
    .testimonial-carousel-wrapper,
    .gallery-carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .testimonial-card-new {
        padding: 35px 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-avatar-new {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .gallery-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item-new {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* Carousel Mobile */
    .testimonial-carousel-wrapper,
    .gallery-carousel-wrapper {
        padding: 0 15px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .carousel-btn-prev {
        left: -5px;
    }

    .carousel-btn-next {
        right: -5px;
    }

    .testimonial-card-new {
        padding: 30px 20px;
    }

    .testimonial-quote {
        font-size: 32px;
        top: 15px;
        left: 15px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-avatar-new {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 25px;
    }

    .testimonial-dot {
        width: 10px;
        height: 10px;
    }

    .gallery-dot {
        width: 30px;
        height: 5px;
    }

    .gallery-dot.active {
        width: 50px;
    }
}

/* ========================================
   EXTENDED RESPONSIVE STYLES
   ======================================== */

/* Common Grid Classes */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* CEO Section */
.ceo-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.ceo-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Teachers Section */
.teacher-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.teacher-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Student Portal */
.portal-sidebar { width: 280px; flex-shrink: 0; }
.portal-content { flex: 1; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.portal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Form Layouts */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Branch/Location Grid */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* FAQ Layout */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Schedule Table */
.schedule-table { width: 100%; overflow-x: auto; }

@media (max-width: 1200px) {
    .ceo-grid { grid-template-columns: 350px 1fr; gap: 50px; }
    .teacher-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .portal-stats { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .ceo-grid { grid-template-columns: 1fr; gap: 40px; }
    .ceo-info-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .teacher-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .teacher-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Portal */
    .portal-layout { flex-direction: column; }
    .portal-sidebar { width: 100%; }
    .portal-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    /* General */
    .container { padding: 0 15px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 28px; }
    .section-title p { font-size: 14px; }

    /* CEO Section */
    .ceo-grid { gap: 30px; }
    .ceo-grid > div:first-child { order: 1; }
    .ceo-img { height: auto !important; max-height: 400px; width: 100%; object-fit: contain !important; }
    .ceo-info h2 { font-size: 28px; }
    .ceo-info p { font-size: 15px; line-height: 1.7; }
    .ceo-info-grid { grid-template-columns: 1fr; gap: 15px; }

    /* About Section */
    .about-grid { gap: 30px; }
    .about-image-grid { grid-template-columns: 1fr 1fr; }
    .about-image-grid > div:first-child { grid-row: auto; }
    .about-image-grid img { height: 150px !important; object-fit: cover; }
    .about-stats-card { position: relative !important; bottom: auto !important; right: auto !important; margin-top: 20px; width: 100%; }

    /* Teachers Section */
    .teacher-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .teacher-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 25px; }
    .teacher-stats-grid > div { border-right: none; padding: 15px; }

    /* Video Section */
    .video-stats { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .video-stats > div { min-width: 120px; }

    /* Grids */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr; }

    /* Portal */
    .portal-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .portal-grid { grid-template-columns: 1fr; }

    /* Tables */
    .schedule-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .schedule-table th, .schedule-table td { padding: 10px 8px; }

    /* Page Header */
    .page-header {
        padding: 30px 15px;
        margin-top: 95px;
    }
    .page-header .container {
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .page-header h1 {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .page-header p {
        font-size: 14px;
        line-height: 1.5;
    }
    .breadcrumb {
        font-size: 12px;
        margin-top: 12px;
    }

    /* Cards */
    .course-card, .blog-card, .branch-card { border-radius: 15px; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 14px; }
    .btn-lg { padding: 14px 28px; }
}

@media (max-width: 576px) {
    /* Portal Stats */
    .portal-stats { grid-template-columns: 1fr 1fr; }

    /* Teachers */
    .teacher-cards-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    .teacher-stats-grid { grid-template-columns: 1fr; }
    .teacher-stats-grid > div { border-bottom: 1px solid #e2e8f0; }
    .teacher-stats-grid > div:last-child { border-bottom: none; }

    /* About */
    .about-image-grid { grid-template-columns: 1fr; }

    /* Values - Full width on small screens */
    .value-card {
        width: 100%;
        max-width: 300px;
        padding: 30px 20px;
    }
    .value-card h3 {
        font-size: 28px !important;
    }
    .value-card p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
    .section-title p { font-size: 13px; }

    /* CEO */
    .ceo-img { height: auto !important; max-height: 300px; object-fit: contain !important; }
    .ceo-info h2 { font-size: 24px; }
    .ceo-info p { font-size: 14px; }

    /* Video */
    #playVideoBtn { width: 70px !important; height: 70px !important; }
    #playVideoBtn i { font-size: 24px !important; }

    /* Gioi Thieu - Extra small */
    .about-founder-img {
        max-width: 250px;
    }
    .vision-card {
        padding: 20px;
    }
    .diff-item {
        padding: 12px 15px;
        border-radius: 30px;
    }
    .diff-item .diff-icon {
        width: 38px;
        height: 38px;
    }
    .diff-item .diff-icon i {
        font-size: 16px;
    }
    .diff-item span {
        font-size: 13px;
    }
    .diff-item span.highlight {
        font-size: 15px;
    }

    /* Portal */
    .portal-stats { grid-template-columns: 1fr; }

    /* Values - Extra small */
    .value-card {
        width: 100%;
        max-width: none;
        padding: 25px 20px;
    }

    /* Footer - Extra small */
    .footer {
        padding: 30px 0 15px;
    }
    .footer-about p {
        font-size: 13px;
    }
    .footer-contact p {
        font-size: 13px;
    }
    .footer-bottom {
        font-size: 11px;
    }

    /* Page Header */
    .page-header {
        padding: 25px 10px;
    }
    .page-header .container {
        min-height: 130px;
    }
    .page-header h1 {
        font-size: 20px;
    }
    .page-header p {
        font-size: 13px;
    }
    .breadcrumb {
        font-size: 11px;
    }

    /* Modals */
    .modal-content { margin: 10px; border-radius: 15px; }

    /* Floating buttons */
    .floating-cta { bottom: 15px; right: 15px; gap: 10px; }
    .floating-btn { width: 45px; height: 45px; font-size: 18px; }

    /* Mobile Menu - Smaller screens */
    .nav-menu {
        padding: 70px 20px 20px;
    }
    .nav-menu .close-menu {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    .nav-menu > a,
    .nav-menu .nav-item > a {
        font-size: 16px;
        padding: 12px 0;
    }
    .nav-menu .dropdown-menu a {
        font-size: 14px;
        padding: 10px 15px;
    }
}
