/* Coding & AI for Kids - Modern Educational Website Styles */

/* Performance Optimizations */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-color: #ffd700;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
    /* Extended Design Tokens (2025 refresh) */
    --color-primary: #6366f1; /* indigo */
    --color-primary-alt: #7c3aed; /* purple accent */
    --color-primary-rgb: 99,102,241;
    --color-surface: #ffffff;
    --color-surface-alt: #f1f5f9; /* slate-100 */
    --color-surface-accent: #eef2ff; /* subtle indigo tint */
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e1;
    --color-muted: #64748b;
    --color-heading: #1e293b;
    --color-success: #16a34a;
    --color-warning: #d97706;
    --color-danger: #dc2626;
    --color-info: #0ea5e9;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    --gradient-soft: linear-gradient(120deg, #eef2ff 0%, #f8fafc 100%);
    --gradient-accent: linear-gradient(45deg, #fbbf24 0%, #fcd34d 100%);
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 0 4px rgba(99,102,241,0.15);
    --focus-ring: 0 0 0 3px rgba(99,102,241,0.35), 0 0 0 6px rgba(255,255,255,0.9);
    --font-scale-1: clamp(0.85rem, 0.75rem + 0.3vw, 0.95rem);
    --font-scale-2: clamp(1rem, 0.9rem + 0.6vw, 1.2rem);
    --font-scale-3: clamp(1.25rem, 1.05rem + 1vw, 1.5rem);
    --font-scale-4: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
    --font-scale-5: clamp(2.1rem, 1.6rem + 2vw, 3rem);
    --font-scale-6: clamp(2.6rem, 2rem + 2.4vw, 3.5rem);
    --space-1: 4px; /* fine */
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --max-width-tight: 680px;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Dark Mode (opt-in via .theme-dark on body) */
.theme-dark {
    --color-surface: #1e1e2a;
    --color-surface-alt: #27293a;
    --color-surface-accent: #32344a;
    --color-border: #3b3d52;
    --color-border-strong: #4b4d63;
    --color-muted: #94a3b8;
    --color-heading: #f1f5f9;
    --bg-light: #1e1e2a;
    --primary-gradient: var(--gradient-primary);
    background: #12131b;
    color: #e2e8f0;
}

.theme-dark .card,
.theme-dark .program-card,
.theme-dark .course-card,
.theme-dark .schedule-card,
.theme-dark .contact-card,
.theme-dark .feature-card {
    background: var(--color-surface-alt);
    border-color: rgba(255,255,255,0.05);
}

.theme-dark .navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.6); }

/* Focus Styles (Unified) */
:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* Typography Utilities */
.text-muted { color: var(--color-muted) !important; }
.text-center { text-align: center !important; }
.heading-xl { font-size: var(--font-scale-6); line-height: 1.1; font-weight: 700; }
.heading-lg { font-size: var(--font-scale-5); font-weight: 700; line-height: 1.15; }
.heading-md { font-size: var(--font-scale-4); font-weight: 600; }
.heading-sm { font-size: var(--font-scale-3); font-weight: 600; }

/* Layout / Spacing Utilities */
.flow > * + * { margin-top: var(--space-4); }
.stack-sm > * + * { margin-top: var(--space-2); }
.stack-md > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }
.pad-sm { padding: var(--space-3) !important; }
.pad-md { padding: var(--space-5) !important; }
.pad-lg { padding: var(--space-7) !important; }
.radius-sm { border-radius: var(--radius-sm) !important; }
.radius-md { border-radius: var(--radius-md) !important; }
.radius-lg { border-radius: var(--radius-lg) !important; }
.radius-full { border-radius: 999px !important; }
.max-tight { max-width: var(--max-width-tight); margin-left: auto; margin-right: auto; }

/* Color / Background Utilities */
.bg-surface { background: var(--color-surface) !important; }
.bg-accent-soft { background: var(--color-surface-accent) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; color: #fff; }
.bg-gradient-soft { background: var(--gradient-soft) !important; }
.border { border: 1px solid var(--color-border) !important; }
.border-strong { border: 1px solid var(--color-border-strong) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Button System */
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: 1px solid rgba(var(--color-primary-rgb),0.4);
}

.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--gradient-primary); color: #fff; }

