.hero-gradient {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.animate-bounce-slow {
  animation: bounce-slow 3s infinite;
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #10b981;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu animation */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 50%;
  max-width: 300px;
  height: 100vh;
  background: white;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Overlay pour le fond sombre */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}

/* Personnalisation supplémentaire */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  background: #059669; /* Couleur green-600 */
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  transition: background-color 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px !important;
  font-weight: bold !important;
}
/* Flèches de navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #059669 !important; /* Couleur verte */
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
}

/* Points de pagination améliorés */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.swiper-pagination-bullet-active {
  background: #059669 !important; /* Couleur verte */
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.3);
}

/* Personnalisation Lightbox */
.glightbox-container .gslide-description {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(5, 150, 105, 0.8);
  color: white;
}

/* === SYSTÈME D'ALERTES === */

/* Overlay pour les alertes */
.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.alert-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Boîte d'alerte */
.alert-box {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.7) translateY(-20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.alert-overlay.show .alert-box {
  transform: scale(1) translateY(0);
}

/* Effet de fond animé */
.alert-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.alert-box:hover::before {
  left: 100%;
}

/* Icône de l'alerte */
.alert-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  color: white;
  animation: bounceIn 0.8s ease-out;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Couleurs pour les différents types d'alertes */
.alert-success .alert-icon {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.alert-error .alert-icon {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.alert-info .alert-icon {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.alert-warning .alert-icon {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* Effet de pulsation pour l'icône */
.alert-icon::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse 2s infinite;
}

/* Titre de l'alerte */
.alert-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  font-family: "Arial", sans-serif;
}

/* Message de l'alerte */
.alert-message {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: "Arial", sans-serif;
}

/* Bouton de l'alerte */
.alert-button {
  background: linear-gradient(135deg, #059669 0% 100%);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.alert-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.alert-button:hover::before {
  left: 100%;
}

.alert-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.alert-button:active {
  transform: translateY(-1px);
}

/* Animations */
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .alert-box {
    padding: 30px 20px;
    margin: 20px;
  }

  .alert-icon {
    width: 70px;
    height: 70px;
    font-size: 35px;
  }

  .alert-title {
    font-size: 24px;
  }

  .alert-message {
    font-size: 14px;
  }

  .alert-button {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Animation d'entrée fluide */
.alert-overlay {
  animation: none;
}

.alert-overlay.show {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(5px);
  }
}
