@media (max-width: 768px) {
    .navigation-bar {
        background-color: #fff !important;
    }
    .navbar-toggler.navicon span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px 0;
        background-color: #014b99 !important; /* rouge foncé */
        transition: all 0.3s ease;
    }
} /* <-- fermeture manquante ajoutée */

@media (max-width: 768px) {
    li {
        list-style-type: none !important;
    }
}




@media screen and (max-width: 768px) {
    /* Conteneur header sur une seule ligne */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 10px 15px;
    }

    /* Draveaux sur une seule ligne */
    .extra-nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    /* Taille drapeaux et supprime hover */
    .extra-nav a img {
        width:25px;
        height:auto;
        border-radius:4px;
        transition:none; /* supprime zoom/ombre */
        box-shadow:none;
    }

    /* Logo plus petit sur mobile */
    .logo-header img {
        width:120px;
        height:auto;
    }

    /* Bouton toggle aligné */
    .navbar-toggler {
        margin-left:5px;
        border:none;
        background:transparent;
    }
    .navbar-toggler span {
        display:block;
        width:25px;
        height:3px;
        margin:4px 0;
        background:#333;
        transition:0.4s;
    }
}




.accordion-btn {
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    padding: 12px 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.accordion-btn:hover {
    background-color: #014b99;
}

.accordion-content {
    padding: 0 15px;
    display: none;
    overflow: hidden;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}




.services-section {
    background: #111418; /* Un noir légèrement plus profond */
    padding: 100px 0;
    color: #fff;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.services-title {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffffff !important;
}

/* Séparateur Custom */
.custom-separator {
    width: 70px;
    height: 4px;
    background: #014b99;
    margin: 0 auto 50px;
    border-radius: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 cartes par ligne */
    gap: 20px; /* réduit un peu l'espace entre les cartes */
    padding: 0 15px;
    max-width: 1200px; /* limite la largeur totale pour que les cartes ne soient pas trop grandes */
    margin: 0 auto; /* centre la grille */
}
@media (max-width: 768px){
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Cartes */
.service-card {
    background: #1c2229; /* Couleur plus douce que le noir pur */
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-12px);
    background: #232a32;
    border-color: rgba(1, 75, 153, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Icônes */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #014b99 0%, #002d5c 100%);
    border-radius: 18px; /* Style carré arrondi moderne */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(1, 75, 153, 0.2);
    transition: 0.3s;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 32px;
    color: #ffffff; /* Icône en blanc pour meilleure lisibilité */
}

/* Titres & Textes */
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
}

.service-card p {
    font-size: 16px;
    color: #a0a6ad;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Ligne décorative en bas de carte */
.card-footer-line {
    width: 0;
    height: 3px;
    background: #014b99;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.4s ease;
}

.service-card:hover .card-footer-line {
    width: 100%;
}



.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

/* CONTENEUR IMAGE */
.blog-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENU */
.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 14px;
    color: #014b99;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-date i {
    margin-right: 6px;
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.blog-content p {
    flex-grow: 1;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* LIEN LIRE LA SUITE */
.read-more {
    margin-top: auto;
    font-weight: 600;
    color: #014b99;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #000;
   
}