@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

/* Variables globales */
:root {
    --brand: #0083c1;
    --green: #00b451;
    --dark: #000;
    --body: #000;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    --padding-btn: 1rem 2rem;
    --color-bg-btn: #007BFF;  /* Bleu primaire */
    --color-text-btn: #fff;
    --font-size-btn: 16px;
    --color-bg-hover: #00b451; /* Vert au survol */
    --color-text-info: #fff;
    --card-height: 360px;
    --gap: 20px;
    --border-radius: 5px;
}


body {
    font-family: 'Arial', sans-serif;
    color: var(--body);
    line-height: 1.2;
    background-color: #FFFFFF; /* Arrière-plan clair */
    color:var(--body);

}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    color: var(--dark);
}

a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;

}

a:hover {
    color: var(--brand);
    text-decoration: none;
}

/* Classes utilitaires */
.text-brand {
    color: var(--brand) !important;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top */
.scroll-top {
    cursor: pointer;
    text-align: center;
    font-size: 22px;
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 20px;
    right: 20px;
    background: #198754;
    color: #fff;
    opacity: 0.7;
    z-index: 999999;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.scroll-top:hover {
    opacity: 1;
    color: #fff;
    background: #313131;
}

/* Advertisement */
.ad-section-1 img {
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Hero Section */
#hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#hero .carousel-item {
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;

}
#hero .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;

}
.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.25); /* noir semi-transparent */
    z-index: 1;
}

.carousel-container {
    position: relative;
    z-index: 2; /* pour que le texte passe au-dessus de l'overlay */
}


.carousel-content {
    width: 80%;
    color: #fff;
    padding: 40px 30px;

    animation: fadeInUp 1s ease-out;
}

#hero h5 {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

#hero p {
    font-size: 1rem;
    color: #eee;
    margin-bottom: 20px;
}

#hero .btn-get-started {
    font-size: 1rem;
    color: #fff;
    background: var(--green);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
}

#hero .btn-get-started:hover {
    background: var(--green);
    box-shadow: 0 4px 10px rgba(27, 189, 54, 0.5);
}

#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
    background-color: #00b451;
    border-radius: 70%;
    width: 50px;
    height: 50px;
    font-size: 30px;
}

#hero .carousel-indicators li {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.6;
    border-radius: 50%;
    margin: 5px;
}

#hero .carousel-indicators .active {
    background-color: var(--green);
    opacity: 1;
}

									  
									  
									  
/* Responsive Design */

/* Écrans très petits (smartphones portrait) */
@media (max-width: 480px) {
    #hero {
        height: 90vh; /* Légèrement réduit la hauteur */
    }

    #hero h5 {
        font-size: 1.3rem; /* Plus petit pour les petits écrans */
    }

    #hero p {
        font-size: 0.8rem;
    }

    #hero .btn-get-started {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    #hero .carousel-content {
        padding: 15px; /* Réduction de l'espace */
    }
}

/* Petits écrans (smartphones en mode paysage et petits tablettes) */
@media (min-width: 481px) and (max-width: 767px) {
    #hero {
        height: 85vh;
    }

    #hero h5 {
        font-size: 1.5rem;
    }

    #hero p {
        font-size: 0.9rem;
    }

    #hero .btn-get-started {
        padding: 10px 25px;
        font-size: 1rem;
    }

    #hero .carousel-content {
        padding: 20px;
    }
}

/* Tablettes et petits écrans de bureau */
@media (min-width: 768px) and (max-width: 1024px) {
    #hero {
        height: 80vh; /* Moins de hauteur pour les tablettes */
    }

    #hero h5 {
        font-size: 1.6rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #hero .btn-get-started {
        padding: 10px 30px;
        font-size: 1.1rem;
    }

    #hero .carousel-content {
        padding: 25px;
    }
}

/* Écrans de bureau (taille standard) */
@media (min-width: 1025px) and (max-width: 1600px) {
    #hero {
        height: 75vh; /* Un peu moins de hauteur pour les écrans plus larges */
    }

    #hero h5 {
        font-size: 1.8rem; /* Taille plus grande pour les écrans plus larges */
    }

    #hero p {
        font-size: 1.1rem;
    }

    #hero .btn-get-started {
        padding: 12px 35px;
        font-size: 1.2rem;
    }

    #hero .carousel-content {
        padding: 30px;
    }
}

/* Grands écrans (bureau avec grande résolution) */
@media (min-width: 1601px) {
    #hero {
        height: 70vh; /* Réduction de la hauteur sur très grands écrans */
    }

    #hero h5 {
        font-size: 2rem; /* Taille de police encore plus grande pour les très grands écrans */
    }

    #hero p {
        font-size: 1.2rem;
    }

    #hero .btn-get-started {
        padding: 14px 40px;
        font-size: 1.3rem;
    }

    #hero .carousel-content {
        padding: 35px;
    }
}

