/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    --purple: #6A4CFF;
    --purple-dark: #5038CC;
    --purple-light: #8B6FFF;
    --orange: #FF8A3D;
    --orange-light: #FFB380;
    --yellow: #FFD54A;
    --yellow-light: #FFE89A;
    --cream: #FFF9F0;
    --white: #ffffff;
    --dark: #2D2D3F;
    --dark-2: #4A4A5A;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --shadow-sm: 0 2px 10px rgba(106, 76, 255, 0.08);
    --shadow-md: 0 4px 20px rgba(106, 76, 255, 0.12);
    --shadow-lg: 0 8px 40px rgba(106, 76, 255, 0.16);
    --shadow-xl: 0 20px 60px rgba(106, 76, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Nunito', sans-serif;
    --font-display: 'Fredoka One', cursive;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106, 76, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 76, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--purple);
}

.btn-outline-sm {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-outline-sm:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-sm {
    background: var(--white);
    color: var(--purple);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.btn-white-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
}

/* ============================
   Section Headers
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(106, 76, 255, 0.08);
    color: var(--purple);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================
   Announcement Bar
   ============================ */
.announcement-bar {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.82rem;
    position: relative;
    z-index: 1001;
}

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

.announcement-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.announcement-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-left span i {
    color: var(--yellow);
}

.announcement-right {
    display: flex;
    gap: 12px;
}

.announcement-right a {
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    font-size: 0.75rem;
}

.announcement-right a:hover {
    background: var(--yellow);
    color: var(--purple);
}

/* ============================
   Navbar
   ============================ */
.navbar {
    background: var(--white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.2;
}

.logo small {
    color: var(--purple);
    font-size: 0.85rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

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

.nav-link {
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--purple);
    background: rgba(106, 76, 255, 0.06);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.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 {
    background: linear-gradient(135deg, #F5F0FF 0%, #FFF5EB 50%, #FFF9E6 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(106, 76, 255, 0.08);
    top: -50px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 138, 61, 0.08);
    top: 30%;
    right: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.blob-3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 213, 74, 0.1);
    bottom: 20%;
    left: 10%;
    animation: float 7s ease-in-out infinite 1s;
}

.circle-1 {
    width: 80px;
    height: 80px;
    border: 3px dashed var(--purple);
    opacity: 0.2;
    top: 20%;
    right: 30%;
    animation: spin 20s linear infinite;
}

.circle-2 {
    width: 60px;
    height: 60px;
    border: 3px dashed var(--orange);
    opacity: 0.2;
    bottom: 30%;
    left: 30%;
    animation: spin 15s linear infinite reverse;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(106, 76, 255, 0.1);
    color: var(--purple);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

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

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.highlight {
    color: var(--purple);
    position: relative;
}

.highlight-2 {
    color: var(--orange);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 480px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--purple);
    display: block;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--purple);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.hero-img-wrapper img {
    width: 480px;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.admissions-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: linear-gradient(135deg, var(--orange), #FF6B6B);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 138, 61, 0.4);
    animation: bounce 2s ease-in-out infinite;
    z-index: 2;
}

.admissions-badge i {
    font-size: 1.4rem;
}

.admissions-badge span {
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Floating Doodles */
.doodle {
    position: absolute;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.doodle-crown {
    top: -10px;
    right: 60px;
    color: var(--yellow);
    font-size: 2rem;
    animation-delay: 0s;
}

.doodle-pencil {
    top: 40%;
    left: -40px;
    color: var(--orange);
    animation-delay: 0.5s;
}

.doodle-star {
    top: 10%;
    left: 20px;
    color: var(--yellow);
    animation-delay: 1s;
}

.doodle-book {
    bottom: 20%;
    right: -20px;
    color: var(--purple);
    animation-delay: 1.5s;
}

.doodle-arrow {
    bottom: 40%;
    left: -50px;
    color: var(--purple-light);
    font-size: 1.2rem;
    transform: rotate(-20deg);
    animation-delay: 2s;
}

.doodle-balloon {
    top: 25%;
    right: -10px;
    color: #FF6B8A;
    font-size: 2.5rem;
    opacity: 0.4;
    animation-delay: 0.8s;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================
   About Section
   ============================ */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--orange), #FF6B6B);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 138, 61, 0.4);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px dashed var(--purple);
    border-radius: var(--radius-xl);
    top: 20px;
    left: 20px;
    opacity: 0.2;
    z-index: -1;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feature-item h4 {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.78rem;
    color: var(--gray);
}

/* ============================
   Programs Section
   ============================ */
.programs {
    padding: 100px 0;
    background: var(--cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--card-bg, var(--white));
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-color);
}

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

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--card-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-age {
    display: inline-block;
    padding: 4px 12px;
    background: var(--card-color);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.program-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.program-features {
    text-align: left;
    margin-bottom: 20px;
}

.program-features li {
    font-size: 0.82rem;
    color: var(--dark-2);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-features li i {
    color: #4CAF50;
    font-size: 0.7rem;
}

/* ============================
   Classes Section
   ============================ */
.classes {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--purple), #7B5FFF, var(--purple-dark));
    position: relative;
    overflow: hidden;
}

.classes-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.c-blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.c-blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.class-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.class-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.class-image {
    position: relative;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.class-age-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
}

.class-content {
    padding: 20px;
}

.class-content h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.class-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ============================
   Statistics Section
   ============================ */
.statistics {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #F8F5FF, #FFF5EB);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--purple);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 1.3rem;
}

.stat-count {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--dark);
}

.stat-plus {
    color: var(--orange);
    font-size: 1.6rem;
}

.stat-title {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================
   Why Choose Us
   ============================ */
.why-choose {
    padding: 100px 0;
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple);
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================
   Teachers Section
   ============================ */
.teachers {
    padding: 100px 0;
    background: var(--white);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.teacher-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.teacher-image {
    position: relative;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(transparent, rgba(106, 76, 255, 0.9));
    transform: translateY(100%);
    transition: var(--transition);
}

.teacher-card:hover .teacher-social {
    transform: translateY(0);
}

.teacher-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
}

.teacher-social a:hover {
    background: var(--white);
    color: var(--purple);
}

.teacher-info {
    padding: 16px 20px;
    text-align: center;
}

.teacher-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.teacher-info span {
    color: var(--purple);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============================
   Testimonials
   ============================ */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F5FF 0%, #FFF5EB 100%);
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

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

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--purple);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    margin-bottom: 16px;
}

.stars i {
    color: var(--yellow);
    font-size: 0.9rem;
}

.testimonial-content p {
    font-size: 1.05rem;
    color: var(--dark-2);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--purple);
}

.testimonial-author h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.82rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 2px solid var(--purple);
    background: var(--white);
    color: var(--purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--purple);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--purple);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* ============================
   Gallery Section
   ============================ */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 76, 255, 0.8), rgba(139, 111, 255, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}

.gallery-overlay i {
    font-size: 1.8rem;
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 0.9rem;
}

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

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

/* ============================
   Admission Process
   ============================ */
.admission-process {
    padding: 100px 0;
    background: var(--cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.timeline-line {
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--purple), var(--orange));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
}

.timeline-dot {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 3px solid var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.timeline-dot span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--purple);
}

