/* style/support.css */
.page-support {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-support__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-support__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-support__btn-large {
  padding: 18px 36px;
  font-size: 1.1em;
}

.page-support__section-title {
  color: var(--text-main, #F2FFF6);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-support__contact-methods,
.page-support__faq-section,
.page-support__resources-section,
.page-support__commitment-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

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

.page-support__method-card,
.page-support__resource-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--divider-color, #1E3A2A);
}

.page-support__method-icon,
.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-support__method-title,
.page-support__resource-title {
  color: var(--text-main, #F2FFF6);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-support__method-text,
.page-support__resource-text {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  border-top: 1px solid var(--divider-color, #1E3A2A);
  margin-top: -1px; /* Overlap border for cleaner look */
}

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

.page-support__faq-link {
  color: var(--gold, #F2C14E);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__faq-link:hover {
  color: var(--glow, #57E38D);
}

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

.page-support__commitment-section {
  text-align: center;
  padding-bottom: 80px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-support__hero-description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    margin-top: -100px; /* Pull content up over the image a bit */
    background: linear-gradient(to top, var(--bg-color, #08160F) 80%, rgba(8, 22, 15, 0.5));
    border-radius: 0 0 15px 15px;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: clamp(0.9em, 3vw, 1em);
    margin-bottom: 25px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__commitment-section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card,
  .page-support__resource-card {
    padding: 25px;
  }

  .page-support__method-icon,
  .page-support__resource-image {
    height: 180px;
  }

  .page-support__faq-item summary {
    padding: 18px 20px;
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 0 20px 18px 20px;
  }

  /* Image responsiveness for all images in content area */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__method-card,
  .page-support__resource-card,
  .page-support__faq-list,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__hero-image {
    filter: brightness(0.5); /* Dim more on mobile */
  }
}

/* Ensure image color filters are NOT used */
.page-support img {
  filter: none; /* Override any potential global filters */
}

/* Hero section: Image above text constraint. This CSS is for the hero image to be a background-like element but still an img tag */
.page-support__hero-section {
  position: relative; /* Changed to relative to allow absolute positioning of content */
  display: block; /* Revert to block to control flow */
  text-align: center;
  padding-bottom: 0; /* Adjust padding as content is now layered */
  min-height: 400px; /* Ensure a minimum height for the hero area */
}

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

.page-support__hero-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7); /* Keep brightness filter for image */
}

.page-support__hero-content {
  position: relative; /* Changed to relative to be on top of the image */
  z-index: 2;
  padding-top: 150px; /* Adjust as needed to push content down */
  padding-bottom: 100px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main, #F2FFF6);
}

@media (max-width: 768px) {
  .page-support__hero-content {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .page-support__hero-image {
    filter: brightness(0.5); /* Dim more on mobile */
  }
}