:root {
    --blue: #0066FF;
    --blue-dark: #0044CC;
    --green: #00C853;
    --green-light: #69F0AE;
    --teal: #00BFA5;
    --gradient: linear-gradient(135deg, #0066FF 0%, #00C853 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 200, 83, 0.08) 100%);
    --gradient-medium: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 200, 83, 0.15) 100%);
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F7FC;
    --bg-tertiary: #EDF1F9;
    --text-primary: #1A1F36;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --shadow-sm: 0 2px 8px rgba(0, 40, 100, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 40, 100, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 40, 100, 0.1);
    --shadow-glow: 0 8px 40px rgba(0, 102, 255, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all .4s ease;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 40, 100, .06);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 55px;
    transition: transform .3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color .3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width .3s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--blue);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    transition: transform .3s ease, box-shadow .3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    transition: color .3s;
}

.mobile-menu a:hover {
    color: var(--blue);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ====== PAGE HEADER ====== */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #FFFFFF 0%, #F0F4FF 40%, #E8FFF0 70%, #F4F7FC 100%);
}

.page-header-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 102, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 255, .03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.page-header-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ph-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
}

.ph-shape-1 {
    width: 420px;
    height: 420px;
    background: rgba(0, 102, 255, .12);
    top: -15%;
    right: -8%;
    animation: ph-float 10s ease-in-out infinite;
}

.ph-shape-2 {
    width: 320px;
    height: 320px;
    background: rgba(0, 200, 83, .1);
    bottom: -10%;
    left: -5%;
    animation: ph-float 10s ease-in-out infinite 3s;
}

.ph-shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(0, 191, 165, .08);
    top: 20%;
    left: 30%;
    animation: ph-float 12s ease-in-out infinite 5s;
}

@keyframes ph-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--blue);
    text-decoration: none;
    transition: opacity .3s;
}

.breadcrumb a:hover {
    opacity: .7;
}

.breadcrumb .sep {
    opacity: .4;
}

.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-header h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.page-header .lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
    letter-spacing: .005em;
}

/* Quick nav pills */
.quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #fff;
    border: 1.5px solid rgba(0, 40, 100, .08);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: var(--shadow-sm);
}

.quick-nav a:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-nav a .pill-emoji {
    font-size: 16px;
}

/* ====== FEATURED BANNER ====== */
.featured-banner {
    background: var(--gradient);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.featured-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(255, 255, 255, .05) 0%, transparent 50%);
}

.featured-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.featured-inner h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.featured-inner p {
    font-size: 15px;
    opacity: .85;
    margin-bottom: 28px;
}

.featured-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 32px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.featured-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: 12px 24px 12px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    scroll-snap-align: start;
    transition: all .3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.featured-chip:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.featured-chip .chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.featured-chip .chip-tag {
    background: rgba(255, 255, 255, .25);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

/* ====== PROGRAM SECTIONS ====== */
.program-section {
    padding: 80px 0;
}

.program-section:nth-child(even) {
    background: var(--bg-secondary);
}

.program-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 24px;
    flex-wrap: wrap;
}

.program-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-label-kids {
    background: rgba(255, 152, 0, .1);
    color: #F57C00;
}

.program-label-teens {
    background: rgba(0, 102, 255, .08);
    color: var(--blue);
}

.program-label-uni {
    background: rgba(156, 39, 176, .08);
    color: #9C27B0;
}

.program-label-pro {
    background: rgba(0, 150, 136, .08);
    color: #00897B;
}

.program-label-seniors {
    background: rgba(233, 30, 99, .08);
    color: #C2185B;
}

.program-header-row h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.program-header-row h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-focus {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.6;
}

.program-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 20px;
    background: var(--gradient-soft);
    border-radius: 50px;
    border: 1px solid rgba(0, 102, 255, .06);
}

/* Course grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Course card */
.course-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    border: 1px solid rgba(0, 40, 100, .05);
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, .08);
}

.course-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.course-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1);
}

/* Per-program icon colors */
.icon-kids {
    background: rgba(255, 152, 0, .1);
}

.icon-teens {
    background: rgba(0, 102, 255, .08);
}

.icon-uni {
    background: rgba(156, 39, 176, .08);
}

.icon-pro {
    background: rgba(0, 150, 136, .08);
}

.icon-seniors {
    background: rgba(233, 30, 99, .08);
}

.course-card h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.course-card .course-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    border-radius: 50px;
    font-family: 'Sora', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    border: 1.5px solid rgba(0, 102, 255, .15);
    color: var(--blue);
    background: transparent;
}

.btn-enroll:hover {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, .2);
}

.btn-enroll svg {
    transition: transform .3s ease;
}

.btn-enroll:hover svg {
    transform: translateX(3px);
}

/* ====== CTA ====== */
.cta-section {
    padding: 80px 0 100px;
}

.cta-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 72px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .1) 0%, transparent 40%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .08) 0%, transparent 40%);
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: -.02em;
}

.cta-card p {
    font-size: 17px;
    opacity: .9;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--blue);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Sora', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

/* ====== FOOTER ====== */
.footer {
    background: #0B1426;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .9);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color .3s ease;
}

.footer-col a:hover {
    color: var(--green-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    transition: all .3s ease;
}

.footer-social a:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, .4);
    font-size: 13px;
}

/* ====== REVEAL ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: .1s;
}

.stagger-2 {
    transition-delay: .2s;
}

.stagger-3 {
    transition-delay: .3s;
}

.stagger-4 {
    transition-delay: .4s;
}

.stagger-5 {
    transition-delay: .5s;
}

/* ====== RESPONSIVE ====== */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media(max-width:768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

    .page-header {
        padding: 130px 0 60px;
    }

    .page-header h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }

    .page-header .lead {
        font-size: 16px;
    }

    .quick-nav {
        gap: 8px;
    }

    .quick-nav a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .program-section {
        padding: 60px 0;
    }

    .program-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 24px 20px 20px;
    }

    .featured-banner {
        padding: 40px 0;
    }

    .cta-card {
        padding: 48px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media(max-width:480px) {
    .page-header {
        padding: 120px 0 48px;
    }

    .featured-chip {
        padding: 10px 18px 10px 12px;
        font-size: 13px;
    }

    .course-card-top {
        gap: 12px;
    }

    .course-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}