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

:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a8a;
    --accent: #c41e3a;
    --accent-hover: #a01830;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --border: #e0e4e8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

h1, h2, h3 {
    line-height: 1.3;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.text-link {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.header {
    background: var(--bg);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-list a {
    font-weight: 500;
    color: var(--text);
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.hero h1 {
    color: white;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero .text-link {
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero .text-link:hover {
    border-color: white;
}

.about {
    padding: 80px 0;
    background: var(--bg);
}

.about-content {
    max-width: 800px;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.curriculum {
    padding: 80px 0;
    background: var(--bg-alt);
}

.section-intro {
    max-width: 700px;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.curriculum-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.curriculum-card h3 {
    color: var(--primary);
}

.curriculum-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.why-learn {
    padding: 80px 0;
    background: var(--bg);
}

.benefits-list {
    list-style: none;
    max-width: 700px;
}

.benefits-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--text-light);
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.2;
}

.benefits-list li::after {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 12px;
    color: var(--accent);
    font-weight: bold;
    font-size: 0.85rem;
}

.faq {
    padding: 80px 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 800px;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px 50px 20px 25px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact {
    padding: 80px 0;
    background: var(--bg);
}

.signup-form {
    max-width: 600px;
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

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

.required {
    color: var(--accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
    cursor: pointer;
}

.signup-form .btn {
    width: 100%;
    margin-top: 10px;
}

.footer {
    background: var(--primary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-brand {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-bottom: 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: white;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.page-content p,
.page-content li {
    color: var(--text-light);
}

.page-content ul {
    margin-left: 25px;
    margin-bottom: 1rem;
}

.thank-you-content {
    text-align: center;
    padding: 60px 20px;
}

.thank-you-content h2 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        padding: 10px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-form {
        padding: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
