/* Base Styles */
:root {
    --color-background: #3A0CA3;
    --color-accent: #4CC9F0;
    --color-mint: #90F1EF;
    --color-heading: #FFFFFF;
    --color-text: #D9D9D9;
    --color-cta: #FFD60A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

section[id] {
    scroll-margin-top: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-mint);
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
header {
    background-color: rgba(58, 12, 163, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-heading);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--color-heading);
    font-weight: 600;
}

nav a:hover {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(58, 12, 163, 0.8), rgba(58, 12, 163, 0.8)), url('./img/QpgjG.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.5s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-cta);
    color: var(--color-background);
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 1s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--color-heading);
    color: var(--color-background);
}

/* About Section */
.about-section {
    background-color: rgba(58, 12, 163, 0.9);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    background-color: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Advantages Section */
.advantages-section {
    background-color: rgba(58, 12, 163, 0.85);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    padding: 2rem;
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Creating icon placeholders with CSS */
.icon-experience:before {
    content: "★";
}

.icon-personal:before {
    content: "✓";
}

.icon-technology:before {
    content: "⚙";
}

.icon-support:before {
    content: "✆";
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: rgba(76, 201, 240, 0.2);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    text-align: right;
    color: var(--color-accent);
}

/* Steps Section */
.steps-section {
    background-color: rgba(58, 12, 163, 0.9);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-number {
    background-color: var(--color-accent);
    color: var(--color-background);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: -20px;
    left: 2rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-background);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(76, 201, 240, 0.1);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

select option {
    background-color: white;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.submit-button {
    background-color: var(--color-cta);
    color: var(--color-background);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: block;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--color-heading);
}

/* FAQ Section */
.faq-section {
    background-color: rgba(58, 12, 163, 0.85);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    background-color: rgba(76, 201, 240, 0.1);
    padding: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--color-heading);
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    background-color: rgba(76, 201, 240, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.2rem;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 1.2rem;
}

/* Map Section */
.map-section {
    background-color: var(--color-background);
    padding-bottom: 0;
}

.map-container {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 450px;
}

/* Footer Styles */
footer {
    background-color: rgba(58, 12, 163, 0.95);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(76, 201, 240, 0.3);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: var(--color-heading);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
    margin-top: 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    max-width: 400px;
    width: 90%;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.cookie-popup.active {
    display: block;
}

.cookie-popup p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-accept, .cookie-decline {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--color-cta);
    color: var(--color-background);
}

.cookie-decline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.cookie-accept:hover, .cookie-decline:hover {
    transform: translateY(-2px);
}

/* Thank You Page */
.merci-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.merci-container h1 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Policy Pages */
.policy-container {
    max-width: 1000px;
    margin: 3rem auto;
    background-color: white;
    color: #333;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-background);
}

.policy-container h1, .policy-container h2 {
    color: var(--color-accent);
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    margin: 2rem 0 1rem;
}

.policy-container p {
    margin-bottom: 1.2rem;
}

.policy-container ul, .policy-container ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styling */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--color-heading);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--color-heading);
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Media Queries */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--color-background);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .mobile-menu-checkbox:checked ~ .header-container nav ul {
        right: 0;
    }
    
    .mobile-menu-checkbox:checked ~ .header-container .hamburger {
        background-color: transparent;
    }
    
    .mobile-menu-checkbox:checked ~ .header-container .hamburger::before {
        transform: rotate(45deg);
    }
    
    .mobile-menu-checkbox:checked ~ .header-container .hamburger::after {
        transform: rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    .policy-container {
        padding: 1.5rem;
    }
}
