/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: 'Arial', sans-serif;
    background: #a15702;
}

main {
    margin: 0.5em;
    
}

header {
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 100px;
    border-radius: 11%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #4CAF50;
}

/* Animation pour le menu toggle */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.slider img {
    width: 50%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.5em 1em;
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.timeline {
    list-style: none;
    padding: 0;
    
}

.timeline .event {
    margin-bottom: 1em;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.3);
}

.team-member {
    flex: 1 1 30%;
    margin: 1%;
    text-align: center;
}

.team-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.technique, .article, .video {
    margin-bottom: 2em;
}

.testimonial-slider, .gallery-slider {
    display: flex;
    overflow-x: auto;
}

.testimonial-slider .testimonial, .gallery-slider img {
    margin-right: 1em;
}

/* Style de la section */
#avant-apres {
    padding: 20px;
    text-align: center;
}

#avant-apres h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Style du comparateur */
.comparator {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-pair {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.image-pair img {
    width: 400px;
    height: auto;
    transition: opacity 0.3s ease;
}

.image-pair img:hover {
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .image-pair {
        flex-direction: column;
    }

    .image-pair img {
        width: 100%;
    }
}

.social-icons a {
    margin-right: 1em;
}

.social-icons img {
    width: 30px;
    height: 40px;
}


/* Section Nos Activités */
.activities {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(250, 247, 247, 0.5);
}

.activities h2 {
    font-size: 2em;
    color: #030303;
    margin-bottom: 10px;
}

.activities p {
    font-size: 1em;
    color: #080606;
    margin-bottom: 30px;
}

/* Container des cartes */
.activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 10px;
}

/* Cartes */
.activity-card {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    cursor: pointer;
}

.activity-card i {
    font-size: 3rem;
    color: #070808;
    margin-bottom: 15px;
}

.activity-card h3 {
    font-size: 1.5em;
    color: #060708;
}

.activity-card p {
    font-size: 0.9em;
    color: #050404;
}

/* Effet au survol */
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Section Blog */
.blog {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.blog h2 {
    font-size: 2em;
    color: #f5f8fc;
    margin-bottom: 10px;
}

.blog p {
    font-size: 1em;
    color: #f3ebeb;
    margin-bottom: 30px;
}

/* Container des articles */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
    justify-content: center;
}

/* Cartes d'article */
.blog-card {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-content h3 {
    font-size: 1.3em;
    color: #0f1011;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.9em;
    color: #0e0d0d;
    margin-bottom: 10px;
}


/* Effet au survol */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Bouton Voir plus */
.btn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn-more:hover {
    background: #1e8449;
}

/* Section Galerie */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
}

.gallery h2 {
    font-size: 2em;
    color: #040405;
    margin-bottom: 10px;
}

.gallery p {
    font-size: 1em;
    color: #0c0909;
    margin-bottom: 30px;
}

/* Diaporama */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 500px;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

/* Grille d'images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding: 10px;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* Bouton Voir la Galerie */
.btn-gallery {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn-gallery:hover {
    background: #1e8449;
}

/* Section Contact */
.contact {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact h2 {
    font-size: 2em;
    color: #f5f8fa;
    margin-bottom: 10px;
}

.contact p {
    font-size: 1em;
    color: #faf3f3;
    margin-bottom: 30px;
}

/* Conteneur principal */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

/* Formulaire de contact */
.contact-form {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 15px;
    color: #f1f7fa;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #1e8449;
}

/* Informations de contact */
.contact-info {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 15px;
    color: #ecf1f5;
}

.contact-info p {
    font-size: 1em;
    color: #faf4f4;
    margin-bottom: 10px;
}

/* Carte Google Maps */
.contact-map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* Conteneur de la grille */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles pour chaque vidéo */
.video {
    position: relative;
    overflow: hidden;
    
    border: 2px solid #00ffcc;
    background-color: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.6);
}

.video iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    
}

/* Effet de lueur au survol */
.video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video:hover::before {
    opacity: 1;
}

/* style.css */
footer {
    background: linear-gradient(45deg, #013009, #0f9b0f, #013009);
    color: #fff;
    padding: 2em 0;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    margin: 0.5em 0;
    font-size: 1em;
}

.social-icons {
    margin: 1em 0;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #4CAF50;
}


/* Section Objectifs */
#objectifs {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;

    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.3);
    margin: 30px auto;
    max-width: 900px;
}
/* Titre de la section */
#objectifs h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Effet lumineux sous le titre */
#objectifs h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Liste des objectifs */
.objectifs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectifs-list li {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Effet au survol des objectifs */
.objectifs-list li:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Icônes */
.objectifs-list li::before {
    content: "✔";
    font-weight: bold;
    color: rgb(238, 245, 245);
    font-size: 1.5rem;
}

/* Style global */
.presentation {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Effet lumineux */
.presentation::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(0, 255, 255, 0.6);
    filter: blur(80px);
    z-index: 1;
}

/* Conteneur pour limiter la largeur */
.presentation .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Titre */
.presentation h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, rgb(17, 26, 26), blue);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Paragraphe */
.presentation p {
    font-size: 1.2rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

/* Effet au survol */
.presentation p:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Grille responsive */
.grid-container {
    display: grid;
    gap: 20px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.grid-item {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    font-size: 1.1em;
}


/* Styles futuristes et responsifs pour la section "Notre mission" */
.mission {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 60px 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease-in-out;
}

.mission:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.container-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    
}

.item-grid {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 900px;
    transition: transform 0.3s ease-in-out;
}

.item-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.item-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ffff;
}

