.page-support {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #017439, #005a2d); /* Dark gradient using brand color */
  color: #ffffff;
}

.page-support__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-support__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed to create depth, not changing original color */
}

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

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color for titles in light sections */
}

.page-support__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #555555;
}

/* Why Choose Section */
.page-support__why-choose-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__why-choose-section .page-support__section-title {
  color: #017439;
}

.page-support__why-choose-section .page-support__section-description {
  color: #555555;
}

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

.page-support__feature-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-support__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background: #1a1a2e; /* Dark background from body */
  color: #ffffff; /* Light text for dark background */
}

.page-support__faq-section .page-support__section-title {
  color: #ffffff;
}

.page-support__faq-section .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.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.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure content is fully visible */
  padding: 15px 25px 25px 25px;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-support__faq-answer a {
  color: #90ee90; /* Lighter green for links on dark background */
  text-decoration: underline;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__guides-section .page-support__section-title {
  color: #017439;
}

.page-support__guides-section .page-support__section-description {
  color: #555555;
}

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

.page-support__guide-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-support__guide-card h3 {
  padding: 20px 25px 10px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  color: #017439;
}

.page-support__guide-card h3 a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-card h3 a:hover {
  color: #005a2d;
}

.page-support__guide-text {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-support__guide-card .page-support__btn-secondary {
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* Contact Section */
.page-support__contact-section {
  position: relative;
  padding: 80px 0;
  background: #1a1a2e; /* Dark background from body */
  color: #ffffff; /* Light text for dark background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-support__contact-section .page-support__container {
  z-index: 1;
  position: relative;
}

.page-support__contact-section .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-section .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-support__contact-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: grayscale(70%); /* Allowed to create depth, not changing original color */
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__commitment-section .page-support__section-title {
  color: #017439;
}

.page-support__commitment-section .page-support__section-description {
  color: #555555;
}

.page-support__commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-support__commitment-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
}

.page-support__list-icon {
  font-size: 1.5rem;
  color: #017439;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-support__final-cta-text {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #333333;
}

/* Buttons */
.page-support__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-support__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  transform: translateY(-2px);
}

/* Image and Video Responsive Styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-support__video-section,
.page-support__video-container,
.page-support__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

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

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

  .page-support__section-description {
    font-size: 0.95rem;
  }

  .page-support__container {
    padding: 30px 15px;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .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__cta-button,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

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

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

  .page-support__guide-card h3 {
    font-size: 1.2rem;
  }

  .page-support__contact-card {
    padding: 25px;
  }

  .page-support__commitment-list li {
    font-size: 1rem;
  }
}

/* Specific colors based on requirements */
.page-support__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-support__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-support__btn-register:hover,
.page-support__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Ensure content area images are not too small */
.page-support__feature-icon, .page-support__guide-image {
  min-width: 200px;
  min-height: 200px;
}

.page-support__feature-icon {
  width: 250px;
  height: 200px;
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
}