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

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

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

/* Header & Navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
}

.logo {
    height: 30px;
    margin-right: 20px;
}

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

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0;
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: white;
}

.features-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

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

.about h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    padding: 60px 0;
    background-color: white;
}

.course-card {
    margin-bottom: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
}

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

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

.course-content {
    flex: 2;
    padding: 30px;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.course-content p {
    margin-bottom: 20px;
}

.course-details {
    font-size: 0.9rem;
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.testimonial-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    text-align: right;
    font-weight: 500;
    color: #555;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: white;
}

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

.contact-form {
    flex: 1;
}

.contact-image {
    flex: 1;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-info {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex: 1;
    justify-content: space-around;
    min-width: 250px;
    margin-bottom: 20px;
}

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

.footer-links h4 {
    margin-bottom: 15px;
    color: #3498db;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a546b;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ddd;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 600px;
    margin: 0 auto;
}

.cookie-content h2 {
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 20px;
}

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

.cookie-btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.accept-all {
    background-color: #3498db;
    color: white;
}

.accept-functional {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .course-card {
        flex-direction: column;
    }

    .course-image {
        min-width: 100%;
        height: 250px;
    }

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

    .footer-container {
        flex-direction: column;
    }
    nav ul {
        display: none;
    }
}