
.card {
  flex: 0 0 auto;

  /* Responsive size */
  width: clamp(140px, 18vw, 250px);
  aspect-ratio: 1 / 1;   /* Keeps perfect square */

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
  border-radius: 10px;
  /* border: 1px solid #333; */
}

.card-body {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.scrolling-wrapper-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.scrolling-wrapper {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll 40s linear infinite;
  will-change: transform;
}

.card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(80%) brightness(0.85); */
  transition: all 0.3s ease;
}

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

/* Pause on hover */
.scrolling-wrapper-container:hover .scrolling-wrapper {
  animation-play-state: paused;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .scrolling-wrapper {
    animation: none;
    overflow-x: auto;
  }

  .scrolling-wrapper-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.headin-1 {
  font-size: clamp(9px, 2vw, 30px);
  font-weight: 400;
}