.page-faq {
  color: #ffffff; /* Dark body background, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-faq__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-faq__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 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: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-faq__btn-primary {
  background-color: #FFD700; /* Accent color */
  color: #1A2B4C; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

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

.page-faq__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Accent text color */
  border: 2px solid #FFD700;
}

.page-faq__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content area on dark background */
  border-radius: 10px;
  margin-top: -80px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 4;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 15px;
}

.page-faq__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Darker transparent background for FAQ items */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A2B4C; /* Main brand color for question header */
  color: #ffffff;
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-faq__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em; /* Adjust font size for inner h3 */
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross */
  content: '−'; /* Change to minus sign */
}

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

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

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

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

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

.page-faq__conclusion-block {
  margin-top: 80px;
  padding: 40px;
  background-color: #1A2B4C; /* Main brand color for conclusion */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-faq__conclusion-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 25px;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    min-height: 400px;
  }

  .page-faq__hero-title {
    font-size: 2.2em;
  }

  .page-faq__hero-description {
    font-size: 1em;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin: 5px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-faq__content-area {
    padding: 30px 15px;
    margin-top: -50px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__intro-text {
    font-size: 0.95em;
  }

  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__faq-question h3 {
    font-size: 1em;
  }

  .page-faq__faq-toggle {
    font-size: 1.5em;
  }

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

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

  .page-faq__faq-answer p {
    font-size: 0.95em;
  }

  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__conclusion-block {
    margin-top: 50px;
    padding: 30px 15px;
  }

  .page-faq__conclusion-title {
    font-size: 1.8em;
  }

  .page-faq__conclusion-text {
    font-size: 0.95em;
  }

  /* Ensure all content containers are responsive */
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__conclusion-block,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}

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

  .page-faq__hero-description {
    font-size: 0.9em;
  }

  .page-faq__section-title {
    font-size: 1.5em;
  }

  .page-faq__faq-question {
    font-size: 1em;
  }

  .page-faq__faq-question h3 {
    font-size: 0.95em;
  }

  .page-faq__faq-toggle {
    font-size: 1.2em;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .page-faq__conclusion-title {
    font-size: 1.5em;
  }
}