/* ============================= SECTION FIRST ============================= */

.section-first {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    background-image: linear-gradient(#1B1515, rgba(5, 35, 74, 90%));
}
.section-first .img-relative {
    display: flex;
    width: 100%;
    height: 31.62vw;
    position: relative;
    background: black;
    opacity: 0.1;
}
.section-first .img-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    z-index: 0;
    opacity: 1;
}

.section-first .content-details title {
    font-size: 3vw;
    font-weight: 400;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    /*width: 100%;*/
    justify-content: center;
    align-items: center;
    z-index: 2;
    /*position: absolute;
    top: 15.542vw;*/
}

.section-first .content-details img {
    width: 5vw;
    height: 5vw;
}

.section-first .content-details{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 15vw;
    width: 100%;
    gap: 1.32vw;
}

.services{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5vw;
    gap: 4vw;
}

.services_image{
    display: flex;
    flex-direction: column;
}

.services img{
    width: 40.93vw;
    height: 24.83vw;
    border-radius: 1.32vw;
}

.services h3{
    font-size: 18px;
}

.services p{
    font-size: 13px;
    font-weight: 300;
}

.services_mix_1, .services_mix_2, .services_mix_3{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5vw;
}



.services_text_1, .services_text_2, .services_text_3{
    width: 33vw;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}




/* ============================= SECTION SECOND ============================= */
.englober {
    padding: 40px;
}

.section-second {
    background-color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4vw;
}

.section-second-head{
    width: 100%;
    height: auto;
}

.section-second-head .head-details{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 1vw;
}


.section-second-head .head-details title {
    font-size: 3vw;
    font-weight: 400;
    text-align: center;
    color: black;
    display: flex;
    flex-direction: column;
    /*width: 100%;*/
    justify-content: center;
    align-items: center;
    z-index: 2;
    /*position: absolute;
    top: 15.542vw;*/
}

.section-second-head .head-details img {
    width: 5vw;
    height: 5vw;
}

.section-second-head .head-details{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.section-second-body{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crée 3 colonnes de largeur égale */
    grid-gap: 30px; /* Espacement de 10px entre les éléments */
    justify-content: center;
    align-items: center;
}

.personna{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 299px;
    height: 350px;
}

.profil_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 179.4px;
    margin-bottom: -35px;
}

.profil_div img {
    width: 90%;
    height: 100%;
    border-radius: 12px;
    z-index: 2;
}
.info_div {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #EBF0F7;
    border-radius: 12px 12px 0 0;
}



.info_div div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.info_div img {
    width: 40px;
    height: 40px;
}

.info_div img:hover, .info_div img:focus {
    filter: invert(14%) sepia(100%) saturate(700%) hue-rotate(190deg);
    transition: all .5s ease-in-out;
}

.info_div h3 {
    font-size: 15px;
    text-align: center;
}

.info_div span {
    font-size: 13px;
}

@media only screen and (max-width: 1000px) {
    .section-second-body{
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Crée 3 colonnes de largeur égale */
        grid-gap: 30px; /* Espacement de 10px entre les éléments */
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 900px) {
    /* ============================= SECTION FIRST ============================= */
    .section-first .content-details title {
        font-size: 19.512px;
    }

    .section-first .content-details img {
        width: 42.08px;
        height: 42.08px;
    }

    .services h3{
        font-size: 16px;
    }

    .services p{
        font-size: 13px;
    }
    
    /* ============================= SECTION SECOND ============================= */

    .section-second{
        gap: 40px;
    }

    .section-second-head .head-details {
        gap : 10px;
    }
    
    .section-second-head .head-details title {
        font-size: 19.512px;
    }

    .section-second-head .head-details img {
        width: 42.08px;
        height: 42.08px;
    }

    .section-second-body {
        display: grid
    ;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5vw;
        justify-content: center;
        align-items: center;
    }

    .info_div h3{
        font-size: 16px;
    }

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

    .info_div img{
        width: 38px;
        height: 38px;
    }


}


@media only screen  and (max-width: 729px) {
    /* ============================= SECTION FIRST ============================= */

    .section-first .img-relative {
        height: 50vw;
    }

    .section-first .content-details{
        position: absolute;
        top: 25vw;
    }

    .section-first .content-details title {
        font-size: 19.512px;
    }

    .section-first .content-details img {
        width: 40px;
        height: 40px;
    }
    .services {
        gap: 35px;
        padding: 50px;
    }
    .services h3{
        font-size: 15px;
    }

    .services p{
        font-size: 13px;
        text-align: center;
    }

    .services_mix_1, .services_mix_2, .services_mix_3{
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .services_text_1, .services_text_2, .services_text_3{
        width: 70vw;
        justify-content: center;
        align-items: center;
    }

    .services img {
        width: 351px;
        height: 215px;
        border-radius: 1.32vw;
    }
    
    /* ============================= SECTION SECOND ============================= */

    .section-second{
        gap: 40px;
    }
    
    .section-second-head .head-details title {
        font-size: 19.512px;
    }

    .section-second-head .head-details img {
        width: 32.48px;
        height: 32.48px;
    }

    .section-second-body{
        display: flex;
        flex-direction: column;
        width : 100%;
    }

    .personna {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 285px;
        height: 100%;
    }
    
    .profil_div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        margin-bottom: -50px;
    }

    .profil_div img {
        width: 90%;
        height: 50%;
        border-radius: 1.32vw;
        z-index: 2;
    }

    .info_div {
        margin-top: 16.32px;
        padding-bottom: 20px;
        height: 150px;
        padding-left: 15px;
        padding-right: 15px;
    }


    .info_div div {
        padding-bottom: 10px;
        padding-top: 15px;
        width: 100%;
    }

    .info_div h3 {
        font-size: 14px;
        text-align: center;
    }

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


    .info_div img {
        width: 30px;
        height: 30px;
    }
}

@media only screen  and (max-width: 500px) {
    /* ============================= SECTION FIRST ============================= */
    .section-first .content-details{
        position: absolute;
        top: 30vw;
    }


    .services h3 {
        font-size: 14px;
        text-align: center;
    }

    .services img {
        width: 280px;
        height: 170px;
        border-radius: 12px;
    }


    /* ============================= SECTION SECOND ============================= */

    .personna {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 280px;
        height: 100%;
    }
    
    .info_div {
        margin-top: 16.32px;
        padding-bottom: 20px;
        padding-top: 15px;
        height: 150px;
        padding-left: 15px;
        padding-right: 15px;
    }


    .info_div div {
        padding-bottom: 10px;
        padding-top: 15px;
        gap: 2px;
    }

    .info_div h3 {
        font-size: 14px;
        text-align: center;
    }

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

    .info_div img{
        width: 27px;
        height: 27px;
    }


    
}

@media only screen  and (max-width: 350px) {
    /* ============================= SECTION FIRST ============================= */
    .section-first .content-details{
        position: absolute;
        top: 30vw;
    }


    .services h3 {
        font-size: 14px;
        text-align: center;
    }

    .services img {
        width: 240px;
        height: 150px;
        border-radius: 12px;
    }


    /* ============================= SECTION SECOND ============================= */

    .personna {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 240px;
        height: 100%;
    }

    .info_div {
        margin-top: 16.32px;
        padding-bottom: 20px;
        padding-top: 15px;
        height: 150px;
        padding-left: 15px;
        padding-right: 15px;
    }


    .info_div div {
        padding-bottom: 10px;
        padding-top: 15px;
        gap: 2px;
    }

    .info_div h3 {
        font-size: 14px;
        text-align: center;
    }

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

    .info_div img{
        width: 27px;
        height: 27px;
    }


    
}