/**
 * Modern FAQ Accordion
 * Collapsible FAQ items with smooth animations
 */

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

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #ff60c2;
}

.faq-item.active {
  border-color: #ff60c2;
  box-shadow: 0 4px 20px rgba(255, 96, 194, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-item.active .faq-question {
  background: #fff5f9;
}

.faq-question h4 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding-right: 20px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h4 {
  color: #ff60c2;
}

.faq-icon {
  font-size: 16px;
  color: #999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #ff60c2;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 20px 25px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-accordion {
    margin-top: 30px;
  }
  
  .faq-item {
    margin-bottom: 12px;
  }
  
  .faq-question {
    padding: 18px 20px;
  }
  
  .faq-question h4 {
    font-size: 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 18px 20px;
  }
  
  .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 15px 18px;
  }
  
  .faq-question h4 {
    font-size: 15px;
    padding-right: 15px;
  }
  
  .faq-icon {
    font-size: 14px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 18px 15px 18px;
  }
  
  .faq-answer p {
    font-size: 13px;
  }
}
