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


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


/* **************************************************Conteneur de la bannière ********************************************/
.banner-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 128px;
}

.banner-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Image de la bannière */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texte de la bannière */
.banner-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #FF6233;
    text-align: left;

}

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner-text button {
    font-weight: bold;
    font-size: 1.3rem;
    padding: 10px 20px;
    margin-top: 360px;
    background-color: transparent;
    border-radius: 50px;
    border: 4px solid #FF6233;
    color: #FF6233;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Ombre portée */
}

.banner-text button:hover {
    background-color: white;
    color: #f24e1e;
}

/* Flèches de navigation */
.banner-arrows {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: 100px;
}

.arrow {
    cursor: pointer;
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.arrow:hover {
    color: #f24e1e;
}

/* Responsivité */
@media screen and (max-width: 768px) {

    .banner-container {
        height: 50vh;
        margin-top: 0px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text button {
        padding: 8px 15px;
    }

    .arrow {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .banner-container {
        height: 25vh;
        margin-top: 40px;
    }

    .banner-text h1 {
        font-size: 1.5rem;
    }

    .banner-text button {
        padding: 6px 12px;
        margin-top: 100px;
        font-weight: bold;
        font-size: 1rem;
        background-color: transparent;
        border-radius: 50px;
        border: 2px solid #FF6233;
        color: #FF6233;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* Ombre portée */
    }

    .arrow {
        font-size: 1.2rem;
    }
}

.section-title {
    font-size: 32px;
    /* Taille de la police pour le titre de la section */
    margin-bottom: 20px;
    /* Espace sous le titre de la section */
    color: #FF6233;
    /* Couleur orange pour le texte du titre */
    text-transform: uppercase;
    /* Transforme le texte du titre en majuscules */
    font-family: Arial;
    /* Police de caractère pour le titre */
}

@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 only screen and (max-width: 768px) {
    .section-projet .section-title {
        font-size: 24px;

    }
}

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

    }
}


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

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

    }
}

@media screen and (max-width: 480px) {
    .services-section .section-title {
        font-size: 22px;

    }
}

@media screen and (max-width: 480px) {
    .section-projet .section-title {
        font-size: 22px;

    }
}



