@import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700;800;900&display=swap');

/* body  Styles */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}


html {
    font-size: 62.5%;
    overflow-x: hidden;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

body {
    position: relative;

}

/* Header-01  Styles */
.header-01 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 9%;
    background:#3353a4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.email-01 {
    font-size: 1.5rem;

}

.localisation-01 {

    font-size: 1.5rem;
}

.media-01 {
    font-size: 1.5rem;
}
.localisation-01 a {
    color: black;
}

.localisation-01 a:hover {
    color: #fff;
    transition: .5s ease;
}


.media-01 a {
    color: black;

}

.media-01 a:hover {
    color: #fff;
    transition: .5s ease;
}

.email-01 a {
    color: black;
}

.email-01 a:hover {
    color: #fff;
    transition: .5s ease;
}


/* Header-02  Styles */
.header-02 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: white;
    display: flex;
    align-items: center;
    height: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 3%;

}
img {
    width: 100px;
    margin-left: 100px;
    margin-right:120px;
    margin-top: 50px;


}

.navbar {
    display: flex;
    align-items: center;
    flex: 1;
}

.navbar a {
    font-size: 1.6rem;
    margin-left: 3.5rem;
    color: black;
}

.navbar a:hover {
    color: #0d6efd;
    transition: .5s ease;
}

.connexion {
    margin-left: auto;
    background: none;
    border: none;
}

.connexion a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3353a4;
    color: #fff;
    border-radius: 5px;
    transition: .3s ease;
}

.connexion a:hover {
    background-color: #264282;
    color: #fff;
}

.active {
    color: rgb(0, 0, 0);
}

/* acceuil  Styles */

.acceuil-design {

    justify-content: center;
    align-items: center;

}
.acceuil-design h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 130px;
    color: white;
}

.acceuil-design h1 {
    font-size: 7rem;
    font-weight: 700;
    color: #fff;
}
.acceuil-design h2 {
    color: #fff;
    font-size: 1.8rem;
}
.social-media a {
    display: inline-flex;
    justify-content: center;
    font-weight: 800;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;

}
.container {
    display: flex;
    justify-content: space-between;
    margin-left: 15px;
    margin-right: 15px;
    color: black;
    background-color: #f5f5f5;
    margin-top: 60px;
}

.social-media a:hover {
    background-color: #fff;
    transition: .5s ease;
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}
.card01 a i {
    width: 70px; /* Taille de l'icône */
    height: auto;
    margin-bottom: 10px; /* Espace entre l'icône et le titre */
    font-size: 6rem;
    animation: rotation 2s infinite;
    font-display: inline-block;
    color: #082857;
}

.card01 a i:hover {
    animation: rotation 1s infinite;
}

.card01 h3 {
    color: #2f2f2f;
    font-size: 18px;
    margin-bottom: 10px;
}

.card01 p {
    color: #555;
    font-size: 14px;
}
.container {
    display: flex;
    justify-content: space-between; /* Espace entre les cartes */
    gap: 20px; /* Espace entre les cartes */
    padding: 20px;
    background-color: #f8f8f8; /* Fond de la section */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card01 {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    padding: 20px;
    text-align: center;
    width: 30%; /* Pour que chaque carte prenne environ un tiers de la ligne */
}



/* Animation pour faire tourner l'icône */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Colonne gauche et droite */
.col-left, .col-right {
    width: 45%; /* 48% de la largeur pour chaque colonne */
    margin-left: 70px;
    margin-right: 70px;
}
.card {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
}


h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}


ul {

    padding: 0;
    font-size: 1.5rem;
}

ul li {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

strong {
    font-weight: bold;
}


i {
    margin-right: 8px;
    color: black;
}
.acceuil {
    background-image: url("Afram-scaled.jpg");
    background-size: cover;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.acceuil-design span {
    color: #3353a4;
}
.acceuil-design strong {
    color: #3353a4;
}

/* a propos styles */

#apropos {
    background-color: #fff;
    text-align: center;
}
#apropos strong {
    color:#082857;

}
.apropos h1 {
    color: #fff;
    cursor: pointer;
    transition: .5s ease;
}

#apropos h1 {
    color: #082857;
}

