.customers-section {
  /* background: white; */
  padding: 4rem 0;
  overflow: hidden;
}

.customers-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.customers-subtitle {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #7f8c8d;
}

.logos-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.logos-slide {
  display: flex;
  animation: slide 60s linear infinite; /* Faster + infinite loop */
}

.logos-slide:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  /* width: 180px;
            height: 120px; */
  width: 200px;
  height: 200px;
  margin: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 15px;
}

.logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  /* filter: grayscale(100%); */
  /* opacity: 0.7; */
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover .logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* @keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
} */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1500%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .customers-title {
    font-size: 1.8rem;
  }

  .logo-item {
    width: 240px;
    height: 200px;
    margin: 0 15px;
  }
}

@media (max-width: 576px) {
  .customers-title {
    font-size: 1.6rem;
  }

  .logo-item {
    width: 220px;
    height: 180px;
    margin: 0 10px;
  }
}
