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

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

.page-support__hero-container {
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  z-index: 1;
}

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-support__hero-cta-button:hover {
  background-color: #FFD700; /* Slightly brighter yellow */
  transform: translateY(-3px);
}

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

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

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

.page-support__why-choose-us-section,
.page-support__faq-section,
.page-support__contact-section,
.page-support__related-links-section,
.page-support__get-started-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__why-choose-us-section {
  background-color: #f9f9f9;
}

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

.page-support__feature-card,
.page-support__contact-card,
.page-support__related-link-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-support__feature-card:hover,
.page-support__contact-card:hover,
.page-support__related-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-support__feature-icon,
.page-support__contact-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px; /* Apply border-radius to image */
}

.page-support__feature-title,
.page-support__contact-title,
.page-support__related-link-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-text,
.page-support__contact-text,
.page-support__related-link-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-support__contact-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-support__contact-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-support__faq-section {
  background-color: #ffffff;
}

.page-support__accordion-group {
  margin-top: 40px;
}

.page-support__accordion-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__accordion-header {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e0e0e0;
  font-weight: bold;
  border-bottom: 1px solid #d0d0d0;
}

.page-support__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-support__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-support__accordion-content.active {
  max-height: 1000px; /* Adjust as needed */
  padding: 20px 30px 30px;
}

.page-support__faq-question {
  font-size: 1.15em;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-support__related-link-card {
  text-decoration: none;
  color: inherit;
}

.page-support__get-started-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

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

.page-support__get-started-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: none;
}

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

.page-support__login-button:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

.page-support__register-button {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-support__register-button:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

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

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

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

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

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

  .page-support__section-intro {
    font-size: 0.95em;
  }

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

  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__related-link-card {
    padding: 25px;
  }

  .page-support__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-support__accordion-content.active {
    padding: 15px 20px 20px;
  }

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

  .page-support__faq-answer {
    font-size: 0.95em;
  }

  .page-support__get-started-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__hero-section,
  .page-support__why-choose-us-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__related-links-section,
  .page-support__get-started-section {
    padding: 40px 15px;
  }

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

  /* Specific image rules to ensure minimum size is not violated by smaller CSS */
  .page-support__feature-icon, .page-support__contact-icon {
    width: 100px; /* Explicitly set to avoid smaller inherited values */
    height: 100px; /* Explicitly set to avoid smaller inherited values */
    max-width: 100px; /* Ensure they don't grow too large on mobile if parent is small */
    max-height: 100px;
  }

  .page-support__hero-image {
    width: 100%;
    height: auto;
  }

  .page-support__hero-container {
    padding: 0;
  }
}

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

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

  .page-support__hero-cta-button,
  .page-support__contact-button,
  .page-support__get-started-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}