/* Trusted Clients CSS - Prefix: .trusted- */

.trusted-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.trusted-container {
  max-width: 1280px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.trusted-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 32px;
}

.trusted-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}

/* Semi-transparent gradients on edges for premium fading look */
.trusted-slider-wrapper::before,
.trusted-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trusted-slider-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.trusted-slider-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.trusted-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 80px;
  animation: trustedTicker 25s linear infinite;
}

.trusted-track-paused {
  animation-play-state: paused;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: all 0.3s ease;
}

/* Grayscale to color transition on hover */
.trusted-logo-svg {
  height: 32px;
  max-width: 160px;
  fill: #64748B;
  opacity: 0.65;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trusted-logo-item:hover .trusted-logo-svg {
  fill: #A31D24; /* Corporate accent color */
  opacity: 1;
  transform: scale(1.05);
}

/* Animation keyframe */
@keyframes trustedTicker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767.98px) {
  .trusted-section {
    padding: 40px 0;
  }
  .trusted-track {
    gap: 48px;
  }
  .trusted-slider-wrapper::before,
  .trusted-slider-wrapper::after {
    width: 60px;
  }
}
