/* ===============================
   SECTION (cinematic reveal)
   =============================== */
.saitech-marquee-section {
      padding: 7rem 0;
    background: radial-gradient(circle at top, #121212, #000);
    color: #fff;
}

/* ===============================
   TITLE
   =============================== */
.saitech-marquee-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 3.5rem;
  letter-spacing: 0.4px;
}

/* ===============================
   WRAPPER
   =============================== */
.saitech-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Edge fades */
.saitech-marquee-wrapper::before,
.saitech-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 180px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.saitech-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #000 35%, transparent);
}

.saitech-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #000 35%, transparent);
}

/* ===============================
   LIGHT SWEEP
   =============================== */
.saitech-marquee-light {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255,255,255,0.08),
    transparent 80%
  );
  animation: saitechLightSweep 12s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

/* ===============================
   TRACK
   =============================== */
.saitech-marquee-track {
  display: flex;
  width: max-content;
  animation: saitechMarqueeScroll 42s linear infinite;
}

.saitech-marquee-wrapper:hover .saitech-marquee-track {
  animation-play-state: paused;
}

/* ===============================
   CARD
   =============================== */
.saitech-marquee-card {
  flex: 0 0 auto;
  width: 210px;
  height: 120px;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saitech-marquee-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.75);
  opacity: 0.85;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.saitech-marquee-card:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.08);
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes saitechMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes saitechLightSweep {
  0%   { left: -40%; opacity: 0; }
  10%  { opacity: 1; }
  50%  { left: 100%; opacity: 1; }
  60%  { opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  .saitech-marquee-card {
    width: 160px;
    height: 100px;
  }

  .saitech-marquee-light {
    width: 60%;
  }
}
