/* ==========================================================================
   TESTIMONIALS MODULE STYLES
   ========================================================================== */

.testimonials {
  position: relative;
  padding: 120px 24px;
  background-color: #0f172a;
  color: #f8fafc;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* BACKGROUND AMBIENT GLOW */
.testimonials-bg-glow {
  position: absolute;
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
}

.testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* HEADER */
.testimonials-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #6366f1;
  border-radius: 50%;
}

.testimonials-header h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials-sub {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.6;
}

/* GRID LAYOUT (3 COLUMNS ON DESKTOP) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  position: relative;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.12);
  background: rgba(30, 41, 59, 0.85);
}

/* STARS */
.card-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 18px;
}

/* REVIEW TEXT */
.testimonial-text {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
  flex-grow: 1;
}

/* AUTHOR FOOTER */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-size: 15px;
  color: #ffffff;
  font-weight: 700;
}

.author-info span {
  font-size: 13px;
  color: #94a3b8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 80px 20px;
  }

  .testimonials-header h2 {
    font-size: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}