/**
 * Our Valuable Clients / Trusted Partners Stylesheet - Neto ISP Theme
 * Developed by MH Badhon Ahmed (Web Techiq)
 */

.neto-clients-section {
  position: relative;
  width: 100%;
  padding: 65px 0;
  background: transparent;
  overflow: hidden;
}

/* Perfect Section Finishing Top & Bottom Dividers */
.neto-clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(226, 232, 240, 0.85) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.neto-clients-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 107, 0, 0.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* Header */
.clients-header {
  text-align: center;
  margin-bottom: 45px;
}

.clients-pill-badge {
  display: inline-block;
  background: #fff8e6;
  color: #475569;
  border: 1px solid #ffe699;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 20px;
  margin-bottom: 16px;
}

.clients-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--neto-heading-color, #0d1b2a);
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.clients-title .title-highlight {
  color: var(--neto-primary-color, #ff6b00);
  background: linear-gradient(135deg, #ff6b00 0%, #ff9f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clients-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--neto-body-color, #64748b);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Smooth Infinite Marquee Track ────────────────────────────────────────── */
.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  padding: 15px 0;
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: netoclientsmarquee var(--clients-slide-speed, 25s) linear infinite;
  will-change: transform;
}

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

@keyframes netoclientsmarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Client Logo Card */
.client-logo-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px 32px;
  min-height: 70px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.client-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

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

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

/* Fallback Text Badge */
.client-text-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 700;
  font-size: 14.5px;
}

.client-badge-icon {
  color: var(--neto-primary-color, #ff6b00);
}

/* Responsive Queries */
@media (max-width: 767px) {
  .clients-title {
    font-size: 26px;
  }
  .clients-subtitle {
    font-size: 14px;
  }
  .client-logo-card {
    padding: 12px 22px;
    min-height: 58px;
  }
}
