/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary: #FF6B35;
    --secondary: #FFC53A;
    --accent: #4ECDC4;
    --purple: #9B59B6;
    --pink: #FF5E99;
    --blue: #5B9BD5;
    --green: #6BCF7F;
    --bg-light: #FFF8F3;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-gray: #6C757D;
    --text-light: #95A5A6;
    --border: #E8ECF1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 2rem;
}

.logo .highlight {
    color: var(--primary);
}

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

.nav-menu a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:not(.btn-primary):hover,
.nav-menu a.active {
    color: var(--primary);
}

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

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

/* Keep Register Now button text white (avoid orange-on-orange when active) */
.nav-menu a.btn-primary,
.nav-menu a.btn-primary:hover,
.nav-menu a.btn-primary.active {
    color: white !important;
}
.nav-menu a.btn-primary.active::after {
    display: none;
}

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

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE5F0 50%, #F0E5FF 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 10%;
    left: 5%;
    animation-delay: 5s;
}

.hero-shape.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--purple);
    top: 40%;
    left: 15%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

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

.hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.hero-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: rotate(-2deg);
    transition: var(--transition);
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-features span {
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

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

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

.program-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

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

.program-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF5F0 0%, white 100%);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.program-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.program-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.program-features {
    margin-bottom: 30px;
}

.program-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    font-weight: 500;
}

.program-features li:last-child {
    border-bottom: none;
}

.program-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    margin-right: 10px;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.half-star {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
}

.half-star::before {
    content: '⭐';
    position: absolute;
    width: 50%;
    overflow: hidden;
}

.half-star::after {
    content: '☆';
}

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

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--pink), var(--purple));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l5 15h15l-12 9 5 15-13-9-13 9 5-15-12-9h15z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo .highlight {
    color: var(--primary);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

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

    .mobile-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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