.page-support {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-support__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
  background-color: rgba(0, 0, 0, 0.8);
}

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

.page-support__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Adjust as needed */
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.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;
  max-width: 800px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-support__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  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, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-support__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-support__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__cta-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent dark background */
  margin-bottom: 30px; /* Space between sections */
  border-radius: 10px;
}

.page-support__faq-section {
  background-color: rgba(255, 255, 255, 0.03);
}

.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);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid #FCBC45;
}

.page-support__faq-question {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-support__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__faq-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-support__faq-link:hover {
  color: #ffffff;
}

.page-support__contact-options {
  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);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  border-bottom: 5px solid #FCBC45;
}

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

.page-support__contact-icon {
  width: 200px; /* Ensure minimum size */
  height: 133px; /* Maintain aspect ratio for 600x400 */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-support__contact-text {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.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 4px 8px rgba(0, 0, 0, 0.2);
  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: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-support__resource-card h3,
.page-support__resource-card p {
  padding: 0 20px;
}

.page-support__resource-title {
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-support__resource-description {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(252, 188, 69, 0.1), rgba(0, 0, 0, 0.7));
  border-radius: 10px;
}

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

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

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

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

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__faq-item, .page-support__contact-card, .page-support__resource-card {
    padding: 20px;
  }
  .page-support__faq-question {
    font-size: 1.2em;
  }
  .page-support__contact-icon {
    width: 150px;
    height: 100px;
  }
  .page-support__cta-title {
    font-size: 1.8em;
  }
  .page-support__cta-description {
    font-size: 1em;
  }
  /* Mobile content area images must not overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
  .page-support__hero-image {
    height: 100%; /* Ensure hero image scales correctly */
  }
  .page-support__contact-icon, .page-support__resource-image {
    width: 100%; /* Make sure images within cards scale */
    height: auto; /* Maintain aspect ratio */
    min-height: 200px; /* Ensure minimum height */
  }
  .page-support__hero-container {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__cta-title {
    font-size: 1.6em;
  }
}