.testimonial-section {
  min-height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.review {
  position: relative;
  background-image: url("/assets/images/review-bg.webp");
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.43); 
    z-index: -1;
  }
}


/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} */

.heading {
  text-align: center;
  margin-bottom: 40px;
}

.title-text {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.color-white {
  color: white;
}

.color-black {
  color: #333;
}

.subtitle-text {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin: 0 15px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.profile-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youth-counselling .profile-icon {
  background: linear-gradient(135deg, #4a9eff, #67c3f3);
}

.marital-counselling .profile-icon,
.challsa .profile-icon {
  background: linear-gradient(135deg, #87ceeb, #b0e0e6);
}

.profile-icon i {
  font-size: 24px;
  color: white;
}

.stars {
  margin: 20px 0;
}

.stars i {
  color: #ffd700;
  font-size: 18px;
  margin: 0 2px;
}

.content {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 20px 0;
  flex-grow: 1;
}

.read-more {
  color: #4a9eff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #2c5282;
}

.read-more i {
  margin-left: 5px;
  font-size: 12px;
}

.review-meta {
  font-size: 14px;
  color: #999;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-arrow:hover {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-arrow.prev {
  left: 20px;
}

.nav-arrow.next {
  right: 20px;
}

.nav-arrow i {
  font-size: 18px;
  color: #333;
}

.slider-container {
  overflow: hidden;
  margin: 0 -15px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Desktop: Show 3 cards */
@media (min-width: 1201px) {
  .testimonial-card {
    width: calc(33.333% - 30px);
    min-width: calc(33.333% - 30px);
  }
}

/* Mobile: Show 1 card */
@media (max-width: 1200px) {
  .testimonial-container {
    padding: 0 80px;
  }

  .testimonial-card {
    width: calc(100% - 30px);
    min-width: calc(100% - 30px);
  }

  .nav-arrow.prev {
    left: 10px;
  }

  .nav-arrow.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .testimonial-container {
    padding: 0 60px;
  }

  .title-text {
    font-size: 2rem;
  }

  .testimonial-card {
    height: auto;
    min-height: 400px;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .testimonial-container {
    padding: 0 50px;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }

  .nav-arrow i {
    font-size: 14px;
  }
}