.btn-accent { background: var(--gradient-accent); color: #1e293b; }
.btn-accent:hover { filter: brightness(1.05); }

.btn-neutral { background: var(--color-surface-alt); color: var(--color-heading); }
.btn-neutral:hover { background: var(--color-surface-accent); }

.btn-danger { background: var(--color-danger); color:#fff; }
.btn-danger:hover { filter: brightness(1.05); }

.btn-pill { border-radius: 999px; }
.btn-glow:hover { box-shadow: 0 8px 28px rgba(var(--color-primary-rgb),0.35); }

/* Status / Badge System */
.badge { font-weight:600; letter-spacing:.5px; }
.badge-pill { border-radius: 999px; }
.badge-success { background: rgba(22,163,74,0.12); color: var(--color-success); border:1px solid rgba(22,163,74,0.3);} 
.badge-warning { background: rgba(217,119,6,0.12); color: var(--color-warning); border:1px solid rgba(217,119,6,0.3);} 
.badge-danger { background: rgba(220,38,38,0.12); color: var(--color-danger); border:1px solid rgba(220,38,38,0.3);} 
.badge-info { background: rgba(14,165,233,0.12); color: var(--color-info); border:1px solid rgba(14,165,233,0.3);} 

/* Refined Card Elevation */
.elevate-xs { box-shadow: var(--shadow-xs) !important; }
.elevate-sm { box-shadow: var(--shadow-sm) !important; }
.elevate-md { box-shadow: var(--shadow-md) !important; }
.elevate-lg { box-shadow: var(--shadow-lg) !important; }

/* Interactive Motion */
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tilt:hover { transform: translateY(-4px) rotate(-0.6deg); }

/* Gradual fade-in utility */
.fade-in { opacity:0; animation: fadeIn 0.8s ease forwards; }
@keyframes fadeIn { to { opacity:1; } }

/* Smooth container transitions for theme switch */
body, .card, .program-card, .course-card, .schedule-card, .contact-card, .feature-card, .navbar { transition: background-color .4s ease, color .3s ease, box-shadow .4s ease, border-color .4s ease; }

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

/* Navigation */
.navbar {
    background: var(--primary-gradient);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-link {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link h2 {
    color: white;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 8px;
    margin-left: 1rem;
    z-index: 1100;
}

/* Show nav-toggle on mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero .container,
.hero .hero-container {
    position: relative;
    z-index: 2;
}

.hero-content h1,
.hero-title {
    font-size: var(--font-scale-6);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-content p,
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
    opacity: 0.9;
    line-height: 1.6;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat h3,
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat p,
.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Page Hero Highlights */
.contact-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.contact-highlights .highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.contact-highlights .highlight i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-highlights .highlight span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Programs Section */
.programs { padding: 80px 0; background: var(--color-surface-alt); }

.section-title {
    text-align: center;
    font-size: var(--font-scale-5);
    margin-bottom: 3rem;
    color: var(--color-heading);
    position: relative;
    font-weight: 700;
    letter-spacing: -.5px;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.program-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color .4s ease;
    border: 1px solid var(--color-border);
}

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

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

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

.program-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.program-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.program-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.program-card li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Skills Section */
.skills { padding: 80px 0; background: var(--color-surface); }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.skill-item { padding: 2rem; background: var(--color-surface-alt); border-radius: var(--radius-lg); transition: all .35s ease; border:1px solid var(--color-border); }

.skill-item:hover { background: var(--gradient-primary); color:#fff; transform: translateY(-6px); box-shadow: var(--shadow-md); }

.skill-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.skill-item:hover i {
    color: white;
}

.skill-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--color-surface-alt); }

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

.testimonial-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--color-border);
    transition: box-shadow .35s ease, transform .35s ease;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.25;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #666;
}

.testimonial-author strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #888;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 30px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>');
    z-index: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
    color: #e2e8f0;
}

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

.footer-section li {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-section li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-section a i {
    width: 18px;
    color: #667eea;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-links a i {
    font-size: 1.2rem;
    color: white;
    z-index: 1;
}

/* Contact Info */
.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #ffd700;
    transition: all 0.3s ease;
}

.contact-info .contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.contact-info .contact-item i {
    width: 20px;
    color: #ffd700;
    font-size: 1.1rem;
    margin-top: 2px;
}

.contact-info .contact-item div {
    flex: 1;
}

