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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f8ff;
}

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

a {
    text-decoration: none;
    color: #4961e8;
    transition: color 0.3s;
}

a:hover {
    color: #2e3bb9;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #262c50;
    font-weight: 700;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, #4961e8, #7b5dd9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(75, 97, 232, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #3b51d1, #6a4cc7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 97, 232, 0.4);
}

.btn-secondary {
    background: #2e3bb9;
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 59, 185, 0.2);
}

.btn-secondary:hover {
    background: #232d8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 59, 185, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: 12px;
    z-index: 1000;
    text-align: center;
    display: none;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.cookie-content h2 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: #4961e8;
}

.cookie-content p {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-buttons .btn-primary {
    background: linear-gradient(45deg, #4961e8, #7b5dd9);
}

.cookie-buttons .btn-secondary {
    background: transparent;
    color: #444;
    box-shadow: none;
    border: 1px solid #ddd;
}

.cookie-buttons .btn-secondary:hover {
    background: #f5f5f5;
    box-shadow: none;
}

/* Header */
header {
    background: linear-gradient(45deg, #4961e8, #7b5dd9);
    padding: 15px 0;
    color: #fff;
}

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

.logo h1 {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 1;
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: #f5f8ff;
}

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

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #262c50;
    font-weight: 700;
}

.hero-content h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #4961e8;
    font-weight: 600;
}

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

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

.hero-text p {
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.hero-text .btn {
    margin-top: 10px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #262c50;
    font-weight: 700;
}

.course-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4961e8;
    margin: 15px 0;
}

/* Why Choose Us Section */
.why-us {
    padding: 80px 0;
    background-color: #f5f8ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-icon.blue {
    background-color: rgba(73, 97, 232, 0.1);
    color: #4961e8;
}

.feature-icon.purple {
    background-color: rgba(123, 93, 217, 0.1);
    color: #7b5dd9;
}

.feature-icon.green {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.feature-icon.orange {
    background-color: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #262c50;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #f5f8ff;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 600;
    color: #fff;
}

.testimonial-avatar.blue {
    background: linear-gradient(45deg, #4961e8, #3b51d1);
}

.testimonial-avatar.green {
    background: linear-gradient(45deg, #27ae60, #1e8449);
}

.testimonial-avatar.purple {
    background: linear-gradient(45deg, #7b5dd9, #6a4cc7);
}

.testimonial-avatar.orange {
    background: linear-gradient(45deg, #e67e22, #d35400);
}

.testimonial-avatar.red {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.testimonial-author h3 {
    font-size: 1.1rem;
    color: #262c50;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 3px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f5f8ff;
}

.accordion {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.accordion-header {
    padding: 20px 25px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    font-size: 1.1rem;
    color: #262c50;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    color: #4961e8;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 25px 20px;
    max-height: 500px;
}

.accordion-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(45deg, #4961e8, #7b5dd9);
    color: #fff;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4961e8;
}

.cta-form .btn {
    width: 100%;
}

.cta-image {
    display: none;
}

.cta-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #1f2645;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-links ul li a {
    color: #ccd;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccd;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aab;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid,
    .features-grid,
    .testimonials-grid,
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .cta-info {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    nav {
        display: none;
    }
    .footer-content {
        flex-direction: column;
    }
}