.page-support {
  color: #F2FFF6; /* Text Main for overall page */
  background-color: var(--background-color); /* Inherit from shared, assumed dark */
}

/* Base styles for sections and containers */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-support__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  max-width: 100%; /* Ensure it doesn't overflow */
}

.page-support__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CTA Buttons */
.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Ensure it respects container width */
  max-width: 100%; /* Ensure it respects container width */
  box-sizing: border-box;
}

.page-support__cta-buttons--center {
  margin-top: 50px;
}

.page-support__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button respects max-width */
}

.page-support__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-support__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-support__btn--secondary {
  background-color: transparent;
  color: #22C768; /* Auxiliary color for contrast */
  border: 2px solid #22C768;
}

.page-support__btn--secondary:hover {
  background-color: rgba(34, 199, 104, 0.1);
  transform: translateY(-2px);
}

/* Intro Section */
.page-support__intro-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

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

.page-support__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon {
  width: 100%; /* Ensure icons are responsive */
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__feature-description {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.5;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__contact-icon {
  width: 100%; /* Ensure icons are responsive */
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px; /* Soften edges */
}

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

.page-support__contact-description {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.5;
  flex-grow: 1; /* Allow description to take available space */
  margin-bottom: 25px; /* Space before button */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
}

.page-support__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F; /* Highlight color */
  margin-left: 20px;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.6;
  max-height: 0; /* Hidden by default for JS toggle */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 1000px; /* Arbitrary large value for expansion */
  padding-top: 15px;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px; /* For JS fallback */
  padding-top: 15px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-support__resource-card {
  display: block;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
}

.page-support__resource-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__resource-content {
  padding: 20px;
}

.page-support__resource-title {
  font-size: 1.4rem;
  color: #F2FFF6;
  padding-bottom: 10px;
  font-weight: bold;
}

.page-support__resource-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  padding-bottom: 15px;
  line-height: 1.5;
}

.page-support__read-more {
  display: block;
  color: #2AD16F; /* Highlight color */
  font-weight: bold;
  text-align: right;
}

/* Final CTA Section */
.page-support__final-cta {
  padding: 80px 0;
  background-color: #08160F; /* Background color */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-support__final-cta .page-support__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support__cta-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-support__cta-content {
  max-width: 700px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 2.2rem;
  }
  .page-support__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px; /* Add padding for mobile */
  }

  .page-support__section-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .page-support__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-image {
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for mobile */
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-support__btn {
    width: 100% !important; /* Force full width on mobile */
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__intro-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__final-cta {
    padding: 50px 0;
  }

  .page-support__features,
  .page-support__contact-cards,
  .page-support__resource-cards {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

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

  .page-support__feature-icon,
  .page-support__contact-icon {
    max-width: 120px;
  }

  .page-support__feature-title,
  .page-support__contact-title {
    font-size: 1.3rem;
  }

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

  .page-support__faq-toggle {
    font-size: 1.3rem;
  }

  .page-support__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-support__resource-image {
    height: 180px;
  }

  .page-support__resource-title {
    font-size: 1.2rem;
    padding: 15px 15px 8px;
  }

  .page-support__resource-description {
    font-size: 0.9rem;
    padding: 0 15px 12px;
  }

  .page-support__read-more {
    padding: 0 15px 15px;
  }

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

  /* All containers with images/content */
  .page-support__hero-section,
  .page-support__intro-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__final-cta,
  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__faq-item,
  .page-support__cta-buttons,
  .page-support__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific padding for sections if needed, assuming container handles it now */
  .page-support__hero-section .page-support__container,
  .page-support__intro-section .page-support__container,
  .page-support__contact-methods .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__resources-section .page-support__container,
  .page-support__final-cta .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure minimum image size for content images. */
.page-support img:not(.page-support__feature-icon):not(.page-support__contact-icon) {
  min-width: 200px;
  min-height: 200px;
}