/* style.css */
html {
    font-size: 1rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 0.1rem solid white;
}

.cookie-btn:hover {
    opacity: 0.8;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 3rem;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4F46E5;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 100%);
    color: white;
    padding: 12rem 2rem 8rem;
    margin-top: 8rem;
}

.hero-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #fff;
    color: #4F46E5;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 40rem;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: #F8FAFC;
}

.about h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 3rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
    color: #666;
}

.learning-section {
    background: #fff;
    padding: 4rem;
    border-radius: 1rem;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.learning-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 1rem;
}

.learning-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.about-image {
    text-align: center;
    margin-top: 4rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

/* Courses Section */
.courses {
    padding: 8rem 2rem;
    background: #fff;
}

.courses h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 5rem;
}

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.course-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 35rem;
}

.course-card:hover {
    transform: translateY(-0.5rem);
}

.course-card img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.course-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

.course-btn {
    background: #4F46E5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.course-btn:hover {
    background: #3730A3;
}

/* FAQ Section */
.faq {
    padding: 8rem 2rem;
    background: #1E1B4B;
    color: white;
    position: relative;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.faq-items {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 2rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-question:hover {
    color: #A5B4FC;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 20rem;
}

.faq-answer p {
    padding: 0 0 2rem 0;
    color: #A5B4FC;
}

.faq-image {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: none;
}

.faq-image img {
    width: 15rem;
    height: auto;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: #F8FAFC;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.contact-info img {
    width: 100%;
    max-width: 40rem;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 2rem;
}

.contact-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-text address {
    font-style: normal;
    color: #333;
    font-weight: 500;
}

.contact-text address a {
    color: #4F46E5;
    text-decoration: none;
}

.contact-text address a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 50rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    background: #4F46E5;
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #3730A3;
}

/* Footer */
.footer {
    background: #1E1B4B;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
    color: #A5B4FC;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-menu {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }

    .courses-grid {
        justify-content: flex-start;
    }

    .course-card {
        width: calc(50% - 1.5rem);
    }

    .contact-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-info {
        flex: 1;
        text-align: left;
        align-items: flex-start;
    }

    .contact-form {
        flex: 1;
    }

    .faq-image {
        display: block;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4rem;
    }

    .course-card {
        width: calc(33.333% - 2rem);
    }

    .submit-btn {
        width: auto;
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .cookie-content p {
        flex: 1;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }

    .about-image img {
        max-width: 80rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        max-width: 120rem;
        margin: 0 auto;
        flex-direction: column;
    }

}