
/* ======= TESTIMONIALS SECTION STYLING ======= */
.testimonials-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, #0a0a2a 0%, #1a1a3a 50%, #0a0a2a 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonials-section .section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00f0ff, #00ff99, #ff00ff);
  -webkit-background-clip: text;
  
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.testimonials-section .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 4rem;
  color: #d0d0d0;
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 255, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 240, 255, 0.2);
  border-color: rgba(0, 240, 255, 0.3);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 4rem;
  color: #00f0ff;
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.7;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-author h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00f0ff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00f0ff, #00ff99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffcc00;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Floating animation for cards */
.testimonial-card:nth-child(1) {
  animation: floatCard 6s ease-in-out infinite;
}

.testimonial-card:nth-child(2) {
  animation: floatCard 6s ease-in-out infinite 2s;
}

.testimonial-card:nth-child(3) {
  animation: floatCard 6s ease-in-out infinite 4s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.testimonial-card:hover {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 20px;
  }
  
  .testimonials-section .section-title {
    font-size: 2.2rem;
  }
  
  .testimonials-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .quote-icon {
    font-size: 3rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials-section .section-title {
    font-size: 1.8rem;
  }
  
  .testimonials-section .section-subtitle {
    font-size: 0.9rem;
  }
  
  .testimonial-card {
    padding: 25px 20px;
  }
  
  .testimonial-author h4 {
    font-size: 1.1rem;
  }
  
  .star {
    font-size: 1rem;
  }
}

/* Background particles */
.testimonials-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.1) 2px, transparent 0),
    radial-gradient(circle at 90% 40%, rgba(255, 0, 255, 0.1) 2px, transparent 0),
    radial-gradient(circle at 40% 80%, rgba(0, 255, 153, 0.1) 2px, transparent 0);
  background-size: 300px 300px;
  animation: floatParticles 20s linear infinite;
  z-index: 1;
}

@keyframes floatParticles {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}