/* Carrusel de tecnologías */
.tech-carousel-section {
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.tech-carousel-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.carousel-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: white;
}

.carousel-title .gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

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

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  padding: 20px;
  position: relative;
}

.carousel-item:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.carousel-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item-inner svg {
  width: 90%;
  height: 90%;
  filter: brightness(0.95) drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
  transition: all 0.3s ease;
}

.carousel-item:hover .carousel-item-inner svg {
  filter: brightness(1.15) drop-shadow(0 4px 12px rgba(59, 130, 246, 0.4));
}

.carousel-item-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.carousel-item:hover .carousel-item-label {
  opacity: 1;
  color: rgba(59, 130, 246, 0.9);
  bottom: -30px;
}

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

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .tech-carousel-section {
    padding: 60px 0;
  }

  .carousel-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .carousel-item {
    width: 120px;
    height: 120px;
  }

  .carousel-track {
    gap: 20px;
    animation: scroll 35s linear infinite;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .tech-carousel-section {
    padding: 50px 0;
  }

  .carousel-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .carousel-item {
    width: 100px;
    height: 100px;
  }

  .carousel-track {
    gap: 16px;
    animation: scroll 30s linear infinite;
  }

  .carousel-item-label {
    font-size: 11px;
    bottom: -28px;
  }

  .carousel-item:hover .carousel-item-label {
    bottom: -24px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .tech-carousel-section {
    padding: 40px 0;
  }

  .carousel-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .carousel-item {
    width: 85px;
    height: 85px;
  }

  .carousel-track {
    gap: 12px;
    animation: scroll 25s linear infinite;
  }

  .carousel-item-label {
    font-size: 10px;
    bottom: -24px;
  }

  .carousel-item:hover {
    transform: translateY(-8px);
  }
}
