/* Texte et bouton overlay */
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .text-overlay h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .text-overlay p {
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
  }
  
  /* Boutons */
  .btn-success {
    background-color: #86b64f90;
    border-color: #86b64f90;
  }
  
  .btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
  }
  
  .btn-success:hover,
  .btn-danger:hover {
    filter: brightness(85%);
  }
  
  /* Contrôles carousel */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 10px;
  }
  

  .services-section {
    padding: 60px 0;
    background-color: #ecf0f1;
    color: #ff0000;
  }
  
  .services-section .section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
  }
  
  .service-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .service-card .service-icon {
    font-size: 40px;
    color: #1abc9c;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #34495e;
    
  }
  
  .service-card p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 20px;
  }
  
  .service-card .btn-green {
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
  }
  
  .service-card .btn-green:hover {
    background-color: #16a085;
  }
  /* .realizations-section {
    padding: 60px 0;
    background: #ecf0f1;
  }
  
  .realizations-section .section-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
  }
  
  .realization-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .realization-card img {
    width: 100%;
    transition: transform 0.3s ease;
  }
  
  .realization-card:hover img {
    transform: scale(1.05);
  }
  
  .realization-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 5px;
  }
  
  .realization-content h3 {
    font-size: 18px;
    margin: 0 0 10px;
  }
  
  .realization-content p {
    font-size: 14px;
  } */
  
  .swiper-pagination-bullet {
    background-color: #1abc9c !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #1abc9c;
  }

  


.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-green {
    background-color: #1abc9c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-green:hover {
    background-color: #16a085;
}

.bg-light {
    background-color: #ecf0f1;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.centered-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.swiper-slide img {
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

/* Style commun pour toutes les sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

/* Section Key Figures */
/* Background Overlay */
.key-figures {
  background: linear-gradient(135deg, #86B64F 30%, #3B8D33 100%);
  position: relative;
  overflow: hidden;
}

.key-figures .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/arches.png'); /* Texture subtile */
  opacity: 0.2;
  z-index: 1;
}

.key-figures .container {
  position: relative;
  z-index: 2; /* Place le contenu au-dessus de l'arrière-plan */
}

/* Counter Cards */
.key-figures .custom-card {
  background: #ffffff; /* Couleur de fond blanche */
  color: #3B8D33; /* Texte */
  border-radius: 15px; /* Coins arrondis */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.key-figures .custom-card::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: linear-gradient(135deg, #3B8D33, #86B64F);
  z-index: -1;
  border-radius: 15px;
  filter: blur(10px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.key-figures .custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.key-figures .custom-card:hover::after {
  opacity: 1;
}

/* Icon and Text Styling */
.key-figures .counter i {
  color: #86B64F;
  transition: color 0.3s ease;
}

.key-figures .counter h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3B8D33;
}

.key-figures .counter p {
  font-size: 1rem;
  letter-spacing: 1px;
  color: #000000;
  text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .key-figures .custom-card {
      padding: 2rem 1.5rem;
  }
}

.counter {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.counter:hover {
    transform: translateY(-15px);
}

.counter i {
    font-size: 48px;
    color: #fdbb2d;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.counter .count {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0;
    display: block;
    font-family: 'Poppins', sans-serif;
}

.counter p {
    color: #ffffff;
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



/* Section Services */
.services-section .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.services-section .service-card:hover {
    transform: translateY(-5px);
}

.services-section .service-icon i {
    font-size: 3rem;
    color: #1abc9c;
    margin-bottom: 1rem;
}

.services-section .service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.services-section .btn-green {
    background-color: #1abc9c;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.services-section .btn-green:hover {
    background-color: #16a085;
}
.services-section {
    padding: 120px 0;
    background: #f8f9fa;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}



.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #86b64f, #ff0000, #fff, #000000);
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #86b64f, #ff0000, #fff, #000000);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    /* background: linear-gradient(135deg, rgba(26, 42, 108, 0.1), rgba(178, 31, 31, 0.1)); */
    background-color: #86b64f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 40px;
    background-color:  #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
}

.service-card:hover .service-icon i {
    background: linear-gradient(45deg, #ffffff, #fdbb2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a2a6c;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #ff0000;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #b21f1f;
    font-weight: bold;
}



/* Section Réalisations */
/* .realizations-section .realization-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.realizations-section .realization-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.realizations-section .realization-card:hover {
    transform: scale(1.05);
}

.realizations-section .realization-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
} */



