nav {
    background-color: #120666;
    width: 100%;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    transition: all 0.3s ease-in-out;
}

.navbar-brand img {
    margin-left: 10px;
    width: 90px;
    height: auto;
}

.navbar-toggler {
    margin-right: 15px;
    background-color: #041737;
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: #fff;
}

.navbar-toggler-icon i {
    font-size: 20px;
    color: white;
}


.navbar-nav {
    gap: 25px;
}

.navbar-nav .nav-link {
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff !important;
    padding: 8px 15px;
    border-radius: 10px;
}

.navbar-nav .nav-link:hover {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: #041737;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #0d31e7;
    color: #ffffff;
}

.espacement {
    margin-top: 75px;
}

/* intro  */

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f9ff !important;
    color: #333;
    margin: 0;
    padding: 0 1rem;
}

/* HERO */
.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    background: transparent;
    border-radius: 20px;
    margin-bottom: 2rem;
    border-bottom: #120666 3px solid;

    /* Animation d'entrée */
    opacity: 0;
    transform: translateX(100px);
    animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.main-title {
    font-size: 2.5rem;
    color: #0c41d2;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 50%;
    margin: 0 auto;
}

.highlight {
    background-color: #d8eaff;
    padding: 2px 6px;
    border-radius: 4px;
    color: #1d4ed8;
}





/* ABOUT */
.about-section {
    background-color: #1a4eb7;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1.125rem;
    text-align: justify;
    max-width: 800px;
    margin: auto;
    color: white !important;
}

.highlight-secondary {
    padding: 2px 6px;
    border-radius: 4px;
    color: #09f7f7;
}

/* SERVICES */
.services-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #000144;
}

.titre {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.service-card h3 {
    color: #0c55f5;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.service-card p {
    color: #000000;
    font-size: 16px;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.2rem;
        margin-top: -50px;    }

    .hero-subtitle,
    .about-text {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    padding: 0 15px;
    text-align: justify;
    }

    .hero-section {
       
        margin-bottom: 0px !important;
       
    }
    .titre {
        font-size: 1.5rem;

    } 


    .fw-bold {
        font-weight: 500 !important;
        font-size: 1.2rem !important;
        color: #120666;
        text-align: center;
       
    }

}


/* ------------------------------------------- Styles services it ---------------------------------------- */

.img-fluid {
    border-radius: 50px !important;
}

.fw-bold {
    font-weight: 700;
    font-size: 2rem;
    color: #120666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}


.under-title {
    font-size: 1.5rem;
    color: #2687dc !important;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    max-width: 600px;
}

.text-services {
    font-size: 1rem;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: justify;
    letter-spacing: 0.5px;
    text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.05);

}

/* consultant dispo  */

#consultant-dispo .row {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-radius: 30px !important;
    padding: 2rem !important;
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#consultant-dispo .row:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#consultant-dispo img {
    max-width: 80%;
    height: auto !important;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#consultant-dispo img:hover {
    transform: scale(1.05);
}



.sous-titre-experts {
    font-weight: 600;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.text-experts {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}




/* offres  */

.cardPosts {
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #b1b1c08e;
    transition: transform 0.3s ease-in-out;
}

.cardPosts:hover {
    transform: translateY(-10px);
}

.cardPosts-title {
    font-size: 1.4rem;
    color: #2600ff;
    margin-bottom: 15px;
}

.cardPosts-body {
    padding: 20px;
}

.btn-chap {
    padding: 12px 28px;
    background-color: #3a0ca3;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(58, 12, 163, 0.25);
    transition: all 0.25s ease-in-out;
}

.btn-chap:hover {
    background-color: #0f9bce;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(58, 12, 163, 0.35);
}

.btn-chap:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(58, 12, 163, 0.2);
}


/* realisations  */


.equal-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Styles des images */
.card-img-top {
    object-fit: contain !important;
    height: 150px;
    margin-top: 20px !important;
}

/* Ajustement du style des cartes dans le carousel */
.carousel-item .card {
    width: 100%;
    background-color: #efefff;
}

/* Le style des images */
.carousel-item .card-img-top {
    height: 200px;
    width: 100%;
}

/* Style des boutons */
.btn-custom {
    background-color: #031a33;
    color: white;
    border: none;
    padding: 10px 50px;
    text-decoration: none !important;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 30px !important;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #0000c0;
    color: white;

}

/* Boutons de contrôle du carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0000c0;
    border-radius: 50%;
}

/* Responsive: Ajuster les cartes pour différents écrans */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* <!-- ----------------------------------------------CHAPITRE VI FOOTER--------------------------------------------------- --> */
/* Style général du footer */
footer {
    background-color: #120666;
    /* Couleur de fond sombre */
    color: #fff;
    /* Texte en blanc */
    padding: 10px 0;
    /* Espacement autour du footer */
    font-family: 'Arial', sans-serif;
    width: 100% !important;
}


footer .footer-1 {
    padding: 20px;

}

/* Style pour les cartes dans le footer */
footer .card {
    background-color: transparent;
    /* Transparence pour les cartes */
    border: none;
    padding: 20px;
}

footer .card h3 {
    color: #f8f9fa;
    /* Couleur du titre des cartes */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

footer .card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff;
    /* Texte légèrement gris */
}

/* Liens dans le footer */
footer a {
    color: #ffffff;
    /* Couleur bleu claire pour les liens */
    text-decoration: none;
    /* Supprimer le soulignement */
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

footer a:hover {
    color: #007bff;
    /* Couleur au survol des liens */
}

.social {
    display: flex;
    justify-content: center;
    gap: 20px; /* espace entre les icônes */
}

footer .social a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social a:hover {
    color: #007bff;
}

/* Bouton Contactez-nous */
footer .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

footer .btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Section Copyright */
footer .copyright {
    font-size: 0.9rem;
    color: #999393;
    text-align: center;
}

/* Style responsive pour les colonnes */
@media (max-width: 767px) {
    footer .row {
        display: block;
        /* Les colonnes deviennent des blocs */
    }

    footer .card {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    footer .card {
        margin-bottom: 30px;
    }
}