/*----------- Top page --------*/
.page-top {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 40px 15px; /* Ajustement du padding pour les petits écrans */
    color: white !important;
    text-align: center; /* Centre le texte */
}

/* Media Query pour les téléphones */
@media (max-width: 600px) {
    .page-top {
        padding: 40px 15px; /* Réduit le padding sur les petits écrans */
    }
}

.bg-overlay {
    position: absolute;
    top: 0; /* Définir ou ajuster la valeur selon le besoin */
    left: 0;
    right: 0;
    bottom: 0; /* Ajouter 'px' si nécessaire */
    background: rgba(0, 0, 0, 0.2); /* Assombrit l'image */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff
}

.page-top .col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----------- Topbar ------------- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007481!important;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 16px;
    flex-wrap: wrap;
}

/* Formulaire de recherche */
.top-nav .col-auto form {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Add some space between input and any button */
    width: 100%; /* Allows the form to adjust to container width */
    max-width: 400px; /* Add a max width for responsiveness */
    margin: 0 auto; /* Center the form horizontally */
}

.top-nav .col-auto form input,
.top-nav .search-input {
    width: 100%; /* Make the input responsive */
    padding: 8px 20px; /* Slightly larger padding for better touch targets */
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease; /* Smooth transition for focus effects */
}

/* Focus and Hover States */
.top-nav .col-auto form input:focus,
.top-nav .search-input:focus {
    border-color: #66cc66; /* Green border on focus */
    outline: none; /* Remove the default focus outline */
    background-color: #f8f8f8; /* Light background on focus */
}

.top-nav .col-auto form input:hover,
.top-nav .search-input:hover {
    border-color: #999; /* Slight color change on hover */
}

/* Optional: Add spacing between the input and a potential submit button */
.top-nav .col-auto form button {
    margin-left: 10px; /* Adds space between input and button */
    padding: 8px 15px; /* Button padding */
    background-color: #00b451; /* Button color */
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.top-nav .col-auto form button:hover {
    background-color: #008e3a; /* Darker green on hover */
}
/* Style pour l'email */
.email {
    color: #FFFFFF; /* Couleur du texte sombre pour un bon contraste */
    text-decoration: none; /* Enlever le soulignement du lien */
    ;

}

/* Ajouter un effet de survol pour l'email */
.email:hover {
    color: #000; /* Couleur bleu clair pour le survol */

}

/* Icône */
.bx {
    color: #ffffff; /* Couleur sombre pour l'icône */
    font-size: 1.2rem; /* Taille de l'icône pour la rendre visible */
    margin-right: 2px; /* Espacement entre l'icône et l'email */
}

/* Améliorer la lisibilité */
.contact-info {
    font-size: 1rem; /* Taille de police uniforme */
    line-height: 1.5; /* Espacement de ligne confortable */
}


.top-nav .col-auto form button {
    border-radius: 25px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 14px;
}

/* Alignement vertical */
.top-nav span,
.top-nav i {
    vertical-align: middle;
}

/* Boutons sociaux */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Ajustez la taille selon vos besoins */
    height: 30px;
    /* Espacement entre les icônes */

    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Supprimer les soulignements */
    margin: 5px;
}

.social-icon i {
    font-size: 18px; /* Taille de l'icône */
    color: white; /* Couleur de l'icône */
}

.social-icon:hover {
    background-color: yellowgreen; /* Couleur au survol */
    transform: scale(1.1); /* Légère augmentation de taille au survol */
     /* Couleur de l'icône au survol */
}

.btn.btn-success {
    background-color: #00b451; /* Vert foncé */
    color: #fff; /* Texte blanc */
}

.btn.btn-success:hover {
    background-color: #0083c1; /* Couleur plus foncée au survol */
    color: #fff;
}

/* Sélecteur de langue */
.language-switch .form-switch {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.form-check-label {
    margin-left: 15px;
}



/* Media Queries */
@media (max-width: 600px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav p {
        margin-bottom: 5px;
    }
}

/* Pour les grands écrans (min-width: 1201px) */
@media (min-width: 1201px) {
    .top-nav {
        display: flex;
        flex-direction: row; /* Disposition des éléments en ligne */
        justify-content: space-between; /* Répartition des éléments avec un espace égal entre eux */
        align-items: flex-start; /* Alignement des éléments en haut à gauche */
    }

    .top-nav p {
        margin-bottom: 0; /* Pas d'espace supplémentaire sous chaque paragraphe */
    }
}


/* ----------- Navbar ------------- */

.navbar {
    border-radius: 5px;
    box-shadow: var(--shadow);
}
/* Navigation Links */
.navbar .navbar-nav .nav-link {
    color: var(--dark);
    transition: color 0.3s ease;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--brand);
}


