/* Modern Glassmorphism Client Carousel Effect */
.glass-bg {
  background: rgba(18, 18, 20, 0.8);
}

.client-carousel-section {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.7) 0%, rgba(30, 30, 35, 0.8) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-carousel-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(90deg, rgba(47,131,255,0.4), rgba(111,218,68,0.4));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  left: -100px;
  top: -100px;
  z-index: 0;
  animation: float 15s ease-in-out infinite alternate;
}

.client-carousel-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: linear-gradient(90deg, rgba(241,182,28,0.4), rgba(121,110,242,0.4));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  right: -50px;
  bottom: -50px;
  z-index: 0;
  animation: float 18s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 20px) rotate(5deg);
  }
  100% {
    transform: translate(-20px, 40px) rotate(-5deg);
  }
}

.client-carousel-section .section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #2F83FF, #6FDA44, #F1B61C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.client-carousel {
  position: relative;
  padding: 20px 0;
  z-index: 2;
}

.client-carousel .slick-track {
  display: flex;
  align-items: center;
}

.client-carousel .slick-slide {
  margin: 0 15px;
  transition: all 0.5s ease;
  opacity: 0.7;
  transform: scale(0.95);
}

.client-carousel .slick-center {
  opacity: 1;
  transform: scale(1);
}

.client-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* Remove perspective and 3D transforms for better mobile compatibility */
  transform: none !important;
}

.client-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  z-index: 0;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.client-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.client-item:hover::before {
  opacity: 1;
  top: -100%;
  left: -100%;
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.client-item img {
  max-width: 100%;
  max-height: 80px;
  margin-bottom: 15px;
  transition: all 0.5s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1)) brightness(1.2) contrast(1.1);
  position: relative;
  z-index: 1;
}

.client-item:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(47, 131, 255, 0.3)) brightness(1.3) contrast(1.15);
}

.client-item h6 {
  margin-top: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.client-item:hover h6 {
  background: linear-gradient(90deg, #2F83FF, #F1B61C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.client-carousel .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.client-carousel .slick-prev {
  left: -25px;
}

.client-carousel .slick-next {
  right: -25px;
}

.client-carousel .slick-arrow:hover {
  background: rgba(47, 131, 255, 0.2);
  border-color: rgba(47, 131, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.client-carousel .slick-arrow i {
  color: white;
  font-size: 20px;
}

.client-carousel .slick-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.client-carousel .slick-dots li {
  margin: 0 5px;
}

.client-carousel .slick-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.client-carousel .slick-dots li.slick-active button {
  background: linear-gradient(90deg, #2F83FF, #F1B61C);
  width: 30px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(47, 131, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .client-carousel .slick-arrow {
    display: none !important;
  }
  
  .client-item {
    padding: 20px;
    transform: none !important;
    perspective: none !important;
  }
  
  .client-carousel .slick-slide {
    transform: none;
  }
  
  .client-carousel-section::before,
  .client-carousel-section::after {
    opacity: 0.2;
    width: 150px;
    height: 150px;
  }
} 