/*--------------------------------------------------------------
# Clients Section - Infinite Logo Slider
--------------------------------------------------------------*/
.clients {
  padding: 60px 0;
  overflow: hidden;
}

.clients .section-title h2 {
  color: #1d2733;
  font-weight: 700;
  margin-bottom: 10px;
}

.clients .section-title p {
  color: #2e2e2e;
  font-size: 16px;
}

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

.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, transparent);
}

.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, transparent);
}

.clients-track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  width: fit-content;
}

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

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 100px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(255, 183, 45, 0.3);
  border: 2px solid rgba(255, 183, 45, 0.5);
}

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

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*--------------------------------------------------------------
# Catalog Section
--------------------------------------------------------------*/
.catalog {
  padding: 60px 0;
}

.catalog .section-title h2 {
  color: #1d2733;
  font-weight: 700;
  margin-bottom: 10px;
}

.catalog .section-title p {
  color: #2e2e2e;
  font-size: 16px;
}

.catalog-viewer {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(29, 39, 51, 0.1);
  overflow: hidden;
  border: 2px solid rgba(255, 183, 45, 0.2);
}

.catalog-controls {
  background: linear-gradient(135deg, #1d2733 0%, #2e2e2e 100%);
  padding: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.catalog-controls .btn-download,
.catalog-controls .btn-fullscreen {
  background: #ffb72d;
  color: #1d2733;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 2px solid #ffb72d;
}

.catalog-controls .btn-download:hover,
.catalog-controls .btn-fullscreen:hover {
  background: transparent;
  color: #ffb72d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 183, 45, 0.4);
}

.pdf-container {
  position: relative;
  width: 100%;
  background: #f5f5f5;
}

.pdf-container iframe {
  border: none;
  display: block;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-container p {
  padding: 40px;
  text-align: center;
  color: #2e2e2e;
}

.pdf-container p a {
  color: #ffb72d;
  font-weight: 600;
  text-decoration: none;
}

.pdf-container p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .clients-track {
    gap: 40px;
    animation: scroll 30s linear infinite;
  }

  .client-logo {
    min-width: 140px;
    height: 80px;
    padding: 15px;
  }

  .client-logo img {
    max-width: 110px;
    max-height: 50px;
  }

  .clients-slider::before,
  .clients-slider::after {
    width: 50px;
  }

  .catalog {
    padding: 40px 0;
  }

  .pdf-container iframe {
    height: 500px;
  }

  .catalog-controls {
    padding: 15px;
  }

  .catalog-controls .btn-download,
  .catalog-controls .btn-fullscreen {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .clients {
    padding: 40px 0;
  }

  .clients-track {
    gap: 30px;
    animation: scroll 25s linear infinite;
  }

  .client-logo {
    min-width: 120px;
    height: 70px;
    padding: 10px;
  }

  .client-logo img {
    max-width: 100px;
    max-height: 45px;
  }
}

/* Alternative: Faster scroll for more logos */
@media (min-width: 1400px) {
  .clients-track {
    gap: 80px;
    animation: scroll 50s linear infinite;
  }

  .client-logo {
    min-width: 200px;
    height: 110px;
  }

  .client-logo img {
    max-width: 160px;
    max-height: 70px;
  }
}