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

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

a {
    text-decoration: none;
    color: #333;
}

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

/* Header Styles */
header {
    background-color: #222;
    color: white;
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

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

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

nav ul li a {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
}

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

/* Hero Section */
.hero {
    background-image: url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3e8e41;
}

/* Course Offerings */
.courses {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.courses h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.courses p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-content {
    padding: 20px;
}

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

.course-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.course-content ul {
    list-style-position: inside;
    margin: 15px 0;
    padding-left: 10px;
}

.course-content ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.course-goal {
    margin: 20px 0;
}

.course-goal h4 {
    margin-bottom: 10px;
}

/* Why Choose Us */
.why-choose {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

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

.expert {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.expert-image {
    height: 200px;
    overflow: hidden;
}

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

.expert-content {
    padding: 20px;
}

.expert-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-content p {
    font-size: 14px;
    color: #666;
}

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

.feature {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
    color: #666;
}

/* Blog Section */
.blog {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

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

.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 180px;
    overflow: hidden;
}

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

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-answer {
    font-size: 14px;
    color: #666;
}

/* Contact Form */
.contact {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.contact p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.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;
}

.form-group textarea {
    height: 120px;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    align-items: center;
}

.footer-info div {
    margin-right: 30px;
    font-size: 14px;
}

.footer-info i {
    margin-right: 5px;
    color: #4CAF50;
}

.footer-links {
    display: flex;
}

.footer-links a {
    color: white;
    margin-left: 20px;
    font-size: 14px;
}

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

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

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.cookie-banner p {
    margin-bottom: 20px;
    font-size: 14px;
}

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

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

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

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

.cookie-link {
    color: #4CAF50;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .course-cards, 
    .experts, 
    .features, 
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .footer-info div {
        margin: 5px 0;
    }
    
    .footer-links {
        margin-top: 20px;
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}