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

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    float: left;
    font-weight: bold;
    font-size: 24px;
    color: #006400;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
}

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background-image: url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    max-width: 800px;
}

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

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

/* Main Content Sections */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
}

.two-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.column {
    flex-basis: 48%;
}

.image-container {
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.text-container {
    padding: 20px 0;
}

.text-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.text-container p {
    margin-bottom: 20px;
}

/* Course Cards */
.courses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.course-card {
    flex-basis: calc(50% - 20px);
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.course-content {
    padding: 20px;
}

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

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.price {
    font-weight: bold;
    color: #4CAF50;
    font-size: 20px;
}

/* FAQ Section */
.faq {
    background-color: #f9f9f9;
}

.faq-item {
    margin-bottom: 40px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

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

.footer-column {
    flex-basis: 30%;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

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

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.accept-all {
    background-color: #4CAF50;
    color: white;
}

.accept-necessary {
    background-color: white;
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.settings-btn {
    background-color: white;
    border: 1px solid #ddd;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .column {
        flex-basis: 100%;
    }

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

    .hero h1 {
        font-size: 32px;
    }

    nav {
        display: none; /* For simplicity; in a real project, add a mobile menu */
    }

    .footer-column {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}