.tech-carousel {
  background: #070707;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  margin: 80px 0;
}

.carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
  padding: 20px 0;
}

.tech-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #999999;
  text-align: center;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.tech-carousel:hover .tech-title {
  filter: grayscale(0%) brightness(1.2);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 255, 255, 0.8) !important;
  box-shadow: 0 2px 15px rgba(0, 255, 255, 0.8) !important;
}

.tech-carousel:hover .tech-tagline {
  color: #9BDBDD;
  filter: grayscale(0%) brightness(1.2);
  text-shadow: 0 2px 10px rgba(0, 255, 255, 0.6) !important;
}

.tech-item {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
}

.tech-item:hover {
  filter: grayscale(0%) brightness(1.2);
  transform: scale(1.1);
  z-index: 2;
}

.tech-item:hover .icon-tooltip {
  visibility: visible;
  opacity: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.tech-item:not(hover) .icon-tooltip {
  visibility: hidden;
  opacity: 0;
}

.tech-item img {
  max-height: 60px;
  max-width: 100%;
  transition: filter 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tech-tagline {
  text-align: center;
  color: #999999;
  font-size: 0.9rem;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
}

/* PAUSA EN HOVER (mejora UX) */
.carousel-track:hover {
  animation-play-state: paused;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel-track {
    gap: 20px;
    animation-duration: 28s;
    /* Más lento en móviles */
  }

  .tech-item {
    flex: 0 0 150px;
  }
}
