/* FAQ Accordion Styles */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(217, 93, 57, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--burnt-orange);
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(135deg, #FFF5F0, #FFFFFF);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 1rem;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--burnt-orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burnt-orange), var(--burnt-orange-light));
  color: white;
  border-radius: 50%;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: var(--slate-grey-dark);
  line-height: 1.7;
  margin: 0;
}

/* Animation for opening */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.active .faq-answer p {
  animation: fadeIn 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
  }
  
  .faq-icon {
    width: 26px;
    height: 26px;
    font-size: 1.25rem;
  }
}
