.page-support {
  background-color: #1a1a2e; /* Dark body background from shared.css */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 20px; /* Add padding for smaller screens */
  box-sizing: border-box;
}

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

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-support__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 40px;
  background: rgba(1, 116, 57, 0.8); /* Semi-transparent brand green background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff; /* White text for brand green background */
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.page-support__btn-primary {
  display: inline-block;
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for primary button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  box-sizing: border-box;
}

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

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

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

.page-support__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.page-support__faq-image-wrapper {
  text-align: center;
}

.page-support__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-support__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-support__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

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

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

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

.page-support__link {
  color: #017439; /* Brand primary color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: #005a2e;
  text-decoration: underline;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background-color: #24243e; /* Slightly different dark background */
  color: #ffffff;
}

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

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

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

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: brightness(1.2); /* Slightly brighten icons for visibility, NOT changing color */
}

.page-support__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__contact-card p {
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-support__guide-card .page-support__card-title {
  font-size: 1.3em;
  padding: 0 15px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-support__guide-card .page-support__card-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-support__guide-card .page-support__card-title a:hover {
  color: #017439;
}

.page-support__guide-card p {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-support__guide-card .page-support__link {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 15px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-support__guide-card .page-support__link:hover {
  background-color: #005a2e;
}

/* Why Choose Section */
.page-support__why-choose-section {
  padding: 80px 0;
  background-color: #24243e; /* Slightly different dark background */
  color: #ffffff;
}

.page-support__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.page-support__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__feature-icon {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Slightly brighten icons for visibility, NOT changing color */
}

.page-support__feature-card p {
  color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-support__faq-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    height: 500px;
  }
  .page-support__hero-content {
    padding: 30px;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__faq-section, .page-support__contact-section, .page-support__guides-section, .page-support__why-choose-section {
    padding: 60px 0;
  }
  .page-support__container {
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  /* Image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* All containers with images/content */
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__guides-section,
  .page-support__why-choose-section,
  .page-support__container,
  .page-support__faq-grid,
  .page-support__contact-grid,
  .page-support__guides-grid,
  .page-support__why-choose-grid,
  .page-support__faq-item,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-support__faq-item, .page-support__contact-card, .page-support__guide-card, .page-support__feature-card {
      padding-left: 15px;
      padding-right: 15px;
  }
  .page-support__faq-list, .page-support__contact-grid, .page-support__guides-grid, .page-support__why-choose-grid {
      gap: 20px; /* Reduce gap on mobile */
  }

  /* Button responsiveness */
  .page-support__btn-primary,
  .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: 12px 15px !important; /* Adjust padding for mobile */
  }
  .page-support__hero-content .page-support__btn-primary {
    max-width: 250px !important; /* Limit hero button width if needed */
    margin: 0 auto; /* Center button */
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    height: 400px;
  }
  .page-support__hero-content {
    padding: 20px;
  }
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__faq-question,
  .page-support__card-title {
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 10px 15px 15px;
  }
  .page-support__faq-question h3 {
    font-size: 1em;
  }
  .page-support__faq-question .page-support__faq-toggle {
    font-size: 1.2em;
  }
}