/* Conteneur principal de la barre de navigation */
.nav {
    display: flex; /* Utilisation de flexbox pour une distribution fluide */
    justify-content: space-around; /* Distribue les éléments uniformément */
    align-items: center; /* Centrer verticalement les éléments */
    width: 100%; /* S'assurer que le conteneur prend toute la largeur disponible */
    height: 50px;
    background-color:#F5F5F5 ;
}

/* Taille de police par défaut pour les éléments de navigation */
.nav-item {
    white-space: nowrap;
}


/* Taille de police par défaut pour les éléments du dropdown */
.dropdown-item {
    font-size: 16px;
}

/* Media Queries pour ajuster la taille de la police et l'espace entre les éléments selon les tailles d'écran */

/* Pour les écrans de largeur maximale de 480px */
@media (max-width: 480px) {
    .nav-item .dropdown-item {
        font-size: 14px;
    }
    .nav-item {
        gap: 0.5rem; /* Ajoutez de l'espace entre les éléments */
    }
}

/* Pour les écrans de largeur comprise entre 481px et 600px */
@media (min-width: 481px) and (max-width: 600px) {
    .nav-item .dropdown-item {
        font-size: 14px;
    }
    .nav-item {
        gap: 0.7rem; /* Ajoutez de l'espace entre les éléments */
    }
}

/* Pour les écrans de largeur minimale de 601px */
@media (min-width: 601px) {
    .nav-item .dropdown-item {
        font-size: 1rem;
    }
    .nav-item {
        gap: 1rem; /* Ajoutez de l'espace entre les éléments */
    }
}

/* Pour les écrans de largeur minimale de 1600px */
@media (min-width: 1600px) {
    .nav-item .dropdown-item {
        font-size: 1rem;
    }
    .nav-item {
        gap: 1.2rem; /* Ajoutez de l'espace entre les éléments */
    }
}



/* Section - services  */
.service {
    display: flex; /* Utiliser flexbox pour le contenu */
    flex-direction: column; /* Aligne le contenu verticalement */
    justify-content: space-between; /* Assure que le bouton reste en bas */
    min-height: 350px; /* Ajustez selon vos besoins */
    padding: 10px;

    border-radius: 5px; /* Coins arrondis */
    border: 1px solid #ccc; /* Bordure */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour le survol */
    text-align: center; /* Centre le contenu */
    align-items: center;
}

.service:hover {
    transform: scale(1.05); /* Agrandissement de 5% lors du survol */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre portée pour ajouter de la profondeur */
}

.service-icon {
    width: 100px;  /* Définit la largeur de l'image à 100px */
    height: 70px;  /* Définit la hauteur de l'image à 70px */
   object-fit: contain;
}
.subtitle h1 {
    font-size: 16px;
    color:#0083c1;
    text-align: center;

}
.service h1 {
    font-size: 18px;
    font-weight: bold;
}

.btn-custom {
    margin-top: 20px; /* Pousse le bouton vers le bas de la carte */
    margin-left: auto; /* Centre le bouton horizontalement */
    margin-right: auto; /* Centre le bouton horizontalement */
    display: inline-block;
    padding: 10px 15px;
    background-color:var(--brand); /* Couleur de fond du bouton */
    color: #ffffff; /* Couleur du texte du bouton */
    text-decoration: none; /* Pas de soulignement */
    border-radius: 50px; /* Coins arrondis */
    font-size: 14px; /* Taille de la police */
    font-weight: 500; /* Poids de la police */
    transition: background-color 0.3s, transform 0.3s; /* Transition pour le survol */
    width: 30%;
}

.btn-custom:hover {
    background-color: var(--color-bg-hover); /* Couleur au survol */
    transform: translateY(-2px); /* Légère élévation au survol */
    color: white;
}

/* counter */

