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

:root {
    /* Colors - Matching React Tailwind Config */
    --vibrant-purple: #7C3AED;
    --hot-pink: #EC4899;
    --bright-orange: #FF8C42;
    --sunny-yellow: #FFD60A;
    --sky-blue: #0EA5E9;
    --turquoise: #06B6D4;
    --fresh-lime-green: #22C55E;
    --mint-green: #10B981;
    --deep-purple: #6D28D9;
    --bright-magenta: #D946EF;
    --golden-yellow: #FBBF24;
    --coral-red: #FF6B6B;
    --soft-peach: #FECACA;
    --light-lavender: #E9D5FF;
    --soft-white: #FAFAFA;
    --very-light-purple: #F3E8FF;
    --very-light-orange: #FEF3C7;
    --very-light-blue: #E0F2FE;
    
    /* Typography - Matching React */
    --font-family: 'Fredoka', 'DM Sans', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #374151;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Focus States for Accessibility */
*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--vibrant-purple), 0 0 0 4px rgba(124, 58, 237, 0.2);
    transition: box-shadow 0.3s ease;
}

/* Custom Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle at 2px 2px, rgba(124, 58, 237, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
}

.bg-pattern-waves {
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255, 140, 66, 0.05) 10px, transparent 11px, rgba(255, 140, 66, 0.05) 12px, transparent 20px);
}

.bg-pattern-subtle {
    background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--very-light-purple);
}

.btn-light {
    background: var(--sunny-yellow);
    color: var(--deep-purple);
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    width: 45px;
    height: 45px;
}

.logo-text h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--deep-purple);
    transition: font-size 0.3s ease;
}

.navbar.scrolled .logo-text h3 {
    font-size: 1.125rem;
}

.logo-text p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--vibrant-purple);
    transition: font-size 0.3s ease;
}

.navbar.scrolled .logo-text p {
    font-size: 0.8rem;
}

.highlight {
    color: var(--hot-pink);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--vibrant-purple);
    transform: translateY(-1px);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--vibrant-purple);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--hot-pink);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--hot-pink);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vibrant-purple) 0%, var(--bright-orange) 50%, var(--sky-blue) 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.8) 0%, 
        rgba(236, 72, 153, 0.6) 50%, 
        rgba(255, 140, 66, 0.8) 100%);
    mix-blend-mode: multiply;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: white;
    z-index: 2;
    position: relative;
}

.admission-badge {
    display: inline-block;
    background: var(--sunny-yellow);
    color: var(--deep-purple);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 214, 10, 0.4);
    animation: bounce 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--sunny-yellow), var(--bright-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--bright-orange), var(--hot-pink));
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(255, 140, 66, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.hero-buttons .btn-secondary {
    background: white;
    color: var(--vibrant-purple);
    border: none;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.hero-buttons .btn-secondary:hover {
    background: var(--very-light-purple);
    transform: translateY(-3px) scale(1.05);
}

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

.hero-wave svg {
    width: 100%;
    height: 100%;
    fill: var(--very-light-purple);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.welcome-section {
    background: var(--very-light-purple);
    position: relative;
}

.programs-section {
    background: var(--very-light-orange);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255, 140, 66, 0.05) 10px, transparent 11px, rgba(255, 140, 66, 0.05) 12px, transparent 20px);
    opacity: 0.5;
    z-index: 0;
}

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

.testimonials-section {
    background: white;
    padding: 6rem 0;
}

.gallery-section {
    background: var(--very-light-blue);
    position: relative;
}

.cta-section {
    background: linear-gradient(135deg, var(--vibrant-purple) 0%, var(--hot-pink) 50%, var(--bright-orange) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-light {
    background: var(--sunny-yellow);
    color: var(--deep-purple);
    border: none;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 25px rgba(255, 214, 10, 0.4);
}

.cta-buttons .btn-light:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
}

.cta-buttons .btn-outline {
    background: white;
    color: var(--vibrant-purple);
    border: none;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline:hover {
    background: var(--very-light-purple);
    transform: translateY(-3px) scale(1.05);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.section-line.orange {
    background: linear-gradient(135deg, var(--bright-orange), var(--sunny-yellow));
}

.section-line.blue {
    background: linear-gradient(135deg, var(--sky-blue), var(--vibrant-purple));
}

.section-line.pink {
    background: linear-gradient(135deg, var(--hot-pink), var(--bright-orange));
}

.section-title {
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    font-weight: 500;
    color: #6B7280;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    border-bottom: 4px solid transparent;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--hot-pink);
}

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

.highlight-card[data-color="purple-pink"] .highlight-icon {
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
}

.highlight-card[data-color="orange-yellow"] .highlight-icon {
    background: linear-gradient(135deg, var(--bright-orange), var(--sunny-yellow));
}

.highlight-card[data-color="blue-turquoise"] .highlight-icon {
    background: linear-gradient(135deg, var(--sky-blue), var(--turquoise));
}

.highlight-card[data-color="green-mint"] .highlight-icon {
    background: linear-gradient(135deg, var(--fresh-lime-green), var(--mint-green));
}

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

.highlight-card h3 {
    color: #1F2937;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #6B7280;
    font-weight: 500;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #F3F4F6;
    border-left: 5px solid var(--vibrant-purple);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    opacity: 0.1;
    border-radius: 50%;
    margin-right: -64px;
    margin-top: -64px;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.program-card:hover::before {
    opacity: 0.2;
}

.program-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-card:nth-child(2) {
    border-left-color: var(--bright-orange);
}

.program-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--bright-orange), var(--sunny-yellow));
}

.program-card:nth-child(3) {
    border-left-color: var(--fresh-lime-green);
}

.program-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--fresh-lime-green), var(--turquoise));
}

.program-card .program-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.program-card:nth-child(2) .program-icon {
    background: linear-gradient(135deg, var(--bright-orange), var(--sunny-yellow));
}

.program-card:nth-child(3) .program-icon {
    background: linear-gradient(135deg, var(--fresh-lime-green), var(--turquoise));
}

.program-card h3 {
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.age-group {
    background: var(--very-light-purple);
    color: var(--vibrant-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.program-card p {
    color: #6B7280;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    margin-bottom: 2rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--very-light-purple);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid white;
    border-left: 6px solid var(--vibrant-purple);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:nth-child(2) {
    background: var(--very-light-orange);
    border-left-color: var(--bright-orange);
}

.testimonial-card:nth-child(3) {
    background: #fefce8;
    border-left-color: var(--sunny-yellow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: #D1D5DB;
    opacity: 0.5;
    font-family: serif;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star-filled {
    color: var(--sunny-yellow);
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.testimonial-card p {
    font-style: italic;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.125rem;
    position: relative;
    z-index: 10;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author::before {
    content: attr(data-initial);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-author strong {
    color: #1F2937;
    font-size: 1.125rem;
}

/* Gallery Preview */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 288px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--hot-pink);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(124, 58, 237, 0.9) 0%, 
        rgba(236, 72, 153, 0.4) 50%, 
        transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.gallery-overlay h4 {
    color: white;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: translateY(16px);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--vibrant-purple) 0%, var(--hot-pink) 50%, var(--bright-orange) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-light {
    background: var(--sunny-yellow);
    color: var(--deep-purple);
    border: none;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 25px rgba(255, 214, 10, 0.4);
}

