/* Style général */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Conteneur de la bannière */
.banner {
    width: 100%;
    /* La bannière prend toute la largeur de la page */
    height: 90vh;
    /* Hauteur à 70% de la hauteur de l'écran */
    overflow: hidden;
    /* Masquer toute partie de l'image qui dépasse */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 130px;
}

/* Image de la bannière */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* S'assurer que l'image s'ajuste bien au conteneur */
}

/* Responsivité pour les écrans moyens */
@media (max-width: 768px) {
    .banner {
        height: 50vh;
        /* Ajuster la hauteur pour les tablettes */
        margin-top: 40px;
    }
}

/* Responsivité pour les petits écrans */
@media (max-width: 480px) {
    .banner {
        height: 40vh;
        /* Réduire la hauteur pour les petits appareils */
    }
}
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FF6233;
    text-transform: uppercase;
    font-family: Arial;
    text-align: center;
}

@media only screen and (max-width: 1300px) {
    .section-title {
        font-size: 28px;
       
    }

}
@media only screen and (max-width: 768px) {
    .section-title {
        font-size: 24px;
       
    }

}
@media screen and (max-width: 480px) {

    .section-title {
        font-size: 22px;
       
    }
}


/*-------------------------------- Section de base ************************************************************/
.about-project {
    padding: 50px 20px;
    max-width: 1200px;

    margin: 0 auto;
}

/* Style pour le titre */
.about-project h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Conteneur principal pour le texte et l'image */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* Espace entre le texte et l'image */
}

/* Conteneur de texte à gauche */
.text-container {
    flex: 2;
    /* Le texte occupe 2/3 de la largeur */
    font-size: 1.2rem;
    line-height: 1.6;

}

/* Conteneur de l'image à droite */
.image-container {
    flex: 1;
    /* L'image occupe 1/3 de la largeur */
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsivité pour les écrans de tablettes */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        /* Empiler le texte et l'image verticalement */
        text-align: center;
    }

    .text-container,
    .image-container {
        width: 100%;
        /* Le texte et l'image prennent toute la largeur */
        margin-bottom: 20px;
    }
}

/* Responsivité pour les petits écrans (smartphones) */
@media (max-width: 480px) {
    .about-project h2 {
        font-size: 1.8rem;
        /* Réduire la taille du titre */
    }

    .text-container {
        font-size: 1rem;
        /* Réduire la taille du texte */
    }
}


/* CSS pour l'animation */
.about-project {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-project.visible {
    opacity: 1;
    transform: translateY(0);
}

/********************************* Section des exigences du projet ************************************************************************/
.section-content{
    background-color: #F6F6F6;
}

.section-exigence {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
    
}

.exigence-btn {
    color: #ff6233;
    border: 4px solid #ff6233;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Ajout des ombres interne et externe */
    box-shadow: 
        inset 0 4px 8px rgba(0, 0, 0, 0.1), /* Ombre interne (inset) */
        0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre externe */
}


.exigence-btn:hover {
    background-color: #ff6233;
    color: white;
    border: 4px solid white;
    transform: scale(1.1);
}

.exigence-btn.active {
    background-color: #ff6233;
    color: white;
}


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

.description {
    flex: 2;
    padding: 20px;
    text-align: justify;
    font-size: 1.5rem;
}

.image {
    flex: 1;
}

.image img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
}

/* Responsivité */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }
    
    .description, .image {
        width: 100%;
    }

    .image {
        margin-top: 20px;
    }
}
@media (max-width: 448px) {
    .exigence-btn {
        color: #ff6233;
        border: 4px solid #ff6233;
        padding: 10px 20px;
        font-size: 0.5rem;
        font-weight: bold;
        border-radius: 30px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        /* Ajout des ombres interne et externe */
        box-shadow: 
            inset 0 4px 8px rgba(0, 0, 0, 0.1), /* Ombre interne (inset) */
            0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre externe */
    }
}



/**************************************** Section des outils clés **********************************************************************/
.tools-section {
    background-color: #f9f9f9;
}

.section-tools {
    max-width: 1200px;
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    /* Centre la section horizontalement */
}

.tools-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.tools-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/****************************************************************************** Conteneur des icônes ***************************************************/
.icons-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* Permet de passer les icônes à la ligne si nécessaire */
    gap: 20px;
    margin-top: 50px;
}

