/* === TESTIMONIALS SECTION STYLES === */

.testimonials {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 3rem;
}

/* Masonry-style grid layout */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(59, 130, 246, 0.06);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial:nth-child(1) { animation-delay: 0.1s; }
.testimonial:nth-child(2) { animation-delay: 0.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

/* Star rating */
.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.star {
  width: 18px;
  height: 18px;
  fill: #60a5fa;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: #3b82f6;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
  font-weight: 700;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.25);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

/* Platform badge styles removed - no longer used */

/* Featured testimonial (first one larger) */
.testimonial:first-child {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
}

.testimonial:first-child .testimonial-text {
  font-size: 1.125rem;
}

.testimonial:first-child .testimonial-avatar {
  width: 60px;
  height: 60px;
  font-size: 1.3rem;
}

/* Responsive design */
@media (max-width: 992px) {
  .testimonials {
    padding: 4rem 0;
  }

  .testimonials .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .testimonials-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .testimonial:first-child {
    grid-column: span 1;
    padding: 2rem;
  }

  .testimonial:first-child .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 3rem 0;
  }

  .testimonials .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial:first-child {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial:hover {
    transform: none;
  }
}