/************************************************* Conteneur des miniatures ************************************************/
.thumbnails {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 20px;
    background-color: #545454;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Responsivité pour les miniatures */
@media screen and (max-width: 768px) {
    .thumbnails {
        bottom: 10px;
        right: 10px;
    }

    .thumbnail {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .thumbnails {
        bottom: 5px;
        right: 5px;
    }

    .thumbnail {
        width: 30px;
        height: 30px;
    }
}


/***************************************************************** Section Présentation des Services *****************/
.services-section {
    background-color: #F6F6F6;
}

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

.services-section h2 {
    font-size: 2.5rem;
    color: #FF6233;
    text-transform: uppercase;
}

.services-section p {
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: justify;

}

.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    position: relative;
    width: 45%;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
}

/* Masque l'image par défaut */
.service img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Titre en bas de l'image */
.service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(242, 78, 30, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

/* Superposition cachée par défaut */
.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background-color: rgba(242, 78, 30, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    padding: 20px;
    text-align: center;
}

.service-description {
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 2px 40px;
}

.service-btn {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: 50%;
    border: 2px solid white;
    /* Ajout de la bordure */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    /* Ajoute la transition pour la bordure */
}

.service-btn:hover {
    background-color: #F6F6F6;
    color: black;
}

/* Au survol ou au clic, masquer l'image et le titre, et afficher la superposition */

.service:hover .service-title {
    opacity: 0;
}

.service:hover .service-overlay {
    opacity: 1;
}

/* Pour le clic en JavaScript */
.service-click img,
.service-click .service-title {
    opacity: 0;
}

.service-click .service-overlay {
    opacity: 1;
}

/* Responsivité */
@media (max-width: 768px) {
    .service {
        width: 48%;
    }
}



@media (max-width: 768px) {
    .service-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .service-overlay {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .service-description {
        font-size: 0.6rem;
    }
}


@media (max-width: 480px) {
    .service {
        width: 100%;
    }
}


@media (max-width: 480px) {
    .service-overlay {
        height: 60%;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 22px;
    }
}


@media (max-width: 480px) {
    .service-overlay {
        height: 95%;
    }
}

@media (max-width: 480px) {
    .service-description {
        font-size: 0.6rem;

    }

}




/* Section Partenaire *==*********************************************************************/
.partner-section {
    position: relative;
    background-image: url('/assets/images/service/Rectangle\ 31.webp');
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    text-align: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-partner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partner-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.partner-content {
    position: relative;
    z-index: 2;
}

.partner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #545454;
}

@media (max-width: 480px) {
    .partner-content h2 {
        font-size: 22px;
    }
}

.partner-content span {
    color: #FF6233;
}

.partner-content button {
    font-size: 16px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #FF6233;
    border-radius: 50px;
    color: #FF6233;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.partner-content button:hover {
    background-color: white;
    color: #FF6233;
}

/******************************************* Section Processus de Travail *******************************************************/
.section-projet {
    background-color: #F6F6F6;
    margin-bottom: 150px;

}

.project-steps {
    max-width: 1200px;
    /* Largeur maximale de la page */
    margin: 0 auto;
    /* Centre la page horizontalement */
    padding: 40px;
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 2.5rem;
    color: #FF6233;
    text-transform: uppercase;
}


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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 8%;
    height: 100px;
    background-color: #ddd;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.step span {
    font-size: 12px;
}

.step-icon i {
    color: #FF6233;
}

.step-icon {
    width: 30px;
    height: 30px;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step.active {
    background-color: #FF6233;
    color: white;
}

.step.active .step-icon i {
    background-color: #FF6233;
    color: white;
    /* Couleur de l'icône active */
}

.arrow {
    width: 80px;
    height: 80px;
    margin-left: 5px;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 80px solid #FF6233;
}

.step-description {
    margin-top: 0px;
    padding: 20px;
    background-color: #FF6233;
    color: white;
    display: none;
    text-align: left;
    width: 40%;
    float: left;
    margin-bottom: 40px;
}

/* Aligner la description à droite pour les processus 7 à 12 */
#step-description.right-align {
    float: right;
    text-align: left;
    margin-right: 100px;
}

/* Centrage pour les tablettes et téléphones (écrans jusqu'à 1024px) */
@media (max-width: 1024px) {
    .steps-container {
        flex-wrap: wrap;
        /* Permet aux éléments de se répartir sur plusieurs lignes */
        justify-content: center;
        /* Centre horizontalement les éléments */
        align-items: center;
        /* Centre verticalement les éléments */
    }

    .step {
        width: 100%;
        /* Pour qu'ils prennent la largeur disponible */
        max-width: 48%;
        /* Limiter à 48% pour avoir 2 éléments par ligne */
        margin-bottom: 10px;
    }

    .arrow {
        display: none;
        /* Masquer la flèche sur les petits écrans si nécessaire */
    }
}

/* Centrage pour les téléphones (écrans jusqu'à 768px) */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        /* Afficher les éléments en colonne */
        align-items: center;
        /* Centrer les éléments */
    }

    .step {
        width: 100%;
        /* Chaque étape occupe toute la largeur sur les petits écrans */
        max-width: 100%;
        /* Supprime les marges pour les très petits écrans */
    }

    .step-description {
        width: 90%;
    }
}

@media (max-width: 480px) {
    #step-description.right-align {
        float: right;
        text-align: left;
        margin-right: 40px;
    }
}

/******************************************* FIN Section Processus de Travail *******************************************************/

/* 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;
    }
}


.footer-bottom p a {
    margin: 0;
    font-size: 14px;
    color: white;
    text-decoration: none;
}


.active {
    animation: focusInContractBck 1s ease forwards;
}

@keyframes focusInContractBck {
    0% {
        letter-spacing: 1em;
        transform: translateZ(300px);
        opacity: 0;
    }

    100% {
        letter-spacing: normal;
        transform: translateZ(0);
        opacity: 1;
    }
}