.policy,
.success,
.contact-section {
  padding-block: 60px;
  min-height: 86vh;
}

.policy__title,
.success__title {
  font-weight: 600;
  font-size: 34px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

html {
  scroll-behavior: smooth;
}

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

:root {
    --primary: #f82c71;
    --primary-dark: #e01a5f;
    --secondary: #00b6d1;
    --secondary-dark: #0090a8;
    --dark: #1a1a2c;
    --gray: #f5f5f7;
    --gray-dark: #8a8a8a;
    --white: #ffffff;
    --gradient: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    --font-family: 'Inter', sans-serif;
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 44, 113, 0.3);
}

.btn-submit {
    width: 100%;
    font-size: 1.125rem;
    padding: 16px;
    margin-top: 1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--gray);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
}

.accent {
    color: var(--primary);
}

/* Header and Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    font-weight: 500;
    color: var(--dark);
}

.menu li a:hover {
    color: var(--primary);
}

.inscribete-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.inscribete-btn:hover {
    background-color: var(--primary-dark);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 2px 0;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: url(../img/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

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

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    margin-left: 40px;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.online-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

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

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    margin-left: 40px;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    text-align: center;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: var(--gray);
}

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

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.course-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon img {
    width: 50px;
    height: 50px;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
}

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

.benefit-card {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

.blue {
    background-color: var(--secondary);
}

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

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--gray);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.rating {
    margin-bottom: 20px;
}

.star {
    color: #FFD700;
    font-size: 1.25rem;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
}

.author-initial {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-dark);
}

/* FAQs Section */
.faqs {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Registration Section */
.registration {
    padding: 80px 0;
    background-color: var(--gray);
}

.registration-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.unlimited-tag {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    transform: rotate(2deg);
}

.registration-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

.registration-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.form-disclaimer {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 20px;
    color: var(--gray-dark);
}

.form-disclaimer a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #f09ab8
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-contact p,
.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideIn 0.5s forwards;
}

.cookie-content {
    padding: 30px;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Thank You Popup */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    display: none;
}

.thank-you-popup.show {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

.thank-you-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.thank-you-content h3 {
    margin-bottom: 20px;
}

.thank-you-content p {
    margin-bottom: 30px;
    font-size: 1.25rem;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 10;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 15px 0;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-image {
        margin-left: 0;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        margin-bottom: 40px;
    }

    .about-image {
        margin-left: 0;
    }

    .courses-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-popup {
        left: 10px;
        right: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}