.counter-wrapper{
    background-image: url('{{ asset("front/img/AG.jpg") }}');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 1.5rem;
    padding: 10rem 9%;
    margin-top: 1rem;
    position: relative;
    width: 100%;
    height: auto;
}
.counter-wrapper::before{
    position: absolute;
    content: '';
    content: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.counter{
   text-align: center;
   color: white;
   z-index: 2;
   position: relative;
}
.counter::before{
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .5rem;
    background: var(--brand) !important;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.counter .count{
    font-size: 5rem;
    margin-bottom: 1rem;
    color:white
}
.counter p{
    font-size: 1.4rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .count{
        font-size: 55%;
    }
}
@media (max-width: 768px) {
   .counter-wrapper{
       grid-template-columns: repeat(2, 1fr);
       grid-row-gap: 8rem;
   }
}
@media (max-width: 450px) {
    .count{
        font-size: 50%;
    }
    .counter-wrapper{
        grid-template-columns: 1fr;
    }
}

/* Rapports */


/* Style global du corps de la page */


/* Bouton Load More */
.load-more .btn {
    padding: var(--padding-btn);
    background: var(--color-bg-btn) !important;
    color: var(--color-text-btn);
    font-size: var(--font-size-btn);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.load-more .btn:hover {
    background: var(--color-bg-hover);
    transform: scale(1.05);  /* Légère augmentation de la taille au survol */
}

.load-more {
    text-align: center;
    margin: 2rem 0;
}

/* Titre des sections */
.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 1.5rem;
    color: var(--brand);
}

:root {
    --gap: 20px; /* Espacement entre les cartes */
    --card-height: 350px; /* Hauteur standard des cartes */
    --border-radius: 5px; /* Arrondi des coins */
    --color-text-info: #ffffff; /* Couleur du texte des infos */
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap); /* Espacement uniforme entre les cartes */
    margin: auto;
    padding: 2rem;
    max-width: 1400px; /* Limite la largeur globale */
    justify-content: flex-start; /* Aligne les cartes à gauche */
}

.card-box {
    flex: 1 1 calc(25% - var(--gap)); /* Quatre cartes par ligne */
    max-width: calc(25% - var(--gap)); /* Évite d'étirer les cartes */
    height: var(--card-height); /* Hauteur fixe des cartes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.card-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Dégradé superposé */
.card-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 176, 155, 0.5), rgba(150, 201, 61, 1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
}

.card-box:hover:before {
    opacity: 1;
}

.card-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplissage proportionnel */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--border-radius);
    z-index: 0;
}

.card-box .info {
    position: relative;
    z-index: 2;
    color: var(--color-text-info);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.card-box:hover .info {
    opacity: 1;
    transform: translateY(0);
}

.card-box .info h2 {
    margin: 0;
    font-size: 1.2rem;
}

.card-box .info p {
    font-size: 0.9rem;
    margin: 5px 0;
    line-height: 1.4;
}

.card-box .info .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-box .info .btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}

/* Media Queries */
@media (max-width: 480px) {
    .card-box {
        flex: 1 1 calc(100% - var(--gap)); /* Une carte par ligne */
        max-width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .card-box {
        flex: 1 1 calc(48% - var(--gap)); /* Deux cartes par ligne */
        max-width: calc(48% - var(--gap));
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-box {
        flex: 1 1 calc(33.33% - var(--gap)); /* Trois cartes par ligne */
        max-width: calc(33.33% - var(--gap));
    }
}

@media (min-width: 1025px) {
    .card-box {
        flex: 1 1 calc(25% - var(--gap)); /* Quatre cartes par ligne */
        max-width: calc(25% - var(--gap));
    }
}



/* Container for YouTube videos */
.youtube-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
}
.youtube-video-wrapper {
    text-align: center;
    width: 350px;
    margin-bottom: 20px;
}
.youtube-video {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #333;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.youtube-video:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.youtube-thumbnail {
    width: 100%;
    height: 200px; /* Vous pouvez ajuster selon vos besoins */
    background-color: #000; /* Une couleur de fond par défaut */
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3em;
    pointer-events: none; /* Empêche les clics sur le bouton */
}
.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.play-button i {
    color: #fff;
    font-size: 32px;
}
.video-title {
    margin-top: 10px;
    font-size: 18px;
    color: var(--brand);
    font-weight: bold;
    text-align: center;
}
.header-content p {
text-align: center;
}
/* Responsive Design */
@media (max-width: 768px) {
    .youtube-video {
        width: 100%; /* Full width for smaller screens */
        height: auto; /* Height will adjust automatically */
        aspect-ratio: 16 / 9; /* Maintain the aspect ratio */
    }
}
/* Media Query pour les petits téléphones (moins de 480px) */
@media (max-width: 480px) {
}
/* Media Query pour les téléphones (moins de 600px) */
@media (max-width: 600px) {
}
/* Media Query pour les tablettes (de 601px à 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
}
/* Media Query pour les grands écrans (de 1025px à 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .youtube-video {
        width: 560px; /* Fixed width for desktop */
        height: 315px; /* Maintain 16:9 aspect ratio */
}
}
/* Media Query pour les très grands écrans (plus de 1200px) */
@media (min-width: 1201px) {
}

/*--------Logo-bailler- Slider-----*/
/*--------------------------------*/
.slider-title {
    font-size: 2em;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}
