/* ========================================
   TESTIMONIALS & COUNTERS SECTION
   Customer Reviews & Statistics
   ======================================== */

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0fffe 0%, #fff5f3 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 5px solid transparent;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: rgba(0, 212, 219, 0.2);
  font-weight: 900;
}

.testimonial-card:hover {
  transform: translateY(-15px);
  border-left-color: #00d4db;
  box-shadow: 0 20px 60px rgba(0, 212, 219, 0.2);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
  animation: fadeInUp 0.8s ease-out;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a896, #00d4db);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0, 168, 150, 0.3);
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  background: none;
  -webkit-text-fill-color: initial;
}

.author-info p {
  margin: 5px 0 0 0;
  font-size: 0.95rem;
  color: #666;
}

.rating {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.star {
  color: #ffc857;
  font-size: 1.1rem;
  animation: pop 0.5s ease-out backwards;
}

.star:nth-child(1) {
  animation-delay: 0s;
}
.star:nth-child(2) {
  animation-delay: 0.1s;
}
.star:nth-child(3) {
  animation-delay: 0.2s;
}
.star:nth-child(4) {
  animation-delay: 0.3s;
}
.star:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes pop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* ========================================
   STATS & COUNTERS SECTION
   ======================================== */

.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #00a896 0%, #00d4db 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(255, 107, 84, 0.2),
    transparent
  );
  animation: orbitAnimation 20s linear infinite;
  z-index: 0;
}

@keyframes orbitAnimation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  color: white;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 0.8s ease-out backwards;
}

.stat-card:nth-child(1) {
  animation-delay: 0s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.4s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.6s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.stat-number .number {
  animation: countUp 2.5s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff5f3 0%, #f0fffe 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 5px solid transparent;
  animation: slideFromLeft 0.6s ease-out backwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(6) {
  animation-delay: 0.5s;
}

.faq-item.active {
  border-left-color: #00d4db;
  box-shadow: 0 10px 40px rgba(0, 212, 219, 0.2);
}

.faq-header {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0fffe 100%);
  transition: all 0.3s ease;
  user-select: none;
}

.faq-item.active .faq-header {
  background: linear-gradient(135deg, #e8f8f7 0%, #f0fffe 100%);
}

.faq-header:hover {
  background: linear-gradient(135deg, #f0fffe 0%, #e8f8f7 100%);
}

.faq-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  background: linear-gradient(135deg, #00a896, #00d4db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-toggle {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #00a896, #00d4db);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle:hover {
  transform: rotate(180deg) scale(1.1);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.faq-item.active .faq-content {
  opacity: 1;
  max-height: 500px;
  padding: 30px;
  border-top: 2px solid #f0fffe;
}

.faq-answer {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-header {
    padding: 20px 20px;
  }

  .faq-item.active .faq-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 25px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}
