.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* shared.css should handle body padding-top */
}

.page-support__hero-section .page-support__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-support__hero-content {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

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

.page-support__hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-support__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Why Choose Section */
.page-support__why-choose-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body */
}

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

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

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

.page-support__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-support__feature-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-support__feature-text {
  color: #e0e0e0;
  font-size: 0.95em;
}

/* Contact Channels Section */
.page-support__contact-channels-section {
  padding: 60px 0;
  background-color: #017439; /* Brand primary color */
}

.page-support__contact-channels-section .page-support__section-title,
.page-support__contact-channels-section .page-support__section-description {
  color: #FFFFFF;
}

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

.page-support__channel-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__channel-title {
  font-size: 1.6em;
  color: #FFFF00; /* Yellow for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__channel-text {
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* Self-Help Section */
.page-support__self-help-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body */
}

.page-support__self-help-section .page-support__section-title {
  color: #FFFFFF;
}

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

.page-support__guide-category {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__guide-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__guide-text {
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-support__guide-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #e0e0e0;
}

.page-support__guide-list li {
  margin-bottom: 10px;
}

.page-support__guide-list li a {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-list li a:hover {
  color: #017439;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #0d0d1e; /* Slightly darker than body bg */
}

.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
  color: #FFFFFF;
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 1.1em;
  font-weight: bold;
  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.5em;
  font-weight: bold;
  color: #017439;
  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;
  color: #e0e0e0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

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

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

.page-support__faq-link:hover {
  text-decoration: underline;
  color: #017439;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body */
  text-align: center;
}

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

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

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

.page-support__commitment-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-support__commitment-list li strong {
  color: #017439;
}

.page-support__commitment-section .page-support__cta-buttons {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.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: #a00606;
  border-color: #a00606;
}

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

.page-support__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* Image styles for responsive and minimum size */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum width */
  min-height: 200px; /* Minimum height */
}

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

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

  .page-support__features-grid,
  .page-support__channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-support__hero-section .page-support__container {
    flex-direction: column;
    text-align: center;
  }

  .page-support__hero-content {
    order: 2;
  }

  .page-support__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 0; /* Ensures no double padding if shared.css sets body padding */
    padding-bottom: 40px;
  }

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

  .page-support__hero-title {
    font-size: 2em;
    text-align: center;
  }

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

  .page-support__hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .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__section-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

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

  .page-support__why-choose-section,
  .page-support__contact-channels-section,
  .page-support__self-help-section,
  .page-support__faq-section,
  .page-support__commitment-section {
    padding: 40px 0;
  }

  .page-support__features-grid,
  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }

  .page-support__feature-card,
  .page-support__channel-card,
  .page-support__guide-category,
  .page-support__faq-item {
    padding: 20px;
  }

  .page-support__feature-title,
  .page-support__channel-title {
    font-size: 1.3em;
  }

  .page-support__guide-title {
    font-size: 1.5em;
  }

  .page-support__faq-question {
    font-size: 1em;
    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__commitment-list li {
    font-size: 1em;
    padding: 12px 20px;
  }

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

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller display sizes for responsiveness */
    min-height: unset;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__why-choose-section,
  .page-support__contact-channels-section,
  .page-support__self-help-section,
  .page-support__faq-section,
  .page-support__commitment-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Ensure content within sections don't cause overflow */
  .page-support__hero-content, .page-support__hero-image-wrapper,
  .page-support__features-grid, .page-support__channels-grid,
  .page-support__guide-category, .page-support__faq-list,
  .page-support__commitment-list {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Contrast Fixes for specific elements if needed */
.page-support__dark-bg {
  color: #ffffff; /* Deep background with light text */
}

.page-support__dark-bg .page-support__section-title {
  color: #ffffff;
}

.page-support__dark-bg .page-support__section-description {
  color: #f0f0f0;
}

.page-support__channel-card .page-support__btn-primary {
  background-color: #FFFF00;
  color: #017439;
  border-color: #FFFF00;
}

.page-support__channel-card .page-support__btn-primary:hover {
  background-color: #e0e000;
  border-color: #e0e000;
  color: #000;
}