.page-support {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let text stand out */
  z-index: 1;
}

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

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

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

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

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

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

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

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

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

.page-support__faq-section {
  background-color: #F8F8F8;
  padding: 80px 0;
}

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

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

.page-support__faq-list {
  display: grid;
  gap: 20px;
}

.page-support__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: bold;
  color: #FCBC45;
}

.page-support__faq-question.active::after {
  content: '-';
}

.page-support__faq-answer {
  font-size: 1em;
  color: #444444;
  line-height: 1.7;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-answer.open {
  display: block;
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

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

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

.page-support__contact-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.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: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.page-support__contact-icon {
  width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-support__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.page-support__button--chat:hover {
  background-color: #E0A83D;
}

.page-support__button--email,
.page-support__button--phone {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-support__button--email:hover,
.page-support__button--phone:hover {
  background-color: #333333;
}

.page-support__resources-section {
  background-color: #F0F0F0;
  padding: 80px 0;
}

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

.page-support__resource-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__resource-card-title {
  font-size: 1.5em;
  color: #000000;
  padding: 20px 25px 10px;
}

.page-support__resource-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-support__resource-card-title a:hover {
  color: #FCBC45;
}

.page-support__resource-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  padding: 0 25px 25px;
}

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

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

.page-support__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0;
}

.page-support__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-support__button--cta:hover {
  background-color: #E0A83D;
  color: #000000;
}

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

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-support__hero-section {
    padding: 40px 15px;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-support__content-container {
    padding: 20px 15px;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__section-intro {
    font-size: 0.95em;
  }
  .page-support__faq-item, .page-support__contact-card, .page-support__resource-card {
    padding: 20px;
  }
  .page-support__faq-question {
    font-size: 1.2em;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
  .page-support__resource-card-title {
    font-size: 1.3em;
  }
  .page-support__cta-title {
    font-size: 2em;
  }
  .page-support__cta-description {
    font-size: 1em;
  }

  /* Ensure all images within .page-support are responsive and not too small */
  .page-support img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    object-fit: cover;
  }

  .page-support__contact-icon {
    width: 100%; /* Adjust width for smaller screens */
    max-width: 200px;
    height: auto;
  }

  .page-support__resource-image {
    height: 200px; /* Adjust height for mobile */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__cta-title {
    font-size: 1.8em;
  }
  .page-support__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}