.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px;
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

.page-resources__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources__hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-resources__content-section {
  padding: 80px 20px;
}

.page-resources__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-resources__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #017439;
}

.page-resources__dark-bg .page-resources__section-title {
  color: #ffffff;
}

.page-resources__sub-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #017439;
  text-align: center;
}

.page-resources__dark-bg .page-resources__sub-section-title {
  color: #ffffff;
}

.page-resources__paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.page-resources__dark-bg .page-resources__paragraph {
  color: #f0f0f0;
}

.page-resources__grid-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources__grid-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-resources__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__dark-bg .page-resources__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-resources__card--transparent {
  background-color: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.page-resources__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-resources__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #017439;
}

.page-resources__dark-bg .page-resources__card-title,
.page-resources__card--transparent .page-resources__card-title {
  color: #ffffff;
}

.page-resources__card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  text-align: justify;
}

.page-resources__dark-bg .page-resources__card-text {
  color: #f0f0f0;
}

.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-register,
.page-resources__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

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

.page-resources__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
}

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

.page-resources__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-resources__btn-register {
  background-color: #C30808; /* Register button color */
  color: #FFFFFF; /* Ensure high contrast for text */
  border: 2px solid #C30808;
}

.page-resources__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-resources__btn-login {
  background-color: #C30808; /* Login button color */
  color: #FFFFFF; /* Ensure high contrast for text */
  border: 2px solid #C30808;
}

.page-resources__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-2px);
}

.page-resources__cta-section {
  text-align: center;
  padding: 80px 20px;
}

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

.page-resources__features {
  margin-top: 60px;
}

.page-resources__faq-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #017439;
  background-color: #fdfdfd;
  transition: background-color 0.3s ease;
}

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

.page-resources__faq-item.active .page-resources__faq-question {
  background-color: #017439;
  color: #ffffff;
}

.page-resources__faq-toggle {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Ensure content fully expands */
  padding: 15px 25px 25px;
}

.page-resources__faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 0;
}

.page-resources__conclusion-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources__text-center {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3rem;
  }
  .page-resources__section-title {
    font-size: 2.2rem;
  }
  .page-resources__sub-section-title {
    font-size: 1.8rem;
  }
  .page-resources__paragraph,
  .page-resources__hero-description {
    font-size: 1rem;
  }
  .page-resources__card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-resources__hero-title {
    font-size: 2.5rem;
  }
  .page-resources__hero-description {
    font-size: 0.95rem;
  }
  .page-resources__section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .page-resources__sub-section-title {
    font-size: 1.6rem;
  }
  .page-resources__paragraph,
  .page-resources__card-text,
  .page-resources__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .page-resources__grid-three-col,
  .page-resources__grid-two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__card {
    padding: 25px;
  }
  .page-resources__card-image {
    max-width: 100%;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources__btn-register,
  .page-resources__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__hero-content-wrapper,
  .page-resources__hero-image-wrapper,
  .page-resources__cta-buttons,
  .page-resources__button-group,
  .page-resources__btn-container,
  .page-resources__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-resources__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile video */
  }
  .page-resources__card-image {
    min-width: 200px; /* Ensure minimum image size even on mobile */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2rem;
  }
  .page-resources__section-title {
    font-size: 1.8rem;
  }
  .page-resources__sub-section-title {
    font-size: 1.4rem;
  }
  .page-resources__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}