.page-support {
  color: #f0f0f0; /* Light text for dark body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  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 {
  position: relative;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 1;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-support__hero-title {
  font-size: 3em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-support__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1a1a1a; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__hero-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  color: #000000;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-support__faq-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  padding: 60px 0;
  margin-top: 40px;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Darker card background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
}

.page-support__faq-question {
  font-size: 1.3em;
  color: #FFD700; /* Gold for questions */
  margin-bottom: 15px;
}

.page-support__faq-answer {
  color: #cccccc;
}

.page-support__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__faq-button {
  display: inline-block;
  background-color: #8B0000; /* Deep red button */
  color: #ffffff; /* White text for red button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-button:hover {
  background-color: #a30000; /* Lighter red on hover */
}

.page-support__contact-section {
  padding: 60px 0;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-support__contact-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__contact-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-support__contact-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__contact-button:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-support__resources-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__resource-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 20px 0;
}

.page-support__resource-description {
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-support__resources-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__resources-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__resources-button:hover {
  background-color: #a30000;
}

.page-support__cta-section {
  background: linear-gradient(135deg, #8B0000, #FFD700); /* Red to gold gradient */
  padding: 80px 0;
  text-align: center;
}

.page-support__cta-content {
  color: #ffffff;
}

.page-support__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__cta-button--register {
  background-color: #FFD700; /* Gold button */
  color: #1a1a1a; /* Dark text */
}

.page-support__cta-button--register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: #e6c200;
}

.page-support__cta-button--login {
  background-color: #1a1a1a; /* Dark background button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-support__cta-button--login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: #000000;
  color: #FFD700;
}

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

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__section-intro {
    font-size: 1em;
  }
  .page-support__faq-grid,
  .page-support__contact-methods,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }
  .page-support__contact-image,
  .page-support__resource-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-support__cta-title {
    font-size: 2em;
  }
  .page-support__cta-description {
    font-size: 1.1em;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  /* Ensure all images within .page-support are responsive and not too small */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__hero-image {
    height: 400px; /* Adjust height for mobile hero */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-item,
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .page-support__contact-image {
    max-width: 180px;
    min-width: 180px;
    min-height: 180px;
  }
  .page-support__cta-title {
    font-size: 1.8em;
  }
  .page-support__cta-description {
    font-size: 1em;
  }
  .page-support__cta-button {
    width: 90%;
  }
}