/* FAQ Section Styles */
.faq-section {
  background-color: #fff;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: #666;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

/* Testimonials Section Styles */
.testimonials-section {
  background-color: #fafafa;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-content {
  flex: 1;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.testimonial-name {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.testimonial-stars {
  color: #f1641e;
  font-size: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
}

.testimonial-date {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {

  .faq-section,
  .testimonials-section {
    padding: 40px 15px;
  }

  .faq-title,
  .testimonials-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

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

  .testimonial-card {
    flex-direction: column;
    gap: 15px;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}