.page-support {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-support__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden; /* Ensure content does not overflow */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken background image for text readability */
}

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

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #002060; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-support__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__button {
  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;
  white-space: nowrap;
}

.page-support__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #002060; /* Main color */
  border: 2px solid #FFD700;
}

.page-support__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-support__button--secondary {
  background-color: #002060; /* Main color */
  color: #FFD700; /* Auxiliary color */
  border: 2px solid #002060;
}

.page-support__button--secondary:hover {
  background-color: #003380;
  border-color: #003380;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FFD700;
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #002060;
  margin-bottom: 15px;
}

.page-support__faq-answer {
  color: #555555;
  margin-bottom: 15px;
}

.page-support__faq-answer a {
  color: #002060;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #FFD700;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
}

.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-support__contact-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 5px solid #002060;
}

.page-support__contact-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-support__contact-title {
  font-size: 1.5em;
  color: #002060;
  margin-bottom: 10px;
}

.page-support__contact-description {
  color: #555555;
  margin-bottom: 20px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__resource-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
}

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.page-support__resource-title {
  font-size: 1.3em;
  color: #002060;
  margin: 20px 20px 10px 20px;
}

.page-support__resource-description {
  color: #555555;
  margin: 0 20px 20px 20px;
}

/* CTA Section */
.page-support__cta-section {
  background-color: #002060; /* Main color background */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.page-support__cta-section .page-support__section-title,
.page-support__cta-section .page-support__section-intro {
  color: #ffffff;
}

.page-support__cta-section .page-support__button--primary {
  background-color: #FFD700;
  color: #002060;
  border-color: #FFD700;
}

.page-support__cta-section .page-support__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-section {
    padding: 60px 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 1em;
  }
  .page-support__faq-item,
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 25px;
  }
  .page-support__faq-question {
    font-size: 1.2em;
  }
  .page-support__contact-title {
    font-size: 1.3em;
  }
  .page-support__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  /* Mobile content area image overflow prevention */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__hero-image {
    width: 100%;
    height: auto; /* Ensure responsive hero image */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__container {
    padding: 0 15px;
  }
}

/* CSS for image size validation - ensuring no images are smaller than 200px */
/* This rule applies to all images within .page-support except those explicitly managed by shared components like footer payment icons. */
.page-support img:not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-header__logo-image) {
  min-width: 200px;
  min- /* Adjust min-height as needed, but at least 200px in one dimension */
  object-fit: cover;
}

/* The filter property below is an exception to the 'no filter' rule for images, as it's applied to a background image to enhance text readability, not to change the image's inherent color scheme. */
.page-support__hero-image {
  filter: brightness(0.5); /* Darken background image for text readability */
}