/* testimonials.css - Styles for references/testimonials section */

.references-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: var(--bg-dark-alt);
  padding: var(--space-6xl) 0;
  overflow: hidden;
  position: relative;
}

.references-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-7xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6xl);
}

.references-heading h2 {
  color: var(--text-dark-gray);
  font-size: var(--fs-5xl);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: 1;
  text-align: center;
  margin: 0;
  padding: 0;
}

.references-slider {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-controls {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-normal);
}

.slider-arrow:hover {
  transform: scale(1.1);
}

.testimonial-slides {
  flex: 1;
  position: relative;
}

.testimonial-slide {
  display: none;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
}

.testimonial-slide.active {
  display: flex;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 416px;
}

.quote-mark {
  width: 64px;
  height: 59px;
}

.testimonial-text {
  color: var(--text-light-gray);
  font-size: var(--fs-xl);
  font-family: var(--font-primary);
  font-weight: var(--fw-normal);
  line-height: 1.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-icon {
  width: 60px;
  height: 60px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: var(--primary-purple);
  font-size: var(--fs-lg);
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

.author-company {
  color: var(--primary-purple);
  font-size: var(--fs-lg);
  font-family: var(--font-primary);
  font-weight: var(--fw-normal);
  line-height: 1.2;
}

.testimonial-image {
  width: 350px;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  background: white;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1200px) {
  .references-container {
    padding: 0 var(--space-6xl);
  }

  .testimonial-content {
    max-width: 350px;
  }

  .testimonial-text {
    font-size: var(--fs-lg);
    line-height: 1.3;
  }

  .testimonial-image {
    width: 300px;
    height: 350px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .references-section {
    padding: var(--space-3xl) 0;
  }

  .references-container {
    padding: 0 var(--space-lg);
    gap: var(--space-3xl);
  }

  .references-heading h2 {
    font-size: 25.6px;
    line-height: 1;
  }

  .references-slider {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-controls {
    display: none; /* Hide arrows on mobile */
  }

  .testimonial-slide {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .testimonial-content {
    width: 100%;
    max-width: 100%;
    gap: var(--space-lg);
  }

  .quote-mark {
    width: 41.38px;
    height: 38.14px;
  }

  .testimonial-text {
    font-size: var(--fs-xs);
    line-height: 1.2;
  }

  .testimonial-author {
    margin-top: 0;
    gap: var(--space-lg);
  }

  .author-icon {
    width: 38.79px;
    height: 38.79px;
  }

  .author-name, 
  .author-company {
    font-size: var(--fs-xs);
    line-height: 1.2;
  }

  .testimonial-image {
    display: none; /* Hide image on mobile */
  }
}
