.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); /* Ensures content is not hidden by 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 section */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay to make text readable */
  z-index: 1;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight color for title */
}

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

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

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

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

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

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

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

.page-support__button--link {
  background: none;
  border: none;
  color: #FCBC45;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
  display: inline;
}

.page-support__button--link:hover {
  color: #e0a53a;
}

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

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

.page-support__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-support__faq-question {
  font-size: 1.3em;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000000;
  background-color: #FCBC45; /* Highlight for questions */
}

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

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

.page-support__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #333333;
}

.page-support__faq-answer.open {
  max-height: 300px; /* Adjust based on expected content */
  padding: 20px 25px;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__text-link {
  color: #FCBC45;
  text-decoration: none;
}

.page-support__text-link:hover {
  text-decoration: underline;
}

.page-support__contact-section {
  padding: 60px 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: #000000; /* Dark background for contact cards */
  color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__contact-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Highlight for contact titles */
}

.page-support__contact-text {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-support__resource-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s 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; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
  }
  .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: 80%;
    max-width: 300px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__contact-methods, .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image overflow prevention */
  .page-support img {
    max-width: 100%;
    height: auto; /* Ensures images scale down */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
  .page-support__contact-icon {
    width: 200px; /* Fixed to minimum allowed */
    height: 200px; /* Fixed to minimum allowed */
    object-fit: contain;
  }
  .page-support__resource-image {
    height: auto; /* Allow height to adjust */
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding: 40px 0;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1em;
  }
  .page-support__faq-answer {
    font-size: 0.9em;
  }
  .page-support__container {
    padding: 0 15px;
  }
}

/* Ensure no image filter is applied */
.page-support img {
  filter: none !important;
}

/* Content area image minimum size check (for all img within .page-support) */
.page-support img {
  min-width: 200px;
  min-height: 200px;
}

/* HTML width/height attributes are for intrinsic ratio, CSS handles responsive display */
/* The CSS for .page-support__contact-icon and .page-support__resource-image already ensures min-width/height */