@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    background-color: #a7c7e7;
}

h2{
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    font-size: 1.8rem;
    padding-top: 20px;
    padding-bottom: 40px;
}

.allnavbar{
    display: flex;
    position: fixed;
    height: 80px;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(127deg, #152243, #1a456d);
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.titleHeader{
    display: flex;
    color: white;
    padding-left: 50px;
}

header .burger{
    display: none;
}

.navbarHeader{
    width: 100%;
    display: flex;
    justify-content: right;
    padding-right: 100px;
}

.navbarHeader nav{
    position: relative;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbarHeader nav ul{
    display: flex;
    flex-direction: row;
    gap: 30px;
    text-decoration: none;
    list-style-type: none;
}
.navbarHeader nav ul li a{
    position: relative;
    list-style-type: none;
    text-decoration: none;
    color: white;
    font-weight: 700;
}

.navbarHeader nav ul li a:hover{
    color: #2b85d9;
}

/* A PROPOS */

#Apropos{
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-bottom: 70px;
    padding-top: 30px;
}

.Block{
    width: 100%;
    display: flex;
    flex-direction: row;
}

.textAPropos{
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
    align-items: center;
}

.textAPropos h3{
    font-size: 1.6rem;
    padding-bottom: 20px;
}

.textAPropos h4{
    font-size: 1.4rem;
}

.textAPropos .helloTitle{
    padding-bottom: 20px;
}

.textAPropos .dev{
    padding-bottom: 40px;
}

.textAPropos p{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.Illustration{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Illustration img{
    width: 275px;
    height: 275px;
    border-radius: 50%;
    border: 5px solid #176cbb;
    box-shadow: 0 0 30px rgb(0, 94, 189), 0 0 20px rgb(0, 94, 189), 0 0 25px rgb(0, 94, 189), 0 0 20px rgb(0, 94, 189);
}

.reseau{
    padding-top: 40px;
    display: flex;
    padding-left: 25%;
}

.reseau a{
    display: inline-flex;
    width: 40px;
    height: 40px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #176cbb;
    border: 2px solid #176cbb;
    border-radius: 50%;
}

.reseau a:hover{
    background: #176cbb;
    color: white;
}

.reseau a i{
    font-size: 20px;
}

/* ENSAVOIRPLUS */

#savoir{
    width: 100%;
    height: 400px;
    background-image: url("../_imgs/banner_savoir2.png");
    background-size: cover;
    background-position: 25% 45%;
    background-repeat: no-repeat;
}

.savoirtxt {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3); /* blanc semi-transparent */
    padding: 20px 40px;
}

#savoir .savoirtxt h2{
    padding-top: 80px;
    padding-bottom: 80px;
}

#savoir .savoirtxt p{
    display: flex;
    text-align: center;
    width: 50%;
    color: black;
    font-weight: 500;
}

/* COMPETENCE */

#Competence{
    padding-top: 80px;
}

.comp_langage{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 40px;
    padding-left: 100px;
}

.comp_langage i{
    font-size: 1.5rem;
}


.cadre{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    margin-bottom: 20px;
    width: 400px;
    color: #fffefe;
    height: auto;
    background: linear-gradient(127deg, #152243, #1a456d);
    border-radius: 17px;
}

.cadre h3{
    justify-content: center;
    display: flex;
}

.allCadreLangage{
    display: flex;
    flex-direction: row;
    padding-top: 30px;
    gap: 50px;
}

.test2{
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}

.cadreLangage{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 120px;
}

.cadre .logoCadre{
    display: flex;
    padding-bottom: 5px;
    color: #DC4A24;
}

.cadre .logoCadreImg img{
    width: 40px;
    height: 40px;
}

.cadre .logoCadre.coldif1{
    color: #2c52e4;
}
.cadre .logoCadre.coldif2{
    color: #F6DE1D;
}
.cadre .logoCadre.coldif3{
    color: #E07027;
}
.cadre .logoCadre.coldif4{
    color: #7B7FB5;
}
.cadre .logoCadre.coldif5{
    color: #fffefe;
}

.cadre .titreCadre{
    font-size: 1rem;
    padding-bottom: 5px;
}

.cadre .texteCadre{
    font-size: 0.9rem;
}

/* REALISATION */

.AllRealisation{
    padding-top: 40px;
    padding-bottom: 20px;
}

.back-to-top{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background-color: #152243;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.5s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.secbacktotop a{
    list-style-type: none;
    text-decoration: none;
}

.back-to-top.active{
    visibility: visible;
    opacity: 1;
}

.allCarousel{
    display: flex;
    justify-content: space-around;
    padding-bottom: 20px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images img {
    width: 100%;
    display: none;
    transition: opacity 0.5s ease;
}

.carousel-images img.active {
    display: block;
}

.carousel-control {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: black;
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Indicateurs */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    background-color: transparent;
    background-color: #152243;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5; /* Indicateur non sélectionné */
    transform: translateY(5px); /* Légèrement plus bas */
    transition: all 0.3s ease; /* Transition fluide */
}

.carousel-indicators .indicator.active {
    opacity: 1;
    transform: translateY(0px) scale(1.4); /* Cercle central */
    background-color: #2b85d9;
}

/* FORMULAIRE DE CONTACT */

#contact{
    position: relative;
    background-image: url('../_imgs/banner_contact.png');
    background-size: cover;
    background-repeat: no-repeat;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* blanc avec 60% de transparence */
    z-index: 1; 
}

/* Pour que le contenu reste au-dessus du filtre */
#contact > * {
    position: relative;
    z-index: 2;
}

