:root {
    --primary-color: #2300ff;
    --primary-dark: #1a00cc;
    --secondary-color: #ef6c33;
    --secondary-light: #ff8552;
    --light-color: #ffffff;
    --dark-color: #000000;
    --light-bg: #f8f8f8;
    --light-pink: #fce8e8;
    --gray: #555555;
    --light-gray: #f0f0f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

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

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

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
}

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

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

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

/* Header */
.main-header {
    padding: 1rem 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--dark-color);
    font-size: 0.9rem;
}

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

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-text {
    flex: 1;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 3rem 0;
}

.stats-content {
    display: flex;
    justify-content: center;
}

.stats-text {
    text-align: center;
}

.stats-text h2 {
    color: var(--light-color);
}

.stats-text h2::after {
    background-color: var(--light-color);
}

.stats-text ul {
    list-style: disc;
    text-align: left;
    margin-left: 1rem;
    font-size: 1.1rem;
}

.stats-text li {
    margin-bottom: 0.5rem;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: var(--light-pink);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 1.5rem;
}

.course-image {
    height: 150px;
    overflow: hidden;
}

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

.course-card h3,
.course-description,
.course-price {
    padding: 0 1.5rem;
}

.course-card h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}

.course-description {
    min-height: 50px;
}

.course-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-card .btn {
    margin: 0 1.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

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

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-cta {
    text-align: center;
    margin-top: 2rem;
}

/* FAQ Section */
.faq-content {
    display: flex;
    gap: 2rem;
}

.faq-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.faq-items {
    flex: 1.5;
}

.faq-item {
    background-color: var(--light-pink);
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item h3 {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1rem 1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.contact-content {
    display: flex;
    gap: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: none;
    font-family: inherit;
}

/* Footer */
.main-footer {
    background-color: var(--light-color);
    padding: 3rem 0;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--dark-color);
    font-size: 0.9rem;
}

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

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

.footer-copyright {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.cookie-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

.cookie-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .faq-content {
        flex-direction: column;
    }
    
    .cookie-content {
        margin: 0 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }
    
    .courses-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-text ul {
        text-align: center;
        list-style: none;
        margin-left: 0;
    }
}

html {
    scroll-behavior: smooth;
}