/* ============================================================================
   CLIENTS CAROUSEL SECTION
   ============================================================================ */

.clients {
  background: var(--bg);
  padding: 60px 0;
}

.clients-container {
  position: relative;
  width: 100%;

  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .clients {
    padding: 40px 0;
  }

  .clients-container {
    padding: 0 20px;
  }
}

/* Carousel wrapper */
.clients-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

/* Carousel container */
.clients-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
}

.clients-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Individual client item */
.clients-item {
  flex: 0 0 auto;
  min-width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
}

.clients-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Client logo */
.client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1) contrast(1);
  transition: filter 0.3s ease;
}

.clients-item:hover .client-logo {
  filter: brightness(1.2) contrast(1.1);
}

@media (max-width: 768px) {
  .clients-item {
    min-width: 150px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .clients-item {
    min-width: 120px;
    height: 80px;
    padding: 10px;
    gap: 20px;
  }

  .clients-carousel {
    gap: 20px;
  }
}
