*{
    margin: 0;
    padding: 5px;
    color: white;
    font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}/*testvpour voir*/
/* -----------------------------------------header contact---------------------------------------------*/
.contact_header{
    display: flex;
    flex-direction: row;
    background-color: #0F66BD;
    border: #0F66BD, solid;
    border-start-end-radius:10px;
    border-start-start-radius:10px;
    padding: 5px;
    justify-content: space-between;
}
.contact_number{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.num{
    text-decoration: none;
}
.num:hover{
    text-decoration: underline;
}

/*------------------------------- -------------Navigation------------------------------------------------ */
.navigation{
    padding-left:10px ;
    padding-right: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.liste {list-style: none;
    display: flex;
    gap: 20px;
}
.liste li a{
    color: black;
    text-decoration: none;

}
.liste li a:hover{
    text-decoration:underline;
}

.liste li{
    margin-top: 25px;
    margin-left: 5px;
}
.navigation ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
}
.liste a.active {
  text-decoration: underline;
}
.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1;
}

.burger span {
    height: 1px;
    width: 100%;
    background: #0F66BD;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.navigation button{
    height: 40px;
    border: #0F66BD, solid;
    border-radius: 5px;
    background-color: #0F66BD;
    margin-top: 25px;
}
button a{
    text-decoration: none;
}
button a:hover{
    text-decoration: underline;
}
.logo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 70px;
    height: 70px;
}
.logo h4{
    font-size: 1.3em;
}
.Elder{
    color: #0F66BD;
}
.group{
    color: #F99F1F;
}

/*-- --------------------------------------section animation----------------------------------------- --*/

.section_animation{
    background-image:
    linear-gradient(rgba(15, 102,   189, 0.8), rgba(15, 102, 189, 0.8)),
    url("images/background_image.jpg");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 200px;
    padding-left: 25px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-self: center;
    width: 98%;

}
.section_animation h1{
    font-size: 2.7em;
}
#animation {
   min-height: 1.5em; 
}

.texte{
    max-width: 800px;
}
.button{
    margin-top: 20px;
}
.button_1{
    font-size: large;
    padding: 10px;
    border: #0457ab, solid;
    border-radius: 8px;
    margin-left: 20px;
    background-color: #0F66BD;
}
.button_2{
    font-size: large;
    padding: 10px;
    border: white, solid;
    background-color: rgba(0, 0,   0, 0);
    border-radius: 8px;
    margin-left: 20px;
}
/*-- --------------------------------------services----------------------------------------- --*/
.services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    width: 98%;
    padding-top: 20px;
    padding-bottom: 40px;
}
.services h1, .services h3, .services p{
    color: black;

}
.centrer h5{
    font-family: Oxanium;
    text-align: center;
    border: #FFFFFF, solid;
    background: linear-gradient( to right,rgba(15, 102, 189, 1), rgba(255, 12, 52, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    width: 70%;
    font-size: 2em;
}
.centrer {
  display: flex;
  flex-direction: column;
  align-items: center;   
  text-align: center;


}
.sous_service{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid #c6c5c5;
    padding-bottom: 20px;
}
.grid_services{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    grid-template-rows:380px 380px;
    gap: 15px;
    padding: 30px 8px 40px;


}
.box{
    border-radius: 10px;
    border: 1px, solid, rgb(228, 228, 228);
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.box img{
    width: 30px;
    height: 30px;
}
.grid_services ul li{
    color: black;

}
ul li::marker {
  color: #0F66BD;
}

.grid_services ul{
    padding-left: 15px;
}
.bleu{
    background-color: #0F66BD;
    border: solid #0F66BD;
    border-radius: 7px;
}
.rouge{
    background-color: rgba(255, 12, 52, 0.8);
    border: solid rgba(255, 12, 52, 0.8);
    border-radius: 7px;
}
.orange{
    background-color: rgba(255, 184, 84, 1);
    border: solid rgba(255, 184, 84, 1);
    border-radius: 7px;
}
.voir_services{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #0F66BD;
    border: 2px, #0F66BD, solid;
    border-radius: 10px;
    padding: 10px;
    max-width: 25%;
    max-height: 25px;
    text-align: center;
    font-size:1.3em ;
}
.voir_services a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.voir_services a p{
    color: #FFFFFF;
}
.voir_services a p:hover{
    text-decoration: underline;
}
.en_savoir_plus a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 1.3em;
}
.en_savoir_plus a p{
    color: #0F66BD;
}
.en_savoir_plus img{
    padding: 5px;
}
.en_savoir_plus a p:hover{
    /* transition: ; */
    text-decoration: underline;
}
.leger{
    color: black;
    font-size: smaller;
}

/*-- --------------------------------à propos--------------------------------------- --*/
.a_propos{
    background-color: rgba(242, 246, 251, 1);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: baseline;

}
.button_apropos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: #0F66BD, solid, 2px;
    border-radius: 30px;
    background-color: #0F66BD;
    max-width: 200px;
    margin-top: 20px;
    text-align: center;

}
.button_apropos a {
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.button_apropos a:hover{
    text-decoration: underline;
}
.a_propos p, .a_propos h3{
    color: black;
}
.text_boxes{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.boxes{
    display: grid;
    grid-template-rows:100px 100px ;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-width: 400px;
    margin-left: 10px;
    margin-right: 20px;
}
.small_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    border: solid, 1px, rgb(223, 220, 220);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.button_equipe{
    border: #0F66BD, solid, 2px;
    border-radius: 8px;
    background-color: #0F66BD;
    max-width: 300px;
    margin-top: 20px;
    /* text-align: center; */
    margin-bottom: 20px;
}
.button_equipe a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3em;
}
.button_equipe a p{
    color: #FFFFFF;
}
.button_equipe a:hover{
    text-decoration: underline;
}

/*-- --------------------------------projet --------------------------------------- --*/
.projet{
    display: flex;
    flex-direction: row;
    background-color: rgba(15, 102, 189, 1);
    min-height: 500px;
    width: 100%;
    align-items: center;
    padding: 10px;

}
.text_projet{
    max-width: 1fr;

}
.box_projet{
    min-width: 1.5fr;
    height: max-content;
    margin-left: 20px;
    margin-right: 20px;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
}
.box_central{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    height: 100%;
}
.infos_perso{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}
.input_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
}
.message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch; 
  min-height: 200px;
  margin-bottom: 20px;
}

