@import url("../components/config.css");

.faq-section {
  padding: 100px 0;
  background: #f8fbfb;
}

.faq-header {
  /* max-width: 760px; */
  margin-bottom: 50px;
}

.faq-header .section-label {
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 1px;
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 14px 0 18px;
  color: #0f172a;
}

.faq-header .title-line {
  margin-bottom: 24px;
}

.faq-header p {
  font-size: var(--text-font-size);
  color: #475569;
}

.faq-list {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-size: var(--text-font-size);
  font-weight: 800;
  color: #0f172a;
}

.faq-question i {
  color: var(--primary-color);
  transition: 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: var(--text-font-size);
  line-height: 1.8;
  color: #475569;
}

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

/* ==========================================
   FAQ NOTICE
========================================== */

.faq-note {
  padding: 90px 0;
  background: #f8fbfb;
}

.faq-note-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-note-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}

.faq-note-content .title-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 30px;
  margin: 0 auto 28px;
}

.faq-note-content p {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--text-font-size);
  line-height: 1.9;
  color: #475569;
}


/* ==========================================
   Responsive
========================================== */

@media (max-width: 992px) {
  .faq-note {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .faq-note {
    padding: 70px 0;
  }

  .faq-note-content p {
    line-height: 1.8;
  }

  .faq-note,
  .volunteer-cta {
    padding: 70px 0;
  }


  .faq-section {
    padding: 70px 0;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer p {
    padding: 0 20px 22px;
  }
}

@media (max-width: 576px) {
  .faq-note {
    padding: 60px 0;
  }

  .faq-note-content h2 {
    margin-bottom: 16px;
  }
}
