/* ===== TESTIMONIALS PAGE STYLES ===== */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Testimonials Container */
.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Trust Section */
.trust-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.trust-item {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.trust-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.trust-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.trust-label {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* Testimonial Slider */
.slider-section {
  margin-bottom: 5rem;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 60px;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.testimonial-slide {
  display: none;
  background: white;
  padding: 4rem 3rem;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: fadeIn 0.5s ease-out;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-icon {
  font-size: 6rem;
  color: #e5e7eb;
  line-height: 1;
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f3f4f6;
}

.author-info h4 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.author-info p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  gap: 0.2rem;
}

.star {
  color: #fbbf24;
  font-size: 1.2rem;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #e5e7eb;
  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;
}

.slider-btn:hover {
  background: #667eea;
  border-color: #667eea;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn:hover svg {
  stroke: white;
}

.slider-btn svg {
  stroke: #667eea;
  stroke-width: 3;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: #9ca3af;
}

.dot.active {
  background: #667eea;
  width: 35px;
  border-radius: 6px;
}

/* Testimonials Grid */
.grid-section {
  margin-bottom: 5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.card-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.card-author {
  flex: 1;
  min-width: 150px;
}

.card-author h4 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 0.2rem;
}

.card-author p {
  color: #6b7280;
  font-size: 0.9rem;
}

.card-rating {
  display: flex;
  gap: 0.2rem;
}

.card-rating .star {
  color: #fbbf24;
  font-size: 1rem;
}

.card-text {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-date {
  color: #9ca3af;
  font-size: 0.85rem;
  font-style: italic;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}

.cta-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: #667eea;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive - Tablet */
@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .trust-section {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-text {
    font-size: 1.3rem;
  }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  .testimonials-container {
    padding: 5rem 2rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .slider-wrapper {
    padding: 4rem 4rem;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .testimonial-slider {
    padding: 0 10px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .testimonial-slide {
    padding: 3rem 2rem;
  }

  .quote-icon {
    font-size: 4rem;
    top: 1rem;
    left: 1rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
}