.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); /* Ensure content is below fixed header */
}

.page-support__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  position: relative;
}

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

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

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

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

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

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

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

.page-support__faq-section,
.page-support__contact-section,
.page-support__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-support__section-subtitle {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-support__faq-container,
.page-support__contact-container,
.page-support__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__faq-illustration,
.page-support__contact-illustration,
.page-support__cta-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-support__faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-support__faq-item:hover {
  background-color: #f0f0f0;
  border-color: #FCBC45;
}

.page-support__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-support__faq-item.active .page-support__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-top: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-support__faq-answer p {
  margin: 0;
  color: #555555;
}

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

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

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

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

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

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

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

.page-support__cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

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

.page-support__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  position: relative;
}

.page-support__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  position: relative;
}

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

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

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

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

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

  .page-support__faq-illustration,
  .page-support__contact-illustration,
  .page-support__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Critical: prevent content overflow on mobile */
  .page-support__faq-illustration, 
  .page-support__contact-illustration, 
  .page-support__cta-image {
    max-width: 100%;
    height: auto;
  }

  .page-support {
    overflow-x: hidden;
  }
}

@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__faq-item,
  .page-support__contact-card {
    padding: 15px;
  }

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