/********** Template CSS **********/
:root {
    --primary: #92ae57;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #00592e;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: bold !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
    background: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -80px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 12px;
    font-weight: 1000;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        border-top: 1px solid #EEEEEE;
        font-size: 10px;
        font-weight: 600;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
} /* Dropdown Menu */

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

#btn_sound {
    cursor: pointer;
    position: absolute;
    top: 10px;
    bottom: 20px;
    right: 10px;
    z-index: 2;
    border: 3px solid #92ae57;
    width: 35px;
    height: 35px;
    border-radius: 20px;
    text-align: center;
    padding: 3px;
}
#btn_sound svg {
    width: 25px;
    height: 25px;
}
.wpb_wrapper>div {
    margin-bottom: 24px;
}


/*** Header ***/
/* Styles de base pour le carousel */
#header-carousel {
    position: relative; /* Permet de positionner les éléments enfants absolument */
    width: 100%; /* Largeur complète */
    min-height: 100vh; /* Hauteur minimale */
    height: 10vh; /* Hauteur de la fenêtre */
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)) center center no-repeat;
    background-size: cover;
    overflow: hidden; /* Evite le scroll horizontal */
  }

    /* Styles de la barre de navigation */
    .navbar-nav .nav-link {
        color: #fff; /* couleur de base des liens */
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }

    .navbar-nav .nav-link:hover {
        color: #92ae57; /* couleur au survol */
    }

    /* Style du lien actif */
    .navbar-nav .nav-link.active {
        color: #92ae57; /* couleur principale de ton site */
        font-weight: 600;
    }

    /* Soulignement animé du lien actif */
    .navbar-nav .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 90%;
        height: 2px;
        background-color: #92ae57;
        border-radius: 2px;
        transition: width 0.3s ease;
    }
  
  /* Vidéo en arrière-plan */
  .nectar-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que la vidéo couvre tout l'espace */
    position: relative;
    top: 0;
    left: 0;
    z-index: -1; /* Place la vidéo en arrière-plan */
  }

  .carousel-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    }    /* Styles de base pour le Titre principal */
    
    .carousel-caption h6 {
        font-weight: bold;
        color: white;
        margin-bottom: 20px;
    }

    .carousel-caption h6 span {
        font-weight: bold;
        color: white;
        margin-bottom: 20px;
    }
    
    /* Styles pour les écrans larges (>= 1200px) */
    @media (min-width: 1200px) {
        .carousel-caption h6 {
            font-size: 60px; /* Taille pour les grands écrans */
        }
        .carousel-caption h6 span {
            font-size: 60px; /* Taille pour les grands écrans */
        }
        .carousel-caption h6 .small-text[style*="font-size:20px"] {
            font-size: 20px; /* Taille pour les petits textes */
        }
    }
    
    /* Styles pour les écrans moyens (>= 992px et < 1200px) */
    @media (max-width: 1199.98px) {
        .carousel-caption h6 {
            font-size: 50px; /* Taille réduite */
        }
        .carousel-caption h6 span {
            font-size: 50px; /* Taille réduite */
        }
        .carousel-caption h6 .small-text[style*="font-size:20px"] {
            font-size: 18px; /* Taille réduite pour les petits textes */
        }
    }
    
    /* Styles pour les tablettes (>= 768px et < 992px) */
    @media (max-width: 991.98px) {
        #header-carousel {
            height: 40vh; /* Réduit la hauteur pour les tablettes */
        }
        .carousel-container {
            height: 40vh; /* Réduit la hauteur pour les tablettes */
        }
        .carousel-caption h6 {
            font-size: 30px; /* Taille réduite pour les titres */
        }
        .carousel-caption h6 span {
            font-size: 20px; /* Taille réduite pour les sous-titres */
        }
        .carousel-caption h6 .small-text {
            font-size: 20px; /* Taille réduite pour les sous-titres */
        }
    }
    
    /* Styles pour les mobiles (>= 576px et < 768px) */
    @media (max-width: 767.98px) {
        #header-carousel {
            min-height: 40vh; /* Réduit encore la hauteur pour les mobiles */
        }
        .carousel-container {
            height: 40vh; /* Réduit encore la hauteur pour les mobiles */
        }
        .carousel-caption h6 {
            font-size: 24px; /* Taille encore plus réduite pour les titres */
        }
        .carousel-caption h6 span {
            font-size: 16px; /* Taille encore plus réduite pour les sous-titres */
        }
        .carousel-caption h6 .small-text {
            font-size: 16px; /* Taille encore plus réduite pour les sous-titres */
        }
    }
    
    /* Styles pour les petits mobiles (< 576px) */
    @media (max-width: 575.98px) {
        .carousel-caption h6 {
            font-size: 20px; /* Taille minimale pour les très petits écrans */
        }
        .carousel-caption h6 span {
            font-size: 14px; /* Taille minimale pour les sous-titres */
        }
        .carousel-caption h6 span .small-text {
            font-size: 14px; /* Taille minimale pour les sous-titres */
        }
    }
  
  /* Conteneur du contenu */
  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    padding: 0 15px; /* Ajout de padding pour les petits écrans */
  }
  
  /* Bouton de volume */
  #btn_sound {
    cursor: pointer;
    position: absolute;
    top: 10px;
    bottom: 20px;
    right: 10px;
    z-index: 2;
  }
  
    /* Styles responsives */
    /* Styles de base pour le Titre principal */
  .carousel-caption h6 {
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
  }
  
  /* Styles pour les écrans larges (>= 1200px) */
  @media (min-width: 1200px) {
    .carousel-caption h6 {
      font-size: 60px; /* Taille pour les grands écrans */
    }
    .carousel-caption h6 span {
      font-size: 60px; /* Taille pour les grands écrans */
    }
    .carousel-caption h6 .small-text[style*="font-size:20px"] {
      font-size: 20px; /* Taille pour les petits textes */
    }
  }
  
  /* Styles pour les écrans moyens (>= 992px) */
  @media (max-width: 1199.98px) {
    .carousel-caption h6 {
      font-size: 50px; /* Taille réduite */
    }
    .carousel-caption h6 span {
      font-size: 50px; /* Taille réduite */
    }
    .carousel-caption h6 .small-text[style*="font-size:20px"] {
      font-size: 18px; /* Taille réduite pour les petits textes */
    }
  }
  
  /* Styles pour les tablettes (>= 768px) */
  @media (max-width: 991.98px) {
    #header-carousel {
        height: 40vh; /* Réduit la hauteur pour les tablettes */
    }

    .carousel-container {
        height: 40vh; /* Réduit la hauteur pour les tablettes */
    }

    .carousel-caption h6 {
        font-size: 30px; /* Taille réduite pour les titres */
    }

    .carousel-caption h6 span {
        font-size: 20px; /* Taille réduite pour les sous-titres */
    }

    .carousel-caption h6 .small-text {
        font-size: 20px; /* Taille réduite pour les sous-titres */
    }
  }
  
  /* Styles pour les mobiles (>= 576px) */
  @media (max-width: 767.98px) {
    #header-carousel {
        min-height: 40vh; /* Réduit encore la hauteur pour les mobiles */
    }

    .carousel-container {
        height: 40vh; /* Réduit encore la hauteur pour les mobiles */
    }

    .carousel-caption h6 {
        font-size: 24px; /* Taille encore plus réduite pour les titres */
    }

    .carousel-caption h6 span {
        font-size: 16px; /* Taille encore plus réduite pour les sous-titres */
    }

    .carousel-caption h6 .small-text {
        font-size: 16px; /* Taille encore plus réduite pour les sous-titres */
    }
  }
  
  /* Styles pour les petits mobiles (< 576px) */
  @media (max-width: 575.98px) {
    .carousel-caption h6 {
        font-size: 20px; /* Taille minimale pour les très petits écrans */
    }

    .carousel-caption h6 span {
        font-size: 14px; /* Taille minimale pour les sous-titres */
    }

    .carousel-caption h6 span .small-text {
        font-size: 14px; /* Taille minimale pour les sous-titres */
    }
  }
  
  /* Styles pour les petits mobiles (< 576px) */
  @media (max-width: 575.98px) {
    .carousel-caption h6 {
        font-size: 20px; /* Taille minimale pour les très petits écrans */
    }

    .carousel-caption h6 span {
        font-size: 14px; /* Taille minimale pour les sous-titres */
    }

    .carousel-caption h6 span .small-text {
        font-size: 14px; /* Taille minimale pour les sous-titres */
    }
  }

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/* Page-specific header backgrounds */
.page-header--about {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/image/acl-groupe-photo.jpg) center center / cover no-repeat;
    min-height : 500px;
}