.message textarea {
  width: 100%;
  min-height: 180px; 
  border:solid, 1px, #f1eded;
  box-shadow: 0 0 4px #f1eded;
  border-radius: 8px;
  color: black;
  resize: vertical; 
}

label{
    color: black;
    font-weight: bold;
}
input{
    border-radius: 8px;
    border: solid, 1px, #f1eded;
    box-shadow: 0 0 4px #f1eded;
    min-height: 25px;
    color: black;
}
button{
    background-color: #3286DB;
    border: solid, 1px, #3286DB;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    padding: 5px;
    min-width: 150px;
}

/*-- --------------------------------------footer----------------------------------------- --*/
footer{
    background-color: #2F353B;
    padding-top: 71px;
    padding-bottom: 120px;
    width: 100%;
}
.contblocfoot{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 30px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    border-bottom: 1px solid #FFFBFB;
    margin-bottom: 30px;
    text-align: center;
}
.bloc1{
    grid-row-start: 1;
    grid-row-end: 2;
}
.bloc2{
    grid-row-start: 2;
    grid-row-end: 3;
}
.bloc3, .bloc4, .bloc5{
    grid-row-start: 1;
    grid-row-end: 3;
}

.logofooter{
    width: 260px;
    height: 80px;
}

footer a{
    display: block;
    text-decoration: none;
}

.bloc3, .bloc4, .bloc5{
    border: 1px solid #FFFBFB;
    max-width: 80%;
}

.bloc1, .bloc2{
    border-bottom:0px solid #FFFBFB;
}

.erbfooter img{
    max-width: 80%;
    max-height: 30%;
}

.droitreservé{
    padding-left: 50px;;
}

