.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #C30808; /* Custom color for primary action */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

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

.page-support__btn-secondary {
  background-color: #0a0a0a;
  color: #017439;
  border: 2px solid #017439;
  margin-left: 20px;
}

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

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

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

.page-support__channels-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  padding: 30px;
  border-radius: 12px;
  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;
  min-height: 350px;
  color: #ffffff; /* Ensure text is white on dark card background */
}

.page-support__channel-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 150px; /* Enforce minimum size */
}

.page-support__channel-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-support__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly visible on dark background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  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 to accommodate content */
  padding: 20px;
}

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

.page-support__guides-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-support__guide-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-support__guide-title a {
  color: #ffffff; /* White for titles on dark card */
  text-decoration: none;
}

.page-support__guide-title a:hover {
  color: #017439; /* Brand color on hover */
}

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

.page-support__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #005f2f; /* Darker brand green */
  color: #ffffff;
}

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

/* Responsive Styles */
@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: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }
  .page-support__hero-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-left: 0 !important;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__contact-cta-section {
    padding: 50px 0;
  }
  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__channel-card,
  .page-support__guide-card {
    padding: 20px;
  }
  .page-support__channel-icon,
  .page-support__guide-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 15px;
  }
}

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