body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-size: 14px;
}

header {
    background-color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
}

header img {
    height: 40px;
}

header form {
    display: flex;
    align-items: center;
}

header input {
    border: 1px solid #ddd;
    padding: 4px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 12px;
}

button.envoi {
    font-size: 14px; /* Adjust font size */
    padding: 4px 16px; /* Add padding for better proportions */
    margin-left: 2px;
    height: auto; /* Ensure it adjusts to the content */
    line-height: 1.5; /* Align text vertically */
    border-radius: 4px; /* Add a slight border radius for rounded corners */
    background-color: #343a40; /* Keep the dark background */
    color: white; /* Ensure text contrast */
    border: none; /* Remove any border */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease; /* Add a hover effect */
}

button.envoi:hover {
    background-color: #495057; /* Slightly lighter color on hover */
}


.menu-container {
    background-color: black;
    padding: 10px 0;
    text-align: center;
}

.menu-container span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    color: white;
    background-color: black;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.menu-container .active {
    background-color: red;
    color: white;
}

.swiper-container {
    background-color: #f8f9fa;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 20px auto;
    padding: 10px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}


.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    height: 100%; /* Occupe toute la hauteur disponible */
    box-sizing: border-box;
}

.swiper-slide img {
    max-height: calc(100vh - 160px); /* Adapte les images à l'écran */
    max-width: 90%; /* Empêche les images de déborder horizontalement */
    height: auto;
    object-fit: contain; /* Conserve les proportions des images */
    transition: max-height 0.3s ease; /* Transition douce pour le redimensionnement */
}

.swiper-slide.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.swiper-slide.flex-row img {
    width: 25%;
    margin-right: 20px;
}

.swiper-slide.flex-row .text-content {
    flex: 1;
    text-align: left;
}

.text-content h2, .text-content h3 {
    font-size: 25px;
}

.text-content p {
    font-size: 14px;
    font-weight: 400;
}
.red-dot {
    color: red;
    font-size: 1.2em; /* Optionnel : agrandir les points si nécessaire */
    margin-right: 5px; /* Optionnel : ajouter un espace après le point */
}

.feature-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-block {
    display: flex;
    align-items: center;
    width: 48%;
    margin-bottom: 10px;
}

.feature-block img {
    width: 25%;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
}

.feature-block .text {
    flex: 1;
    text-align: left;
}

.feature-block .text h3 {
    font-size: 16px;
}

.feature-block .text p {
    font-size: 15px;
}

.swiper-button-next,
.swiper-button-prev {
    color: black;
}

footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px;
    border-top: 2px solid #ddd;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    z-index: 10;
}


/* Slide 5 Container */
.slide5-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligne les éléments en haut */
    gap: 20px; /* Espacement entre témoignages et tableau */
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes */
    gap: 20px; /* Espace entre les cartes */
    flex: 2; /* Les témoignages occupent plus d'espace */
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px 13px 10px 14px;
    border-radius: 10px;
    background-color: #f9f9f9;
    height: 300px;
    box-sizing: border-box;
}
.testimonial p{
    font-size: 14px;
    font-weight: 100;
}

.testimonial img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.pricing-table {
    flex: 1; /* Le tableau occupe moins d'espace */
    max-width: 50%; /* Largeur maximale */
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th, .pricing-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 11px;
}

.pricing-table th {
    background-color: #f5f5f5;
    text-align: center;
}

.pricing-table td:first-child {
    font-weight: bold;
    text-align: left;
}



.pricing-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.pricing-table tr:nth-child(even) {
    background-color: #ffffff;
}
/* General layout for Slide 1 */
#slide1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 100%; /* Occupies full height */
    box-sizing: border-box;
}

#slide1 img {
    flex: 1;
    max-width: 40%;
    height: auto;
    object-fit: contain; /* Keeps the proportions */
    display: block;
    margin: 0 auto; /* Center horizontally */
}

#slide1 .text-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 20px; /* Adds spacing around the text */
}

#slide1 h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

#slide1 p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Styles pour Slide 2 */
#slide2 .content-container {
    display: flex;
    justify-content: space-between; /* Image on the left, text on the right */
    align-items: center;
    gap: 20px; /* Space between image and text */
    padding: 20px; /* Consistent padding */
    flex-wrap: wrap; /* Adjusts for smaller screens */
}

#slide2 .image-left {
    flex: 1;
    max-width: 50%; /* Restricts image width to 50% */
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

#slide2 .text-content {
    flex: 1;
    max-width: 50%; /* Restricts text width to 50% */
    text-align: left;
    padding: 20px;
}

#slide2 h2 {
    font-size: 24px; /* Matches Slide 1 */
    font-weight: 600;
    margin-bottom: 10px;
}

