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

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  color: #ffffff;
  background-color: #003366;
  overflow: hidden;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let text stand out */
  filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFCC00; /* Use secondary color for title */
}

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

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

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-resources__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-resources__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__card-title a {
  text-decoration: none;
  color: #003366;
  transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
  color: #FFCC00;
}

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

.page-resources__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #003366;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources__card-link:hover {
  background-color: #FFCC00;
  color: #003366;
}

.page-resources__news-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 0;
}

.page-resources__news-section .page-resources__section-title {
  color: #FFCC00;
}

.page-resources__news-section .page-resources__section-intro {
  color: #f0f0f0;
}

.page-resources__news-card {
  background-color: #1a4d7d; /* Slightly lighter blue for contrast */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-resources__news-title {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__news-title a {
  text-decoration: none;
  color: #FFCC00;
  transition: color 0.3s ease;
}

.page-resources__news-title a:hover {
  color: #ffffff;
}

.page-resources__news-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources__news-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources__news-link:hover {
  background-color: #e6b800;
}

.page-resources__strategy-section .page-resources__card-title {
  color: #003366;
}

.page-resources__strategy-section .page-resources__card-title a {
  color: #003366;
}

.page-resources__strategy-section .page-resources__card-title a:hover {
  color: #FFCC00;
}

.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 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

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

.page-resources__faq-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-resources__faq-section .page-resources__section-intro {
  color: #f0f0f0;
}

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

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

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

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

.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(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;
  color: #e0e0e0;
  font-size: 1em;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px 20px 20px;
}

.page-resources__faq-answer p {
  margin: 0;
}

.page-resources__contact-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.page-resources__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #555555;
}

.page-resources__contact-info a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__contact-info a:hover {
  color: #FFCC00;
}

.page-resources__cta-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__cta-title {
    font-size: 2.4em;
  }
}

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

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

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

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

  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn-primary, .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-resources__content-area {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-resources__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-resources__card {
    padding: 20px;
  }

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

  .page-resources__news-section {
    padding: 60px 0;
  }

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

  .page-resources__video-wrapper {
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources__card-image, 
  .page-resources__news-image, 
  .page-resources__hero-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important; /* Ensure images fill their container */
    height: auto !important;
  }

  .page-resources__faq-section {
    padding: 60px 0;
  }

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

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

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

  .page-resources__contact-section {
    padding: 40px 15px;
  }

  .page-resources__cta-section {
    padding: 60px 15px;
  }

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

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

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

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

  .page-resources__card-title {
    font-size: 1.3em;
  }

  .page-resources__news-title {
    font-size: 1.2em;
  }

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