.page-header--news {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/actus/actus15.jpg) center center / cover no-repeat;
    min-height : 500px;
}
.page-header--services {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/services/service001.jpg) center center / cover no-repeat;
    min-height : 500px;

}

.page-header--projects {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/projects/inauguration-cfp.jpg) center center / cover no-repeat;
    min-height : 500px;
}

.page-header--jobs {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/image/travail.jpg) center center / cover no-repeat;
    min-height : 500px;
}

.page-header--contact {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/image/port-de-lome.jpg) center center / cover no-repeat;
    min-height : 500px;
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

.top-feature .feature-card {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    border-radius: 12px;
}

.top-feature .feature-card .btn-lg-square {
    transition: background .25s ease, color .25s ease;
}

.top-feature .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
    background: linear-gradient(120deg, #0f4229, #92ae57);
    color: #fff !important;
}

.top-feature .feature-card:hover .btn-lg-square {
    background: rgba(255, 255, 255, 0.18);
}

.top-feature .feature-card:hover h4 {
    color: #fff !important;
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel {
    display: block; /* Fallback si OwlCarousel n'initialise pas */
}

.testimonial-carousel .testimonial-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel .testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 18px;
    font-size: 60px;
    line-height: 1;
    color: rgba(15, 66, 41, 0.12);
    font-weight: 700;
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
}

