.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body handles the background */
}

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

.page-resources__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

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

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

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

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

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

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

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

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

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

.page-resources__section-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources__introduction-section .page-resources__section-text,
.page-resources__strategy-section .page-resources__section-text,
.page-resources__faq-section .page-resources__section-text {
    color: #f0f0f0;
}

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

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

.page-resources__grid-item {
  flex: 1;
}

.page-resources__grid-item .page-resources__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources__grid-item p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-resources__list li {
  margin-bottom: 8px;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  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__btn-primary {
  background-color: #EA7C07; /* Login/primary button color */
  color: #ffffff;
}

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

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

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

.page-resources__video-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-resources__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-resources__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-resources__card p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources__card .page-resources__list {
  list-style: disc inside;
  padding-left: 0;
  color: #f0f0f0;
}

.page-resources__card-link {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-resources__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

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

.page-resources__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__conclusion-section .page-resources__section-title {
  color: #ffffff;
}

.page-resources__conclusion-section .page-resources__section-text {
  color: #ffffff;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-resources__content-grid {
    flex-direction: column;
  }

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

  .page-resources__grid-item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    height: 500px;
  }

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

  .page-resources__hero-description {
    font-size: 0.9em;
  }

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

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

  .page-resources__item-title {
    font-size: 1.4em;
  }

  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__card-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__faq-title {
    font-size: 1.1em;
  }

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

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

  .page-resources__video-section,
  .page-resources__video-container,
  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile container padding */
  .page-resources__section,
  .page-resources__container,
  .page-resources__card,
  .page-resources__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

/* Color Contrast Fixes if needed */
.page-resources__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}