/* --- FAQ Section Wrapper --- */
.faq-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 80px 0 100px;
  box-sizing: border-box;
}

.faq-container {
  max-width: 1374px; /* Matches alignment boundaries */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* --- FAQ Typography --- */
.faq-title {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 16px;
  text-align: center;
}

.faq-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #64748B;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

/* --- FAQ CTA Button --- */
.faq-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: #0052ED; /* USAII Accent Blue */
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-bottom: 60px;
  text-decoration: none;
}

.faq-action-btn:hover {
  background-color: #0652C0;
  transform: translateY(-1px);
}

.faq-action-btn:active {
  transform: translateY(0);
}

/* --- Accordion Reusable Wrapper --- */
faq-accordion {
  display: block;
  width: 100%;
  max-width: 1100px; /* Center-aligned but content-wide */
  border-top: 1px solid #E2E8F0;
  box-sizing: border-box;
}

faq-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid #E2E8F0;
  box-sizing: border-box;
}

/* --- Accordion Item Header --- */
.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  padding-right: 24px;
  transition: color 0.2s ease;
}

.faq-header:hover .faq-question {
  color: #0052ED;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: #64748B;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.2s ease;
  flex-shrink: 0;
}

.faq-header:hover .faq-chevron {
  stroke: #0052ED;
}

/* --- Open States --- */
faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: #0052ED;
}

faq-item.open .faq-question {
  color: #0052ED;
}

/* --- Collapsible Panel --- */
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer {
  padding-bottom: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  text-align: left;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .faq-section {
    padding: 60px 0 80px;
  }
  
  .faq-title {
    font-size: 32px;
  }
  
  .faq-question {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0 60px;
  }
  
  .faq-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .faq-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .faq-action-btn {
    padding: 12px 24px;
    font-size: 14px;
    margin-bottom: 40px;
  }
  
  .faq-header {
    padding: 20px 0;
  }
  
  .faq-question {
    font-size: 15px;
  }
  
  .faq-chevron {
    width: 18px;
    height: 18px;
  }
  
  .faq-answer {
    font-size: 13.5px;
    padding-bottom: 20px;
  }
}