.logo-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}
.logo-slider {
    display: flex;
    align-items: center;
    width: 100%;
    animation: slide 15s linear infinite;
    transition: animation-play-state 0.3s ease;
}
.logo-item {
    flex: 0 0 auto;
    padding: 20px;
}
.logo-item img {
    max-width: 120px;
    max-height: 80px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}
.logo-item img:hover {
    transform: scale(1.1);
    opacity: 1;
}
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.logo-slider.paused {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .logo-item img {
        max-width: 90px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .logo-item img {
        max-width: 70px;
        max-height: 50px;
    }
}

.bailleurs-logos {
    text-align: center;
    padding: 40px 0;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    margin-bottom: 10px;
}

.logos-container img {
    max-width: 150px; /* Ajuste la taille selon tes besoins */
    height: auto;
    transition: transform 0.3s ease;
}

.logos-container img:hover {
    transform: scale(1.1); /* Zoom sur le logo au survol */
}

/**** Start-Structure****/
/***********************/

.about-wrap-layout2 {
            background-color: #f9f9f9;
            padding: 40px 0;
        }
 .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 100%;/* Adjusts the card height to fill its container */
        }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
   }
.card-body {
    padding: 15px;
    }

.card-icon {
    font-size: 50px;
    color:var(--brand);
    margin-bottom: 15px;
        }

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #000;
        }

.card-body p {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
        }

.card-body a:hover {
    text-decoration: none;
       }
.text-center {
    text-align: center;
      }
@media (max-width: 768px) {
.card {
padding: 15px;
       }
  .card-icon {
   font-size: 40px;
       }

  .card-title {
   font-size: 1.125rem;
       }

  .card-body p {
   font-size: 0.9rem;
      }
 }

/*End section  structure*/

/* Start-section coordination*/
/*--------------------------------*/

  /* Conteneur principal pour les éléments de coordination */
  .coordination-container {
    width: 90%;
    margin: 0 auto;
    padding: 30px;
 }

/* Style des éléments de coordination */
.coordination-item {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 6px solid var(--brand);
    /* Ligne de couleur plus large pour plus de visibilité */
    background: #fff;
    /* Fond blanc pour chaque élément */
    border-radius: 8px;
    /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    /* Ombre subtile pour les éléments */
    transition: all 0.3s ease;
    /* Transition douce pour les effets de survol */
}

/* Effet au survol des éléments de coordination */
.coordination-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    /* Léger effet de déplacement au survol */
}

/* Style du titre */
.coordination-title {

    font-size: 18px;
    /* Taille de police légèrement plus grande */
    margin: 0 0 10px 0;
    /* Marge en bas */
    color: #000;
    font-weight: 600;
    /* Texte en gras pour plus de mise en valeur */
    border-bottom: 2px solid #eee;
    /* Ligne sous le titre pour plus de définition */
    padding-bottom: 10px;
    /* Espacement entre le titre et la ligne */
}

/*End section coordination*/


/*-----Start Section-Team--------- */
/*--------------------------------*/
.section-bg {
  background-color: #f7f7f7;
}

.team .member {
  margin-bottom: 50px;
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);


}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;

}

.team .member .reseau {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .reseau a {
  transition: color 0.3s;
  color: #111;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.team .member .reseau a i {
  line-height: 0;
}

.team .member .reseau a:hover {
  color: #1bbd36;
}

.team .member .reseau i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #111;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #b4aca8;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #847872;
}

.team .member:hover .reseau {
  opacity: 1;
}

@media (max-width: 991px) {
    .team .member .member-img {
        position: relative;
        overflow: hidden;
        width: 100%; /* S'assurer que l'image occupe toute la largeur */
        height: auto; /* Ajuste la hauteur automatiquement pour maintenir le ratio */
    }

    .team .member .member-info {
        text-align: center; /* Centrer le texte sur les petits écrans */
        padding: 10px;
    }

    .team .member .member-img img {
        width: 100%; /* Faire en sorte que l'image occupe toute la largeur disponible */
        height: auto; /* Ajuste la hauteur de l'image */
        object-fit: cover; /* Garantir que l'image garde son ratio sans déformation */
    }

    .team .member {
        margin-bottom: 20px; /* Ajoute un espacement entre les membres de l'équipe */
    }
}

/* End Section-Team */

/*------------Offre d'emploi-------- */
/*----------------------------------*/
.job-item {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    transition: border-color .5s, box-shadow .5s, transform .3s;
    padding: 16px; /* Ajout de padding pour un meilleur espacement */
    width: 100%;
    background-color: white;
}

/* Effet de survol */
.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    transform: translateY(-2px);
	border-bottom : #0083c1;
}
.logo {
    width: 100px; /* Taille ajustée */
    height: auto; /* Conserve le ratio */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    background-color: #fff; /* Fond blanc pour faire ressortir le logo */
    padding: 5px; /* Espacement interne */
    transition: transform 0.2s ease; /* Effet de transformation lors du survol */
}

