
/* FAQ Section */
.faq-section {
  margin-top: 2rem;
}

.faq-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--text);
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.faq-question {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text); 
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--soft); 
  background: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  color: var(--soft); 
  line-height: 1.5;
}
.faq-item.active .faq-answer {
  display: block;
}

/* === MOBILE LAYOUT === */
@media (max-width: 520px) {

.faq-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text);
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.faq-question {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text); 
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1rem;
  color: var(--soft); 
  background: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft); 
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;
}

}
