.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

.page-resources__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb7 100%);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__content-area {
  background-color: #000000; /* Dark background for content sections */
  color: #ffffff; /* Light text for dark background */\  padding: 60px 0;
}

.page-resources__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

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

.page-resources__image-wrapper {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-resources__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
  gap: 15px;
}

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

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

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

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

.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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-resources__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-resources__cta-section {
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb7 100%);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__text-block,
  .page-resources__list li,
  .page-resources__faq-question,
  .page-resources__faq-answer p {
    font-size: 1em;
    line-height: 1.5;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    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__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-resources__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__image-wrapper,
  .page-resources__faq-list,
  .page-resources__faq-item,
  .page-resources__cta-section,
  .page-resources__content-area,
  .page-resources__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources__faq-question, .page-resources__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .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.5em;
  }
  .page-resources__cta-title {
    font-size: 1.5em;
  }
}