/* ===========  
   Testimonios 
   =========== */

.titulo-testimonios {
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.testimonial-slider {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.testimonial-item {
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1000px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-item.active {
  display: block;
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.testimonial-item.active,
.testimonial-name,
.testimonial-university {
  animation: fadeInUp 0.6s ease both;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: #fff;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
}

.testimonial-name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 1000;
  color: #FE8F01;
  font-size: 15px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.testimonial-university {
  color: #ddd;
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
}

.testimonial-arrow {
  position: absolute;
  top: 100px;
  background: #f1f1f1;
  color: #3D3D3F;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-arrow.left {
  left: 25px;
}

.testimonial-arrow.right {
  right: 25px;
}

.testimonial-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active {
  background-color: #1D2D8C;
}

.btn-ver-testimonios {
  background-color: #1D2D8C;
  color: white;
  padding: 0.6rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none !important;/* 👈 Esto quita el subrayado */
  transition: background-color 0.3s ease;
}

.btn-ver-testimonios:hover {
  background-color: #FE8F01;
  color: white;
}

/* ================= 
   Testimonios MOVIL 
   ================= */
@media (min-width: 768px) {
  .testimonial-item {
    max-width: 1100px;
    padding: 0 50px;
  }
}

@media (min-width: 1200px) {
  .testimonial-item {
    max-width: 1200px;
    padding: 0 80px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .testimonial-arrow.left {
    left: -10px !important;  /* O más si lo quieres más lejos */
  }

  .testimonial-arrow.right {
    right: -10px !important; /* Puedes aumentar a -15px si necesitas más espacio */
  }

  /* Opcional: reduce un poco el tamaño si se ven muy grandes en móvil */
  .testimonial-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

