.project-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(74, 108, 247, 0.15);
      }
      .project-image {
        transition: transform 0.5s ease;
      }
      .project-card:hover .project-image {
        transform: scale(1.05);
      }
      #backToTop {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
      }
      #backToTop.show {
        opacity: 1;
        visibility: visible;
      }
      #backToTop:hover {
        transform: translateY(-4px);
      }
      
   /* Loader container */
#loader {
  position: fixed;
  inset: 0; /* top:0; left:0; right:0; bottom:0; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Disparition du loader */
#loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Texte animé */
.loader-text {
  font-size: 48px;
  font-weight: bold;
  color: #4f46e5;
  letter-spacing: 3px;
  display: flex;
  margin-bottom: 20px;
}

.loader-text span {
  display: inline-block;
  animation: wave 1.2s ease-in-out infinite;
  animation-delay: calc(0.1s * var(--i));
}

.loader-text .text-orange {
  color: #FF8C42; /* ou #FF6B35, #FFA726 selon votre préférence */
}

.loader-text .text-blue {
  color: #4A6CF7; /* ou #4F46E5 pour indigo-600 */
}

@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-15px); }
}

/* Sous-titre */
.loader-subtitle {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards 0.1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}



/* ===== SERVICES SWIPER ===== */
.mySwiper {
  padding: 40px 60px !important;
  min-height: 500px;
}

.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mySwiper .swiper-button-next:after,
.mySwiper .swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold;
  color: #374151;
}

.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover {
  background-color: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.mySwiper .swiper-button-next {
  right: 10px !important;
}

.mySwiper .swiper-button-prev {
  left: 10px !important;
}

.mySwiper .swiper-pagination-bullet {
  background-color: #9ca3af;
  opacity: 1;
}

.mySwiper .swiper-pagination-bullet-active {
  background-color: #374151;
}

.mySwiper .swiper-slide {
  height: auto;
  display: flex;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 1024px) {
  .mySwiper {
    display: none;
  }
}

/* ===== TESTIMONIALS SWIPER ===== */
.testimonials-swiper-container {
  position: relative;
}

.testimonials-swiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.testimonials-swiper .swiper-slide-active {
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet {
  background-color: #9ca3af;
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: #2563eb;
}