#apropos .img01 .texte {

    justify-content: space-between;
    Display: inline-block;
    Width: 20px;
}

.david {
    justify-content: space-between;
    Display: flex;
}

.david  .img01 img {
    width: 550px;
    margin-left: 30%;
    border-radius: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    gap: 2rem;
    transition: .5s ease;
    cursor: pointer;
}
.david .img img:hover {
    transform: scale(1.02);
    animation: flash 2s infinite;
    opacity: 5.5;
    filter: brightness(150%);
    transition: all 0.5s ease;
}
.texte p {
    font-size:  1.7rem;
    color: #555;;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.texte h1 {
    word-spacing: 10%;
    font-size: 5rem;
    color: #082857;
}

.btn {
    margin-top: 10rem;
    cursor: pointer;
    background-color: #3353a4;
    color: #fff;
}
/* nos filières styles */
.Nosfilières h1 {
    text-align: center;
    color: #0d6efd;
    padding: 1rem;
    background-color: azure;
    font-size: 2rem;
}

.list-services {

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.filiere {
    width: 29%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 20px;
    margin: 15px;
    gap: 6rem;
    border-radius: 2rem;
    margin-top: 5%;
}

.filiere:hover {
    transform: scale(1.1);
    transition: all 0.5s ease;
    animation: flash 2s infinite;
    opacity: 5.5;
    filter: brightness(150%);

}

.filiere img {
    width: 100%;
    border-radius: 2rem;

}

.filiere a {
    margin-top: 10px;
    color: #082857;
    padding: 15px 40px;
    background-color: aliceblue;
    font-size: 15px;
    border-radius: 2rem;
}

.filiere h3 {
    font-size: 3rem;
    color: #082857;
}


.filiere ul  {
    display: block;
    font-size: 1.2rem

}
/* blog styles */
.blog h1  {
    text-align: center;
    font-size: 4rem;
    color: #082857;
}

.img-blog {
    display: flex;
    justify-content: space-between;
}

.img-blog img {
    width: 90%;
    height: auto;
    margin: 0 10px;
    justify-content: space-between;
    margin-top: 2rem;
    content: 2%;
    border-radius: 2rem;
    animation: flash 2s infinite;

}

.img-blog img:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    opacity: 5.5;
    transform: scale(1.1);
    transition: all 0.5s ease;
    filter: brightness(1.3)
}
/* nos partenaires */
.partenaires h1 {
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 30px;
    font-size: 3rem;
}

.sosup {
    display: flex;
    align-items: center; /* Aligne verticalement le texte et l'image au centre */
    justify-content: space-between; /* Espace les éléments pour occuper toute la largeur */
    gap: 50px;
    margin-left: 20px;
}

.img-sosup img {
    width: 310px; /* Ajuste la taille de l'image selon tes besoins */
    height: auto;
    margin-left: 20px; /* Ajoute un espace entre le texte et l'image si nécessaire */
    border-radius: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    opacity: 5.5;
    margin-top: 25%;
}

.sosup p {
    margin-top: 20rem;
    padding: 0;
    font-size: 1.7rem;
    color: #fff;
}
.sosup .img-sosup img {
    gap: 3rem;
}

.sosup h2 {
    font-size: 2rem;
    color: #fff;
}

.img-sosup {
    margin-left: 20px; /* Ajoute 20px d'espace entre le paragraphe et l'image */
}

.partenaires {
    background-color: #082857;
}

.anbg {
    display: flex;
    align-items: center; /* Aligne verticalement le texte et l'image au centre */
    justify-content: space-between; /* Espace les éléments pour occuper toute la largeur */
    gap: 50px;
    margin-left: 20px;
}

.img-anbg img {
    width: 400px; /* Ajuste la taille de l'image selon tes besoins */
    height: auto;
    margin-left: 20px; /* Ajoute un espace entre le texte et l'image si nécessaire */
    border-radius: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    opacity: 5.5;
    margin-top: 25%;
}

.anbg p {
    margin-top: 25rem;
    padding: 0;
    font-size: 1.7rem;
    color: #fff;
}

.anbg h2 {
    font-size: 2rem;
    color: #fff;
}
/* contacts styles */

