.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherited from shared.css */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #CC3333; /* Main brand color for hero */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

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

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #333333;
  border: 2px solid #FFD700;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__btn-secondary:hover {
  background-color: #ffffff;
  color: #CC3333;
}

.page-support__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

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

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #CC3333;
}

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

.page-support__dark-bg .page-support__section-description {
  color: #f0f0f0;
}

.page-support__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
}

.page-support__faq-list {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.page-support__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

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

.page-support__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* Contact Methods Section */
.page-support__contact-methods {
  background-color: #CC3333;
  color: #ffffff;
  padding: 60px 20px;
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

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

.page-support__card-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Guides Section */
.page-support__guides-section {
  padding: 60px 20px;
}

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

.page-support__guide-card {
  display: block;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #333333;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-support__guide-card .page-support__card-title {
  font-size: 1.3em;
  color: #CC3333;
  padding: 15px 20px 5px 20px;
  text-align: left;
}

.page-support__guide-card .page-support__card-text {
  color: #666666;
  padding: 0 20px 20px 20px;
  text-align: left;
}

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

/* CTA Section */
.page-support__cta-section {
  background-color: #333333; /* Darker background for strong contrast */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-support__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__cta-section .page-support__section-title {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-support__cta-section .page-support__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-support__cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__main-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__hero-content .page-support__btn-primary,
  .page-support__hero-content .page-support__btn-secondary {
    width: calc(100% - 20px) !important; /* Account for horizontal padding if any */
    margin: 10px 10px !important;
  }

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

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__content-area {
    padding: 40px 15px;
  }

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }

  .page-support__faq-image {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-support__contact-card,
  .page-support__guide-card {
    padding: 20px;
  }

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

  .page-support__cta-actions .page-support__btn-primary,
  .page-support__cta-actions .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Ensure all images are responsive on mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__guides-section,
  .page-support__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-support__contact-card .page-support__btn-primary {
    width: calc(100% - 40px) !important; /* Adjust for card's padding */
    margin: 0 auto !important;
  }

  .page-support__guide-card .page-support__card-title,
  .page-support__guide-card .page-support__card-text {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content area images don't go below 200px */
.page-support__faq-image,
.page-support__contact-icon,
.page-support__guide-image {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-support__faq-image,
  .page-support__contact-icon,
  .page-support__guide-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Specific contrast adjustments */
.page-support__dark-bg {
  color: #ffffff;
}
.page-support__light-bg {
  color: #333333;
}

.page-support__hero-content .page-support__main-title {
  color: #FFD700; /* Ensure gold on red has good contrast */
}

.page-support__hero-content .page-support__hero-description {
  color: #ffffff;
}

.page-support__faq-section .page-support__section-title {
  color: #CC3333; /* Red on light background */
}

.page-support__faq-section .page-support__section-description,
.page-support__faq-answer p {
  color: #666666; /* Dark grey on light background */
}

.page-support__contact-methods .page-support__section-title {
  color: #FFD700; /* Gold on red background */
}

.page-support__contact-methods .page-support__section-description,
.page-support__contact-card .page-support__card-text {
  color: #f0f0f0; /* Light text on red background */
}

.page-support__guides-section .page-support__section-title {
  color: #CC3333; /* Red on light background */
}

.page-support__guides-section .page-support__section-description {
  color: #666666; /* Dark grey on light background */
}

.page-support__guide-card .page-support__card-title {
  color: #CC3333; /* Red on white card background */
}

.page-support__guide-card .page-support__card-text {
  color: #666666; /* Dark grey on white card background */
}

.page-support__cta-section .page-support__section-title {
  color: #FFD700; /* Gold on dark background */
}

.page-support__cta-section .page-support__section-description {
  color: #f0f0f0; /* Light text on dark background */
}