/*
  FAQ Section — Digital Aacharya's — Styles
  ===========================================
  BRAND COLORS: swap these 3 variables to your real site colors
  (Inspect a heading/CTA on digitalaacharyas.com to get exact hex
  codes) — every element below reads from these 3 variables only.
*/

#faq {
  --da-navy: #10254A;      /* swap: your header/heading color */
  --da-orange: #F7941D;    /* swap: your CTA/accent color */
  --da-text: #5A6474;
  --da-bg: #F7F8FB;
  --da-border: #E7E9F0;
}

#faq {
  background: var(--da-bg);
  padding: 90px 20px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

#faq .da-faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

#faq .da-faq__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--da-orange);
  background: rgba(247, 148, 29, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

#faq .da-faq__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--da-navy);
  margin: 0 0 12px;
  line-height: 1.25;
}

#faq .da-faq__title span {
  color: var(--da-orange);
}

#faq .da-faq__subtitle {
  font-size: 16px;
  color: var(--da-text);
  max-width: 560px;
  margin: 0 0 44px;
  line-height: 1.7;
}

#faq .da-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#faq .da-faq__item {
  background: #ffffff;
  border: 1px solid var(--da-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#faq .da-faq__item.is-open {
  border-color: var(--da-orange);
  box-shadow: 0 10px 30px rgba(16, 37, 74, 0.08);
}

#faq .da-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 24px;
  font-family: inherit;
}

#faq .da-faq__question-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--da-navy);
  line-height: 1.5;
}

#faq .da-faq__item.is-open .da-faq__question-text {
  color: var(--da-orange);
}

#faq .da-faq__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--da-navy);
  position: relative;
  transition: background 0.25s ease, transform 0.3s ease;
}

#faq .da-faq__item.is-open .da-faq__icon {
  background: var(--da-orange);
  transform: rotate(135deg);
}

#faq .da-faq__icon::before,
#faq .da-faq__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#faq .da-faq__icon::before {
  width: 12px;
  height: 2px;
}

#faq .da-faq__icon::after {
  width: 2px;
  height: 12px;
}

#faq .da-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#faq .da-faq__answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--da-text);
}

@media (max-width: 600px) {
  #faq { padding: 60px 16px; }
  #faq .da-faq__title { font-size: 28px; }
  #faq .da-faq__question-text { font-size: 15.5px; }
  #faq .da-faq__question { padding: 18px; gap: 12px; }
}