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

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --yellow: #fbbf24;
    --yellow-light: #fde68a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
}

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

.nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: 0.3s;
}

.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, #e0e7ff 100%);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    color: var(--gray-800);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--gray-50);
}

.section h2 {
    font-size: 2.2rem;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 50px;
}

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

.text-content p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.course-blocks {
    display: grid;
    gap: 20px;
}

.course-block {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.course-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.course-block h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.course-block p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.section-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
}

.method-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.method-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.method-block h3 {
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.method-block p {
    font-size: 1rem;
    color: var(--gray-600);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.skill-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.skill-item p {
    font-size: 1rem;
    color: var(--gray-600);
}

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

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

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-600);
}

.cta-section {
    background: var(--gradient);
    text-align: center;
}

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

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-section .btn-primary:hover {
    background: var(--yellow-light);
}

.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--yellow);
}

@media (max-width: 992px) {
    .hero-content,
    .content-with-image {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-with-image.reverse {
        direction: ltr;
    }

    .hero-image {
        order: -1;
    }

    .section-image {
        order: -1;
    }

    .section-image img {
        margin: 0 auto;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

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

    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .method-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
