.qa {
    width: 100%;
    padding: 4rem 8rem;
    text-align: center;
    background-color: var(--bg-color);
    position: relative;
}

.qa h2 {
    font-size: var(--fontSize-heading-base);
    font-family: var(--sacramento);
    font-weight: 400;
    margin-bottom: 1rem;
}

.qa p span {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.qa i {
    top: 16rem;
    left: 8rem;
}

.qa svg {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -10;
}

.qa svg:nth-of-type(1){
    top: -8rem;
}

.qa svg:nth-of-type(2){
    bottom: -15rem;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  font-size: 1.8rem;
  font-family: 'Arial', cursive;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  /* Mobile optimizations */
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.4rem;
}

.faq-answer p {
  margin: 1rem 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Josefin Sans', sans-serif;
  color: #444;
}

/* Mobile responsive design */
@media screen and (max-width: 768px) {
  .qa {
    padding: 2rem 1rem;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem auto;
    padding: 0 0.5rem;
  }

  .faq-question {
    font-size: 1.4rem;
    padding: 1rem;
  }

  .faq-question:active {
    background-color: #f0f0f0;
    transform: scale(0.98);
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    margin: 0.8rem 0 1.2rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  .qa {
    padding: 1.5rem 0.8rem;
  }

  .faq-container {
    margin: 1rem auto;
    padding: 0;
  }

  .faq-question {
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }
}

/* ✅ Optimized FAQ / Q&A Section CSS (Mobile-first) */

/* -----------------------------
   BASE (Mobile-first)
----------------------------- */
.qa {
  width: 100%;
  padding: 1.5rem 1rem;
  text-align: center;
  background-color: var(--bg-color);
  position: relative;
}

.qa h2 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.qa p span {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
}

.qa i {
  top: 14rem;
  left: 1rem;
}

.qa svg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -10;
  width: 100%;
}

.qa svg:nth-of-type(1) {
  top: -6rem;
}

.qa svg:nth-of-type(2) {
  bottom: -12rem;
}

/* FAQ LIST */
.faq-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 0.5rem;
}

.faq-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  font-size: 1.2rem;
  font-family: var(--libre-bodoni);
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  width: 100%;
  text-align: left;
  transition: background-color 0.25s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question:active {
  background-color: #f0f0f0;
  transform: scale(0.98);
}

.faq-question i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
}

.faq-answer p {
  margin: 0.8rem 0 1.2rem;
  font-size: 0.9rem;
  line-height: 1.65;
  font-family: 'Josefin Sans', sans-serif;
  color: #444;
}

/* -----------------------------
   TABLET ≥ 768px
----------------------------- */
@media screen and (min-width: 768px) {
  .qa {
    padding: 2rem 3rem;
  }

  .faq-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .faq-question {
    font-size: 1.6rem;
    padding: 1.1rem 1.3rem;
  }

  .faq-answer p {
    font-size: 1rem;
  }
}

/* -----------------------------
   LARGE SCREENS ≥ 1024px
----------------------------- */
@media screen and (min-width: 1024px) {
  .qa {
    padding: 4rem 6rem;
  }

  .faq-question {
    font-size: 1.8rem;
    padding: 1.2rem 1.4rem;
  }

  .faq-answer p {
    font-size: 1.05rem;
  }
}

