/* ============================================
   SECTION POURQUOI NOUS CHOISIR
   ============================================ */

.single-services {
  position: relative;
  overflow: hidden;
}

/* Badge personnalisé */
.badge-custom {
  background: linear-gradient(135deg, #00ac3d 0%, #008a30 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 172, 61, 0.3);
}

.badge-custom i {
  margin-right: 8px;
}

/* Titre principal */
.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.highlight-green {
  color: #00ac3d;
  position: relative;
  display: inline-block;
}

.highlight-green::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 172, 61, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.highlight-blue {
  color: #0056b3;
  position: relative;
  display: inline-block;
}

.highlight-blue::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 86, 179, 0.2);
  border-radius: 4px;
  z-index: -1;
}

/* Diviseur de titre */
.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.divider-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 2px;
}

.divider-icon {
  color: #00ac3d;
  font-size: 14px;
}

/* Description de section */
.section-description {
  max-width: 800px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  padding: 0 20px;
}

/* ===== CARTES MODERNES ===== */
.service-card-modern {
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-inner {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 172, 61, 0.15);
}

/* Numéro de badge */
.service-number {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.service-number span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image */
.service-image-wrapper {
  overflow: hidden;
  position: relative;
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card-modern:hover .service-image img {
  transform: scale(1.1);
}

.image-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 172, 61, 0.8),
    rgba(0, 86, 179, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-modern:hover .image-overlay-modern {
  opacity: 1;
}

.image-overlay-modern i {
  color: white;
  font-size: 30px;
  transform: scale(0.5);
  transition: transform 0.4s ease;
}

.service-card-modern:hover .image-overlay-modern i {
  transform: scale(1);
}

/* Contenu */
.service-content-modern {
  padding: 25px;
  background: white;
  position: relative;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-card-modern:hover .service-title {
  color: #00ac3d;
}

.title-underline {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 3px;
  margin-bottom: 15px;
  transition: width 0.3s ease;
}

.service-card-modern:hover .title-underline {
  width: 80px;
}

.service-description {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Bouton lire plus */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00ac3d;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  color: #0056b3;
  gap: 12px;
}

.read-more-btn:hover i {
  transform: translateX(5px);
}

/* Animation AOS */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .single-services {
    padding: 40px 0;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .service-card-inner {
    margin-bottom: 20px;
  }

  .service-image img {
    height: 200px;
  }

  .service-content-modern {
    padding: 20px;
  }

  .service-title {
    font-size: 1rem;
  }

  .section-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .main-title {
    font-size: 1.5rem;
  }

  .highlight-green::after,
  .highlight-blue::after {
    height: 5px;
    bottom: 3px;
  }

  .service-image img {
    height: 180px;
  }
}

/* ============================================
   SECTION NOS SERVICES
   ============================================ */

/* Badge personnalisé */
.badge-custom-services {
  background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.badge-custom-services i {
  margin-right: 8px;
}

/* Titre principal */
.main-title-services {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.highlight-green {
  color: #00ac3d;
  position: relative;
  display: inline-block;
}

.highlight-green::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 172, 61, 0.2);
  border-radius: 4px;
  z-index: -1;
}

/* Diviseur de titre */
.title-divider-services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.divider-line-services {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #0056b3, #00ac3d);
  border-radius: 2px;
}

.divider-icon-services {
  color: #0056b3;
  font-size: 14px;
}

/* Description de section */
.section-description-services {
  max-width: 700px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  padding: 0 20px;
}

/* ===== CARTES SERVICES MODERNES ===== */
.service-card-services {
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-inner-services {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 172, 61, 0.1);
}

.service-card-services:hover .service-card-inner-services {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
  border-color: rgba(0, 172, 61, 0.3);
}

/* Icône flottante */
.service-icon-floating {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #00ac3d, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card-services:hover .service-icon-floating {
  transform: rotate(360deg);
  background: linear-gradient(135deg, #0056b3, #00ac3d);
}

.service-icon-floating i {
  color: white;
  font-size: 20px;
}

/* Image */
.service-image-wrapper-services {
  overflow: hidden;
  position: relative;
}

.service-image-services {
  position: relative;
  overflow: hidden;
}

.service-image-services img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card-services:hover .service-image-services img {
  transform: scale(1.1);
}

.image-overlay-services {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 172, 61, 0.85),
    rgba(0, 86, 179, 0.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-services:hover .image-overlay-services {
  opacity: 1;
}

.overlay-link {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: transform 0.4s ease;
  text-decoration: none;
}

.service-card-services:hover .overlay-link {
  transform: scale(1);
}

.overlay-link i {
  color: #00ac3d;
  font-size: 24px;
}

.overlay-link:hover {
  background: #00ac3d;
}

.overlay-link:hover i {
  color: white;
}

/* Contenu */
.service-content-services {
  padding: 25px;
  background: white;
  position: relative;
}

.service-title-services {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  text-align: center;
}

.service-card-services:hover .service-title-services {
  color: #00ac3d;
}

.title-underline-services {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 3px;
  margin: 0 auto 15px auto;
  transition: width 0.3s ease;
}

.service-card-services:hover .title-underline-services {
  width: 80px;
}

.service-description-services {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

/* Bouton Découvrir */
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}

.service-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-btn:hover {
  background: linear-gradient(135deg, #0056b3, #003d80);
  color: white;
  gap: 12px;
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* Animation */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Effet de carte supplémentaire */
.service-card-inner-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 5;
}

.service-card-services:hover .service-card-inner-services::before {
  transform: scaleX(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .services-modern {
    padding: 40px 0;
  }

  .main-title-services {
    font-size: 2rem;
  }

  .service-image-services img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .services-modern {
    padding: 30px 0;
  }

  .main-title-services {
    font-size: 1.8rem;
  }

  .service-content-services {
    padding: 20px;
  }

  .service-title-services {
    font-size: 1rem;
  }

  .section-description-services {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .main-title-services {
    font-size: 1.5rem;
  }

  .service-image-services img {
    height: 180px;
  }

  .service-btn {
    padding: 8px 20px;
  }
}
/* ============================================
   SECTION BLOG MODERN
   ============================================ */

/* Badge personnalisé */
.badge-custom-blog {
  background: linear-gradient(135deg, #00ac3d 0%, #008a30 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 172, 61, 0.3);
}

.badge-custom-blog i {
  margin-right: 8px;
}

/* Titre principal */
.main-title-blog {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.highlight-green {
  color: #00ac3d;
  position: relative;
  display: inline-block;
}

.highlight-green::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 172, 61, 0.2);
  border-radius: 4px;
  z-index: -1;
}

/* Diviseur de titre */
.title-divider-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.divider-line-blog {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 2px;
}

.divider-icon-blog {
  color: #00ac3d;
  font-size: 14px;
}

/* Description de section */
.section-description-blog {
  max-width: 600px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  padding: 0 20px;
}

/* ===== CARTES BLOG MODERNES ===== */
.blog-card-modern {
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card-inner {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 172, 61, 0.1);
}

.blog-card-modern:hover .blog-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 172, 61, 0.15);
  border-color: rgba(0, 172, 61, 0.3);
}

/* Badge catégorie */
.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}

.blog-category-badge a {
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-category-badge a:hover {
  background: linear-gradient(135deg, #0056b3, #003d80);
  transform: scale(1.05);
}

.blog-category-badge a i {
  font-size: 0.7rem;
}

/* Image */
.blog-image-wrapper {
  overflow: hidden;
  position: relative;
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-modern:hover .blog-image img {
  transform: scale(1.1);
}

.blog-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 172, 61, 0.85),
    rgba(0, 86, 179, 0.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card-modern:hover .blog-image-overlay {
  opacity: 1;
}

.overlay-link-blog {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: transform 0.4s ease;
  text-decoration: none;
}

.blog-card-modern:hover .overlay-link-blog {
  transform: scale(1);
}

.overlay-link-blog i {
  color: #00ac3d;
  font-size: 22px;
}

.overlay-link-blog:hover {
  background: #00ac3d;
}

.overlay-link-blog:hover i {
  color: white;
}

/* Métadonnées */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e0e0e0;
}

.meta-date,
.meta-author,
.meta-comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #8898aa;
}

.meta-date i,
.meta-author i,
.meta-comments i {
  font-size: 0.7rem;
  color: #00ac3d;
}

/* Contenu */
.blog-content-modern {
  padding: 20px;
  background: white;
  position: relative;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-title a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-modern:hover .blog-title a {
  color: #00ac3d;
}

.title-underline-blog {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 3px;
  margin-bottom: 15px;
  transition: width 0.3s ease;
}

.blog-card-modern:hover .title-underline-blog {
  width: 60px;
}

.blog-excerpt {
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bouton Lire la suite */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00ac3d;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-read-more:hover {
  color: #0056b3;
  gap: 12px;
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

/* Bouton Voir tout */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  padding: 12px 35px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 172, 61, 0.3);
}

.btn-view-all:hover {
  background: linear-gradient(135deg, #0056b3, #003d80);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.btn-view-all i {
  transition: transform 0.3s ease;
}

.btn-view-all:hover i {
  transform: translateX(3px);
}

/* Animation */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Effet de bordure supérieure */
.blog-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 5;
}

.blog-card-modern:hover .blog-card-inner::before {
  transform: scaleX(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .blog-section-modern {
    padding: 60px 0;
  }

  .main-title-blog {
    font-size: 2rem;
  }

  .blog-image img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .blog-section-modern {
    padding: 40px 0;
  }

  .main-title-blog {
    font-size: 1.8rem;
  }

  .blog-content-modern {
    padding: 15px;
  }

  .blog-title {
    font-size: 1rem;
  }

  .blog-meta {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .main-title-blog {
    font-size: 1.5rem;
  }

  .blog-image img {
    height: 180px;
  }

  .blog-category-badge a {
    padding: 3px 12px;
    font-size: 0.65rem;
  }
}
/* ============================================
   SECTION FORMATIONS MODERN
   ============================================ */

/* Badge personnalisé */
.badge-custom-formation {
  background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.badge-custom-formation i {
  margin-right: 8px;
}

/* Titre principal */
.main-title-formation {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.highlight-green {
  color: #00ac3d;
  position: relative;
  display: inline-block;
}

.highlight-green::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 172, 61, 0.2);
  border-radius: 4px;
  z-index: -1;
}

/* Diviseur de titre */
.title-divider-formation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.divider-line-formation {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00ac3d, #0056b3);
  border-radius: 2px;
}

.divider-icon-formation {
  color: #00ac3d;
  font-size: 14px;
}

/* Description de section */
.section-description-formation {
  max-width: 600px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  padding: 0 20px;
}

/* ===== CARTES FORMATIONS MODERNES ===== */
.formation-card-modern {
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.formation-card-inner {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 172, 61, 0.1);
}

.formation-card-modern:hover .formation-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.15);
  border-color: rgba(0, 86, 179, 0.3);
}

/* Badge statut */
.formation-badge-status {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status-badge.ongoing {
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
}

.status-badge.closed {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
}

/* Image */
.formation-image-wrapper {
  overflow: hidden;
  position: relative;
}

.formation-image {
  position: relative;
  overflow: hidden;
}

.formation-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.formation-card-modern:hover .formation-image img {
  transform: scale(1.1);
}

.formation-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.85),
    rgba(0, 172, 61, 0.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.formation-card-modern:hover .formation-image-overlay {
  opacity: 1;
}

.formation-overlay-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  transition: transform 0.4s ease;
  text-decoration: none;
}

.formation-card-modern:hover .formation-overlay-link {
  transform: scale(1);
}

.formation-overlay-link i {
  color: #00ac3d;
  font-size: 22px;
}

.formation-overlay-link:hover {
  background: #00ac3d;
}

.formation-overlay-link:hover i {
  color: white;
}

/* Contenu */
.formation-content {
  padding: 20px;
  background: white;
  position: relative;
}

.formation-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.formation-title a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.formation-card-modern:hover .formation-title a {
  color: #0056b3;
}

.formation-title-underline {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #00ac3d);
  border-radius: 3px;
  margin-bottom: 15px;
  transition: width 0.3s ease;
}

.formation-card-modern:hover .formation-title-underline {
  width: 60px;
}

/* Dates */
.formation-dates {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e0e0e0;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.date-item i {
  color: #0056b3;
  font-size: 16px;
  width: 20px;
}

.date-item div {
  display: flex;
  flex-direction: column;
}

.date-label {
  font-size: 0.65rem;
  color: #8898aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a2e;
}

/* Contacts */
.formation-contacts {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-item i {
  color: #00ac3d;
  font-size: 13px;
  width: 20px;
}

.contact-item a {
  color: #6c757d;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00ac3d;
}

/* Bouton S'inscrire */
.formation-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0056b3, #003d80);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.formation-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.formation-read-more:hover {
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  gap: 12px;
}

.formation-read-more:hover i {
  transform: translateX(5px);
}

/* Effet de bordure supérieure */
.formation-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #00ac3d);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 5;
}

.formation-card-modern:hover .formation-card-inner::before {
  transform: scaleX(1);
}

/* ===== PAGINATION ===== */
.pagination-wrapper-formation .pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.pagination-wrapper-formation .page-item .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination-wrapper-formation .page-item.active .page-link {
  background: linear-gradient(135deg, #0056b3, #003d80);
  border-color: #0056b3;
  color: white;
}

.pagination-wrapper-formation .page-item .page-link:hover:not(.active) {
  background: #f0fdf4;
  border-color: #00ac3d;
  color: #00ac3d;
  transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .formation-section-modern {
    padding: 60px 0;
  }

  .main-title-formation {
    font-size: 1.8rem;
  }

  .formation-image img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .formation-section-modern {
    padding: 40px 0;
  }

  .main-title-formation {
    font-size: 1.5rem;
  }

  .formation-content {
    padding: 15px;
  }

  .formation-title {
    font-size: 0.9rem;
  }

  .formation-dates {
    flex-direction: column;
    gap: 8px;
  }

  .section-description-formation {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .main-title-formation {
    font-size: 1.3rem;
  }

  .formation-image img {
    height: 160px;
  }

  .status-badge {
    padding: 3px 10px;
    font-size: 0.65rem;
  }
}

/* ============================================
   FOOTER STYLES
   ============================================ */

footer {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
  color: #fff;
  font-family: "Poppins", sans-serif;
}

/* Titres */
.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00ac3d;
}

.footer-title i {
  margin-right: 10px;
}

.footer-divider {
  width: 50px;
  height: 3px;
  background: #00ac3d;
  margin-bottom: 20px;
  border-radius: 3px;
}

/* Articles récents */
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.recent-post-img {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-post-img img:hover {
  transform: scale(1.1);
}

.recent-post-info a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.recent-post-info a:hover {
  color: #00ac3d;
}

.recent-post-info span {
  font-size: 11px;
  color: #8898aa;
}

.recent-post-info span i {
  margin-right: 5px;
  font-size: 10px;
}

/* Liens footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #c8d6e5;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links li a i {
  margin-right: 8px;
  font-size: 12px;
  color: #00ac3d;
}

.footer-links li a:hover {
  color: #00ac3d;
  transform: translateX(5px);
}

/* Newsletter */
.newsletter-text {
  color: #c8d6e5;
  font-size: 13px;
  margin-bottom: 15px;
}

.newsletter-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2a2a3e;
  border-radius: 30px;
  background: #2a2a3e;
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #00ac3d;
  background: #1a1a2e;
}

.newsletter-input::placeholder {
  color: #8898aa;
}

.newsletter-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00ac3d, #008a30);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 172, 61, 0.4);
}

.newsletter-btn i {
  margin-right: 8px;
}

.newsletter-message {
  margin-top: 10px;
  font-size: 12px;
}

/* Séparateur */
.footer-separator {
  height: 1px;
  background: #2a2a3e;
  margin: 25px 0;
}

/* Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 13px;
  color: #c8d6e5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact li i {
  width: 25px;
  color: #00ac3d;
  font-size: 14px;
}

.footer-contact li a {
  color: #c8d6e5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact li a:hover {
  color: #00ac3d;
}

/* Réseaux sociaux */
.social-section {
  margin-top: 20px;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #2a2a3e;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social li a:hover {
  transform: translateY(-3px);
}

.footer-social .social-facebook:hover {
  background: #1877f2;
}
.footer-social .social-twitter:hover {
  background: #1da1f2;
}
.footer-social .social-linkedin:hover {
  background: #0077b5;
}
.footer-social .social-instagram:hover {
  background: #e4405f;
}

/* Copyright */
/* Version sans sticky */
.copyright {
  /* background: rgba(0, 0, 0, 0.5); */
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  clear: both;
  position: relative;
  bottom: 0;
}

.copyright p {
  margin: 0;
  font-size: 13px;
  color: #8898aa;
}

.developed {
  margin-top: 5px !important;
  font-size: 12px !important;
}

.developed a {
  color: #00ac3d;
  text-decoration: none;
}

.developed a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding-top: 40px;
  }

  .footer-title {
    margin-top: 20px;
  }

  .copyright p {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .recent-post-item {
    margin-bottom: 10px;
  }

  .footer-links li a {
    font-size: 13px;
  }

  .newsletter-input {
    padding: 10px 12px;
  }

  .newsletter-btn {
    padding: 10px 15px;
  }
}