/* .titreContact h2{
    color: white;
} */

.request_message{
    width: 400px;
    text-transform: capitalize;
    background-color: #fff;
    text-align: center;
    color: green;
    font-size: 15px;
    padding: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 20px;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

@keyframes anime {
    from{
        transform: translateY(-70px);
    }
}

.AllFormulaire{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.Couleur{
    color: #ec0404;
}

form input:focus{
    outline: none;
    border: 4px solid rgba(30, 64, 122, 0.7);
}

form textarea:focus{
    outline: none;
    border: 4px solid rgba(30, 64, 122, 0.7);
}

.honeypot{
    display: none;
}

.AllFormulaire form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 20px;
}

.regroupementNom{
    display: flex;
    gap: 50px;
}

.nom, .prenom{
    display: flex;
    flex-direction: column;
}

.nom, .prenom{
    width: 200px;
}

input{
    height: 35px;
    border-radius: 10px;
    padding: 15px;
    border: none;
}

/* input[type="text"]{
    outline: none;
}

input[type="email"]{
    outline: none;
} */

label{
    padding-bottom: 10px;
    font-weight: 700;
}

.email{
    display: flex;
    flex-direction: column;
    outline: none;
}

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

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

.Message textarea{
    height: 200px;
    border-radius: 10px;
    padding: 15px;
    border: none;
    outline: none;
}

.envoie{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.envoie input{
    width: 450px;
    background-color: #193E65;
    cursor: pointer;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0;
}

.envoie input:hover{
    background-color: #002d56;
}

/* FOOTER */

.allFooter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100%;
    height: 120px;
    background: linear-gradient(127deg, #152243, #1a456d);
}

.infoPiedDePage{
    display: flex;
    padding-top: 30px;
    gap: 5px;
}

.infoPiedDePage a{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: white;
}

.infoPiedDePage a::after{
     content: "";
}

.infoPiedDePage a:not(:last-child)::after{
    content: " | ";
    padding-left: 5px;
}

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

    .navbarHeader{
        display: none;
    }

    .titleHeader{
        display: flex;
        padding-top: 15px;
    }

    .AllRealisation h2{
        font-size: 1.2rem;
    }

    .cadre{
        width: 300px;
    }

    .Block{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    h2{
        display: flex;
        justify-content: center;
        font-size: 1.5rem;
    }

    .textAPropos p {
        width: 100%;
    }

    .reseau{
        padding-left: 0;
        justify-content: center;
    }

    #savoir .savoirtxt h2{
        padding-top: 40px;
        padding-bottom: 30px;
    }

    #savoir .savoirtxt p{
        display: flex;
        text-align: center;
        width: 90%;
        color: black;
        font-weight: 500;
    }

    .comp_langage{
        display: flex;
        flex-direction: column;
        padding-left: 55px;
    }

    .regroupementNom{
        flex-direction: column;
        gap: 25px;
    }

    .nom{
        width: 250px;
    }

    .prenom{
        width: 250px;
    }

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

    .allFooter{
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
        height: auto;
        font-size: 1rem;
    }

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

    .infoPiedDePage a::after {
        content: "";
    }

    .infoPiedDePage a:not(:last-child)::after{
        content: "";
        padding-left: 5px;
    }


    .infoPiedDePage a{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .envoie input{
        width: 250px;
    }

    :root{
    --bar-width: 60px;
    --bar-height: 8px;
    --hamburger-gap: 6px;
    --foreground: rgb(255, 255, 255);
    --background: white;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
    }

    .allnavbar{
        display: flex;
        align-items: unset;
    }

    .titleHeader{
        display: flex;
        align-items: center;
    }

    header .burger{
        display: flex;
        padding-top: 25px;
    }

    header .burger a{
        display: flex;
        color: white;
        font-weight: 700;
    }

    .burgerCenter{
        display: flex;
        padding-left: 40px;
        gap: 20px;
        font-size: 1.2rem;
    }

    .hamburger-menu{
        --x-width: calc(var(--hamburger-height) * 1.41421356237);
        display: flex;
        flex-direction: column;
        gap: var(--hamburger-gap);
        width: max-content;
        position: absolute;
        right: 30px;
        z-index: 15;
        cursor: pointer;
        --animation-timing: 200ms ease-in-out;
    }


    .hamburger-menu::before, .hamburger-menu::after, .hamburger-menu input{
        content: "";
        width: var(--bar-width);
        height: var(--bar-height);
        background-color: var(--foreground);
        border-radius: 9999px;
        transition: opacity var(--animation-timing), width var(--animation-timing), 
        rotate var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing);
        transform-origin: left center;
    }

    .hamburger-menu input{
        appearance: none;
        outline: none;
        pointer-events: none;
        padding: 0;
    }

    .hamburger-menu:has(input:checked)::before{
        rotate: 45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / -2);
    }

    .hamburger-menu:has(input:checked)::after{
        rotate: -45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / 2);
    }

    .hamburger-menu input:checked{
        opacity: 0;
        width: 0;
    }

    .sidebar{
        position: fixed;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(30, 64, 122, 0.95);
        padding: 100px 20px 0;
        z-index: 12;
        transition: translate var(--animation-timing);
        translate: -150%;
    }

    .hamburger-menu:has(input:checked) + .sidebar{
        translate: 0;
    }


}