.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* inherited from body */
}

.page-resources__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources__section {
  padding: 80px 0;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-resources__section-description,
.page-resources__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources__introduction .page-resources__section-text {
  text-align: left;
  margin-bottom: 20px;
  color: #333333; /* Light background for this section */
}

.page-resources__introduction .page-resources__section-title {
  color: #26A9E0;
}

.page-resources__introduction .page-resources__btn-secondary {
  display: block;
  margin: 40px auto 0 auto;
}

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

.page-resources__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
}

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
}

.page-resources__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
  color: #ffffff;
}

.page-resources__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources__card-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-resources__card-list li a {
  color: #f0f0f0;
  text-decoration: none;
}

.page-resources__card-list li a:hover {
  text-decoration: underline;
}

.page-resources__btn-text {
  display: inline-block;
  margin-top: auto;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__btn-text:hover {
  color: #ffffff;
}

.page-resources__video-section .page-resources__section-description {
  margin-bottom: 50px;
}

.page-resources__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-resources__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #ffffff;
}

.page-resources__faq-section .page-resources__section-title {
  color: #26A9E0;
}

.page-resources__faq-section .page-resources__section-description {
  color: #333333; /* Light background for this section */
}

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

.page-resources__faq-item {
  background: #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: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

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

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' */
}

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

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

.page-resources__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-resources__why-choose .page-resources__section-description {
  margin-bottom: 50px;
}

.page-resources__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources__benefits-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources__benefits-list li strong {
  color: #26A9E0;
}

.page-resources__why-choose .page-resources__section-text {
  margin-top: 40px;
  text-align: center;
  color: #ffffff;
}

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

.page-resources__cta-content {
  max-width: 800px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-resources__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #333333;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-resources__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-resources__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than black for contrast */
  color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }

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

  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-resources__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources__section {
    padding: 60px 0;
  }

  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources__section-description,
  .page-resources__section-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    text-align: left;
  }

  .page-resources__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources__card {
    padding: 0;
  }

  .page-resources__card-image {
    height: 180px;
  }

  .page-resources__card-content {
    padding: 20px;
  }

  .page-resources__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-resources__card-text {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .page-resources__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources__faq-answer {
    padding: 0 20px;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px;
  }

  .page-resources__benefits-list {
    padding: 0 10px;
  }

  .page-resources__benefits-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-resources__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-resources__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__btn-large {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }

  .page-resources__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video is below header */
  }

  .page-resources__container,
  .page-resources__cta-content,
  .page-resources__faq-list,
  .page-resources__benefits-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__video-section,
  .page-resources__video-container,
  .page-resources__video-wrapper,
  .page-resources__cta-buttons,
  .page-resources__button-group,
  .page-resources__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-resources video,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}