/* Importar el CSS de Splide.js */
@import url('https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/css/splide.min.css');

/* General */
.testimonials-carousel {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 20px 0;
}

/* Tarjetas de Testimonios */
.testimonial-card {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 300px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Imagen del autor y contenedor */
.testimonial-card .relative {
  position: relative;
  width: 33.333%;
  height: 100%; 
  overflow: hidden;
}

.testimonial-card .relative img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajustar la imagen dentro del contenedor */
}

.testimonial-card .relative img:last-child {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30%; /* Logo ocupa 1/5 del ancho de la imagen */
}

/* Contenido del Testimonio */
.testimonial-card .w-2/3 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.testimonial-card .flex {
  gap: 16px;
  align-items: center;
}

.testimonial-card .flex img {
  width: 48px;
  height: 48px;
  border-radius: 50%; /* Imagen circular */
  object-fit: cover;
}

.testimonial-card .flex div span {
  display: block;
}

.testimonial-card .flex div .font-semibold {
  font-size: 1rem;
  color: #1f2937; /* Gris oscuro */
}

.testimonial-card .flex div .text-sm {
  font-size: 0.875rem;
  color: #718096; /* Gris claro */
}

/* Splide.js Configuración */
.splide__arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.3s ease;
}

.splide__arrow:hover {
  transform: scale(1.1);
}

.splide__pagination {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.splide__pagination .splide__pagination__page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
  opacity: 0.7;
  margin: 0 5px;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.splide__pagination__page.is-active {
  background: #f2f2f2;
  opacity: 1;
  border: 2px solid #000;
}

/* Responsividad */

/* Tablets: Dos tarjetas por fila */
@media (max-width: 992px) {
  .splide__slide {
    width: calc(50% - 15px);
    margin-right: 15px;
  }

  .testimonial-card {
    height: 280px;
  }
}

/* Móviles: Apilar las tarjetas verticalmente */
@media (max-width: 768px) {
  .splide__slide {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .testimonial-card {
    height: auto;
    flex-direction: column; /* Cambiar a orientación vertical en móviles */
  }

  .testimonial-card .relative {
    width: 100%; /* Imagen ocupa todo el ancho */
    height: 200px; /* Altura fija para la imagen */
  }

  .testimonial-card .w-2/3 {
    width: 100%; /* Contenido ocupa todo el ancho */
    padding: 20px;
  }
}
.invert-logo {
  filter: invert(1);
}
