.page-support {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF; /* Light background as per auxiliary color */
  color: #333333; /* Dark text for contrast on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #000000; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
  text-align: center;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-support__button--primary {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #000000;
}

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

.page-support__button--secondary {
  background-color: transparent;
  color: #000000; /* Primary color */
  border: 2px solid #000000;
}

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

.page-support__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000; /* Primary color for text */
  border: 2px solid #000000;
}

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

.page-support__button--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000; /* Primary color for text */
  border: 2px solid #FCBC45;
}

.page-support__button--login:hover {
  background-color: #e0a538;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content area */
  color: #FFFFFF; /* Light text on dark background */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

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

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

.page-support__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  width: 100%;
  background-color: #FFFFFF;
  border: none;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000000;
}

.page-support__faq-question:hover {
  background-color: #f5f5f5;
}

.page-support__faq-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__faq-question[aria-expanded="true"] .page-support__faq-icon {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #fcfcfc;
}

.page-support__faq-answer[style*="max-height:"] {
  padding: 20px 25px;
}

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

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

.page-support__faq-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-button:hover {
  background-color: #e0a538;
}

.page-support__faq-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  max-width: 100%;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

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

.page-support__contact-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-support__contact-icon {
  width: 300px; /* Display width */
  height: 200px; /* Display height */
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

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

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

.page-support__resource-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-support__resource-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__resource-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

.page-support__resource-title a:hover {
  text-decoration: underline;
}

.page-support__resource-text {
  color: #555555;
  margin-bottom: 20px;
}

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

.page-support__cta-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__cta-section .page-support__section-description {
  color: #f0f0f0;
}

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

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

  .page-support__hero-description {
    font-size: 1.2em;
  }

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

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

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

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

  .page-support__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-support__button {
    width: 80%;
  }

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-answer[style*="max-height:"] {
    padding: 15px 20px;
  }

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

  /* Critical: Mobile content images must not overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-support__faq-question {
    font-size: 1em;
  }

  .page-support__button {
    width: 90%;
    padding: 10px 20px;
  }
}