/* FAQ Section Styles */
.faq-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-toggle {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}

.faq-toggle:hover {
    background-color: #f9fafb;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.4rem;
  font-weight: 500;
  color: #4f46e5;
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  color: #4b5563;
  line-height: 1.6;
}

/* State when FAQ is open */
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-content {
  padding: 0 24px 20px 24px;
  max-height: 500px; /* Adjust for long answers */
}

.faq-item.open .faq-toggle {
    color: #4f46e5;
}
