 /* Reset CSS */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Variables */
:root {
    --primary-color: #6732b8;
    --secondary-color: #f89633;
    --light-color: #ffffff;
    --dark-color: #333333;
    --bg-light: #f5f5f5;
    --text-color: #444444;
}

/* Global Styles */
body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

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

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.section {
    padding: 3rem 0;
}

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

.section-purple h2 {
    color: var(--light-color);
}

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

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

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

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

.nav-item {
    margin-left: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

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

.hero-content {
    max-width: 100%;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

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

.hero-image {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

/* About Section */
.about {
    padding: 4rem 0;
}

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

/* Why Us Section */
.why-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;
}

.reason {
    flex-basis: 100%;
    margin-bottom: 2rem;
}

.reason-img {
    width: 100%;
    text-align: right;
}

.reason-img img {
    max-width: 300px;
    border-radius: 8px;
}

/* Courses Section */
.courses {
    background-color: var(--primary-color);
    padding: 4rem 0;
}

.courses h2 {
    color: var(--light-color);
    text-align: center;
    margin-bottom: 3rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.course-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-img {
    height: 200px;
    overflow: hidden;
}

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

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    margin-bottom: 1rem;
}

/* History Section */
.history {
    padding: 4rem 0;
}

.history-content {
    display: flex;
    flex-direction: column;
}

.history-text {
    flex: 1;
}

.history-img {
    flex: 1;
    margin-top: 2rem;
}

/* Steps Section */
.steps {
    margin-top: 3rem;
}

.step {
    margin-bottom: 1.5rem;
}

.step h4 {
    margin-bottom: 0.5rem;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
}

.blog h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    margin-bottom: 0.5rem;
}

.blog-content p {
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    padding: 4rem 0;
    color: var(--light-color);
}

.contact h2 {
    color: var(--light-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
}

.contact-images {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.contact-image {
    flex-basis: 48%;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: var(--light-color);
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin-bottom: 1rem;
}

.footer-link {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 999;
    text-align: center;
    display: none;
    border: 2px solid var(--primary-color);
}

.cookie-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cookie-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cookie-text {
    margin-bottom: 1.5rem;
}

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

.accept-cookies {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.reject-cookies {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .course-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reason {
        flex-basis: 48%;
    }

    .history-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .history-img {
        margin-top: 0;
    }

    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .accept-cookies, .reject-cookies {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .course-grid, .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        gap: 10px;
    }

    .hero-text {
        flex-basis: 50%;
    }

    .hero-image {
        flex-basis: 45%;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }
}