﻿/* Testimonials Section Styles */
.testimonials-section-holder {
  position: relative;
  padding: 4rem 1rem;
  border-radius: 20px;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 0.5rem;
  padding-top: 1rem;
}

.testimonials-header h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-white-90);
  margin: 1rem;
  line-height: 1.2;
}

/* Tablet view */
@media (min-width: 768px) {
  .testimonials-header h2 {
    font-size: 2rem;
  }
}

.testimonials-subheader {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.testimonials-subheader h3 {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--clr-white-80);
  line-height: 1.6;
  margin: 0 1rem;
}

.testimonial-content-wrapper {
  position: relative;
  min-height: 200px; /* Ensure enough space for content */
}

.testimonial-content {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial-content.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: all;
}

/* Testimonial Category */
.testimonial-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.company-logo {
  filter: invert(1);
  opacity: 0.4;
  height: 28px;
  display: flex;
  align-items: center;
}

.company-logo img {
  height: 16px;
  object-fit: contain;
}

.category-label {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-quote {
  position: relative;
  text-align: left;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
}

.testimonial-quote p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-white-90);
  font-weight: 300;
  margin: 0;
  padding: 0;
}

/* Remove all bold/strong styling to keep it minimal */
.testimonial-quote strong {
  font-weight: 300 !important;
  color: inherit !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author-image {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--clr-white);
  margin: 0;
  margin-bottom: 0.2rem;
}

.testimonial-author-info p {
  font-size: 0.75rem;
  color: var(--clr-white-60);
  margin: 0;
  font-weight: 300;
  line-height: 1.4;
}

/* Testimonial Wall Styles */
.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(20, 20, 25, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(25, 25, 30, 0.4);
}

@media (min-width: 768px) {
  .testimonial-card {
      padding: 1.8rem;
  }
}

@media (min-width: 991px) {
  .testimonial-content-wrapper {
      min-height: 220px;
  }
}

@media (min-width: 768px) {
  .testimonial-wall {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 991px) {
  .testimonial-wall {
      grid-template-columns: repeat(3, 1fr);
  }
  
  /* Make certain testimonials span multiple columns for visual interest */
  .testimonial-wall .testimonial-card:nth-child(1) {
      grid-column: span 1;
  }
  
  .testimonial-wall .testimonial-card:nth-child(4) {
      grid-column: span 2;
  }
}

/* Animation for testimonial cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  animation: fadeInUp 0.5s ease-out forwards;
  animation-delay: calc(var(--card-index, 0) * 0.1s);
}

/* Remove fancy quote styling */
.testimonial-quote p::before,
.testimonial-quote p::after {
  display: none;
}

/* Remove all the color classes for quotes since we want minimal styling */
.testimonial-quote.color-1,
.testimonial-quote.color-2,
.testimonial-quote.color-3,
.testimonial-quote.color-4,
.testimonial-quote.color-5 {
  /* No special styling */
}

/* Stats in testimonials - if needed */
.testimonial-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.stat-highlight {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--clr-white-90);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--clr-white-80);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .testimonial-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .category-label {
    align-self: flex-start;
  }
  
  .testimonial-quote {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Remove card variation heights for more minimal look */
@media (min-width: 991px) {
  .testimonial-card:nth-child(2),
  .testimonial-card:nth-child(5),
  .testimonial-card:nth-child(3) {
    transform: none;
  }
} 