.Contacts {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 12%;
}
.localisation_contact_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 100px 0;
    height: 80vh;

}
.localisation {
    width: 49%;
    padding: 15px;
    border-radius: 6px;
    box-shadow:  0 10px rgba(0,0,0,0.2);

}
.localisation iframe {
    width: 100%;
}

.localisation_contact_div .from_contact {

    width: 49%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 6px;

}
.localisation_contact_div h3 {
    margin-bottom: 10px;
    font-size: 18px;

}
.localisation_contact_div .from_contact form {

    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;

}
.from_contact form  input , textarea {
    border: 1px solid #ccc;
    width: 200px;
    margin-bottom: 15px;
    padding: 5px;
    outline: 0;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
}
.from_contact form input[type="submit"]{

    margin-bottom: 0;
    background-color: #082857;
    color: #fff;
    border: 0;
    cursor: pointer;
}

footer {
    background-color: #fff;
    padding: 40px ;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* footer styles */
.footer-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}


.footer-section {
    width: 30%;
}

.footer-section h3 {
    margin-top: 50px;
    font-size: 2em;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.footer-section p {
    color: #555;
    line-height: 1.5;
    font-size: 1.5em;
}

.footer-section.about .logo {
    max-width: 80px;
    margin-bottom: 15px;
}


.media-02 a {

    display: inline-flex; /* Utiliser flexbox pour centrer les icônes */
    align-items: center;  /* Centre verticalement les icônes */
    justify-content: center; /* Centre horizontalement les icônes */
    margin-right: 10px;
    font-size: 2em; /* Agrandir les icônes */
    color: black;
    text-decoration: none;
    border: 2px solid #555; /* Ajouter une bordure autour de chaque icône */
    border-radius: 10%; /* Arrondir les bordures */
    padding: 10px; /* Ajouter un espacement à l'intérieur des icônes */
    width: 50px;  /* Fixer une largeur pour assurer l'effet de centrage */
    height: 50px; /* Fixer une hauteur pour assurer l'effet de centrage */
    background-color: rgba(186, 242, 248, 0.269);
    margin-top: 20px;
    margin-bottom: 20px;

}


.media-02 a:hover {
    color: #0d6efd;
    transition: .5s ease;
    transform: scale(1.1);
    background-color: #01255de1;
}

/* Section footer  styles */
.footer-section.info p {
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}


.footer-section.info {
    margin-left: 10px;
    margin-right: 10px;
}

.footer-section.info i {
    margin-right: 10px;
    color: #28a745;
}


.footer-section.links ul {
    list-style-type: none;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9em;
}

.footer-section.links ul li a:hover {
    text-decoration: underline;
}


footer p a {
    color: #28a745;
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

.media-02 a i {
    width: 50%;

}

/* actualités styles */
.container03 {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.card03 {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin: 20px 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card03 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    align-items: center;
    margin-left: 12px;
}

.content {
    padding: 15px;
}

.content .date {
    color: gray;
    font-size: 14px;
    margin-bottom: 10px;
}

.content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.footer span {
    color: #ff5a5f;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

.card03:hover {
    transform: translateY(-10px);
}

.Actualités h1 {
    margin-top: 8%;
}
.Actualités h1 {
    text-align: center;
    font-size: 2rem;
    color: #082857;
}
/* Bandes de texte  styles*/
.container10 {
    position: relative;
    width: 100%;
    height: 150vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Espacement entre les bandes */
    background: linear-gradient(to bottom, #02045e, #5a67dc);
}

/* Bandes de texte */
.band {
    position: relative;
    width: 120%; /* Plus large que l'écran pour l'inclinaison */
    height: 100px;
    overflow: hidden; /* Cacher le contenu qui dépasse */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg); /* Inclinaison des bandes */
}

.band-1 {
    background: linear-gradient(90deg, #004d40, #00796b); /* Vert foncé à clair */
}

.band-2 {
    background: linear-gradient(90deg, #00796b, #00c853); /* Vert clair */
    transform: rotate(5deg); /* Inclinaison inversée */
}

/* Texte défilant */
.text {
    display: inline-block;
    white-space: nowrap; /* Garder tout le texte sur une ligne */
    font-size: 30px;
    font-weight: bold;
    color: white;
    animation: scroll-text 10s linear infinite; /* Animation infinie */
}

.band-2 .text {
    animation-direction: reverse; /* Texte de la bande 2 défile dans l'autre sens */
}

/* Animation de défilement */
@keyframes scroll-text {
    0% {
        transform: translateX(100%); /* Départ hors de l'écran à droite */
    }
    100% {
        transform: translateX(-100%); /* Fin hors de l'écran à gauche */
    }
}
/* heart styles */
.container11 {
    text-align: center;
}


.heart {
    font-size: 200px;
    color: #007bff;
    margin-bottom: 10px;
    margin-top: 50px;
}

.value {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

/* Bde styles */
.bde {
    background-image: url(about_shap.png);
}

.bde-img img {
    width: 80%;
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 4px 8px rgba(2, 2, 2, 2.1);
}

.afram-bde p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 10px;
}

.afram-bde h2 {
    font-size: 5rem;

}

.afram-bde h2 strong {
    color: #3353a4;
}

.container13 {
    display: flex;
    justify-content: space-between;

}

.afram-bde button {
    margin-top: 90px;
    padding: 20px 30px;
    background-color: #3353a4;
    font-size: 1.9rem;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(2, 2, 2, 2.1);
    color: #ddd;
    cursor: pointer;
}

/* Media Queries pour la Responsivité */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
    .header-02 {
        height: auto;
        padding: 15px 5%;
    }
    
    img {
        margin: 0;
        width: 80px;
    }
    
    .navbar a {
        margin-left: 2rem;
    }
}

@media (max-width: 992px) {

    .header-01 {
        padding: 1.5rem 5%;
    }

    .header-02 {
        padding: 10px 5%;
    }

    img {
        margin-left: 30px;
    }

    .navbar a {
        margin-left: 1.5rem;
    }
    .connexion a {
        margin-left: 30px;
    }
    .acceuil-design h1 {
        font-size: 4rem;
    }
    .container {
        flex-direction: column;
        align-items: center;
    }
    .card01 {
        width: 80%;
        margin-bottom: 20px;
    }
    .col-left, .col-right {
        width: 80%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .david {
        flex-direction: column;
    }
    .david .img01 img {
        width: 80%;
        margin-left: 10%;
    }
    .texte h1 {
        font-size: 3rem;
    }
    .list-services .filiere {
        width: 45%;
    }
    .img-blog img {
        width: 90%;
        margin-bottom: 10px;
    }
    .sosup {
        flex-direction: column;
        text-align: center;
    }
    .img-sosup img {
        margin-left: 0;
        margin-top: 10px;
    }

    .anbg {
        flex-direction: column;
        text-align: center;
    }
    .img-anbg img {
        margin-left: 0;
        margin-top: 10px;
    }
    .localisation_contact_div {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
        margin-top: 50px;

    }
    .localisation, .from_contact {
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }
    .container03 {
        flex-direction: column;
    }
    .card03 {
        width: 90%;
        margin-bottom: 10px;
    }
    .container13 {
        flex-direction: column;
    }
    .bde-img img {
        width: 100%;
    }

    .afram-bde {
        text-align: center;
        margin-top: 20px;
    }
    .afram-bde button {
        margin-top: 40px;
        padding: 15px 20px;
        font-size: 1.5rem;
    }

}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .header-02 {
        padding: 10px 3%;
    }
    
    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 4%;
        background: #fff;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        flex-direction: column;
        transition: .3s ease;
    }
    
    .navbar.active {
        top: 100px;
    }
    
    .navbar a {
        display: block;
        margin: 1.5rem 0;
        font-size: 2rem;
    }
    
    .connexion {
        margin: 1.5rem 0;
    }
    
    .header-01 {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2%;
        text-align: center;
    }
    .email-01, .localisation-01, .media-01 {
        margin-bottom: 5px;
    }

    img {
        margin: 20px 0 ;
        margin-left: 0;
    }

    .navbar {
        flex-direction: column;
    }
    .navbar a {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 45%;
    }
    
    .header-02 {
        padding: 8px 2%;
    }
    
    img {
        width: 60px;
    }
    
}