.item-grid ul {
    list-style: none;
    padding: 0;
}

.item-grid ul li {
    font-size: 1.1rem;
    margin: 5px 0;
    display: flex;
    align-items: start;
}

.item-grid ul li::before {
    content: "✔️";
    color: #00ffcc;
    margin-right: 8px;
    font-size: 1.2rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}



p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e7eaee;
}

/* Section Présentation */
.presentation {
    background-color: #7a9fa5;
    text-align: center;
    padding: 50px 0;
}

/* Section Techniques */
#techniques {
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.technique {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.technique-img {
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Section Formations */
#formations {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.calendar {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calendar-img {
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
}

.formations-list {
    list-style: none;
    padding: 0;
}

.formations-list li {
    font-size: 1rem;
    margin: 10px 0;
    color: #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }

    .presentation, #techniques, #formations {
        padding: 30px 0;
    }

    .technique-grid {
        grid-template-columns: 1fr;
    }
}

/* Section des témoignages */
#temoignages {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
}

#temoignages h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #f8f4f4;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial p {
    color: #555;
    font-size: 1.2em;
    margin: 0;
}

/* Media queries pour les petits écrans */
@media (max-width: 768px) {
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .testimonial {
        padding: 15px;
    }

    .testimonial p {
        font-size: 1em;
    }
}



/* Style de la section */
#social {
    padding: 20px;
    text-align: center;
    background-color: #1e1e1e;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 255, 204, 0.3);
    max-width: 600px;
    margin: 20px auto;
}

#social h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style du formulaire */
#social form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#social label {
    font-size: 1.2em;
    color: #e0e0e0;
}

#social input[type="email"] {
    padding: 10px;
    font-size: 1em;
    border: 2px solid #00ffcc;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

#social button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    background-color: #00ffcc;
    color: #121212;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#social button:hover {
    background-color: #00e6b3;
}

/* Responsive design */
@media (max-width: 768px) {
    #social {
        padding: 15px;
    }

    #social h2 {
        font-size: 1.8em;
    }

    #social input[type="email"] {
        width: 90%;
    }
}

@media (max-width: 480px) {
    #social h2 {
        font-size: 1.6em;
    }

    #social input[type="email"] {
        width: 100%;
    }
}


/* Style de la section */
#articles {
    padding: 20px;
    text-align: center;
}

#articles h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Style des articles */
.article {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
    
    box-shadow: 0 4px 8px rgba(0, 255, 204, 0.3);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 255, 204, 0.5);
}

.article img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.article h3 {
    font-size: 1.5em;
    color: #00ffcc;
    margin-bottom: 10px;
}

.article p {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .article {
        padding: 15px;
    }

    .article img {
        max-width: 200px;
    }

    .article h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .article {
        padding: 10px;
    }

    .article img {
        max-width: 150px;
    }

    .article h3 {
        font-size: 1.2em;
    }
}

#videos h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}