.page-support {
  background-color: var(--deep-navy);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: 2.2em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  background-color: var(--primary-color); /* Fallback */
  padding-bottom: 40px; /* Space below hero content */
  display: flex;
  flex-direction: column; /* Ensure image is above text in mobile */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* For image overflow */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/5; /* Adjust as needed for hero */
  max-height: 675px; /* Cap height for very wide screens */
}

.page-support__hero-content {
  padding: 40px 20px;
  z-index: 2;
  position: relative; /* Ensure text is above image if any overlap */
  background-color: var(--deep-navy); /* To ensure text readability */
  width: 100%;
  max-width: 800px;
  margin-top: -20px; /* Slight overlap for visual appeal if design allows, but not covering image */
  border-radius: 10px;
}

.page-support__hero-title {
  font-size: clamp(2em, 5vw, 3em); /* Adjusted clamp for H1 */
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-support__faq-item {
  background-color: var(--deep-navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
}

.page-support__faq-question {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  font-weight: 600;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__faq-answer {
  font-size: 1em;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 10px;
}

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

.page-support__inline-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-support__inline-link:hover {
  text-decoration: underline;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

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

.page-support__contact-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 400px; /* Ensure cards are large enough */
}

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

.page-support__contact-icon {
  width: 200px; /* Min size 200px */
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
}

.page-support__contact-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__contact-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

.page-support__contact-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  min-width: 150px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.page-support__contact-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* Important Links Section */
.page-support__important-links-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-support__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.page-support__link-list li a {
  display: block;
  padding: 15px 20px;
  background-color: var(--deep-navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
  text-align: center;
  font-size: 1.1em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-support__link-list li a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  color: var(--gold);
}

/* CTA Banner */
.page-support__cta-banner {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-support__cta-banner .page-support__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border);
}

.page-support__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-support__cta-banner .page-support__cta-title {
  font-size: 2.2em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__cta-banner .page-support__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-support__hero-image {
    aspect-ratio: 4/3; /* Mobile hero aspect ratio */
  }

  .page-support__hero-content {
    margin-top: 0; /* Remove overlap for mobile */
    border-radius: 0;
  }

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

  .page-support__cta-banner .page-support__cta-title {
    font-size: 1.8em;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

  .page-support__link-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 15px;
  }

  .page-support__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-support__faq-item.active .page-support__faq-answer {
    max-height: 400px; /* Allow more height for mobile content */
  }
}

/* Ensure content area images are at least 200px and responsive */
.page-support img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to respect aspect ratio */
    height: auto; /* Allow auto height to respect aspect ratio */
    object-fit: cover; /* Default to cover for content images */
}

/* For mobile, ensure all images within the content area are responsive */
@media (max-width: 768px) {
  .page-support img:not(.shared-header img):not(.shared-footer img) {
    max-width: 100%;
    height: auto;
  }
  /* Ensure main content area does not cause horizontal scroll */
  .page-support > section {
    overflow-x: hidden;
  }
}