/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 64px 10px;
  background: #F8F8F8;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Section Heading */
.section-heading {
  font-size: 2rem;
  color: #1C085D;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  font-family: 'Georgia', serif;
  position: relative;
}

.section-heading i {
  font-size: 2rem;
  color: #EB001B;
  margin-right: 8px;
  position: relative;
  top: -2px;
}

.section-heading::after {
  content: '';
  width: 36px;
  height: 2px;
  background: #EB001B;
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 28px;
  font-family: 'Georgia', serif;
  font-style: italic;
  letter-spacing: 0.2px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Reviews Grid - Horizontal Scrolling */
.reviews-grid {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #EB001B #f0f0f0;
}

/* Custom Scrollbar for Webkit browsers */
.reviews-grid::-webkit-scrollbar {
  height: 8px;
}

.reviews-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb {
  background: #EB001B;
  border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb:hover {
  background: #C00016;
}

/* Review Card */
.review-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(28, 8, 93, 0.08);
  border: 1px solid #ececec;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
  overflow: hidden;
  position: relative;
  text-align: left;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(24px);
  flex: 0 0 calc(25% - 18px);
  min-width: 280px;
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(28, 8, 93, 0.13);
  border: 1px solid #EB001B;
  transform: translateY(-2px) scale(1.01);
}

/* Review Header */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-header h3 {
  font-size: 1.1rem;
  color: #1C085D;
  font-weight: 600;
  font-family: 'Georgia', serif;
  letter-spacing: 0.4px;
}

.review-header .rating {
  font-size: 1rem;
  color: #EB001B;
  letter-spacing: 1px;
}

/* Review Text */
.review-card p {
  font-size: 1rem;
  color: #777777;
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  font-style: italic;
  margin: 0;
}

/* Fade-in Animation */
.fade-in {
  animation: fadeInUp 0.7s cubic-bezier(.23, 1.01, .32, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 1.3rem;
    display: block;
    text-align: center;
  }

  .section-heading i {
    font-size: 1.3rem;
    margin-right: 0;
    margin-bottom: 8px;
    display: block;
  }

  .section-heading::after {
    width: 24px;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .review-card {
    padding: 18px 16px;
    flex: 0 0 calc(80% - 12px);
    min-width: 240px;
  }

  .review-header h3 {
    font-size: 1rem;
  }

  .review-header .rating {
    font-size: 0.95rem;
  }
}