.testimonial-carousel .owl-item h4 {
    margin-bottom: 4px;
}

.testimonial-carousel .owl-item span {
    color: var(--secondary);
    font-size: 14px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:last-child,
.testimonial-carousel .owl-nav .owl-next:last-child {
    margin-right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

.testimonial-carousel .owl-dots {
    margin-top: 10px;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: #dfe5dd;
    display: inline-block;
    border-radius: 50%;
    transition: .3s;
    margin: 0 4px;
}

.testimonial-carousel .owl-dot.active span,
.testimonial-carousel .owl-dot:hover span {
    background: var(--primary);
    transform: scale(1.1);
}

.testimonial-list-fallback .testimonial-item {
    display: block;
    margin-bottom: 16px;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}


/*** Actualités ***/
/* Contenu principal */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Articles d'actualité */
.news-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: 20px;
}

.article-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #00592e;
}

.article-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}


/* Fil d'Actualité css */

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #7f8c8d;
    text-decoration: none;
}

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

/* Contenu principal */
.article-header {
    margin-bottom: 30px;
}

.article-title {
    color: #00592e;
    font-size: 32px;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-image-actus {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 30px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    color: #00592e;
    margin: 30px 0 15px;
    font-size: 24px;
}

.article-content h3 {
    color: #00592e;
    margin: 25px 0 15px;
    font-size: 20px;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content blockquote {
    border-left: 4px solid #e74c3c;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.back-to-news {
    display: inline-block;
    margin-top: 40px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.back-to-news:hover {
    text-decoration: underline;
}


/* Mur digital logo */
  /* Template test */

  .digital-wall {
    position: relative;
    width: 100%;
    height: 100vh;
    background: rgba(1, 121, 63, 0.6);
    overflow: hidden;
  }
  
  .logos-container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .logo-wrapper {
    position: absolute;
    z-index: 2;
  }
  
  .logo-wrapper.port {
    top: 15%;
    left: 8%;
  }
  
  .logo-wrapper.ul {
    top: 15%;
    right: 8%;
  }
  
  .logo-wrapper.i2m {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .logo-wrapper.acl {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transition: transform 0.3s ease;
  }
  
  .logo:hover {
    transform: scale(1.1);
  }
  
  .connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .line {
    fill: none;
    stroke: url(#line-gradient);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s forwards;
    stroke-linecap: round;
  }
  
  .port-i2m { animation-delay: 0.5s; }
  .ul-i2m { animation-delay: 1s; }
  .i2m-acl { animation-delay: 1.5s; }
  
  @keyframes draw {
    to { stroke-dashoffset: 0; }
  }
  
  /* Effet néon pour les lignes */
  .line {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
  }
  
  /* Dégradé pour les lignes */
  .connection-lines defs {
    position: absolute;
  }
  
  .connection-lines linearGradient stop {
    stop-color: #ffffff;
  }
  
  .connection-lines linearGradient stop:first-child {
    stop-color: #ffffff;
  }
  
  .connection-lines linearGradient stop:last-child {
    stop-color: #ffffff;
  }

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-title {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

/* ===== Training page polish ===== */
.training-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(11, 46, 32, .75), rgba(11, 46, 32, .75)), url('/img/slide-ACL.jpg') center/cover no-repeat;
}
html[data-theme='dark'] .training-hero {
    background: linear-gradient(rgba(5, 18, 12, .85), rgba(5, 18, 12, .85)), url('/img/slide-ACL.jpg') center/cover no-repeat;
}

.training-grid .card {
    transition: transform .25s ease, box-shadow .25s ease;
    border-radius: 1rem;
}
.training-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
.training-grid .btn {
    border-radius: 999px;
}

.instructor-card {
    border-radius: 1rem;
}
.instructor-card .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.partner-logos img {
    filter: grayscale(100%);
    opacity: .8;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.partner-logos img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
}
