.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Explicitly set for scope, matches body */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #004080; /* Primary brand color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-support__btn-primary {
  background-color: #FFD700; /* Gold for primary action */
  color: #004080; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #004080;
}

.page-support__btn-link {
  background-color: #004080;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-support__btn-link:hover {
  background-color: #FFD700;
  color: #004080;
}

/* Sections */
.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for section titles */
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Light text for dark sections */
}

.page-support__hero-section,
.page-support__security-info {
  background-color: #004080; /* Primary dark blue */
  color: #ffffff;
  padding: 60px 0;
}

.page-support__contact-methods,
.page-support__download-guide,
.page-support__cta-final {
  background-color: #1a1a1a; /* Dark gray for contrast with body background */
  color: #ffffff;
  padding: 60px 0;
}

.page-support__faq-section {
  background-color: #004080;
  color: #ffffff;
  padding: 60px 0;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 60px 0;
}

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

.page-support__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-support__method-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for smaller image */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-support__method-text {
  margin-bottom: 20px;
  font-size: 1em;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  background-color: #004080; /* Primary brand color for question background */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #0050a0;
}

.page-support__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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: #f0f0f0;
}

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

.page-support__faq-answer p {
  margin: 0;
}

.page-support__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #e6c200;
}

/* Download Guide Section */
.page-support__download-guide {
  padding: 60px 0;
}

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

.page-support__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-support__step-image {
  width: 100%;
  max-width: 400px; /* Adjust max-width for image */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-support__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-support__step-text {
  margin-bottom: 20px;
}

.page-support__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Security Info Section */
.page-support__security-info {
  padding: 60px 0;
}

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

.page-support__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for image */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-support__feature-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-support__feature-text {
  margin-bottom: 20px;
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 60px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .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;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__methods-grid,
  .page-support__guide-steps,
  .page-support__security-features {
    grid-template-columns: 1fr;
  }

  /* All images must be responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure content sections/cards don't overflow */
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__download-guide,
  .page-support__security-info,
  .page-support__cta-final,
  .page-support__method-card,
  .page-support__step-item,
  .page-support__feature-item,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Adding padding to prevent content from touching screen edges */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__download-guide,
  .page-support__security-info,
  .page-support__cta-final {
    padding: 40px 0;
  }
}

/* Accessibility: Ensure contrast for links within text */
.page-support p a,
.page-support li a {
  color: #FFD700; /* Gold for links */
  text-decoration: underline;
}

.page-support p a:hover,
.page-support li a:hover {
  color: #e6c200;
}