/* Reset and Base Styles */
html {
    font-size: 10px;
}

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

body {
    font-family: 'Red Hat Display', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 1.6rem;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

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

.cookie-content {
    padding: 2rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

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

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    cursor: pointer;
    font-weight: 500;
}

.cookie-btn.accept {
    background: #007bff;
    color: white;
}

.cookie-btn.decline {
    background: #6c757d;
    color: white;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.logo {
    text-decoration: none;
}

.nav-menu {
    display: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 2.5rem;
    height: 0.3rem;
    background: #333;
    margin: 0.3rem 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/main.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 8rem 2rem;
}

.hero-content {
    max-width: 80rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5rem;
    color: #333;
}

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

.about-image {
    flex: 1;
    max-width: 50rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.7rem;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 1rem 0;
    font-size: 1.6rem;
    position: relative;
    padding-left: 2rem;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Courses Section */
.courses {
    padding: 8rem 0;
    background: white;
}

.courses-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.course-card {
background: #43A8C4;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.course-icon {
    margin-bottom: 2rem;
}

.course-icon img {
    width: 6rem;
    height: 6rem;
}

.course-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
}

.course-card p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.6;
       color: white;
}

.course-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.course-card li {
    padding: 0.8rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-left: 2rem;
       color: white;
}

.course-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.course-price {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    font-size: 2.4rem;
    font-weight: 300;
    color: #007bff;
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: #007bff;
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
}

.testimonial-avatar {
    margin-bottom: 2rem;
}

.testimonial-avatar img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.6rem;
    line-height: 1.6;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: white;
}

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

.contact-form-wrapper h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-family: 'Red Hat Display', sans-serif;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    height: 12rem;
    resize: vertical;
}

.submit-btn {
    background: #5ac8fa;
    color: white;
    border: none;
    padding: 1.5rem 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2196f3;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0;
}

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

.footer-brand h3 {
    font-size: 2.4rem;
    font-weight: 700;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link img {
    width: 2.4rem;
    height: 2.4rem;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(1);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .cookie-popup {
        left: auto;
        right: 2rem;
        max-width: 40rem;
    }

    .cookie-buttons {
        flex-direction: row;
    }

    .nav-menu {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .hero-title {
        font-size: 4.2rem;
    }

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

    .courses-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3rem;
    }

    .course-card {
        flex: 1;
        min-width: 30rem;
    }

    .testimonials-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3rem;
    }

    .testimonial-card {
        flex: 1;
        min-width: 30rem;
    }

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

    .contact-form-wrapper {
        flex: 1;
    }

    .contact-image {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-links {
        flex-direction: row;
        gap: 3rem;
    }
}

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

    .hero-description {
        font-size: 2rem;
    }

    .section-title {
        font-size: 3.6rem;
    }

    .courses-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 3rem;
    }

    .course-card {
        flex: 1;
    }

    .testimonials-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
    }

    .testimonial-card {
        flex: 1;
    }
}

/* Success Page Styles */
.success-section {
    padding: 12rem 0 8rem;
    background: #f8f9fa;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.success-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.success-description {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 4rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 5rem;
}

.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
}

.success-info {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.success-info h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.success-info ul {
    list-style: none;
    padding-left: 0;
}

.success-info li {
    padding: 1rem 0;
    font-size: 1.6rem;
    position: relative;
    padding-left: 3rem;
    line-height: 1.6;
}

.success-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.8rem;
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        padding: 0 4rem;
    }

    .nav-container {
        padding: 2rem 4rem;
    }

    .hero-title {
        font-size: 6rem;
    }

    .about-content {
        gap: 6rem;
    }

    .contact-content {
        gap: 6rem;
    }

    .success-title {
        font-size: 4.8rem;
    }

    .success-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Tablet Styles for Success Page */
@media (min-width: 768px) {
    .success-actions {
        flex-direction: row;
        justify-content: center;
    }

    .success-title {
        font-size: 4.2rem;
    }
}

/* Mobile Navigation Toggle */
@media (max-width: 767px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        gap: 2rem;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(0.8rem) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-0.8rem) rotate(-45deg);
    }
}