@charset "utf-8";
/* CSS Document */
body {
	overflow-x: hidden;
	background-image: url(../img/bg-body.png)
}
.testimonials-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: sans-serif;
  position: relative;
}

.testimonials-container {
  max-width: 1100px; /* Ampliado para dar espacio a las dos columnas */
  margin: 0 auto;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

/* Estructura del Carrusel */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px; /* Separación entre las dos tarjetas */
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.testimonial-card {
  /* Calcula el 50% del ancho del contenedor restando la mitad del gap */
  min-width: calc(50% - 10px); 
  box-sizing: border-box;
  background: #ffffff;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Adaptación para celulares (Muestra solo 1 tarjeta) */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}

/* Botones de navegación */
.carousel-btn {
  background: #ffffff;
  border: 1px solid #ddd;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

@media (max-width: 600px) {
  .prev-btn { left: -10px; }
  .next-btn { right: -10px; }
  .testimonial-card { padding: 20px; }
}

/* Detalles del Testimonio */
.testimonial-stars { color: #ffc107; font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-text { color: #555; font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; font-style: italic; }
.testimonial-profile { border-top: 1px solid #eee; padding-top: 15px; display: flex; align-items: center; gap: 15px; }
.author-img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: bold; color: #222; margin: 0 0 3px 0; }
.author-role { font-size: 0.85rem; color: #777; margin: 0; }

/* Puntos de navegación */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.carousel-indicator {
  border: 0;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active { background: #333; }
