.page-resources-gi8-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-resources-gi8-faq__hero-section {
  background: linear-gradient(135deg, #003366, #FFCC00);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.page-resources-gi8-faq__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-gi8-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-gi8-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources-gi8-faq__cta-button {
  display: inline-block;
  background-color: #FFCC00;
  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;
  border: none;
  cursor: pointer;
}

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

.page-resources-gi8-faq__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-resources-gi8-faq__faq-list {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-resources-gi8-faq__faq-item {
  border-bottom: 1px solid #eee;
}

.page-resources-gi8-faq__faq-item:last-child {
  border-bottom: none;
}

.page-resources-gi8-faq__faq-question {
  font-size: 1.3em;
  color: #003366;
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-resources-gi8-faq__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-gi8-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-resources-gi8-faq__faq-item.active .page-resources-gi8-faq__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-gi8-faq__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-resources-gi8-faq__faq-item.active .page-resources-gi8-faq__faq-answer {
  max-height: 1000px; /* Adjust as needed for content length */
  padding-top: 10px;
  padding-bottom: 30px;
}

.page-resources-gi8-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-resources-gi8-faq__faq-answer ul,
.page-resources-gi8-faq__faq-answer ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-resources-gi8-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-resources-gi8-faq__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-gi8-faq__button-group {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.page-resources-gi8-faq__secondary-button {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  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;
  border: 1px solid #003366;
  cursor: pointer;
}

.page-resources-gi8-faq__secondary-button:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

.page-resources-gi8-faq__bottom-cta {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.page-resources-gi8-faq__bottom-cta p {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-gi8-faq__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-resources-gi8-faq__button-group {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-gi8-faq__cta-button,
  .page-resources-gi8-faq__secondary-button {
    width: 100%;
    max-width: 300px;
  }
}

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

  .page-resources-gi8-faq__hero-section {
    padding: 60px 15px;
  }

  .page-resources-gi8-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-gi8-faq__faq-answer {
    padding: 0 15px 10px 15px;
  }

  .page-resources-gi8-faq__bottom-cta p {
    font-size: 1.1em;
  }
}