#slide2 p {
    font-size: 16px; /* Matches Slide 1 */
    line-height: 1.5;
    margin-bottom: 10px;
}

#slide2 ul {
    font-size: 16px; /* Matches paragraph font size */
    line-height: 1.5;
    margin-left: 20px;
}

#slide2 .image-left {
    flex: 1;
    max-width: 30%; /* Réduit la largeur maximale à 30% */
    height: auto; /* Maintient les proportions */
    object-fit: contain; /* Garde l'image proportionnelle */
    margin: 0 auto; /* Centre l'image horizontalement */
}


#slide2 .text-content {
    flex: 1;
    text-align: left; /* Aligne le texte à gauche */
}

#slide2 .bottom-images {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    margin-top: 20px;
    width: 100%;
}

#slide2 .bottom-images .image-full-width {
    width: 100%; /* Image horizontale sur toute la largeur */
    max-width: 1200px; /* Largeur maximale */
    height: auto;
    object-fit: cover; /* Conserve les proportions */
    border-radius: 10px; /* Coins arrondis (optionnel) */
}


/* General layout for Slide 8 */
#slide8 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 100%; /* Occupies full height */
    box-sizing: border-box;
}

#slide8 img {
    flex: 1;
    max-width: 40%;
    height: auto;
    object-fit: contain; /* Keeps proportions */
    display: block;
    margin: 0 auto; /* Center horizontally */
}

#slide8 .text-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 20px; /* Adds spacing around the text */
}

#slide8 h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

#slide8 p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .swiper-slide {
        overflow-y: auto;
        max-height: calc(100vh - 100px); /* Ajuste la hauteur en fonction du header et footer */
        padding-bottom: 20px; /* Ajoute un peu d'espace en bas */
        scroll-behavior: smooth;
    }

    .swiper-container {
        height: 100vh;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none; /* Cache les boutons de navigation en mode mobile */
    }
    #slide1 {
        flex-direction: column !important; /* Stacks elements vertically */
        align-items: center; /* Centers items horizontally */
        text-align: center;
        padding: 10px; /* Adjusts padding */
    }

    #slide1 img {
        max-width: 50%; /* Increases image size for mobile */
        margin-bottom: -36px; /* Adds spacing below the image */
    }

    #slide1 .text-content {
        max-width: 100%; /* Expands text content to full width */
        padding: 0; /* Removes additional padding */
    }

    #slide1 h2 {
        font-size: 20px; /* Adjusts heading size for mobile */
    }

    #slide1 p {
        font-size: 14px; /* Adjusts paragraph size for mobile */
    }
    #slide2 .content-container {
        flex-direction: column !important;
        text-align: center;
    }

    #slide2 .image-left {
        max-width: 80%;
        margin-bottom: 20px;
    }

    #slide2 .text-content {
        max-width: 100%;
        padding: 0;
    }

    #slide2 h2 {
        font-size: 20px; /* Adjusts font size for mobile */
    }

    #slide2 p,
    #slide2 ul {
        font-size: 14px; /* Adjusts paragraph and list font size for mobile */
    }

    #slide2 .image-left {
        max-width: 80%; /* Réduit l'image sur mobile */
    }

    #slide2 .bottom-images .image-full-width {
        max-width: 100%; /* Ajuste l'image pour mobile */
    }

    #slide3 {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping of blocks */
        justify-content: space-between; /* Evenly distribute blocks for desktop */
        align-items: flex-start; /* Align blocks at the top */
        gap: 20px; /* Adds space between blocks */
        padding: 20px;
        box-sizing: border-box;
    }

    #slide3 .feature-block {
        width: 45%; /* Adjust width for desktop */
        max-width: 300px; /* Limit block size */
        text-align: center; /* Center text inside blocks */
        padding: 15px;
        border-radius: 10px;
        background-color: #f8f9fa; /* Light background for separation */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
    }

    #slide3 .feature-block img {
        width: 80%; /* Scale image */
        height: auto;
        margin-bottom: 10px;
    }

    #slide3 h3 {
        font-size: 24px; /* Matches Slide 1 and 2 */
        font-weight: 600;
        margin-bottom: 10px;
    }

    #slide3 p {
        line-height: 1.5;
    }
    /* General layout for Slide 4 */
    #slide4 {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping of blocks */
        justify-content: space-between; /* Evenly distribute blocks for desktop */
        align-items: flex-start; /* Align blocks at the top */
        gap: 20px; /* Adds space between blocks */
        padding: 20px;
        box-sizing: border-box;
    }

    #slide4 .feature-block {
        width: 45%; /* Adjust width for desktop */
        max-width: 300px; /* Limit block size */
        text-align: center; /* Center text inside blocks */
        padding: 15px;
        border-radius: 10px;
        background-color: #f8f9fa; /* Light background for separation */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
    }

    #slide4 .feature-block img {
        width: 80%; /* Scale image */
        height: auto;
        margin-bottom: 10px;
    }

    #slide4 h3 {
        font-size: 24px; /* Matches Slide 1 and 2 */
        font-weight: 600;
        margin-bottom: 10px;
    }

    #slide4 p {
        font-size: 16px; /* Matches Slide 1 and 2 */
        line-height: 1.5;
    }
    #slide8 {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    #slide8 img {
        max-width: 50%; /* Reduces image size on mobile */
        margin-bottom: 20px; /* Adds spacing below the image */
    }

    #slide8 .text-content {
        max-width: 100%; /* Text takes full width */
        padding: 0;
    }

    #slide8 h2 {
        font-size: 20px;
    }

    #slide8 p {
        font-size: 14px;
    }

}

