/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3 {
    margin-bottom: 20px;
    color: #000;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #1e3a8a;
}

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

section {
    padding: 60px 0;
}

/* Cookie Banner */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    min-width: 150px;
}

#cookie-decline {
    background-color: #1e3a8a;
    color: white;
}

#cookie-accept {
    background-color: #1e3a8a;
    color: white;
}

/* Header and Navigation */
header {
    background-color: #1e3a8a;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

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

nav ul li a {
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background-color: #1e3a8a;
    color: white;
    padding: 60px 0;
    background-image: url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

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

.btn {
    display: inline-block;
    background-color: white;
    color: #1e3a8a;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #eaeaea;
    transform: translateY(-2px);
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Features Section */
.features {
    background-color: white;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.feature-image, .feature-text {
    flex: 1;
}

.feature-text h3 {
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    background-color: #f9f9f9;
}

.courses h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.course-card {
    background-color: white;
    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-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-card h3, .course-card p {
    padding: 0 20px;
}

.course-card h3 {
    margin-top: 20px;
}

.btn-small {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    margin: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: #152a62;
}

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

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.faq-item h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-item p {
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
}

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

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-card h3 {
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

#contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#contact-form input, 
#contact-form textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-image {
    flex: 1;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo a {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.footer-info p {
    margin-bottom: 5px;
}

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

.footer-links a {
    color: white;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links img {
    width: 20px;
    height: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .feature-item,
    .contact-container {
        flex-direction: column;
    }
    
    .feature-item:nth-child(even) {
        flex-direction: column-reverse;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-links {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1e3a8a;
        padding: 20px;
        display: none;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}