.cta-buttons .btn-light:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
}

.cta-buttons .btn-outline {
    background: white;
    color: var(--vibrant-purple);
    border: none;
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline:hover {
    background: var(--very-light-purple);
    transform: translateY(-3px) scale(1.05);
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 2px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--hot-pink);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--hot-pink);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem;
        justify-content: flex-start;
        gap: 2.5rem;
        z-index: 1000;
    }

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

    .nav-menu .nav-link {
        font-size: 1.25rem;
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.3s; }

    .nav-menu .nav-link::before {
        bottom: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        text-align: center;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.125rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .highlights-grid,
    .programs-grid,
    .testimonials-grid,
    .gallery-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

    .section-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
        word-break: break-word;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .highlight-card,
    .program-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .cta-content {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

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

    .section-description {
        font-size: 1rem;
    }
}

/* Enhanced Transitions and Animations */
/* Smooth Transitions for Interactive Elements */
a, button, input, select, textarea {
    transition: all 0.3s ease-in-out;
}

/* Enhanced hover effects */
.highlight-card, .program-card, .testimonial-card, .gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover, .program-card:hover, .testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Improved button animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Enhanced card shadows */
.highlight-card, .program-card, .testimonial-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-card:hover, .program-card:hover, .testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Improved gradient text rendering */
.gradient-text {
    background: linear-gradient(135deg, var(--vibrant-purple), var(--hot-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Enhanced focus states */
.btn:focus, .nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Navbar backdrop blur effect */
.nav-backdrop {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Smooth navbar hide/show animation */
.navbar {
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced mobile menu animations */
@media (max-width: 768px) {
    .nav-menu {
        transform: translateX(-100%);
        opacity: 0;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Staggered animation for menu items */
    .nav-link {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Loading animation for better perceived performance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    animation: fadeInUp 0.6s ease-out;
}

/* Improved hamburger menu animation */
.nav-toggle {
    transition: all 0.3s ease;
}

.nav-toggle:active {
    transform: scale(0.95);
}

/* Enhanced logo hover effect */
.nav-logo {
    cursor: pointer;
}

.nav-logo:active {
    transform: scale(0.98);
}