:root {
    --primary: #0082C8;
    --primary-dark: #005a8f;
    --secondary: #F29111;
    --accent-blue: #00AEEF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
    --bg-card: #FFFFFF;
    --border-card: #eef2f5;
    --shadow-card: rgba(0,0,0,0.05);
    --bg-body: #FFFFFF;
    --nav-bg: rgba(255,255,255,0.95);
    --input-bg: #f8fbff;
    --input-border: #eef2f5;
}

[data-theme="dark"] {
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --bg-light: #0f172a;
    --white: #1e293b;
    --bg-card: #1e293b;
    --border-card: #334155;
    --shadow-card: rgba(0, 0, 0, 0.4);
    --bg-body: #0b0f19;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --input-bg: #1e293b;
    --input-border: #334155;
    --primary-dark: #8cd3ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-body);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}
.loader {
    text-align: center;
    color: var(--white);
}
.loader-gear {
    font-size: 4rem;
    margin-bottom: 20px;
}
.loader p {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-card);
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s, box-shadow 0.3s;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-primary:hover {
    background: #d87c0d;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.theme-toggle:hover {
    background: var(--bg-light);
    transform: scale(1.1) rotate(15deg);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 80px 0;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(242, 145, 17, 0.3);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    font-size: 2.2rem;
    color: var(--text-dark);
    display: block;
    margin-top: 10px;
}

.hero-slogan {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.btn-large {
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 130, 200, 0.3);
    transition: all 0.3s;
    display: inline-block;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 130, 200, 0.4);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 5px solid var(--white);
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-card);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.3s, border-color 0.3s;
    border: 1px solid var(--border-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
}

.program-card:hover {
    box-shadow: 0 15px 40px var(--shadow-card);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px 20px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.age-tag {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.3);
    border: 2px solid var(--white);
    white-space: nowrap;
}

.card-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    min-height: 65px;
}

.btn-card {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: auto;
    align-self: center;
}

.program-card:hover .btn-card {
    background: var(--primary);
    color: var(--white);
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
    padding: 100px 0;
    background: var(--bg-body);
    transition: background 0.3s;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.schedule-tab-btn {
    background: var(--input-bg);
    color: var(--text-dark);
    border: none;
    padding: 12px 25px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px var(--shadow-card);
}

.schedule-tab-btn i {
    color: var(--primary);
    transition: transform 0.3s;
}

.schedule-tab-btn:hover {
    background: var(--border-card);
    transform: translateY(-2px);
}

.schedule-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 130, 200, 0.3);
}

.schedule-tab-btn.active i {
    color: var(--white);
}

