.page-faq {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #0d0d0d; /* Slightly lighter than pure black for depth */
  min-height: 100vh;
}

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

.page-faq__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #003366, #001a33); /* Gradient for hero section */
  color: #ffffff;
  overflow: hidden;
}

.page-faq__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold accent for main title */
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__btn-primary, .page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-faq__btn-primary {
  background-color: #FFCC00; /* Gold background */
  color: #003366; /* Dark blue text */
  border: 2px solid #FFCC00;
  margin: 10px;
}

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

.page-faq__btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Gold text */
  border: 2px solid #FFCC00;
  margin: 10px;
}

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

.page-faq__content-area {
  padding: 60px 0;
  background-color: #001a33; /* Darker blue for content area */
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for FAQ items on dark body */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff; /* Light text */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  background-color: #003366; /* Main brand color for question header */
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1.15em;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFCC00; /* Accent color for toggle */
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter than item background */
  color: #f0f0f0;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  padding: 0;
  color: #f0f0f0;
}

.page-faq__faq-answer li {
  margin-bottom: 5px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-faq__faq-answer strong {
  color: #FFCC00;
}

.page-faq__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__video-link {
  display: block;
  margin: 20px auto;
  max-width: 800px; /* Limit video width for better presentation */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.page-faq__video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}

.page-faq__cta-section {
  background-color: #003366; /* Main brand color for CTA */
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #FFCC00;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.4em;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-faq__hero-section {
    padding: 60px 0;
  }
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__image-full-width {
    margin: 15px auto;
  }
  .page-faq__video-link, .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 15px auto !important;
  }
  .page-faq__video-link {
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }
}