/* Style des icônes */
.icon-item {
    flex: 1;
    max-width: 150px;
}

.icon-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-item img:hover {
    transform: scale(1.1);
    /* Effet au survol */
}


/* Animation continue */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.icons-container {
    display: flex;
    animation: scroll 5s linear infinite; /* Animation de 20 secondes, continue et linéaire */
}

/* Pour rendre l'animation plus fluide sur plusieurs appareils, duplique le contenu pour combler l'espace */
.icons-container::before {
    content: '';
    display: inline-block;
    min-width: 100%; /* Crée un espace supplémentaire pour permettre un défilement continu */
    white-space: nowrap;
}










/* Responsivité pour les écrans moyens */
@media (max-width: 768px) {
    .icons-container {
        justify-content: center;
        /* Centrer les icônes pour les tablettes */
        gap: 30px;
    }

    .icon-item {
        max-width: 120px;
        /* Réduire la taille des icônes pour les tablettes */
    }
}

/* Responsivité pour les petits écrans */
@media (max-width: 480px) {
    .tools-section h2 {
        font-size: 2rem;
        /* Réduire la taille du titre sur petits écrans */
    }

    .tools-section p {
        font-size: 1rem;
        /* Réduire la taille du texte */
    }

    .icon-item {
        max-width: 80px;
        /* Réduire davantage la taille des icônes pour les petits écrans */
    }
}

/****************************************************************************** fin Conteneur des icônes ***************************************************/




/* Section des résultats */
.results-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.section-resultats {
    max-width: 1200px;
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    /* Centre la section horizontalement */
}


.results-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: black;

}

.results-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: white;
    max-width: 800px;
    margin: 0 auto;

}

/* Conteneur des cartes */
.cards-container {
    display: flex;
    gap: 20px;
}

/* Style des cartes */
.card {
    background-color: #444;
    padding: 10px;
    border-radius: 10px;
    width: 30%;
    /* Chaque carte prend 30% de la largeur */
    text-align: center;
    color: white;
}

.icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;

}

.description {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.result-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.subtitle {
    font-size: 1rem;
    color: #f4f4f4;
}

/* Carrousel des boutons */
.carousel {
    margin-top: 20px;
}

.carousel-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-btn.active {
    background-color: #ff6233;
}

/* Responsivité pour les écrans moyens */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
        /* Ajuster la largeur des cartes pour les tablettes */
    }
}

/* Responsivité pour les petits écrans */
@media (max-width: 480px) {
    .results-section h2 {
        font-size: 2rem;
        /* Réduire la taille du titre */
    }

    .results-section p {
        font-size: 1rem;
        /* Réduire la taille du texte */
    }

    .card {
        width: 100%;
        /* Chaque carte prend toute la largeur */
    }

    .carousel-btn {
        width: 10px;
        height: 10px;
    }
}



/* ************************************* testimonials ************************************* */
/* General styles for the section */
.testimonial-section {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}

.testimonial-title {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
    color: #000;
}

/* Testimonial container with rounded corners and inner box-shadow */
.testimonial-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d0d0d0;
    border-radius: 20px;
    padding: 30px;
    width: 70%;
    margin: 0 auto; /* This centers the element horizontally */
    box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.2), 0px 0px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}


/* Left side: Client photo styling */
.client-photo img {
    width: 220px;
    height: 300px;
    object-fit: cover;
    border-radius: 10%;
    border: 5px solid white; /* Border around the image */
}

/* Right side: Client details */
.client-details {
    flex-grow: 1;
    margin-left: 30px;
    text-align: left;
}

.client-name {
    font-size: 1.8rem;
    color: #000;
    font-weight: bold;
}

.client-description {
    font-size: 1rem;
    color: #555;
    margin: 20px 0;
    line-height: 1.5;
}

