.testimonial-page-section {
  padding: 4rem 1rem;
  height: 44rem;
  background-color: #f0e054;
}

.testimonial-page-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-header {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.testimonial-header h2 {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-header p {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  opacity: 0.9;
  max-width: 40rem;
  margin: 0 auto;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
}

.testimonial-container {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 20rem;
  max-width: 22rem;
}

.testimonial-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

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

.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.9rem;
  color: #666;
}

.rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #ffc107;
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .testimonial-page-section {
    height: 70rem;
  }
}

@media (max-width: 768px) {
  .testimonial-page-section {
    padding: 2rem 1rem;
    height: auto;
  }

  .testimonial-header h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    gap: 1rem;
  }

  .testimonial-container {
    min-width: 18rem;
    max-width: 100%;
    padding: 1rem;
  }

  .testimonial-quote {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-page-section {
    padding: 1rem 0.5rem;
  }

  .testimonial-header h2 {
    font-size: 1.75rem;
  }

  .testimonial-container {
    min-width: 16rem;
    max-width: 18rem;
    padding: 1rem;
  }

  .overall-rating {
    flex-direction: column;
    gap: 0.25rem;
  }

  .overall-rating-label {
    font-size: 0.9rem;
  }

  .rating-label {
    font-size: 0.75rem;
  }

  .comments-text {
    font-size: 0.75rem;
  }
}
