.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a requires light text */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-color: #0a0a0a; /* Ensure dark background for hero */
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim image to ensure text readability */
  filter: none !important; /* Ensure no filter on images */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Sections */
.page-support__section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Consistent dark background */
  color: #ffffff;
}

.page-support__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly different background for visual separation */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  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 responsiveness */
}

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

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

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

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

.page-support__btn-tertiary {
  background-color: #EA7C07; /* Login color for specific CTAs */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 1em;
}

.page-support__btn-tertiary:hover {
  background-color: #c76506;
  border-color: #c76506;
}

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

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

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

.page-support__contact-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Apply border-radius to images */
  filter: none !important; /* Ensure no filter on images */
}

.page-support__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure description takes available space */
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

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

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

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

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

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #26A9E0;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}
.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  filter: none !important; /* Ensure no filter on images */
}

.page-support__guide-card .page-support__card-title {
  padding: 20px 20px 0;
  font-size: 1.4em;
  color: #26A9E0;
  text-align: left;
}

.page-support__guide-card .page-support__card-description {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #e0e0e0;
  text-align: left;
  flex-grow: 1;
}

.page-support__guide-card .page-support__btn-tertiary {
  margin: 0 20px 20px;
  align-self: flex-start;
  width: calc(100% - 40px);
}

/* Resources Section */
.page-support__resources-section a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resources-section a:hover {
  color: #1e87b8;
  text-decoration: underline;
}

.page-support__resource-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__resource-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 5px solid #26A9E0;
  font-size: 1.1em;
  color: #e0e0e0;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    min-height: 400px;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-support__section {
    padding: 40px 15px;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-support__text-block {
    font-size: 0.95em;
  }

  .page-support__contact-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__contact-icon {
    width: 200px !important;
    height: 200px !important;
  }
  .page-support__card-title {
    font-size: 1.4em;
  }
  .page-support__card-description {
    font-size: 0.9em;
  }

  .page-support__faq-item summary {
    font-size: 1.05em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }

  /* Images responsive */
  .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__contact-card,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Remove extra padding from elements that already have it from parent */
  .page-support__section .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__hero-section .page-support__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for hero image if it's absolute */
  .page-support__hero-image {
    width: 100%;
    height: 100%;
    max-width: none !important; /* Allow it to cover the full width */
  }

  /* Buttons in groups */
  .page-support__hero-cta {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}

/* Ensure content area images are not scaled down below 200px */
/* This rule applies to any img within .page-support, except those in shared areas */
.page-support img:not(.shared-header img):not(.shared-footer img) {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes based on body background #0a0a0a (dark) */
/* All text should be light, backgrounds should be dark or semi-transparent light */
.page-support {
  color: #ffffff;
}
.page-support__card,
.page-support__faq-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.page-support__faq-item summary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}
.page-support__faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}
.page-support__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}
.page-support__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}
.page-support__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}
.page-support__btn-tertiary {
  background: #EA7C07;
  color: #ffffff;
}
.page-support a {
  color: #26A9E0; /* Default link color */
}