/* ── Partner & Collaborator Section ── */
.nst-partner-section {
  background: #F7F9FC;
  padding: 36px 40px;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.nst-partner-section.nst-partner-visible {
  opacity: 1;
  transform: translateY(0);
}
.nst-partner-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Left label */
.nst-partner-label {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #2B2B35;
  letter-spacing: 1.2px;
  line-height: 1.6;
  white-space: nowrap;
  padding-right: 36px;
  min-width: 160px;
}

/* Vertical divider */
.nst-partner-divider {
  width: 1px;
  height: 48px;
  background: #D1D9E0;
  flex-shrink: 0;
  margin-right: 44px;
}

/* ── Scrolling track wrapper ── */
.nst-partner-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* The moving strip — holds 2× the logos for seamless loop */
.nst-partner-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: nst-scroll 25s linear infinite;
}

/* Pause on hover */
.nst-partner-track-wrap:hover .nst-partner-track {
  animation-play-state: paused;
}

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

/* Each logo item */
.nst-partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nst-partner-logo img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.nst-partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.nst-logo-caption {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #6B7A8D;
  line-height: 1.4;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .nst-partner-track {
    animation: none;
  }
  .nst-partner-track-wrap {
    overflow-x: auto;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nst-partner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .nst-partner-divider {
    width: 48px;
    height: 1px;
    margin-right: 0;
  }
  .nst-partner-track-wrap {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .nst-partner-section {
    padding: 28px 20px;
  }
  .nst-partner-logo img {
    height: 22px;
  }
  .nst-partner-track {
    gap: 36px;
  }
}