/* ===================================================================
   DR. BHAGAT'S CLINIC — FAQ ACCORDION SECTION
   Balanced Mid-Tone Theme: Soft Slate Blue with Pure White Cards
   =================================================================== */

#faq,
.section-faq {
  background: #e4edf6 !important;
  color: #0f172a !important;
  padding: 90px 0 !important;
  position: relative;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

#faq .section-header .section-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

#faq .section-header .section-title {
  color: #1a385c;
}

#faq .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FAQ Container ── */
.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── FAQ Item Card ── */
.faq-item {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 56, 92, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: #0284c7;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}

.faq-item.is-open {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.15);
}

/* ── FAQ Question Button ── */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 14px;
}

.faq-btn span {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a385c;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-btn span {
  color: #0284c7;
}

.faq-btn i {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-btn i {
  transform: rotate(180deg);
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.35);
}

/* ── FAQ Answer Panel ── */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 22px 18px 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 640px) {
  #faq,
  .section-faq {
    padding: 38px 0 !important;
  }

  .faq-accordion {
    gap: 8px;
  }

  .faq-btn {
    padding: 12px 14px;
  }

  .faq-btn span {
    font-size: 0.88rem;
  }

  .faq-btn i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.8rem;
  }

  .faq-answer {
    padding: 0 14px 12px 14px;
    font-size: 0.84rem;
  }
}