.logo:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
}

.job-status {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    text-align: center;
}

.job-status.ouverte {
    color: #27ae60; /* vert pour les offres ouvertes */
   }
.job-status.proche-expiration {
    color: #f39c12; /* orange pour les offres proches de l'expiration */
  }
.job-status.expiree {
    color: #e74c3c; /* rouge pour les offres expirées */
   }

/* Media Queries pour rcesponsivité */
@media (max-width: 992px) {
    .job-item {
        padding: 12px; /* Moins de padding pour les tablettes */
        font-size: 0.95em; /* Réduction de la taille de la police */
    }
}

@media (max-width: 768px) {
    .job-item {
        padding: 10px; /* Moins de padding pour les petits écrans */
        font-size: 0.9em; /* Réduction supplémentaire de la taille de la police */
    }
}

@media (max-width: 480px) {
    .job-item {
        padding: 8px; /* Padding minimal pour les mobiles */
        font-size: 0.85em; /* Réduction de la taille de la police */
    }
}

/****** Offre d'emploi- detail*****/
.text {
    color: var(--green); /* Couleur primaire */
}

.job-detail {
    /* Fond blanc pour la section détails */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    padding: 20px; /* Espacement interne */
    width: 100%;
	background-color:white;
}

.summary-list {
    list-style-type: none; /* Supprime les puces */
    padding: 0; /* Supprime le padding */
}

.summary-list li {
    margin-bottom: 10px; /* Espacement entre les éléments */
    display: flex; /* Utilise Flexbox pour aligner les icônes */
    align-items: center; /* Centre verticalement */


}

.summary-list i {
    color: var(--green); /* Couleur des icônes */
    margin-right: 10px; /* Espacement entre l'icône et le texte */

}
.summary-list a {
    text-decoration: none;
}
.alerte-infos {
    width: 100%;
    /* Prend toute la largeur du conteneur parent */
    max-width: 400px;
    /* Limite la taille de l'image à 400px */
    height: auto;
    /* Maintient le ratio de l'image */
    display: block;
    margin-top: 10px;
    /* Espace au-dessus de l'image */
    border-radius: 8px;
    /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Ombre portée */
    transition: transform 0.3s ease-in-out;
    /* Effet de transition */
}

.alerte-infos:hover {
    transform: scale(1.05);
    /* Agrandissement de l'image au survol */
}

.btn-telecharge {
background-color: #28a745; /* Couleur de fond */
color: white; /* Texte en blanc */
padding: 12px 25px; /* Espacement interne */
text-align: center; /* Centrer le texte */
text-decoration: none; /* Enlever le soulignement */
display: inline-block; /* Pour que ça ressemble à un bouton */
font-size: 16px; /* Taille du texte */
border-radius: 4px; /* Coins arrondis */
border: none; /* Pas de bordure */
}

.btn-telecharge:hover {
background-color: #45a049; /* Couleur au survol */
color: white;
}


/* Styles pour la réactivité */
@media (max-width: 768px) {
    .logo {
        width: 80px; /* Réduire la taille du logo sur les petits écrans */
    }

    .job-detail {
        padding: 15px; /* Réduire le padding sur les petits écrans */
    }

    .col-lg-8, .col-lg-4 {
        flex: 0 0 100%; /* Passer à 100% sur les petits écrans */
        max-width: 100%; /* Assurer une largeur maximale de 100% */
    }
}

@media (max-width: 576px) {
    .logo {
        width: 60px; /* Encore plus petit sur les très petits écrans */
    }
}




/***** Mapping *****/
   /* ---- Specific Styles for Location Section ---- */
   .location-section {
    padding: 3rem 1rem;
    margin: 2rem 0;
}

.location-section .container-map {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-section .box {
    flex: 1;
    text-align: center;
}

.location-section .location-map {
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}



/* ---- Responsive Design ---- */
@media (max-width: 768px) {
    .location-section .map-content {
        flex-direction: column;
    }

    .location-section .image img {
        max-width: 100%;
    }

    .location-section .location-map {
        max-width: 100%;
    }

    .location-section h1 {
        font-size: 2rem;
    }
}
/* Home Page - Blog */
/* Home Page - Blog */
.blog {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 20px;
    margin-bottom: 20px;
	min-height: 200px; /* or a fixed height */
}

.blog .item {
    margin-bottom: 20px;

}
.blog .heading {
    text-align: center;
    margin-bottom: 30px;
}

.blog .heading h2 {
    font-size: 30px;
    font-weight: 700;
}

.blog .heading p {
    color: #696969;
    margin-bottom: 20px;

}

.blog .item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
																																					   border-bottom: 4px solid #00b451;
}

