* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.carousel-container {
  width: 100%;
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
  padding: 20px 0;
}

.expositor-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-align: center;
  min-height: 400px;
}

.expositor-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #1a8014;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  text-align: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f0f0f0;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.expositor-card:hover .avatar {
  transform: scale(1.1);
  border-color: #667eea;
}

.expositor-info h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
}

.expositor-info .country {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 3px;
}

.expositor-info .specialty {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
  justify-content: center;
}

.star {
  color: #ffd700;
  font-size: 16px;
}

.description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: justify;
  padding: 0 10px;
}

.expositor-card:hover .description {
  opacity: 1;
  max-height: 150px;
  transform: translateY(0);
}

/* Contenedor para las flechas - AHORA FUERA DEL WRAPPER */
.carousel-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.nav-button {
  background: #1a8014;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #156b0f;
}

.nav-button:active {
  transform: scale(0.95);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(0.9);
  background: #ccc;
}

.nav-button:disabled:hover {
  transform: scale(0.9);
  background: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-container {
    padding: 20px 10px;
  }

  .carousel-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .expositor-card {
    flex: 0 0 270px;
  }

  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .expositor-card {
    flex: 0 0 220px;
  }

  .carousel-title {
    font-size: 1.8rem;
  }

  .nav-button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #667eea;
  transform: scale(1.2);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-container {
  animation: fadeInUp 0.8s ease;
}