.timeline-item:hover .timeline-dot {
    background: var(--purple);
    border-color: var(--purple);
    transform: scale(1.1);
}

.timeline-item:hover .timeline-dot span {
    color: var(--white);
}

.timeline-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover .timeline-card {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--white);
    font-size: 1.1rem;
}

.timeline-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================
   Events Section
   ============================ */
.events {
    padding: 100px 0;
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    text-align: center;
    line-height: 1;
}

.event-date .day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
}

.event-date .month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-content {
    padding: 20px;
}

.event-content h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.event-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.event-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--purple);
    font-weight: 600;
}

.event-meta i {
    margin-right: 4px;
}

/* ============================
   Contact Section
   ============================ */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F5FF 0%, #FFF5EB 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info {
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -50px;
    right: -50px;
}

.contact-info::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: 20px;
    left: -50px;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-info > p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-size: 1rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.contact-form {
    padding: 50px 40px;
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h3 i {
    color: var(--purple);
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--light);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
    font-size: 0.9rem;
}

.form-group textarea ~ i {
    top: 18px;
    transform: none;
}

.form-group select ~ i {
    left: auto;
    right: 16px;
    transform: none;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 14px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    color: var(--dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 0 0 0;
    position: relative;
}

.footer-wave {
    position: relative;
    top: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 20px 0 50px;
}

.footer-logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
}

.footer-about p {
    color: var(--gray-light);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    color: var(--gray-light);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--yellow);
    padding-left: 6px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.footer-contact ul li i {
    color: var(--orange);
    margin-top: 3px;
}

.newsletter {
    margin-top: 24px;
}

.newsletter h4 {
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--gray-light);
}

.newsletter-form input:focus {
    border-color: var(--purple);
}

.newsletter-form button {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--purple);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--yellow);
}

/* ============================
   Video Modal
   ============================ */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 1;
    transform: scale(0.8);
    transition: var(--transition);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================
   Lightbox
   ============================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* ============================
   Scroll to Top
   ============================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 76, 255, 0.5);
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.6rem; }
    .hero-img-wrapper img { width: 380px; height: 420px; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .classes-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .teachers-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content { order: 1; }
    .hero-image { order: 0; margin-bottom: 20px; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-img-wrapper img { width: 320px; height: 360px; }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-line {
        top: 35px;
        bottom: 35px;
        left: 35px;
        right: auto;
        width: 3px;
        height: auto;
    }
    
    .timeline-item {
        display: flex;
        text-align: left;
        gap: 20px;
        align-items: center;
    }
    
    .timeline-dot {
        margin: 0;
        min-width: 70px;
    }
    
    .timeline-card { flex: 1; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .announcement-bar { display: none; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-cta { display: none; }
    
    .hamburger { display: flex; }
    
    .hero { min-height: auto; padding: 60px 0 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-img-wrapper img { width: 260px; height: 280px; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.4rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    
    .programs-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .classes-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .teachers-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    .events-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    
    .about-features { grid-template-columns: 1fr; }
    .about-img-wrapper img { height: 350px; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .doodle { display: none; }
    .admissions-badge {
        left: auto;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { gap: 16px; }
    .section-header h2 { font-size: 1.5rem; }
    .contact-info { padding: 30px 24px; }
    .contact-form { padding: 30px 24px; }
    .testimonial-content { padding: 24px; }
    .stat-box { padding: 20px 12px; }
    .stat-count { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
}

/* ============================
   Mobile Nav Overlay
   ============================ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
