/* ==========================================================================
   LearnSphere - Section Testimonials Styles
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-testimonials {
  padding: 95px 0;
  background-color: var(--white);
  position: relative;
}

.testimonials-swiper {
  padding: 10px 4px 60px;
}

.swiper-slide {
  height: auto;
  display: flex;
}

/* Testimonial Card */
.testimonial-card {
  width: 100%;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
}

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}

.quote-icon {
  font-size: 1.6rem;
  color: rgba(79, 70, 229, 0.2);
}

.testi-quote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 26px;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-light);
  flex-shrink: 0;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  margin-top: 4px;
}

/* Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}

.testi-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.testi-nav-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.testimonials-pagination {
  position: static !important;
  width: auto !important;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--border);
  opacity: 1;
  transition: var(--transition);
  margin: 0 4px;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 6px;
  background: var(--brand) !important;
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 24px 20px;
  }
}


.testimonials-prev,
.testimonials-next {
  display: flex;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
