/**
 * Testimonials Section Styles
 * Modern, clean, and trustworthy design to showcase client feedback.
 */

.testimonials {
  padding: var(--space-3xl) 0;
  background-color: transparent;
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.testimonials__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  color: var(--light-shades);
  margin-bottom: var(--space-2xl);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--main-brand);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--dark-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 120px;
  font-weight: 900;
  color: var(--dark-shades);
  opacity: 0.5;
  z-index: 1;
  line-height: 1;
}

.testimonial-card__image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-card__quote {
  font-size: var(--font-size-base);
  color: var(--light-accent);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex-grow: 1; /* Pushes author to the bottom */
  position: relative;
  z-index: 2;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto; /* Aligns this block to the bottom */
  width: 100%;
  position: relative;
  z-index: 2;
}

.testimonial-card__name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--light-shades);
}
