/* General Styles */
:root {
    --background-color: #F4F7FA;
    --accent-color: #2D9CDB;
    --button-color: #27AE60;
    --text-color: #212121;
    --footer-color: #1B1B1B;
    --card-color: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.menu-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: block;
    max-width: max-content;
    margin: auto;
    padding: 12px 24px;
    background-color: var(--button-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #219653;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--button-color);
    color: var(--button-color);
}

.btn-secondary:hover {
    background-color: rgba(39, 174, 96, 0.1);
}

/* Hero Section */
.hero {
    background-image: url('./img/EzP9u.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Section */
.section {
    padding: 60px 0;
}

/* Grid layouts */
.about-grid,
.benefits-grid,
.courses-grid,
.testimonials-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Cards */
.about-card,
.benefit-card,
.audience-card {
    background-color: var(--card-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.course-card {
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: auto;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--card-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px 20px;
    background-color: var(--card-color);
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.faq-checkbox:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--card-color);
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 15px 20px;
}

/* Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--footer-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    margin-bottom: 20px;
    text-align: left;
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--footer-color);
    color: white;
    padding: 15px;
    z-index: 2000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent.show {
    display: block;
}

/* Thanks page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    max-width: 600px;
    margin: 5rem auto;
    padding: 40px;
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thanks-container h1 {
    color: var(--accent-color);
}

/* Policy Content */
.policy-content {
    background-color: var(--card-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.policy-content h1 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
    list-style: disc;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Back Button */
.policy-content + .btn {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-content {
        padding: 20px;
        font-size: 0.95rem;
    }

    .policy-content h1 {
        font-size: 1.8rem;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }



 
    .header-content {
        height: 60px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 0;
        max-height: 0;
        background-color: white;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    nav ul {
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 15px;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .cookie-content {
        justify-content: center;
        text-align: center;
    }

    .thanks-section {
        height: auto;
    }

    .footer h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 40px 0;
    }
}
