/* Clients Slider */
.clients-slider {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.clients-track {
  display: flex;
  animation: scroll 40s linear infinite;
  gap: 1.5rem;
}

.client-logo {
  flex: 0 0 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-180px * 12 - 1.5rem * 12));
  }
}

.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .client-logo {
    flex: 0 0 150px;
    height: 80px;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-150px * 12 - 1.5rem * 12));
    }
  }
}
