.page-resources {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* From body background info */
}

.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); /* Ensures content is not hidden by fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #0a0a0a;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.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: 40px;
  color: #f0f0f0;
}

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

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

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

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

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

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

.page-resources__introduction-section {
  background-color: #0a0a0a;
}

.page-resources__guides-section {
  background-color: #1a1a1a;
}

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

.page-resources__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-resources__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
}

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

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

.page-resources__card-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px;
  flex-grow: 1;
}

.page-resources__btn-text {
  display: inline-flex;
  align-items: center;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  margin: 20px;
  transition: color 0.3s ease;
}

.page-resources__btn-text:hover {
  color: #ffffff;
}

.page-resources__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-resources__btn-text:hover .page-resources__arrow {
  transform: translateX(5px);
}

.page-resources__strategy-section {
  background-color: #0a0a0a;
}

.page-resources__article-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-resources__article-item {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources__article-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__article-image {
  width: 350px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-resources__article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-resources__article-summary {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-resources__news-section {
  background-color: #1a1a1a;
}

.page-resources__faq-section {
  background-color: #0a0a0a;
}

.page-resources__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-resources__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Brand color tint */
  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);
}

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

.page-resources__faq-question::marker {
  display: none;
}

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

.page-resources__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-resources__app-section {
  background-color: #1a1a1a;
}

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

.page-resources__app-text {
  flex: 1;
  min-width: 300px;
}

.page-resources__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.page-resources__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  width: 400px; /* Display width */
  height: 500px; /* Display height */
}

.page-resources__app-download-btn {
  margin-top: 30px;
  display: inline-block;
}

.page-resources__download-options {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-resources__app-store-badge img,
.page-resources__google-play-badge img {
   /* Display height */
  width: auto; /* Display width */
  max-width: 100%;
  object-fit: contain;
}

.page-resources__conclusion-section {
  background-color: #0a0a0a;
  text-align: center;
}

.page-resources__final-cta-btn {
  margin-top: 40px;
  display: inline-block;
}

/* Button styles */
.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

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

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

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

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

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

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

  .page-resources__article-image {
    width: 100%;
    height: 250px;
  }
}

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

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

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

  .page-resources__section {
    padding: 40px 15px;
  }

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

  .page-resources__text-block {
    font-size: 0.95em;
  }

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

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

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

  .page-resources__article-image {
    height: 200px;
  }

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

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

  .page-resources__app-image {
    width: 300px; /* Adjust for smaller screens */
    height: 375px; /* Adjust for smaller screens */
  }

  .page-resources__app-store-badge img,
  .page-resources__google-play-badge img {
     /* Smaller badges */
  }

  /* Mobile image responsive adaptations */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__hero-section,
  .page-resources__introduction-section,
  .page-resources__guides-section,
  .page-resources__strategy-section,
  .page-resources__news-section,
  .page-resources__faq-section,
  .page-resources__app-section,
  .page-resources__conclusion-section,
  .page-resources__hero-cta-buttons,
  .page-resources__cta-faq-buttons,
  .page-resources__download-options,
  .page-resources__app-content,
  .page-resources__app-text,
  .page-resources__app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsive adaptations */
  .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-buttons,
  .page-resources__cta-faq-buttons,
  .page-resources__download-options {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}