/* ==========================================================================
   NEXTGEN FAQ ACCORDION STYLES
   ========================================================================== */

.ng-faq-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: min(100% - 2rem, 850px);
  margin: -50px auto;
}

.ng-faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ng-faq-header .ng-caption {
  color: #FEAC97;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.4rem;
}

.ng-faq-header .ng-title-section {
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Accordion Container */
.ng-faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* FAQ Pill Item */
.ng-faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px; /* Pill shape by default */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ng-faq-item.active {
  border-radius: 24px; /* Soft rounded rectangle when expanded */
  box-shadow: 0 12px 35px rgba(244, 125, 105, 0.12);
  border-color: rgba(254, 172, 151, 0.4);
}

/* Question Header Button */
.ng-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--ng-font-heading, 'Montserrat', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  text-align: left;
  letter-spacing: -0.01em;
}

.ng-faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  fill: #43c0ca;
}

.ng-faq-item.active .ng-faq-icon {
  transform: rotate(45deg);
  fill: #FEAC97;
}

/* Answer Body */
.ng-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 2rem;
}

.ng-faq-item.active .ng-faq-answer {
  max-height: 300px; /* Adjust based on content length */
  padding: 0 2rem 1.75rem 2rem;
}

.ng-faq-answer p {
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333333;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
.ng-faq-question {

  font-size: 0.8rem;}

.ng-faq-answer{
  font-size: 0.9rem;
}
}
/* ==========================================================================
   VIEW ALL FAQS CTA BUTTON STYLES
   ========================================================================== */
.ng-faq-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.ng-btn-view-all-faqs {
  background: #ffffff;
  color: #080d20;
  font-family: var(--ng-font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ng-btn-view-all-faqs:hover {
  background: var(--ng-coral, #FEAC97);
  color: #000000;
  border-color: var(--ng-coral, #FEAC97);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 172, 151, 0.3);
}

.ng-btn-view-all-faqs svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.ng-btn-view-all-faqs:hover svg {
  transform: translateX(3px);
}