.schedule-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.schedule-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.schedule-grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px var(--shadow-card);
    transition: all 0.3s ease, background-color 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.schedule-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.schedule-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.sgc-header {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sgc-header i {
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.sgc-days {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sgc-days i {
    color: var(--secondary);
}

.sgc-time-box {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background-color 0.3s, border-color 0.3s;
}

.sgc-time-box .session {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sgc-time-box .session i {
    color: var(--secondary);
}

.sgc-time-box .time {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sgc-time-box .time i {
    color: var(--primary);
    font-size: 1rem;
}

.note-text {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #e07a00;
    font-style: italic;
    font-weight: 600;
}

/* Highlight card style */
.highlight-card {
    border-color: #ffe8cc;
    background: #fffdfa;
}

.highlight-card::before {
    background: var(--secondary);
}

.highlight-card .sgc-header i {
    color: var(--secondary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
    background-image: radial-gradient(circle at right top, var(--accent-blue), var(--primary) 50%);
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-dark);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-item i {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
    background: var(--input-bg);
    color: var(--text-dark);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    color: var(--text-dark);
}

.btn-submit {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-submit:hover {
    background: #d87c0d;
    transform: translateY(-2px);
}

/* ===== ROADMAP SECTION ===== */
/* ===== ROADMAP SECTION ===== */
.roadmap-section {
    padding: 100px 0;
    background: var(--bg-light);
    transition: background 0.3s;
}

.roadmap-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.roadmap-tab-btn {
    background: var(--input-bg);
    color: var(--text-dark);
    border: none;
    padding: 12px 25px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px var(--shadow-card);
}

.roadmap-tab-btn i {
    color: var(--primary);
}

.roadmap-tab-btn:hover {
    background: var(--border-card);
    transform: translateY(-2px);
}

.roadmap-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 130, 200, 0.3);
}

.roadmap-tab-btn.active i {
    color: var(--white);
}

.roadmap-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.roadmap-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* STEM Grid */
.roadmap-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.roadmap-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 30px 25px 25px;
    box-shadow: 0 8px 25px var(--shadow-card);
    position: relative;
    transition: all 0.3s ease, background-color 0.3s, border-color 0.3s;
}

.roadmap-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-card);
}

.roadmap-card-item .step-num {
    position: absolute;
    top: -18px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 130, 200, 0.3);
}

.step-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.step-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.step-age {
    background: #e1f5fe;
    color: #0288d1;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    white-space: nowrap;
}

.roadmap-card-item ul, .roadmap-col-item ul {
    list-style: none;
}

.roadmap-card-item ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.roadmap-card-item ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

/* Highlight card for tournament stage */
.highlight-step {
    border: 2px solid var(--secondary);
    background: #fffcf8;
}

.highlight-step .step-num {
    background: linear-gradient(135deg, var(--secondary), #d87c0d);
    box-shadow: 0 4px 10px rgba(242, 145, 17, 0.3);
}

.highlight-step ul li::before {
    color: var(--secondary);
}

/* 2 Columns Layout for Math and Video Editing */
.roadmap-two-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.subpane-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roadmap-step-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-list-item {
    display: flex;
    gap: 20px;
}

.step-badge {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 130, 200, 0.2);
}

.step-list-item h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.step-list-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.roadmap-goals-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 130, 200, 0.25);
    height: fit-content;
}

.roadmap-goals-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.roadmap-goals-box ul {
    list-style: none;
}

.roadmap-goals-box ul li {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.roadmap-goals-box ul li:last-child {
    margin-bottom: 0;
}

.roadmap-goals-box ul li i {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-top: 3px;
}

/* Timeline Style for Video Edit */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 20px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 37px;
    width: 2px;
    height: calc(100% - 20px);
    background: #e1e8f0;
}

.timeline-step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.t-badge {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.t-content h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.t-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.design-benefits {
    background: linear-gradient(135deg, var(--secondary), #d87c0d);
    box-shadow: 0 10px 30px rgba(242, 145, 17, 0.25);
}

.design-benefits ul li i {
    color: var(--white);
}

/* Three Columns for Office & AI */
.roadmap-three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.roadmap-col-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-card);
    transition: all 0.3s ease, background-color 0.3s, border-color 0.3s;
}

.roadmap-col-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-card);
}

.col-header {
    padding: 22px;
    text-align: center;
    color: var(--white);
}

