
:root {
    --primary: #6b21db;
    --primary-dark: #5716bb;
    --secondary: #f8f8f8;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-medium: #666666;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 15px var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: var(--spacing-lg);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

.hero p {
    max-width: 700px;
    margin-bottom: var(--spacing-md);
}

.btn {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

/* About Section */
.about {
    padding: var(--spacing-lg) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

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

.about-content {
    flex: 1;
    background-color: #f9f5ff;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid #e6dbff;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

/* Course Modules */
.modules {
    padding: var(--spacing-lg);
}

.modules h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.module-cards {
    display: flex;
    gap: var(--spacing-md);
    justify-content: space-between;
    flex-wrap: wrap;
}

.module-card {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-md);
}

.module-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.module-content {
    padding: var(--spacing-md);
}

.module-content h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* Why Choose Us */
.why-us {
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.why-us-image {
    flex: 1;
    min-width: 300px;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.why-us-content {
    flex: 1;
    background-color: #f9f5ff;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid #e6dbff;
}

.why-us-content h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 30px;
}

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

/* FAQ Section */
.faq {
    padding: var(--spacing-lg);
    background-color: #f8f8f8;
}

.faq h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.faq-item {
    background-color: var(--primary);
    color: white;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    position: relative;
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    color: var(--text-dark);
}

.faq-answer.active {
    max-height: 200px;
    padding: var(--spacing-md);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-lg);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
}

.testimonial-cards {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: #f9f5ff;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    border: 1px solid #e6dbff;
    margin-bottom: var(--spacing-md);
}

.testimonial-info {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.testimonial-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
}

.testimonial-name {
    font-weight: bold;
}

/* Contact Form */
.contact {
    padding: var(--spacing-lg);
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imgs/10.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    color: var(--primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-md);
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-sm);
    gap: var(--spacing-md);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: var(--spacing-lg);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    display: none;
}

.cookie-notice h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.cookie-notice p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md) auto;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .about, .why-us {
        flex-direction: column;
    }

    .about-image, .why-us-image {
        margin-bottom: var(--spacing-md);
    }

    .module-cards, .testimonial-cards {
        flex-direction: column;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
    }
    .footer-links {
        flex-direction: column !important;
    } 

    .mobile-menu-icon {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-icon {
        display: none;
    }

}