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

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Primary brand color */
  color: #FFFFFF;
  padding: 80px 20px;
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.page-support__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-support__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-support__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-support__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-support__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-support__button--text {
  background: none;
  border: none;
  color: #FCBC45;
  padding: 0;
  min-width: unset;
  text-align: left;
}

.page-support__button--text:hover {
  text-decoration: underline;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-support__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-support__faq-section,
.page-support__contact-options-section,
.page-support__resources-section,
.page-support__cta-section {
  padding: 60px 0;
}

.page-support__faq-section {
  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;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-support__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-support__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

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

.page-support__contact-card,
.page-support__resource-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon,
.page-support__resource-image {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-width: 400px; /* Constrain max width to prevent overly large images */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-support__contact-title,
.page-support__resource-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-support__contact-title a,
.page-support__resource-title a {
  color: #000000;
  text-decoration: none;
}

.page-support__contact-title a:hover,
.page-support__resource-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-support__contact-description,
.page-support__resource-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-support__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-support__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }

  .page-support__hero-description,
  .page-support__cta-description {
    font-size: 1em;
  }

  .page-support__hero-actions {
    flex-direction: column;
  }

  .page-support__button {
    width: 100%;
    min-width: unset;
  }

  .page-support__section-title,
  .page-support__cta-title {
    font-size: 2em;
  }

  .page-support__faq-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure images are responsive and do not overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }

  .page-support__contact-icon, .page-support__resource-image {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Still adhere to minimum size */
    min-height: 200px; /* Still adhere to minimum size */
  }
}

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

  .page-support__section-title,
  .page-support__cta-title {
    font-size: 1.8em;
  }

  .page-support__button {
    padding: 12px 25px;
  }
}