.contact-info .contact-item strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info .contact-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.whatsapp-link {
    background: linear-gradient(45deg, #25d366, #22c55e);
    color: white !important;
    padding: 15px 25px;
    border-radius: 30px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white !important;
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.footer-newsletter h4 {
    margin-bottom: 15px;
    color: #ffd700;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-newsletter p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.newsletter-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-newsletter {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1a1a2e;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
}

.btn-newsletter:hover {
    background: linear-gradient(45deg, #ffed4a, #fff59d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Newsletter Messages */
.newsletter-message {
    padding: 15px 25px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    animation: slideInDown 0.4s ease;
}

.newsletter-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.newsletter-error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.newsletter-info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

.footer-left p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.small-text {
    font-size: 0.8rem !important;
    opacity: 0.6 !important;
    margin-top: 5px !important;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    color: #cbd5e0;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-links a:hover {
    opacity: 1;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.footer-right {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-right {
        text-align: center;
    }
}

.footer-tagline {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #ffd700;
    font-size: 1rem;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-badges {
        justify-content: center;
    }
}

.badge {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #6366f1;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #7c3aed;
    backdrop-filter: blur(5px);
    margin: 5px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(15px) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.scroll-to-top:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.scroll-to-top i {
    transition: var(--transition);
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Mobile responsive for scroll-to-top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Course Specific Styles */
.courses-hero,
.timings-hero,
.registration-hero,
.about-hero,
.contact-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.courses-hero::before,
.timings-hero::before,
.registration-hero::before,
.about-hero::before,
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.courses-hero .container,
.timings-hero .container,
.registration-hero .container,
.about-hero .container,
.contact-hero .container,
.courses-hero .hero-container,
.timings-hero .hero-container,
.registration-hero .hero-container,
.about-hero .hero-container,
.contact-hero .hero-container {
    position: relative;
    z-index: 2;
}

.courses-hero h1,
.timings-hero h1,
.registration-hero h1,
.about-hero h1,
.contact-hero h1,
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.2;
}

.course-section {
    padding: 60px 0;
}

.course-section:nth-child(even) {
    background: #f8f9fa;
}

.course-header {
    text-align: center;
    margin-bottom: 3rem;
}

.course-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card.featured {
    border: 3px solid #ffd700;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-duration {
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.course-skills {
    margin-bottom: 1rem;
}

.skill-tag {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.course-outcomes {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-outcomes li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.course-outcomes li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    margin-top: 1rem;
}

/* Timings Page Styles */
.schedule-section {
    padding: 60px 0;
}

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

.schedule-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.time-slot:last-child {
    border-bottom: none;
}

.batch-status {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.available {
    background: #d4edda;
    color: #155724;
}

.filling {
    background: #fff3cd;
    color: #856404;
}

.full {
    background: #f8d7da;
    color: #721c24;
}

/* Registration Page Styles */
.registration-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.urgency-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.urgency-notice strong {
    color: #856404;
}

/* Registration Form Checkbox Alignment */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 1rem;
    gap: 0.5em;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #667eea;
    cursor: pointer;
}

.checkbox-label .checkmark {
    display: none;
}

@media (max-width: 600px) {
  .checkbox-label {
    font-size: 0.95rem;
  }
  .checkbox-group {
    align-items: flex-start;
  }
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 60px 0;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 1rem;
    width: 30px;
}

.map-placeholder {
    background: #f8f9fa;
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    margin-top: 2rem;
}

/* About Page Styles */
.story-section,
.vision-section,
.methodology-section {
    padding: 60px 0;
}

.story-section {
    background: #f8f9fa;
}

.methodology-section {
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Professional Enhancements */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

/* Enhanced Card Styling */
.card, .program-card, .course-card, .schedule-card, .contact-card, .feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card:hover, .program-card:hover, .course-card:hover, .schedule-card:hover, .contact-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Enhanced Typography */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Enhanced Button Styling */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Form Styling */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Professional Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

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

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

/* Enhanced Contact Page Styling */
.contact-info-section {
    padding: 80px 0;
    background: white;
}

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

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

/* Enhanced Registration Styling */
.registration-steps {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-light);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

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

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content h1,
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-stats,
    .contact-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Enhanced Schedule Grid & Card Styles */
.enhanced-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.enhanced-schedule-card {
    background: linear-gradient(120deg, #f8fafc 80%, #e0e7ff 100%);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(102, 126, 234, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1.5px solid #e0e7ff;
    position: relative;
}

.enhanced-schedule-card:hover {
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.18);
    transform: translateY(-6px) scale(1.02);
    border-color: #667eea;
}

.enhanced-schedule-card h3 {
    color: #4f46e5;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.enhanced-schedule-card .schedule-info {
    background: #eef2ff;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.04);
}

.enhanced-schedule-card h4 {
    color: #764ba2;
    font-size: 1.08rem;
    margin: 1.1rem 0 0.5rem 0;
    font-weight: 600;
}

.enhanced-schedule-card .time-slot {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(102, 126, 234, 0.06);
    padding: 0.7rem 1.1rem;
    margin-bottom: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.enhanced-schedule-card .batch-status {
    font-size: 0.92rem;
    padding: 3px 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 10px;
}

@media (max-width: 700px) {
  .enhanced-schedule-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .enhanced-schedule-card {
    padding: 1.5rem 0.8rem 1.2rem 0.8rem;
  }
}