/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-faq__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #003366 0%, #004080 100%); /* Dark blue gradient */
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-faq__title {
  font-size: 3em;
  margin-bottom: 15px;
  color: #FFCC00; /* Gold for emphasis */
  font-weight: bold;
}

.page-faq__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__hero-btn {
  display: inline-block;
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__hero-btn:hover {
  background-color: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Accordion Section */
.page-faq__section--accordion {
  padding: 60px 0;
  background-color: #fff;
}

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

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

.page-faq__accordion-item {
  background-color: #f0f4f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 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: #003366; /* Dark blue header */
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.25em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #004080; /* Slightly lighter dark blue on hover */
}

.page-faq__accordion-question {
  margin: 0;
  color: #fff;
  font-size: 1.25em;
}

.page-faq__accordion-icon {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.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 p {
  padding: 20px 0;
  margin: 0;
  color: #555;
}

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

.page-faq__link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
  display: block;
  margin-top: 10px;
}

.page-faq__link:hover {
  color: #FFCC00;
}

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

/* CTA Section */
.page-faq__section--cta {
  padding: 80px 0;
  background-color: #003366; /* Dark blue background */
  color: #fff;
  text-align: center;
}

.page-faq__cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.page-faq__cta-title {
  font-size: 2.8em;
  color: #FFCC00; /* Gold for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

.page-faq__btn--primary {
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
}

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

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

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

.page-faq__cta-image-wrapper {
  max-width: 400px;
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .page-faq__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 80px 40px;
  }

  .page-faq__hero-content {
    max-width: 50%;
    text-align: left;
  }

  .page-faq__hero-image-wrapper {
    position: relative;
    width: 40%;
    height: auto;
    opacity: 1;
    filter: none;
  }

  .page-faq__hero-image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
  }

  .page-faq__cta-wrapper {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .page-faq__cta-content {
    max-width: 55%;
  }

  .page-faq__cta-image-wrapper {
    max-width: 40%;
  }
}

@media (max-width: 767px) {
  .page-faq__title {
    font-size: 2.2em;
  }

  .page-faq__subtitle {
    font-size: 1em;
  }

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

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

  .page-faq__accordion-content p {
    padding: 15px 0;
  }

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

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

  .page-faq__btn {
    width: 100%;
  }
}