.accordion-content {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.accordion-content p{
    text-align: start;
}

.accordion-header {
    cursor: pointer;
    background-color: #f9f9f9;
    padding: 10px;
    border: none;
    outline: none;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}.accordion-item {
     border: 1px solid #ddd;
     border-radius: 5px;
     margin-bottom: 10px;
     background-color: #f9f9f9;
     overflow: hidden;
 }

.accordion-header {
    cursor: pointer;
    background-color: white;
    padding: 15px;
    border: none;
    outline: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f8f8f8;
}

.accordion-header::after {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: "▲";
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.open {
    max-height: 200px;
    padding: 15px;
    background-color: white;
    border-top: 1px solid #ddd;
}

button.accordion-header{
    width: 100%;
}

.accordion-header:hover {
    background-color: #f8f8f8;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    #slide2 .content-container {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    #slide2 .content-container img {
        width: 80%; /* Ajuster l'image pour mobile */
        max-width: 250px;
        margin-bottom: 15px;
    }

    #slide2 .text-content {
        text-align: center;
        max-width: 100%;
    }

    #slide2 .bottom-images img {
        width: 60%; /* Ajustement de la largeur pour mobile */
        max-width: 150px;
    }

    #slide3 {
        display: inline-block !important;
        flex-direction: column !important; /* Stack blocks vertically */
        align-items: center; /* Center blocks horizontally */
        gap: 20px; /* Adds spacing between blocks */
    }



    #slide3 img{
        display: none;
    }

    #slide3 .feature-block {
        width: 100%; /* Full width for mobile */
        max-width: 100%; /* Removes width restriction */
    }

    #slide3 h3 {
        font-size: 15px; /* Adjust heading size for mobile */
    }

    #slide3 p {
        font-size: 12px; /* Adjust paragraph size for mobile */
    }
    #slide4 h3 {
        font-size: 15px; /* Adjust heading size for mobile */
    }

    #slide4 p {
        font-size: 12px; /* Adjust paragraph size for mobile */
    }
    #slide4 {
        display: inline-block !important;
        flex-direction: column; /* Stacks the blocks vertically */
        align-items: center; /* Centers blocks horizontally */
        gap: 20px; /* Adds spacing between blocks */
    }

    #slide4 .feature-block {
        width: 100%; /* Makes blocks take 80% width on smaller screens */
        max-width: 100%; /* Removes width limit */
    }

    #slide4 img{
        display: none;
    }
    #slide5 {
        flex-direction: column; /* Stacks content vertically */
        align-items: center; /* Centers content horizontally */
        gap: 20px;
    }

    #slide5 .testimonials {
        display: none; /* Hides testimonials on mobile */
    }

    #slide5 .pricing-table {
        width: 100%; /* Expands the table to full width */
        max-width: 100%; /* Removes any width limitation */
    }

    #slide5 .pricing-table th,
    #slide5 .pricing-table td {
        font-size: 10px; /* Adjusts font size for mobile */
    }
}

@media (max-width: 768px) {
    .swiper-slide.flex-row {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
    }

    .swiper-slide.flex-row img {
        width: 80%;
        margin-bottom: 20px;
    }

    .text-content {
        text-align: center;
    }

    .feature-row {
        flex-direction: column !important;
    }

    .feature-block {
        width: 100%;
        margin-bottom: 10px;
    }

    .feature-block img {
        width: 50%;
        margin: 0 auto 10px;
    }

    .feature-block .text {
        text-align: center;
    }

    .menu-container {
        flex-wrap: wrap;
    }

    .menu-container span {
        padding: 5px 10px;
        margin: 5px 0;
    }

    .menu-container span {
        font-size: 12px;
    }
    header img {
        height: 20px !important;
    }

    button.envoi{
        font-size: 12px !important;
    }
}

button:focus {
    outline: 1px dotted;
    outline: none !important;
}
