.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  padding-top: var(--header-offset, 120px); /* Fallback for header offset */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-faq__hero-section {
  background: var(--dark-bg-1, #003366);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-faq__main-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-faq__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-faq__introduction-section {
  background: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 32px;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__content-wrapper p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 16px;
}

.page-faq__content-wrapper a {
  color: #003366;
  text-decoration: underline;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-list-section {
  background: var(--dark-bg-1, #003366);
  color: #ffffff;
  padding: 60px 0;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #1a4773; /* Slightly lighter dark blue for item */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #003366;
  border: 1px solid #002244;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq__faq-question:hover {
  background: #004488;
  border-color: #003366;
}

.page-faq__faq-question:active {
  background: #002244;
}

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to 'x' or '−' */
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
  background: #1a4773;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-position: inside;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-faq__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-faq__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-faq__cta-section {
  background: #ffffff;
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-title {
  font-size: 36px;
  color: #003366;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-faq__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

.page-faq__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-faq__btn-secondary {
  background: transparent;
  color: #003366;
  border: 2px solid #003366;
}

.page-faq__btn-secondary:hover {
  background: #003366;
  color: #ffffff;
}

/* General image responsive styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 36px;
  }

  .page-faq__section-title {
    font-size: 28px;
  }

  .page-faq__cta-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 80px) !important; /* Adjust for mobile header height */
  }

  .page-faq__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* HERO Section */
  .page-faq__hero-section {
    padding: 40px 0;
  }

  .page-faq__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 15px;
    padding: 0 10px;
  }

  /* Introduction Section */
  .page-faq__introduction-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-faq__content-wrapper p,
  .page-faq__content-wrapper li {
    font-size: 15px;
  }

  .page-faq__content-image {
    margin: 20px auto;
  }

  /* FAQ List Section */
  .page-faq__faq-list-section {
    padding: 40px 0;
  }

  .page-faq__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-faq__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-faq__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-faq__faq-answer {
    padding: 0 15px;
  }

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px !important;
  }

  .page-faq__faq-answer p,
  .page-faq__faq-answer li {
    font-size: 15px;
  }

  /* CTA Section */
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__cta-title {
    font-size: 26px;
  }

  .page-faq__cta-description {
    font-size: 15px;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .page-faq__button-group {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
  }

  /* General Image & Container rules for mobile */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}