.page-resources {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Ensure consistency with body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-resources__section {
  padding: 60px 0;
  position: relative;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-resources__section-title,
.page-resources__cta-title,
.page-resources__hero-title {
  color: #ffffff;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources__hero-title {
  font-size: 3.2em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-resources__hero-description,
.page-resources__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-resources__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-resources__text-block a:hover {
  color: #00b359;
}

.page-resources__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #000;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.page-resources__hero-content {
  flex: 1;
  text-align: center;
  padding-right: 20px;
}

.page-resources__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__hero-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources__btn-primary:hover {
  background-color: #00b359;
  border-color: #00b359;
}

.page-resources__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #00b359;
  border-color: #00b359;
}

.page-resources__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-resources__content-block {
  flex: 1;
}

.page-resources__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources__list-item {
  margin-bottom: 10px;
}

.page-resources__list-item a {
  color: #017439;
  text-decoration: none;
}

.page-resources__list-item a:hover {
  text-decoration: underline;
  color: #00b359;
}

/* FAQ Section */
.page-resources__faq-list {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-resources__faq-question:hover {
  color: #017439;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px;
}

.page-resources__faq-answer p {
  margin-bottom: 15px;
}

.page-resources__cta-section {
  background-color: #017439;
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources__hero-content {
    padding-right: 0;
  }
  .page-resources__hero-section {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__hero-image-wrapper {
    margin-top: 40px;
  }
  .page-resources__content-grid {
    flex-direction: column;
  }
  .page-resources__content-grid--reverse {
    flex-direction: column;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description,
  .page-resources__cta-description {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title,
  .page-resources__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources__container,
  .page-resources__section,
  .page-resources__hero-section,
  .page-resources__cta-section,
  .page-resources__faq-list,
  .page-resources__faq-item,
  .page-resources__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}