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

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

/* Perfect Section Finishing Top & Bottom Dividers */
.web-techiq-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;
}

.web-techiq-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(--wt-heading-font-family, 'Outfit', sans-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--wt-heading-color, #0d1b2a);
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.clients-title .title-highlight {
  color: var(--wt-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(--wt-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: wtclientsmarquee var(--clients-slide-speed, 25s) linear infinite;
  will-change: transform;
}

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

@keyframes wtclientsmarquee {
  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: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 16px 36px;
  min-height: 74px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 32px rgba(255, 107, 0, 0.12);
}

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

/* ── Client Logo Color Modes — Default: Original Full Color ── */
.client-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease, opacity 0.35s ease;
}

.client-logo-card:hover .client-logo-img {
  transform: scale(1.05);
}

/* Optional Grayscale mode if selected in Customizer */
.web-techiq-clients-section.logo-color-mode-grayscale .client-logo-img {
  filter: grayscale(100%) opacity(0.7);
}

.web-techiq-clients-section.logo-color-mode-grayscale .client-logo-card:hover .client-logo-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* 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(--wt-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;
  }
}




