/* style/faq.css */
.page-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #003366; /* Primary brand color for hero background */
  color: #ffffff;
  text-align: center;
  gap: 30px;
}

.page-faq__hero-content {
  max-width: 800px;
  margin-bottom: 20px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #FFCC00; /* Auxiliary color for button */
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-faq__accordion-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #f9f9f9;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  color: #003366;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-question {
  margin: 0;
  flex-grow: 1;
}

.page-faq__accordion-icon {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #FFCC00;
}

.page-faq__accordion-body {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #ffffff;
}

.page-faq__accordion-body[aria-expanded="true"] {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-faq__accordion-answer {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-faq__accordion-answer a,
.page-faq__accordion-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-faq__accordion-answer a:hover,
.page-faq__accordion-link:hover {
  color: #FFCC00;
}

.page-faq__accordion-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-faq__contact-button {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-faq__contact-button:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-faq__cta-section {
  background-color: #f0f5f8; /* Light background for CTA */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq__cta-content {
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #003366;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFCC00; /* Auxiliary color for CTA button */
  color: #003366;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-faq__cta-image-wrapper {
  width: 100%;
  max-width: 1000px;
}

.page-faq__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-faq__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 80px 40px;
  }

  .page-faq__hero-content {
    margin-right: 40px;
    margin-bottom: 0;
  }

  .page-faq__hero-image-wrapper {
    flex-shrink: 0;
    width: 60%;
  }

  .page-faq__cta-section {
    flex-direction: row;
    text-align: left;
    padding: 80px 40px;
  }

  .page-faq__cta-content {
    margin-right: 40px;
  }

  .page-faq__cta-image-wrapper {
    flex-shrink: 0;
    width: 40%;
  }
}

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

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

  .page-faq__hero-button,
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__accordion-icon {
    font-size: 1.5em;
  }

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

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

  /* Mobile overflow prevention for images */
  .page-faq__hero-image,
  .page-faq__accordion-image,
  .page-faq__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }

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

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

  .page-faq__accordion-header {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-faq__accordion-icon {
    font-size: 1.2em;
  }

  .page-faq__accordion-answer {
    font-size: 0.9em;
  }
}