.page-support {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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 {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-support__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-support__button--login:hover {
  background-color: #FCDA8F;
  transform: translateY(-3px);
}

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

.page-support__button--download:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-support__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Default background */
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-support__faq-question.active {
  background-color: #333333;
}

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

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

.page-support__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px;
}

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

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

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

.page-support__contact-section {
  padding: 60px 0;
  background-color: #F0F0F0;
  text-align: center;
}

.page-support__contact-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

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

.page-support__button--livechat:hover {
  background-color: #FCDA8F;
  transform: translateY(-3px);
}

.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;
  transform: translateY(-3px);
}

.page-support__resources-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-support__resource-card {
  background-color: #F9F9F9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-support__resource-text {
  font-size: 1em;
  margin: 0 20px 20px;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-actions {
    flex-direction: column;
  }
  .page-support__button {
    width: 100%;
    max-width: 300px;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__faq-question {
    font-size: 1em;
  }
  .page-support__contact-methods {
    flex-direction: column;
  }
  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all images in content area are responsive and not too small */
  .page-support img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px; /* Enforce minimum size for all content images */
  }
  .page-support__hero-image {
    min-width: unset;
    min-height: unset;
  }
  .page-support__resource-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-section {
    padding: 60px 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-answer.active {
    padding: 15px;
  }
}