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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a1a2e;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #e74c3c;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a2e;
}

/* Hero */
.hero {
    padding-top: 64px;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 24px;
}

.hero-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.4);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: white;
}

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

.section-alt {
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    font-size: 1.05rem;
}

/* Welcome */
.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
}

.welcome-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.welcome-text p {
    margin-bottom: 16px;
    color: #444;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Program */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 20px 0 0 20px;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.program-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-left: 8px;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.program-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.program-body {
    padding-left: 8px;
}

.program-subjects {
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.program-body p:last-child {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* Approach */
.approach-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.approach-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.approach-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    border-color: transparent;
}

.approach-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.approach-item:nth-child(2) .approach-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.approach-item:nth-child(3) .approach-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.approach-item:nth-child(4) .approach-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

.approach-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Outcomes */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.outcome-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: transparent;
}

.outcome-check {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

.outcome-item p {
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
    line-height: 1.5;
}

/* Results */
.result-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.result-section .section-title {
    color: white;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.result-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

.result-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.result-card p {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Parents */
.parents-section {
    background: #1a1a2e;
    color: white;
}

.parents-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.parents-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.parents-content p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.parents-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 32px 0;
    padding: 24px;
    border-left: 3px solid #e74c3c;
    background: rgba(255,255,255,0.05);
    border-radius: 0 12px 12px 0;
}

.parents-content .signature {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-top: 8px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 1.05rem;
    color: #1a1a2e;
    font-weight: 500;
}

.contact-link {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #e74c3c;
    border-bottom: 1px solid #e74c3c;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 32px 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

/* Language block */
.language-block {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #e74c3c;
}

.language-block h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.language-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lang-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.lang-desc {
    font-size: 0.9rem;
    color: #666;
}

.lang-note {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Media queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 0;
    }

    .carousel {
        height: 80vh;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 12px;
    }

    .carousel-next {
        right: 12px;
    }

    .hero-logo {
        width: 70px;
        height: 70px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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