.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background, so light text */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-resources__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8)); /* Blend brand color with dark background */
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) blur(3px); /* Darken and blur background image */
}

.page-resources__section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure sections have dark background */
  color: #ffffff;
}

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #26A9E0;
  position: relative;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

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

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

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

.page-resources__card, .page-resources__product-card, .page-resources__promo-card, .page-resources__info-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-resources__card-image, .page-resources__product-image, .page-resources__promo-image, .page-resources__info-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-resources__card-title, .page-resources__product-title, .page-resources__promo-title, .page-resources__info-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  padding: 0 15px;
  color: #26A9E0;
}

.page-resources__card-title a, .page-resources__product-title a, .page-resources__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources__card-title a:hover, .page-resources__product-title a:hover, .page-resources__promo-title a:hover {
  text-decoration: underline;
}

.page-resources__card-text, .page-resources__product-description, .page-resources__promo-description, .page-resources__info-text {
  font-size: 1em;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #e0e0e0;
}

.page-resources__card-button {
  margin-top: auto;
}

.page-resources__btn-primary, .page-resources__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-resources__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-resources__app-text {
  flex: 1;
}

.page-resources__app-image-wrapper {
  flex: 1;
  text-align: center;
}

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

.page-resources__download-button {
  margin-top: 30px;
}

.page-resources__faq-list {
  margin-top: 40px;
}

.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 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Lighter brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

.page-resources__faq-item[open] .page-resources__faq-question {
  background-color: rgba(38, 169, 224, 0.4);
  border-bottom: 1px solid #26A9E0;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-resources__faq-item[open] .page-resources__faq-toggle {
  color: #ffffff;
}

.page-resources__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #e0e0e0;
  text-align: justify;
  padding-top: 0;
}

.page-resources__faq-item summary {
  list-style: none;
}

.page-resources__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__app-text {
    order: 2;
  }
  .page-resources__app-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 500px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary, .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources__section {
    padding: 50px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__paragraph {
    font-size: 0.95em;
  }
  .page-resources__card-grid, .page-resources__product-grid, .page-resources__promo-grid, .page-resources__info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__card-image, .page-resources__product-image, .page-resources__promo-image, .page-resources__info-image {
    height: 200px;
  }
  .page-resources__card-title, .page-resources__product-title, .page-resources__promo-title, .page-resources__info-title {
    font-size: 1.4em;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }

  /* Image and Video Responsive */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section,
  .page-resources__container,
  .page-resources__hero-section,
  .page-resources__card,
  .page-resources__product-card,
  .page-resources__promo-card,
  .page-resources__info-card,
  .page-resources__app-download-content,
  .page-resources__faq-item,
  .page-resources__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
}