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

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

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

.page-resources__dark-section {
  background-color: #300060; /* Main brand color */
  color: #ffffff;
}

.page-resources__light-bg {
  background-color: #f0f0f0; /* Light background for contrast */
  color: #333333;
}

.page-resources__section-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-resources__light-bg .page-resources__section-title {
  color: #300060;
}

.page-resources__sub-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources__dark-section .page-resources__sub-title {
  color: #FFD700;
}

.page-resources__light-bg .page-resources__sub-title {
  color: #300060;
}

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources__hero-section {
  padding-top: var(--header-offset, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: left;
  background: linear-gradient(135deg, #300060 0%, #1a0033 100%);
}

.page-resources__hero-content {
  flex: 1;
  padding-right: 40px;
}

.page-resources__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-resources__hero-description {
  font-size: 1.3em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-resources__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #FFD700; /* Accent color */
  color: #300060; /* Dark text for accent background */
  border: 2px solid #FFD700;
}

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

.page-resources__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color text */
  border: 2px solid #FFD700;
}

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

.page-resources__btn-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: block;
  transition: color 0.3s ease;
}

.page-resources__btn-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Feature List */
.page-resources__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-resources__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__list-item strong {
  color: #FFD700;
}

/* Grid Cards */
.page-resources__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-resources__card-title {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

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

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

.page-resources__card-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  color: #555555;
}

.page-resources__card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__card--dark .page-resources__card-title a {
  color: #FFD700;
}

.page-resources__card--dark .page-resources__card-description {
  color: #f0f0f0;
}

/* Article List */
.page-resources__article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources__article-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-resources__article-image {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

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

.page-resources__article-title {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources__article-title a {
  color: #300060;
  text-decoration: none;
}

.page-resources__article-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-resources__article-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-resources__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

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

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

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

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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: #555555;
  background-color: #ffffff;
}

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

.page-resources__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Contact Support */
.page-resources__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-resources__contact-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  flex: 1;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__contact-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources__contact-item p {
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Download App */
.page-resources__download-app {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources__app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources__app-image {
  width: 400px;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources__app-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-resources__app-text .page-resources__text-block {
  margin-left: 0;
  margin-right: 0;
  color: #555555;
}

/* Final CTA */
.page-resources__final-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px);
  }

  .page-resources__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

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

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

  .page-resources__hero-cta {
    justify-content: center;
  }

  .page-resources__article-item {
    flex-direction: column;
    text-align: center;
  }

  .page-resources__article-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .page-resources__contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .page-resources__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources__app-image {
    width: 300px;
    height: 300px;
  }
  .page-resources__app-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-resources__section {
    padding: 60px 0;
  }

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

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

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

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

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-resources__list-item {
    font-size: 1em;
  }

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

  .page-resources__article-title {
    font-size: 1.5em;
  }

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

  .page-resources__contact-title {
    font-size: 1.5em;
  }

  .page-resources__container {
    padding: 0 15px;
  }

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

  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__hero-section,
  .page-resources__app-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden;
  }
  
  .page-resources__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__cta-button,
  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources a[class*="button"],
  .page-resources a[class*="btn"] {
    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__hero-cta,
  .page-resources__contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__hero-cta .page-resources__btn-primary,
  .page-resources__hero-cta .page-resources__btn-secondary {
    width: 100%;
  }
}

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

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

  .page-resources__hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100%;
    padding: 10px 20px;
  }
}