/* Global Styles */
:root {
    --primary-color: #4169e1;
    --primary-dark: #3254b9;
    --primary-light: #5a7ce5;
    --primary-bg: #f5f7ff;
    --secondary-bg: #4169e1;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

/* Header Styles */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.nav-links a {
    margin-left: 20px;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--secondary-bg);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text {
    flex: 1;
    min-width: 300px;
}

.image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* Education Section */
.education {
    background-color: var(--primary-bg);
    padding: 80px 0;
}

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

.education-text {
    flex: 1;
    min-width: 300px;
}

/* Benefits Section */
.benefits {
    background-color: var(--secondary-bg);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.benefits h2 {
    margin-bottom: 40px;
}

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

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: left;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.benefit-number {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
}

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

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

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.1rem;
}

.course-card p {
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    min-height: 100px;
}

.course-price {
    padding: 10px 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.course-card .btn {
    width: 100%;
    border-radius: 0;
    padding: 15px;
}

/* Blog Section */
.blog {
    background-color: var(--primary-bg);
    padding: 80px 0;
}

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

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

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card h3 {
    padding: 20px 20px 10px;
    font-size: 1rem;
}

.blog-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2, .contact-subtitle {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

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

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    justify-self: center;
    min-width: 200px;
}

/* Footer Styles */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--white);
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Thank You Page */
.thankyou-section {
    padding: 80px 0;
    text-align: center;
}

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

.thankyou-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thankyou-content p {
    margin-bottom: 30px;
}

.thankyou-image {
    margin: 40px 0;
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
}

.legal-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
}

.legal-content ul {
    margin-left: 20px;
    list-style: disc;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        margin-top: 15px;
    }
    
    .nav-links a {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .about-content, .education-content {
        flex-direction: column;
    }
    
    .image-container {
        order: -1; /* Puts image above text on mobile */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero, .about, .education, .benefits, .courses, .blog, .contact {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .benefits-grid, .courses-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card p, .blog-card p {
        min-height: auto;
    }
}