/* Base styles for page-support */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for default white body background */
  background: #ffffff;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 15px;
  padding-top: 40px;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  background-color: #f0f0f0;
  padding-bottom: 20px; /* Space for content below image */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px; /* Limit hero image height */
}

.page-support__hero-content {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 15px;
  text-align: center;
}

.page-support__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #017439; /* Brand primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #017439; /* Main brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__btn-primary:hover {
  background: #005a2e; /* Darker shade for hover */
  border-color: #005a2e;
}

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

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

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-support__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #017439; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 16px;
}
details.page-support__faq-item .page-support__faq-answer p {
  margin: 0;
}


/* Categories Section */
.page-support__categories-section {
    padding: 60px 0;
}

.page-support__dark-section {
    background: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
    color: #ffffff;
}

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

.page-support__category-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

.page-support__category-icon {
    width: 100%; /* Make image take full width of card */
    height: auto;
    max-height: 180px; /* Limit height */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
}

.page-support__category-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-support__category-title a {
    color: #017439; /* Brand primary color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__category-title a:hover {
    color: #005a2e;
    text-decoration: underline;
}

.page-support__category-text {
    font-size: 15px;
    color: #555555;
    margin-bottom: 0;
}

/* Contact CTA Section */
.page-support__contact-cta {
    padding: 60px 0;
    text-align: center;
    background-color: #f0f8f0; /* Light green background */
}

.page-support__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Info Section */
.page-support__info-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-support__info-list li {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.page-support__info-list li a {
    color: #017439;
    text-decoration: none;
    font-weight: 600;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.page-support__info-list li a:hover {
    color: #005a2e;
    text-decoration: underline;
}

/* General image responsive styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 1023px) {
  /* No specific homepage trial/hero reset needed for support page */
  /* This section is intentionally left minimal as per instructions for non-homepage */
}

@media (min-width: 1024px) {
  /* No specific homepage three-column layout needed for support page */
  /* This section is intentionally left minimal as per instructions for non-homepage */
}

@media (max-width: 768px) {
  .page-support {
    padding-top: 8px; /* Slightly less padding on mobile */
  }
  .page-support__hero-image {
    max-height: 250px;
  }
  .page-support__hero-content {
    margin-top: 20px;
  }
  .page-support__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-support__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-support__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* CTA Buttons mobile */
  .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: 12px 20px;
    font-size: 16px;
    margin-left: 0;
  }
  .page-support__btn-secondary {
      margin-top: 10px;
  }
  .page-support__contact-buttons {
      flex-direction: column;
      gap: 10px;
      padding: 0 15px;
  }
  .page-support__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-support__category-card {
      padding: 20px;
  }
  .page-support__category-title {
      font-size: 20px;
  }
  .page-support__category-text {
      font-size: 14px;
  }

  /* FAQ mobile */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* General image and container adaptation for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-cta,
  .page-support__categories-section,
  .page-support__info-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__info-list {
      margin-top: 30px;
  }
  .page-support__info-list li {
      padding: 12px 15px;
      font-size: 15px;
      flex-wrap: wrap;
  }
  .page-support__info-list li a {
      width: 100%;
      margin-bottom: 5px;
  }
}

/* Ensure .is-hidden is present for JS toggle */
.is-hidden {
    display: none !important;
    pointer-events: none !important;
}