.page-faq {
  color: #ffffff; /* Body background is dark (#000000), so text must be light */
  background-color: #000000;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-faq__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-faq__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

.page-faq__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.2;
  z-index: 0;
  max-width: 100%;
  height: auto;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

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

.page-faq__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  list-style: none;
}

.page-faq__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  list-style: none;
  position: relative;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

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

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
}

.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-faq__faq-answer li {
  margin-bottom: 0.5em;
}

.page-faq__sub-heading {
  font-size: 1.2em;
  color: #26A9E0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-faq__cta-bottom {
  background-color: #26A9E0;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__btn-large {
  padding: 16px 35px;
  font-size: 1.1em;
}

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

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__intro-text {
    font-size: 1em;
  }
  .page-faq__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-faq__section {
    padding: 40px 15px;
  }
  .page-faq__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  .page-faq__sub-heading {
    font-size: 1.1em;
  }
  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__cta-bottom {
    padding: 30px 20px;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__hero-image-wrapper {
    position: relative;
    width: 100%;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.4em;
  }
  .page-faq__cta-title {
    font-size: 1.4em;
  }
}