.orgcontfooter{
    display: flex;
    flex-direction: row;
    border-bottom: none;
    justify-content: center;
    flex-wrap: nowrap;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

footer span{
    text-decoration: underline;
}

footer a:hover{
    color: rgba(15, 102, 189, 1);
}


/*--------------------------------------------responsive design-----------------------------------------------*/
@media screen and (max-width:800px) {
    *{
        padding: 2px;
    }
    .contact_header{
        padding-left: 2px;
        padding-right: 2px;
    }
    .navigation ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #animation {
        min-height: 2.5em; 
    }
    .grid_services{
        display: grid;
        grid-template-columns: 1fr 1fr ;
        grid-template-rows:380px 380px 380px;
        gap: 15px;
    }
    .text_boxes{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .text_boxes p{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .projet{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .text_projet{
        padding: 5px;
    }
    .box_projet{
        margin-left: 0px;
        margin-top: 10px;
    }
    footer{
        font-size: 0.4em;
    }
    .orgcontfooter img{
        max-width: 80%;
    }
    .voir_services{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #0F66BD;
    border: 2px, #0F66BD, solid;
    border-radius: 10px;
    padding: 10px;
    max-width: 35%;
    max-height: 20px;
    text-align: center;
    font-size:1em ;
}
}
@media screen and (max-width: 768px) {
    .contact_number img{
        width: 15px;
        height: 15px;
    }

   .logo img{
        width: 30px;
        height: 30px;
    }
    .logo h4{
        font-size: 0.5em;
        
    }

    .img{
        display: none;
    }

    #animation {
        font-size: 2em; 
    }

    .contact_number p{
        font-size: 0.5em;
    }

    h5{
        font-size: 0.5em;
        text-align: center;
    }
    .btn-contact {
        display: none;
    }
    .liste{
        position: fixed; 
        top: -100%;            
        left: 0;
        width: 100%;  
        height: 250px; 
        transition: top 0.4s ease;
    }
    .liste.active { 
    top: 0; 
    } 
   
    .liste {
        position: absolute;
        top: -100%;            
        left: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border: white 5px solid;
        border-radius: 8px;
    }

    .liste li {
        margin: 15px 0;
    }

    .liste li a{
    color: #0F66BD;
    text-decoration: none;

    }

    
    .liste.active {
        display: flex;
    }

    
    .burger {
        display: flex;
    }
    #animation {
        min-height: 3.5em; 
    }
    .logo{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .grid_services{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .box{
        min-width: 98%;
    }
    .voir_services{
        width: 200px;
    }
    .voir_services img{
        width: 30px;
        height: 30px;
    }
    .voir_services p{
        font-size: 0.7em;
    }
    .button_equipe p{
        font-size: 0.7em;
    }
    .button_equipe img{
        width: 30px;
        height: 30px;
    }
     .input_box{
        width: 100%;
    } 
    input{
        width: 320px;
    }
    .box_projet{
        width: 98%;
    }
    form{
        width: 100%;
        margin: 0px;
        border-radius: 0px;
        margin-bottom: 20px;
    }
    .box_central{
        display: flex;
        flex-direction: column;
        align-items: baseline;
        width: 100%;
    }
    .message{
        min-height: 80px;
        width: 95%;
    }
    textarea{
        height: 100px;
        width: 100px;
    } 

}
/*----------------------------respon design footer-----------------------------*/
@media screen and (max-width:1024px) {
    footer{
        padding: 0;
    }
     .logofooter{
    max-height: 45px;
   }
 .contblocfoot{
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 0px;
    font-size: 0.7em;
 }
 .bloc3, .bloc4,.bloc5{
    padding: 0px;
    margin: 0px;
 }
 footer p {
  margin: 0px;
}
 .bloc1{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
 }
 .bloc2{
     grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
 }
 .bloc3{
     grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
 }
 .bloc4{
     grid-column-start: 2;
    grid-column-end: 3;
     grid-row-start: 2;
    grid-row-end: 3;
 }
 .bloc5{
     grid-column-start: 3;
    grid-column-end: 4;
     grid-row-start: 2;
    grid-row-end: 3;
 }

 .logofooter{
    width: 140px;
    height: 60px;
}
.bloc3, .bloc4, .bloc5{
    border: 1px solid #FFFBFB;
    min-width: 60px;
}
}
@media screen and (max-width: 768px){
     footer{
        font-size: 0.4em;
    }
    .contblocfoot{
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 15px;
    }
    .orgcontfooter img{
        max-width: 5px;
    }
    .bloc5{
        min-width: 80px;
    }
    .numero{
        font-size: 0.1em;
    }
}