:root {
  --container: 1200px;
  --gap: 2rem;
  --divider: #e5e7eb;
  --ink: #0f172a;
  --ink-soft: #475569;
  --brand: #0b5d80;
}

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.faq-hero {
  background: var(--brand);
  color: #fff;
  padding: 48px 16px;
}

.faq-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.faq-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 0.25rem;
}

.faq-hero p {
  margin: 0;
  opacity: 0.9;
}

/* ----------------------------------------
   LAYOUT
---------------------------------------- */
.faq-wrapper {
  max-width: 1290px;
  padding: 56px 0;
  margin: 0 auto;
  display: flex;
  gap: var(--gap);
}

/* Sticky sidebar */
.faq-sidebar {
  flex: 0 0 240px;
  position: sticky;
  top: 100px;
  /* Adjust this if your header overlaps */
  align-self: flex-start;
  height: fit-content;
}

.faq-content {
  flex: 1;
  min-width: 0;
}

/* ----------------------------------------
   SIDEBAR NAVIGATION
---------------------------------------- */
.faq-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-nav li {
  margin: 0 0 0.25rem;
}

.faq-nav a {
  display: block;
  padding: 0.375rem 0;
  text-decoration: none;
  /*transition: opacity 0.2s ease, color 0.2s ease;*/
  color: #232529;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.faq-nav a:hover {
  opacity: 1;
  color: var(--brand);
}

.faq-nav a.active {
  font-weight: 600;
  opacity: 1;
  color: #191B1D;
}

/* ----------------------------------------
   SECTIONS
---------------------------------------- */
.faq-section {
  margin-bottom: 70px;
}

.faq-section-title {
  margin: 0 0 12px;
  font-size: 20px;
  color: #050E15;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  /* 22px */
  letter-spacing: -0.44px;
  text-align: left;
}

/* ----------------------------------------
   ACCORDION
---------------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--divider);
  padding: 14px 0;
}

.faq-q {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: 600 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  color: #050E15;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  /* 23.75px */
  letter-spacing: -0.19px;
}

/* Plus / minus toggle */
.faq-q::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1;
}

.faq-q[aria-expanded="true"]::before {
  content: "–";
}

/* Answer panel */
.faq-a {
  display: none;
  padding: 6px 0 16px 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.faq-a p {
  margin: 0.25rem 0;
  margin: 0.25rem 0;
  color: #232529;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}
/*Animation*/
.faq-q,.faq-a p{
  transition: all 0.3s ease;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}

/* When expanded */
.faq-q[aria-expanded="true"] + .faq-a {
  max-height: 500px; /* adjust if answers are longer */
  opacity: 1;
}
.faq-sidebar, .faq-section-title{
  display: none;
}

/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */
@media (max-width: 1366px) {
  .faq-wrapper {
    width: 90%;
  }
  .faq-q{
    font-size: 18px;;
  }
}

@media (max-width: 1024px) {
 .faq-q {
    font-size: 16px;
  }
  .faq-section-title {
    font-size: 20px;
  }
}


@media (max-width: 920px) {
  .faq-wrapper {
    flex-direction: column;
  }
 .faq-sidebar {
    position: static;
    flex: auto;
    height: auto;
    align-self: auto;
  }
 .faq-nav {
    position: static;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--divider);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
  }
 .faq-nav a {
    padding: 0.25rem 0.5rem;
  }
 .faq-a {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .faq-nav {
    display: none;
  }
  .faq-wrapper {
    padding: 30px 0;
  }
}