/* ============================================================
   MARQUEE SECTION
============================================================ */
.marquee-section {
  background: #ffffff;
  padding: 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;     /* hides logos outside the visible area */
}

.marquee-label {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
}

/* The outer wrapper clips the scrolling content */
.marquee-track-wrap {
  overflow: hidden;
  position: relative;
}

/* Fade edges so logos dissolve in/out smoothly */
.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* The scrolling track — contains all logos in a row */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;   /* as wide as all logos combined */
  animation: marqueeScroll 22s linear infinite;
}

/* Pause on hover — nice UX touch */
.marquee-track:hover {
  animation-play-state: paused;
}

/* Each logo item */
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.marquee-item img {
  height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.marquee-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* The scroll animation — moves left by exactly half
   the track width, then instantly resets. Because we
   duplicated the logos, the reset is invisible */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}