@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;
}

.volunteer-cta {
  width: 100%;
  padding: 100px 0;
  background: var(--primary-color);
  text-align: center;
  color: #fff;
}

.volunteer-cta .cta-content {
  max-width: 760px;
  margin: auto;
}

.volunteer-cta .section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.9;
}

.volunteer-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.volunteer-cta .title-line {
  width: 70px;
  height: 3px;
  background: #fff;
  border-radius: 20px;
  margin: 0 auto 28px;
}

.volunteer-cta p {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 220px;
}

.cta-buttons .btn-primary {
  background: #fff;
  color: var(--primary-color);
}

.cta-buttons .btn-primary i {
  color: var(--primary-color);
}

.cta-buttons .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.cta-buttons .btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ==========================================
   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;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .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;
  }
}
