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

:root {
    /* Primary Colors - Inspired by Code Hero logo */
    --primary-color: #2B7EC1;        /* Superhero blue from logo */
    --primary-dark: #1E5A8E;         /* Darker blue for depth */
    --primary-light: #4A9FD8;        /* Lighter blue for hover */

    /* Accent Colors - Bold and vibrant */
    --accent-yellow: #FFD700;        /* Bright gold from logo */
    --accent-orange: #FF8C42;        /* Energetic orange */
    --accent-green: #00D4AA;         /* Brighter green */
    --accent-purple: #8B75FF;        /* Brighter purple */
    --accent-red: #FF5757;

    /* Neutral Colors - Warmer tones */
    --text-primary: #1A1A1A;
    --text-secondary: #3D3D3D;       /* Slightly lighter for contrast */
    --text-light: #6B6B6B;           /* Brighter gray */
    --background: #FFFFFF;
    --background-gray: #F8FAFB;      /* Slightly brighter */
    --background-dark: #1E3A5F;      /* Darker blue instead of gray */
    --border-color: #DADADA;         /* Lighter borders */
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #FFC107 0%, #FF7A28 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-yellow);
    color: white;
    transform: translateY(-2px);
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0A1F3D 0%, #1E3A5F 50%, #2B5A8E 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43, 126, 193, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 215, 0, 0.03) 50px, rgba(255, 215, 0, 0.03) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 215, 0, 0.03) 50px, rgba(255, 215, 0, 0.03) 51px);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 1;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-yellow);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Mission Section */
.mission {
    padding: var(--spacing-xl) 0;
    background: var(--background-gray);
}

.mission-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mission-item {
    text-align: center;
    padding: var(--spacing-md);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.mission-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Audience Section */
.audience {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.audience-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.audience-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.audience-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.program-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.program-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.program-list li:before {
    content: "✓ ";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: var(--spacing-md);
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: translateX(5px);
}

/* Programs Section */
.programs {
    padding: var(--spacing-xl) 0;
    background: var(--background-gray);
}

.program-category {
    margin-bottom: var(--spacing-xl);
}

.category-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.program-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 126, 193, 0.2);
    border-color: var(--primary-color);
}

.program-card.featured {
    border-color: var(--accent-orange);
    background: linear-gradient(to bottom right, #FFF 0%, #FFF4E6 100%);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.15);
}

.program-card.professional {
    border-color: var(--accent-purple);
    background: linear-gradient(to bottom right, #FFF 0%, #F4F0FF 100%);
    box-shadow: 0 4px 15px rgba(139, 117, 255, 0.15);
}

.program-header {
    margin-bottom: var(--spacing-md);
}

.program-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.program-badge.kids {
    background: #E3F2FD;
    color: #1976D2;
}

.program-badge.teens {
    background: #F3E5F5;
    color: #7B1FA2;
}

.program-badge.sat {
    background: #FFF3E0;
    color: #E65100;
}

.program-badge.ap {
    background: #FFEBEE;
    color: #C62828;
}

.program-badge.pro {
    background: #E8EAF6;
    color: #3F51B5;
}

.program-badge.new {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: var(--text-primary);
    font-weight: 700;
}

.program-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.program-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.program-card h5 {
    font-size: 1rem;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.program-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: var(--spacing-sm);
}

.program-activities {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
}

.program-activities li {
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
}

.program-activities li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.program-contact {
    margin-top: var(--spacing-sm);
    color: var(--text-secondary);
}

.program-card .btn {
    margin-top: var(--spacing-md);
    display: inline-block;
}

/* Why Choose Section */
.why-choose {
    padding: var(--spacing-xl) 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.why-item {
    padding: var(--spacing-md);
    position: relative;
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
    color: var(--primary-color);
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F8FAFB 0%, #EEF5FA 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(43, 126, 193, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(43, 126, 193, 0.15);
    border-left-color: var(--accent-yellow);
}

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

.testimonial-card:nth-child(2):hover {
    border-left-color: var(--accent-yellow);
}

.testimonial-card:nth-child(3) {
    border-left-color: var(--accent-purple);
}

.testimonial-card:nth-child(3):hover {
    border-left-color: var(--accent-orange);
}

.quote-mark {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-yellow) 100%);
    border-image-slice: 1;
    padding-top: var(--spacing-md);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #7B68EE 0%, #9B88EE 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-features {
    background: var(--background-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-top: var(--spacing-lg);
}

.contact-features h4 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.contact-features ul {
    list-style: none;
}

.contact-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--background-gray);
    padding: var(--spacing-lg);
    border-radius: 12px;
    position: relative;
    min-height: 700px;
}

/* Contact Form Iframe */
#contact-iframe {
    display: block;
    width: 100%;
    min-height: 700px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.contact-form > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    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: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-tagline {
    color: var(--primary-light);
    font-weight: 600;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.blog-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-read-time {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Individual Blog Post Styles */
.blog-post-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.blog-post-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.blog-post-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.blog-post-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-content code {
    background: var(--background-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.blog-post-content pre {
    background: var(--background-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

.blog-back-link {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-back-link:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }

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

    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-links .btn {
        margin-top: 1rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 40px;
    }

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

    .hero {
        padding: var(--spacing-lg) 0;
    }

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

    .section-title {
        font-size: 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Contact form iframe adjustments for mobile */
    .contact-form-wrapper {
        padding: var(--spacing-md);
        min-height: 800px;
    }

    #contact-iframe {
        min-height: 800px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.mission-item,
.audience-card,
.program-card {
    animation: fadeIn 0.6s ease-out;
}

/* Visually Hidden - Screen Reader Only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to Content Link - Accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* Focus Indicators - Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
details:focus,
summary:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

#contact-iframe:focus {
    outline: 3px solid var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    background: var(--background-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: var(--spacing-md);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(43, 126, 193, 0.05);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Program Schedule */
.program-schedule {
    background: rgba(43, 126, 193, 0.05);
    border-radius: 8px;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    border-left: 3px solid var(--primary-color);
}

.program-schedule h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.schedule-list li::before {
    content: '⏰ ';
    margin-right: 0.25rem;
}

/* Form Loading Indicator */
.form-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.form-loading p {
    margin-top: var(--spacing-md);
    color: var(--text-light);
    font-weight: 500;
}

/* Footer Legal Links */
.footer-legal {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Touch Target Improvements for Mobile */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .card-link {
        padding: 0.5rem;
        display: inline-block;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .faq-item summary {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }
}
