/* ==== OUR APPROACH MARQUEE SECTION ==== */

.school-marquee {
  background: white;
  height: auto;
  min-height: auto;
  max-height: none;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px 20px;
  contain: layout style paint;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  animation: marquee-scroll 45s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  white-space: nowrap;
}

.marquee-item img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.marquee-text {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 55px;
  line-height: 55px;
  letter-spacing: 1px;
  color: var(--ica-green-deep);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover for better UX */
.school-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  
  .school-marquee {
    overflow-x: auto;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .school-marquee {
    padding: 25px 20px;
  }
  
  .marquee-item {
    gap: 0.75rem;
    padding: 0 1.5rem;
  }
  
  .marquee-item img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .school-marquee {
    padding: 20px 20px;
  }
  
  .marquee-item {
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .marquee-item img {
    width: 35px;
    height: 35px;
  }
  
  .marquee-text {
    font-size: 1.1rem;
  }
}


