:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #2C3E50;
    --light-color: #F7F9FC;
    --white: #ffffff;
    --text-color: #4a4a4a;
    --gray: #95a5a6;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

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

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
}

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

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

.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.nav-link:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-link.btn-primary {
    padding: 10px 25px;
    color: var(--white);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-color: #FFF5F5;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
}

.stat-text {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
}

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

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

.section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

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

.feature-card h3 {
    margin-bottom: 15px;
}

/* Methodology Section */
.methodology {
    padding: 100px 0;
    background-color: var(--light-color);
}

.methodology-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.methodology-row:last-child {
    margin-bottom: 0;
}

.methodology-row.reverse {
    flex-direction: row-reverse;
}

.methodology-image {
    flex: 1;
}

.methodology-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-content {
    flex: 1;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background-color: var(--white);
}

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

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.course-age {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    background: #FFF5F5;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.course-desc {
    color: #666;
    margin-bottom: 20px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--dark-color);
}

/* Teachers Section */
.teachers {
    padding: 100px 0;
    background-color: #FFFBF0;
}

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

.teacher-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

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

.teacher-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.teacher-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.user-info strong {
    display: block;
    color: var(--dark-color);
}

.user-info span {
    font-size: 0.9rem;
    color: #999;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8E8E 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.cta-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    outline: none;
    flex: 1;
    min-width: 200px;
    font-family: inherit;
}

.cta-form button {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.cta-form button:hover {
    background-color: #000;
    border-color: #000;
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #ecf0f1;
    padding: 80px 0 20px;
}

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

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Language Switcher */
.lang-switch select {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background-color: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark-color);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-switch select:hover {
    border-color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

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

    .hero-stats {
        justify-content: center;
        margin-top: 30px;
    }

    .methodology-row, .methodology-row.reverse {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .menu-toggle {
        display: block;
    }

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

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

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

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }
    
    .nav-link.btn-primary {
        display: inline-block;
        margin-bottom: 20px;
    }
    
    .lang-switch {
        margin-bottom: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
