*{
    margin: 0;
    padding: 5px;
    color: white;
    font-family: 'Inter', sans-serif;
}
/* -----------------------------------------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: #1e88e5;
    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;
}

/*--------------------------------------------------main----------------------------------*/
main{
    display: flex;
    flex-direction: column;
    align-items: center;
}
section{
    width: 97%;
}
/*-- -------------------------------------accueil ------------------------------------------*/
.accueil{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    padding-left: 30px;
    background-color: rgba(15, 102, 189, 1);
    min-height: 250px;
    

}
.p{
    font-size: 1.6em;
    min-width: 250px;
    text-align: center;
    padding-left: 30;
    padding-right: 30;
    padding-top: 5px;
    padding-bottom: 5px;
    border: solid, 1px,rgba(51, 128, 206, 1) ;
    background-color: rgba(51, 128, 206, 1);
    border-radius: 30px;
    margin-bottom: 100px;
}

/*-- -------------------------------------membres de l'équipe ------------------------------------------*/
.equipe{

    display: grid;
    /* grid-template-rows: 1fr 1fr 1fr; */
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 40px;
    padding-top: 30px;
    margin-bottom: 20px;
}
/* .center{mettre le card au centre  du box .equipe
    /* position: relative;
    left: 110%;
    top: 0 ;
}  */


.slogan{
    background-color: rgba(255, 184, 84, 1);
    border: rgba(255, 184, 84, 1), solid, 1px;
    border-radius: 8px;
    color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    min-width: 65%;
    margin-bottom: 50px;
}
.card h2{
    color: black;
}
.card {
  width: 280px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden; 
  text-align: center;
}

.droite {
   
    transform: translateX(120px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.gauche{
    transform: translateX(-120px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.bas{
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.card.active {
    transform: translateX(0);
    opacity: 1;
}



.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}


.card-content {
  padding: 15px;
}

.card-content h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-content p {
  font-size: 14px;
  font-weight: 600;
  color: #1e88e5;
}

.card-content span {
  font-style: italic;
  color:#1e88e5;
}

/*-- --------------------------------------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) {
    .contact_header{
        padding-left: 2px;
        padding-right: 2px;
    }

    .accueil h1{
        text-align: center;
    }
    .navigation ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .equipe{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
    }
    .card{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 90%;
    }
    .card img{
        width: 300px;
    }
     footer{
        font-size: 0.4em;
    }
    .orgcontfooter img{
        max-width: 80%;
    }
}
@media screen and (max-width: 768px) {
    *{
        padding: 2px;
    }

    .logo img{
        width: 30px;
        height: 30px;
    }
    .logo h4{
        font-size: 0.5em;
        
    }

    .contact_header{
        padding: 2px;
    }
    .contact_number img{
        width: 15px;
        height: 15px;
    }

    .img{
        display: none;
    }

    .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: #1e88e5;
    text-decoration: none;
    }

    
    .liste.active {
        display: flex;
    }

    
    .burger {
        display: flex;
    }

    .card img{
        width: 150px;
        height: 150px;
    }
    .slogan{
        font-size: 0.8em;
        min-width: 90%;
    }
    
    
}

/*----------------------------respon design footer-----------------------------*/
@media screen and (max-width:1024px) {
    footer{
        padding: 0;
    }
 .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;
    }
}