/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-faq__hero {
  background-color: #003366; /* Main color */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-faq__hero-cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-faq__hero-image {
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 300px;
    height: auto;
    opacity: 0.2;
    z-index: 0;
    filter: grayscale(100%);
    transform: rotate(15deg);
}

.page-faq__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  position: relative;
}

.page-faq__section--alt {
  background-color: #fff;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-faq__accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__accordion-item {
  background-color: #fff;
  border: 1px solid #eee;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq__section--alt .page-faq__accordion-item {
    background-color: #f0f8ff;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #003366; /* Dark blue for header */
  color: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__accordion-header.active {
  background-color: #FFCC00; /* Auxiliary color when active */
  color: #003366; /* Dark text for active header */
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
  transform: rotate(45deg);
  color: #003366;
}

.page-faq__accordion-question {
  margin: 0;
  color: inherit;
}

.page-faq__accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #fff;
}

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

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-faq__accordion-content p {
  margin: 0 0 10px 0;
  color: #333;
}

.page-faq__accordion-content a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

.page-faq__accordion-content a:hover {
    text-decoration: underline;
    color: #FFCC00;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-faq__btn--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Dark text for contrast */
  border: 2px solid #FFCC00;
}

.page-faq__btn--primary:hover {
  background-color: #e6b800;
  color: #002244;
  transform: translateY(-2px);
}

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

.page-faq__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-faq__section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-bottom {
    background-color: #003366;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.page-faq__cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content {
    padding: 15px 20px;
  }
  .page-faq__hero-cta-wrapper {
      flex-direction: column;
      gap: 15px;
  }
  .page-faq__btn {
      width: 80%;
      margin: 0 auto;
  }
  .page-faq__hero-image {
      display: none; /* Hide on smaller screens */
  }
}

@media (max-width: 480px) {
  .page-faq__hero {
    padding: 60px 0;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 0.9em;
    padding: 12px 15px;
  }
  .page-faq__accordion-content {
    padding: 12px 15px;
  }
  .page-faq__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}