.col-header i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.col-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ch-1 { background: linear-gradient(135deg, var(--primary), var(--accent-blue)); }
.ch-2 { background: linear-gradient(135deg, var(--secondary), #d87c0d); }
.ch-3 { background: linear-gradient(135deg, #6c5ce7, #8e44ad); }

.music-ch-1 { background: linear-gradient(135deg, #0082C8, #00AEEF); } /* Blue */
.music-ch-2 { background: linear-gradient(135deg, #ff4757, #ee5253); } /* Red */
.music-ch-3 { background: linear-gradient(135deg, #2ed573, #26de81); } /* Green */

.roadmap-col-item ul {
    padding: 25px;
}

.roadmap-col-item ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.roadmap-col-item ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
    top: -2px;
}

.roadmap-col-item ul li strong {
    color: var(--text-dark);
}

.roadmap-footer-benefits {
    margin-top: 40px;
    background: #f0f7ff;
    border: 1px solid #e1efff;
    border-radius: 16px;
    padding: 25px 30px;
    text-align: center;
}

.music-benefits {
    background: #fff8f8;
    border: 1px solid #ffe3e3;
}

.roadmap-footer-benefits h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.benefits-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.benefits-row span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefits-row span i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4fd 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-card);
    border: 1px solid var(--border-card);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: var(--accent-blue);
    opacity: 0.12;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stars {
    margin-bottom: 18px;
    color: #f5b731;
    font-size: 1.1rem;
}

.stars i {
    margin-right: 3px;
}

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

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

.author-avatar {
    font-size: 2.8rem;
    color: var(--accent-blue);
    line-height: 1;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-card);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-card);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px var(--shadow-card);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: inherit;
    text-align: left;
    gap: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: #f8fbff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 22px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-container, .contact-container {
        flex-direction: column;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease, background-color 0.3s;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        margin-left: 0;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    .theme-toggle {
        margin-left: 0;
        margin-top: 15px;
        align-self: flex-start;
    }

    .logo {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    /* Hide desktop table, show cards */
    .schedule-wrapper {
        display: none;
    }
    .schedule-cards {
        display: block;
    }

    .contact-form {
        width: 100%;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {
    /* Collapse the two-column grid layouts */
    .roadmap-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Make roadmap and schedule tab buttons slightly smaller for better mobile wrapping */
    .roadmap-tab-btn, .schedule-tab-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    /* Optimize the roadmap timeline padding on mobile */
    .roadmap-timeline {
        padding-left: 10px;
    }
    .roadmap-timeline::before {
        left: 28px;
    }
    
    /* Hero Title styling adjustments for mobile */
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-title span {
        font-size: 1.5rem;
    }
    
    /* Single column grid for course cards */
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hide Zalo and Facebook tooltips on mobile to avoid overlapping critical elements */
    .zalo-tooltip, .fb-tooltip {
        display: none !important;
    }
}

/* ===== ZALO FLOATING BUTTON ===== */
.zalo-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #0068ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
    z-index: 999;
    transition: transform 0.3s;
    animation: zalo-pulse 2s infinite;
    text-decoration: none;
}

.zalo-float:hover {
    transform: scale(1.1);
}

.zalo-icon {
    width: 30px;
    height: 30px;
}

.zalo-tooltip {
    position: absolute;
    right: 72px;
    background: #0068ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.zalo-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #0068ff;
}

.zalo-float:hover .zalo-tooltip {
    opacity: 1;
}

@keyframes zalo-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* ===== FACEBOOK FLOATING BUTTON ===== */
.fb-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    z-index: 999;
    transition: transform 0.3s;
    animation: fb-pulse 2s infinite;
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
}

.fb-float:hover {
    transform: scale(1.1);
}

.fb-tooltip {
    position: absolute;
    right: 72px;
    background: #1877f2;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.fb-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1877f2;
}

@keyframes fb-pulse {
    0% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(24, 119, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, 0); }
}

/* ===== DARK THEME STYLE OVERRIDES ===== */
[data-theme="dark"] .roadmap-footer-benefits {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .benefits-row span {
    color: var(--text-dark);
}
[data-theme="dark"] .music-benefits {
    background: #2d1d28;
    border-color: #4a283e;
}
[data-theme="dark"] .faq-item.active .faq-question {
    background: #1e293b;
}
[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
}
[data-theme="dark"] .hero-image img {
    border-color: var(--white);
}
[data-theme="dark"] .testimonials-section {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
}
[data-theme="dark"] .step-age {
    background: #0369a1;
    color: #bae6fd;
}
[data-theme="dark"] .highlight-step {
    background: #2a1b0c;
}
[data-theme="dark"] .highlight-card {
    background: #2a1b0c;
    border-color: #4a3014;
}
[data-theme="dark"] .roadmap-timeline::before {
    background: var(--border-card);
}

/* Smooth transition for premium dark mode toggle */
.navbar, .hero-section, .programs-section, .roadmap-section, .schedule-section, .testimonials-section, .faq-section, .program-card, .schedule-grid-card, .roadmap-card-item, .roadmap-col-item, .testimonial-card, .faq-item, .faq-question, .contact-form, input, select, textarea, button {
    transition: background 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease-out;
}
