.page-support {
  color: #ffffff; /* Dark body background #1a1a1a, so text is light */
  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;
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background-color: #a50707;
  border-color: #a50707;
}

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

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherits from parent, will be #333333 on light, #ffffff on dark */
}

.page-support__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: inherit;
}

.page-support__overview-section,
.page-support__channels-section,
.page-support__faq-section,
.page-support__guide-section,
.page-support__policy-section,
.page-support__why-choose-section,
.page-support__final-cta-section {
  padding: 60px 0;
}

.page-support__image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-support__channel-card,
.page-support__policy-card,
.page-support__guide-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__channel-title,
.page-support__policy-card-title,
.page-support__guide-card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__channel-description,
.page-support__policy-card-text,
.page-support__guide-card-text {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: left;
}

.page-support__contact-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__faq-group {
  margin-bottom: 40px;
}

.page-support__faq-category-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 25px;
  text-align: center;
}

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

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

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-support__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-support__cta-box {
  background-color: #017439;
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-support__cta-box-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__cta-box-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__link-more {
  display: inline-block;
  margin-top: auto; /* Push to bottom */
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  width: 100%;
  text-align: center;
}

.page-support__link-more:hover {
  text-decoration: underline;
}

.page-support__final-cta-section {
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-support__final-cta-section .page-support__section-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }

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

  .page-support__section-text {
    font-size: 0.95em;
  }

  .page-support__channels-grid,
  .page-support__policy-grid,
  .page-support__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-card,
  .page-support__policy-card,
  .page-support__guide-card {
    padding: 25px;
    text-align: left;
  }

  .page-support__channel-title,
  .page-support__policy-card-title,
  .page-support__guide-card-title {
    font-size: 1.4em;
  }

  .page-support__faq-category-title {
    font-size: 1.6em;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }

  .page-support__cta-box {
    padding: 30px;
  }

  .page-support__cta-box-title {
    font-size: 1.6em;
  }

  .page-support__cta-box-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important; /* Added for explicit width */
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Ensure all content sections have proper padding */
  .page-support__overview-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__policy-section,
  .page-support__why-choose-section,
  .page-support__final-cta-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

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

  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}