/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header .section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.testimonials-header .section-subtitle {
  font-size: 1.1rem;
  color: #666;
}

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

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #F7B538;
}

.testimonial-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border: 3px solid #F7B538;
}

.testimonial-content {
  flex: 1;
}

.testimonial-rating {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FFD700;
}

.testimonial-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.testimonial-client {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-client strong {
  color: #333;
  font-size: 1.1rem;
}

.testimonial-property-type {
  color: #888;
  font-size: 0.9rem;
}

.testimonial-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  grid-column: 1 / -1;
}

.testimonial-spinner .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #F7B538;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

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