.page-support {
  background-color: #000000; /* Body background is dark, so content background should be adjusted */
  color: #ffffff; /* Default text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Adjust padding to clear fixed header */
}

.page-support__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__faq-link,
.page-support a[class*="button"],
.page-support a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-support__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  color: #8B0000;
}

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

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

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

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

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

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

.page-support__contact-methods,
.page-support__why-bl555-support,
.page-support__faq-section,
.page-support__resources-overview,
.page-support__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-support__method-card,
.page-support__feature-item,
.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  height: 100%;
}

.page-support__method-card:hover,
.page-support__feature-item:hover,
.page-support__resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__method-icon,
.page-support__feature-icon,
.page-support__resource-image {
  width: 100%;
  height: auto;
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__resource-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.page-support__resource-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-support__resource-title a:hover {
  text-decoration: underline;
}

.page-support__method-text,
.page-support__feature-text,
.page-support__resource-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  user-select: none;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  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-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-support__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-support__faq-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-support__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__guide-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
  flex-grow: 0;
}

.page-support__guide-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__guide-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(90deg, #8B0000 0%, #FFD700 100%);
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-support__cta-section .page-support__section-title {
  color: #ffffff;
}

.page-support__cta-section .page-support__section-description {
  color: #f0f0f0;
}

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

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

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

  .page-support__methods-grid,
  .page-support__feature-grid,
  .page-support__resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .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__contact-methods,
  .page-support__why-bl555-support,
  .page-support__faq-section,
  .page-support__resources-overview,
  .page-support__cta-section {
    padding: 40px 15px;
  }

  .page-support__methods-grid,
  .page-support__feature-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }

  .page-support__method-card,
  .page-support__feature-item,
  .page-support__resource-card,
  .page-support__guide-card {
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__method-card,
  .page-support__feature-item,
  .page-support__resource-card,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__faq-link,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__hero-buttons,
  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

  .page-support__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

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

  .page-support__hero-buttons {
    flex-direction: column;
  }
}