.faq-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  padding: 1.5rem;
  margin: 0;
  background: var(--surface-color);
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: var(--text-color);
}

.faq-answer ul {
  margin: 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-color);
}

.faq-answer strong {
  color: var(--primary-color);
}

/* Animation for FAQ items */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: slideDown 0.3s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 1rem;
    margin: 2rem auto;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-item h3 {
    font-size: 1.1rem;
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .faq-item {
    border-color: var(--border-color-dark);
  }

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