/* ============================================
   TESTIMONIALS.CSS - Testimonials Section
   ============================================ */

/* Note: This file contains styles for a testimonials slider that is not currently used.
   The Customer Stories section uses Stories.css instead. 
   Keeping this file for potential future use. */

/* ===== Section Container ===== */
.testimonials-section {
  background-color: #000;
}

.testimonials-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials-slider {
  display: flex;
  gap: 1.5em;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  align-items: center;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.testimonial-card {
  flex: 0 0 880px;
  max-width: 880px;
  display: flex;
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  color: #111;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: none;
  align-items: stretch;
  position: relative;
}

.testimonial-media {
  flex: 0 0 45%;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 18px 0 0 18px;
}

.testimonial-body {
  flex: 1 1 55%;
  padding: 2.2em 2.4em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-quote {
  color: #111;
  font-size: 1.05em;
  line-height: 1.7;
  margin: 0 0 0.6em 0;
}

.testimonial-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: auto;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 6px solid #fff;
  transform: translateY(-24px);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 15% 85%, 0 100%);
}

.meta-text strong {
  display: block;
  color: #111;
  font-size: 1.15em;
}

.meta-role {
  color: #666;
  font-size: 0.95em;
  display: block;
  margin-top: 6px;
}

.rating {
  color: #ff8a00;
  font-size: 1.05em;
  margin-top: 8px;
}

/* ===== Slider Controls ===== */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #ffd9c0;
  color: #6b3b1a;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slider-prev {
  left: 48px;
}

.slider-next {
  right: 48px;
}

.slider-prev:hover,
.slider-next:hover {
  transform: translateY(-50%) scale(1.03);
}
