.testimonial-section {
  background: url('/assets/image/ewaste.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 3rem 1rem;
}

/* overlay para oscurecer la imagen */
.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0; /* cubre todo */
  background-color: rgba(0, 0, 0, 0.6) !important;
  z-index: 0;
}

.testimonial-section .containerx {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Lexend Deca', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-card {
  border: 2px solid #001f3f;
  border-radius: 12px;
  background-color: #001f3f;
  color: #fff;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px; /* alto fijo para todas las cards */
}

.testimonial-card .quote-wrapper {
  text-align: left;
}

.testimonial-card .quote-icon {
  width: 28px;
  height: 28px;
  color: #04fb06;
  margin-bottom: 0.5rem;
}

.testimonial-card .testimonial-text {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.5rem 0;
  text-align: justify !important;
  height: 12rem; /* altura fija aprox. para 8 líneas */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}

.testimonial-card .author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #04fb06;
  object-fit: cover;
  margin-right: 0.8rem;
}

.testimonial-card .author-metadata {
  text-align: left;
}

.testimonial-card .author-metadata .author-name {
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.testimonial-card .author-metadata .author-title {
  font-size: 12px;
  color: #04fb06;
}

/* Indicadores más separados y cuadrados */
.carousel-indicators {
  margin-top: 2rem;
  margin-bottom: 0rem;
}

.carousel-indicators button {
  background-color: #ffd700 !important; /* amarillo fuerte */
  width: 15px !important;   /* cuadrado */
  height: 15px !important;  /* cuadrado */
  border-radius: 0; /* sin borde redondeado → cuadrado */
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #04fb06 !important; /* verde brillante para el activo */
}

/* Controles prev/next en amarillo fuerte */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  width: 2rem;
  height: 2rem;
  margin-bottom: 12px;
}

.card-footer {
  padding-top: 20px !important;
  border-top: 1px solid #ffd700; /* color amarillo fuerte */
}

.card-body {
  padding: 12px !important;
  color: var(--bs-card-color);
}
