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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

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

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

.ad-disclosure {
    font-size: 12px;
    color: var(--text-light);
    padding: 4px 12px;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.hero-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 32px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--border-color);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.intro-cards {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.card-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.info-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.courses-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.courses-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.course-card {
    flex: 1 1 calc(33.333% - 22px);
    min-width: 320px;
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.course-card.featured {
    border: 2px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--border-color);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-level {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.course-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.course-features {
    list-style: none;
    margin-bottom: 24px;
}

.course-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 24px;
}

.course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

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

.course-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-enroll {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.testimonials-section h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 400px;
    display: flex;
    gap: 24px;
    padding: 32px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--border-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

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

.cta-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.cta-card h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-large {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

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

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

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input[readonly] {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.about-content {
    padding: 80px 0;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-image-large {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--border-color);
}

.about-image-large img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mission-section {
    margin-bottom: 80px;
}

.mission-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.mission-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.mission-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
}

.mission-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

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

.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.team-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.team-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.team-member {
    flex: 1 1 calc(25% - 24px);
    min-width: 220px;
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background-color: var(--border-color);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.team-member p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.values-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    background-color: var(--bg-white);
    padding: 32px;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

.services-page {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-page {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-text h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.thanks-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.thanks-icon svg {
    color: white;
}

.thanks-container h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.thanks-container p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.thanks-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-page {
    padding: 80px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 32px;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .nav-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
    }

    .course-card {
        flex: 1 1 100%;
    }

    .testimonial-card {
        flex-direction: column;
        min-width: 280px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-intro {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: 36px;
    }
}