.blog .item .photo {
    margin-bottom: 10px;
}

.blog .item .photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog .item .text {
    padding: 15px;
}

.blog .item .text h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.blog .item .text h2 a {
    color: var(--brand, #333);
    text-decoration: none;
    transition: color 0.3s;
}

.blog .item .text h2 a:hover {
    color: #46bc29;
}

.blog .item .text .short-des p {
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 14px;
}
.blog .item .text .button a:hover {
    background: #3a9f24;
}
.badge-news {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

@media (max-width: 1199px) {
    .blog .item .photo img {
        height: 180px;
    }
}

@media (max-width: 991px) {
    .blog .item .photo img {
        height: 210px;
    }
}

@media (max-width: 767px) {
    .blog .item .photo img {
        height: auto;
    }
}

  /* Section du blog-detail */
  .blog-details-section {
    padding: 60px 20px;
    /* Espacement autour de la section */
}

/* Conteneur principal */
.blog-details-wrapper {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Ombre douce */
}

/* Image du blog */
.blog-thumbnail img {
    width: 100%;
    border-radius: 2px;
}

/* Titre du blog */
.blog-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
    text-decoration: none;
        
}

/* Infos de méta */
.meta-info ul {
    list-style: none;
    padding: 0;

    /* Couleur grise pour les métas */
}

.meta-info li {
    display: inline;
    margin-right: 15px;
}

/* Description du blog */
.blog-description {
    margin-top: 20px;
    color:black;
    /* Couleur sombre pour le texte */
    font-size: 18px;
    /* Taille de texte confortable */
}

.btn-return {
    background-color: #198754;
    /* Couleur verte */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 20px;
}

.btn-return:hover {
    background-color: var(--brand);
    color: white;
    /* Couleur au survol */
}


/* Styles pour la sidebar */
.sidebar {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 5px;
}

/* Titres de la sidebar */
.sidebar h4 {
    font-size: 20px;
    color: #0083c1;
    margin-bottom: 15px;
    border-bottom: 1px solid #0083c1;
    /* Ligne sous le titre */
    padding-bottom: 10px;
}

.sidebar h2 {
    font-size: 14px;
}

/* Liens de la sidebar */
.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #000000;
    /* Couleur bleue pour les liens */
    font-weight: 500;
}

.sidebar ul li a:hover {
    text-decoration: none;
    /* Soulignement au survol */
    color: var(--brand);
}



/* Ajout d'une classe pour des boutons d'action */
.btn-action {
    display: inline-block;
    background-color: var(--brand);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-action:hover {
    background-color:var(--brand);
    /* Couleur au survol */
}

.sidebar-thumbnail {
    width: 50px;
    /* Ajuste la largeur selon tes besoins */
    height: auto;
    /* Garde le ratio */
    border-radius: 5px;
    /* Coins arrondis si nécessaire */
    margin-right: 10px;
    /* Espacement entre l'image et le texte */
    vertical-align: middle;
    /* Aligne l'image avec le texte */
}

/* Gallery - image */
.gallery-container {
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    width: 100%;
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap:15px;
    margin: 0;
    padding: 0;


}
.gallery-grid img {
    width: 100%;
    height: auto;

}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom léger de l'image au survol */
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur les petits écrans */
    }

    .gallery-item img {
        height: 150px; /* Ajuste la hauteur des images sur les petits écrans */
    }
}
@media (max-width: 991px) {
   .gallery-grid img{
        width: 90px; /* Ajuste la hauteur des images sur les petits écrans */
    }
}

