/* ==========================================================
   Testimonial Carousel
   ========================================================== */

.faqs-tiles {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}

.tile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: #f3f0ff;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: grayscale(1) opacity(0.5);
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

.tile-avatar svg {
  display: block;
  width: 46px;
  height: 46px;
}

.tile-avatar.active {
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  border-color: #6a4fe8;
  filter: none;
  box-shadow: 0 4px 14px rgba(106, 79, 232, 0.3);
}

.tile-avatar.active svg {
  width: 58px;
  height: 58px;
}

.tile-avatar:nth-child(odd) {
  transform: rotate(-10deg);
}

.tile-avatar:nth-child(even) {
  transform: rotate(10deg);
}

.tile-avatar:hover:not(.active) {
  filter: grayscale(0.5) opacity(0.7);
}

.testimonial-carousel {
  position: relative;
  min-height: 120px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