/* Button style */
.testimonial-button {
    background-color: #FF6233;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30%;
    transition: background-color 0.3s ease;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-button:hover {
    background-color: #e65a00;
}

.testimonial-button i {
    font-size: 1.4rem;
    vertical-align: middle;
    margin-right: 5px;
}

/* Responsivity: Adapt layout for smaller screens */
@media (max-width: 768px) {
    .testimonial-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .client-photo img {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .client-details {
        margin-left: 0;
        text-align: center;
    }
    .testimonial-button {
        background-color: #FF6233;
        color: white;
        padding: 12px 20px;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        cursor: pointer;
        width: 30%;
        transition: background-color 0.3s ease;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    }

    .client-photo img {
        width: 220px;
        height: 300px;
        object-fit: cover;
        border-radius: 10%;
        border: 5px solid white; /* Border around the image */
    }
}

@media (max-width: 448px){
    .testimonial-button {
        font-size: 1rem;
        width: 50%;
     
    }

    .client-photo img {
        width: 220px;
        height: 300px;
        object-fit: cover;
        border-radius: 10%;
        border: 5px solid white; /* Border around the image */
    }


}
@media (max-width: 480px){
    .testimonial-box {
        width: 100%;
        height: 10%;
    }
    .client-photo img {
        width: 220px;
        height: 300px;
        object-fit: cover;
        border-radius: 10%;
        border: 5px solid white; /* Border around the image */
    }

}



/****************************************** fin title-button-section de la section ********************************************/

/* footer code css*/
footer {
    margin-top: 5%;
    background-color: #545454;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 20px;
}

.footer-logo-section {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-logo-section img {
    width: 220px;
    margin-bottom: 10px;
}

.footer-logo-section p {
    color: white;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    text-align: left;
}

.footer-section h4 {
    color: #FFBD59;
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
}

.social-icons a {
    margin: 0 10px;
    color: #FFBD59;
    font-size: 24px;
    text-decoration: none;
}

.footer-bottom {
    color: white;
    padding: 10px 0;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}


/* Styles pour les tablettes */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-section,
    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section ul li {
        font-size: 13px;
    }

    .social-icons a {
        font-size: 20px;
    }
}

/* Styles pour les smartphones */
@media (max-width: 480px) {
    .footer-logo-section img {
        width: 100px;
    }

    .footer-section h4 {
        font-size: 14px;
    }

    .footer-section ul li {
        font-size: 12px;
    }

    .social-icons a {
        margin: 0 5px;
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}



/******************************************* Définir l'animation rotate-in-center *******************************/
@keyframes rotateInCenter {
    0% {
        transform: rotate(-360deg);
        opacity: 0;
    }
    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
  }
  
  /* Appliquer l'animation à l'image */
  .rotate-in-center {
    animation: rotateInCenter 1.5s ease-out forwards; /* Ajustez la durée et l'effet de l'animation */
  }
  
  /* Si vous voulez que l'animation se déclenche seulement au survol, vous pouvez faire ceci : */
  .tab-image:hover .rotate-in-center {
    animation: rotateInCenter 1.5s ease-out forwards;
  }


  /************************************ Section CTA (Appel à l'action) *************************************************************************/
.cta-section {
    background: linear-gradient(to right, rgba(255, 182, 170, 0.8), #FF6F4B);
    height: 50vh; /* Hauteur moyenne de la section */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Conteneur principal avec max-width */
.content-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  
}

/* Conteneur pour le texte */
.text-container {
    flex: 3; /* Le texte occupe plus d'espace */
}

.text-container h1 {
    font-size: 2.5rem;
    color: black;
    font-weight: bold;
    line-height: 1.2;
}

/* Conteneur pour le bouton */
.button-container {
    flex: 1; /* Le bouton occupe moins d'espace */
    display: flex;
    justify-content: flex-end;
}

.cta-btn {
    padding: 15px 30px;
    font-size: 1.5rem;
    color: white; /* Couleur du texte (orange) */
    background-color: transparent; /* Fond transparent */
    border: 4px solid #FF6F4B; /* Bordure orange */
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre portée */
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #FF6F4B; /* Fond orange au survol */
    color: white; /* Texte blanc au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Ombre plus forte au survol */
}


/* Responsivité pour les tablettes */
@media (max-width: 768px) {
    .text-container h1 {
        font-size: 2rem;
    }

    .content-container {
        flex-direction: column;
        text-align: center;
    }

    .button-container {
        justify-content: center;
        margin-top: 20px;
    }

    .cta-btn {
        padding: 10px 25px;
    }
}

/* Responsivité pour les petits téléphones */
@media (max-width: 480px) {
    .text-container h1 {
        font-size: 1.5rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 8px 20px;
    }
}

  