.page-resources__main-content {
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

@media (max-width: 768px) {
  .page-resources__main-content {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }
}

.page-resources {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light sections */
  background-color: var(--dark-bg-1); /* Body background is dark, sections will use light backgrounds */
}

.page-resources__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-resources__section--light {
  background-color: #ffffff;
  color: #333333;
}

.page-resources__section--dark {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

.page-resources__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-title {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

.page-resources__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-cta-button:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

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

.page-resources__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources__paragraph--light {
  color: #f0f0f0;
}

.page-resources__grid-container {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-resources__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-resources__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-resources__text-content {
  flex: 2;
}

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

.page-resources__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

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

.page-resources__card--dark-bg .page-resources__card-title {
  color: #ffffff;
}

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

.page-resources__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources__card--dark-bg .page-resources__card-title {
  color: #ffffff;
}

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

.page-resources__card-description {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

.page-resources__resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-resources__list-item {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources__list-item:hover {
  background-color: #f0f0f0;
}

.page-resources__list-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-right: 25px;
  flex-shrink: 0;
}

.page-resources__list-content {
  flex-grow: 1;
}

.page-resources__list-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources__list-description {
  font-size: 15px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources__link-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-resources__link-button:hover {
  background: #218838; /* Darker secondary color */
}

/* FAQ Styles */
.page-resources__faq-list {
  margin-top: 30px;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources__faq-question:active {
  background: #eeeeee;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-resources__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.page-resources__faq-answer p {
  margin-bottom: 0;
  font-size: 15px;
  color: #555555;
}

.page-resources__cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources__cta-container {
  max-width: 900px;
}

.page-resources__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-resources__cta-button--large {
  display: inline-block;
  padding: 18px 50px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-resources__cta-button--large:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 36px;
  }
  .page-resources__hero-description {
    font-size: 18px;
  }
  .page-resources__section-title {
    font-size: 32px;
  }
  .page-resources__grid-container {
    flex-direction: column;
  }
  .page-resources__text-content {
    text-align: center;
  }
  .page-resources__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-banner {
    padding: 60px 15px;
  }
  .page-resources__hero-title {
    font-size: 28px;
  }
  .page-resources__hero-description {
    font-size: 16px;
  }
  .page-resources__hero-cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-resources__section {
    padding: 40px 15px;
  }
  .page-resources__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-resources__paragraph {
    font-size: 15px;
  }
  .page-resources__card {
    padding: 25px;
  }
  .page-resources__card-title {
    font-size: 20px;
  }
  .page-resources__card-image {
    height: 150px;
  }
  .page-resources__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-resources__list-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-resources__list-title {
    font-size: 18px;
  }
  .page-resources__link-button {
    font-size: 14px;
    padding: 8px 15px;
  }
  .page-resources__faq-question {
    padding: 15px;
  }
  .page-resources__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources__faq-answer {
    padding: 0 15px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px !important;
  }
  .page-resources__cta-section {
    padding: 60px 15px;
  }
  .page-resources__cta-title {
    font-size: 30px;
  }
  .page-resources__cta-description {
    font-size: 16px;
  }
  .page-resources__cta-button--large {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 24px;
  }
  .page-resources__hero-description {
    font-size: 15px;
  }
  .page-resources__section-title {
    font-size: 22px;
  }
  .page-resources__card-title {
    font-size: 18px;
  }
  .page-resources__card-description {
    font-size: 14px;
  }
  .page-resources__list-title {
    font-size: 16px;
  }
  .page-resources__list-description {
    font-size: 14px;
  }
  .page-resources__faq-question h3 {
    font-size: 14px;
  }
  .page-resources__cta-title {
    font-size: 26px;
  }
  .page-resources__cta-description {
    font-size: 15px;
  }
  .page-resources__cta-button--large {
    font-size: 16px;
    padding: 12px 25px;
  }
}