/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  overflow-x: hidden;
  padding: 40px 0;
  /* Responsive adjustments */
}

.clients .clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.clients .clients-slider:not(:last-child) {
  margin-bottom: 20px;
}

.clients .clients-track {
  display: flex;
  width: fit-content;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.clients .clients-track.track-1 {
  animation-name: scroll-left;
}

.clients .clients-track.track-2 {
  animation-name: scroll-right;
}

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

.clients .clients-slide {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.clients .clients-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 96%), transparent);
  transition: 0.5s;
}

.clients .clients-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clients .clients-slide:hover::before {
  left: 100%;
}

.clients .clients-slide:hover img {
  filter: none;
  opacity: 1;
}

.clients .clients-slide img {
  max-width: 80%;
  max-height: 60%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2080px);
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(-2080px);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 991px) {
  .clients .clients-slide {
    width: 180px;
    height: 90px;
    margin: 0 20px;
  }
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1760px);
    }
  }
  @keyframes scroll-right {
    0% {
      transform: translateX(-1760px);
    }
    100% {
      transform: translateX(0);
    }
  }
}
@media (max-width: 767px) {
  .clients .clients-slide {
    width: 150px;
    height: 75px;
    margin: 0 15px;
  }
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-1440px);
    }
  }
  @keyframes scroll-right {
    0% {
      transform: translateX(-1440px);
    }
    100% {
      transform: translateX(0);
    }
  }
}
