/* CSS Document */
.chi-siamo-carousel {
  overflow: hidden;
  margin-top: 2rem;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scrollCarousel 30s linear infinite;
}

.img-card {
  flex: 0 0 30%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.img-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.img-card:hover img {
  transform: scale(1.05);
}

.img-card:hover {
  transform: translateY(-5px);
}


@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsivo */
@media (max-width: 900px) {
  .img-card { flex: 0 0 45%; }
}

@media (max-width: 600px) {
  .img-card { flex: 0 0 80%; }
}