/**** Formulaire des resultats de la recherche
/* Style global du container */
.container-results {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Titre principal */
.container-results h1 {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Message d'alerte */
.container-results .message {
    font-size: 16px;
    color: #555;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

/* Section des publications */
.container-results h3 {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    margin-top: 25px;
    font-weight: 600;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* Liste des publications */
ul.rapport-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* Élément individuel de la liste */
ul.rapport-list li {
    background-color: #fff;
    margin: 12px 0;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol d'un élément de la liste */
ul.rapport-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Liens dans la liste */
ul.rapport-list li a {
    font-size: 20px;
    color: #3498db;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

/* Effet au survol des liens */
ul.rapport-list li a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Aucune publication trouvée */
.container-results .no-results {
    font-size: 18px;
    color: #999;
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background-color: #ecf0f1;
}

/* Design responsive */
@media (max-width: 768px) {
    .container-results {
        width: 95%;
    }

    .container-results h1 {
        font-size: 28px;
    }

    .container-results h3 {
        font-size: 24px;
    }

    ul.rapport-list li {
        padding: 15px;
    }
}

/** Section : representation **/
.representation-section {
        text-align: center;
        padding: 30px 20px;

    }

    .representation-section h2 {
        font-size: 2.5em;
        margin-top: 20px;
        color: #333;
    }

    .content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .image-container {
        flex: 1;
        padding: 20px;
    }

    .image-container img {
        max-width: 100%;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .text-container {
        flex: 2;
        text-align: justify;
        font-size: 1.1em;
        line-height: 1.6em;
        color: #000;
        margin-bottom: 100px;
    }

    .text-container p {
        margin: 0;
    }

    @media (max-width: 768px) {
        .content {
            flex-direction: column;
            text-align: center;
        }

        .text-container {
            text-align: center;
        }
    }
   /* Footer */
   .footer {
    background: black;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 20px;
}

.heading {
    color: #fff;
}
.footer h2.heading {
    font-size: 20px;
    padding-bottom: 6px;
    margin-bottom: 15px;
    border-bottom: 0.4px solid #e0e0e0;
}
.footer p,
.footer ul li,
.footer ul li a,
.footer .list-item .right {
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
}
.footer input[type="submit"] {
    width: 100%;
    border: 0;
    margin-top: 10px;
}
.footer .list-item {
    overflow: hidden;
    margin-bottom: 10px;
    font-weight: 400;
}
.footer .list-item .left {
    width: 30px;
    height: auto;
    float: left;
    padding-top: 2px;
}
.footer .list-item .left i {
    font-size: 20px;
}
.footer .list-item .right {
    width: calc(100% - 40px);
    height: auto;
    float: left;
}
.footer ul.social {
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
}
.footer ul.social li {
    list-style-type: none;
    float: left;
    margin-right: 6px;
    margin-bottom: 6px;
}
.footer ul.social li a {
    color: #fff;
    background: #00b451;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: block;
}
.footer ul.social li a:hover {
    color:  #00b451;
    background: #fff;
}

.footer ul.useful-links {
    padding: 0;
}
.footer ul.useful-links li {
    list-style-type: none;
    margin-right: 6px;
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}
.footer ul.useful-links li:before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
}
.footer ul.useful-links li a {
    color: #fff;
}

@media (max-width: 991px) {
    .footer .item {
        margin-bottom: 30px !important;
    }
}
@media (max-width: 767px) {
    .footer-bottom .copyright {
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .footer-bottom .right ul {
        text-align: center !important;
    }
}

/* Footer Bottom */
.footer-bottom {
    background: black;
    color: #fff;
    border-top: 1px solid #3c3c3c;
    padding-top: 40px;
    padding-bottom: 20px;
}
.footer-bottom .copyright {
    background: black;
    color: #fff;
    text-align: left;
    font-size: 14px;
    width: 100%;
    white-space: nowrap;
}
.footer-bottom .right ul {
    width: 100%;
    text-align: right;
}
.footer-bottom .right ul li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}
.footer-bottom .right ul li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.footer-bottom .right ul li a:hover{
    color:var(--color-bg-hover);
}

/* Section: formation */

.formations-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.container-formations {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.formation-titre {
    font-size: 2.5rem;
    color: #34495e;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    border-bottom: 3px solid #00b451;
    padding-bottom: 10px;
    position: relative;
}

.zone-title {
    font-size: 2rem;
    color: #34495e;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    text-transform: uppercase;
}

.formation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.formation-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.formation-title {
    font-size: 1.75rem;
    color: #00b3c1;
    margin-bottom: 15px;
}

.formation-description {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.formation-date {
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 15px;
}

.membership-note {
    font-size: 0.9rem;
    color: #e74c3c;
    margin-bottom: 20px;
}



@media (max-width: 768px) {
    .formation-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .formation-card {
        padding: 15px;
    }
}


/* Style de la pagination */
.pagination {
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement si nécessaire */

}

.pagination a {
    text-decoration: none; /* Supprimer le soulignement */
    color: #007bff; /* Couleur des liens */
    padding: 10px 15px; /* Espacement autour du texte */
    margin: 0 5px; /* Espacement entre les liens */
    border: 1px solid #ddd; /* Bordure autour des liens */
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s ease, color 0.3s ease; /* Effet de transition */
    color:black;
}

.pagination a:hover {
    background-color: #0083c1; /* Changer la couleur de fond au survol */
    color: white; /* Changer la couleur du texte au survol */
}

.pagination .active {
    background-color: #00b451; /* Fond pour la page active */
    color: white; /* Texte en blanc pour la page active */
    pointer-events: none; /* Désactiver les clics sur la page active */
}

.pagination .disabled {
    color: black; /* Couleur grise pour les liens désactivés */
    pointer-events: none; /* Désactiver les clics sur les liens désactivés */
    border-color: #ccc; /* Couleur de bordure grise */
}
