.page-faq {
  color: #ffffff; /* Body background is dark (#121212), so default text is light */
  background-color: #121212; /* Ensure consistency with shared body background */
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px 60px; /* Adjust padding-top for header offset */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-faq__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  max-width: 900px;
}

.page-faq__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

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

/* General Section Styling */
.page-faq__content-area {
  padding: 60px 0;
  background-color: #121212; /* Dark background */
  color: #ffffff;
}

.page-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #26A9E0; /* Primary brand color */
}

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

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question */
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-faq__question-text {
  font-size: 1.25em;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: 500;
  color: #26A9E0; /* Primary brand color */
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.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;
  color: #f0f0f0;
  line-height: 1.7;
}

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

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-faq__faq-answer a:hover {
  text-decoration: none;
}

/* Images within content */
.page-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__image--full-width {
  width: 100%;
}

/* Call to Action Section */
.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #202020; /* Slightly different dark background */
  color: #FFFFFF;
}

.page-faq__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary brand color */
}

.page-faq__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

.page-faq__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-faq__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 30px;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__question-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-faq__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-faq__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faq__hero-cta-buttons,
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px; /* Add padding to prevent overflow */
    box-sizing: border-box !important;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
  }

  .page-faq__content-area,
  .page-faq__cta-section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__question-text {
    font-size: 1em;
  }
  .page-faq__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image specific rules */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  
  .page-faq__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__hero-description {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    padding: 12px 15px;
  }
  .page-faq__question-text {
    font-size: 0.9em;
  }
  .page-faq__faq-toggle {
    font-size: 1.3em;
  }
}