/* Testimonials Styles for Index Page */

.testimonials-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #f1f2f3);
}

.testimonials-section .floating-shapes .shape {
  opacity: 1;
}

.testimonialSwiper {
  padding: 30px 10px 60px;
  overflow: visible;
  position: relative;
  margin: 0 auto; /* Ensure the slider is centered */
}

.testimonialSwiper .swiper-slide {
  height: auto;
  transition: transform 0.3s ease;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 13px;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 10px;
}

.testimonial-user {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  margin-right: 15px;
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-app {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
}

.testimonial-app::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--secondary-color);
  transform: translateY(-50%);
}

/* Testimonial Swiper Navigation */
.testimonialSwiper .swiper-pagination {
  bottom: 0;
}

.testimonialSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.testimonialSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary-color);
  transform: scale(1.3);
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.testimonialSwiper .swiper-button-next:after,
.testimonialSwiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.testimonialSwiper .swiper-button-next:hover,
.testimonialSwiper .swiper-button-prev:hover {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.testimonialSwiper .swiper-button-next {
  right: 10px;
}

.testimonialSwiper .swiper-button-prev {
  left: 10px;
}

/* Responsive Styles for Testimonials */
@media (max-width: 991.98px) {
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .testimonialSwiper .swiper-button-next:after,
  .testimonialSwiper .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .testimonialSwiper {
    padding: 30px 0 60px;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .testimonial-name {
    font-size: 1rem;
  }
  
  .testimonial-app {
    font-size: 0.85rem;
  }
  
  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .testimonialSwiper {
    max-width: 85%;
    margin: 0 auto;
  }
  
  .testimonial-card {
    padding: 15px;
    margin: 0 auto;
    width: 100%;
  }
  
  .testimonial-icon {
    font-size: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .avatar-placeholder {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .testimonial-name {
    font-size: 0.95rem;
  }
  
  .testimonial-app {
    font-size: 0.8rem;
    padding-left: 12px;
  }
  
  /* Ensure the slide is centered */
  .testimonialSwiper .swiper-slide {
    display: flex;
    justify-content: center;
  }
} 