.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a2e; /* Matches shared.css body background */
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #004aad, #002b6a);
  color: #ffffff;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

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

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

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

.page-support__btn-primary {
  background-color: #ffcc00;
  color: #004aad;
  border: 2px solid #ffcc00;
  margin: 0 10px;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  margin: 0 10px;
}

.page-support__btn-secondary:hover {
  background-color: #ffcc00;
  color: #004aad;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  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.08);
  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: 450px;
}

.page-support__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #004aad;
  color: #ffffff;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffcc00;
  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 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 to show content */
  padding: 15px 25px 20px;
}

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

.page-support__text-link {
  color: #ffcc00;
  text-decoration: underline;
}

.page-support__text-link:hover {
  color: #e6b800;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  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;
  min-height: 500px;
}

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

.page-support__resource-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__resource-title {
  font-size: 1.6em;
  color: #ffcc00;
  margin-bottom: 10px;
}

.page-support__resource-text {
  font-size: 0.95em;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background-color: #004aad;
  color: #ffffff;
}

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

.page-support__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__commitment-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-support__commitment-title {
  font-size: 1.8em;
  color: #ffcc00;
  margin-bottom: 15px;
}

.page-support__commitment-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-support__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-support__cta-content {
  flex: 1;
  text-align: left;
}

.page-support__cta-title {
  font-size: 2.8em;
  color: #ffcc00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__cta-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-support__cta-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-support__cta-content .page-support__btn-primary,
.page-support__cta-content .page-support__btn-secondary {
  margin-right: 15px;
  margin-bottom: 15px;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
    min-height: 500px;
  }

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    display: block;
    margin: 10px auto;
    width: calc(100% - 30px);
  }

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

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__commitment-section,
  .page-support__cta-section {
    padding: 40px 0;
  }

  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__channel-card,
  .page-support__resource-card,
  .page-support__commitment-item {
    min-height: auto;
  }

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

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

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

  .page-support__cta-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-support__cta-content {
    text-align: center;
  }

  .page-support__cta-image {
    margin-bottom: 30px;
  }

  .page-support__cta-title {
    font-size: 1.8em;
  }

  .page-support__cta-description {
    font-size: 0.95em;
  }

  .page-support__cta-content .page-support__btn-primary,
  .page-support__cta-content .page-support__btn-secondary {
    display: block;
    margin: 10px auto;
    width: calc(100% - 30px);
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-support__channels-grid,
  .page-support__resources-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-card,
  .page-support__resource-card,
  .page-support__commitment-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__cta-title {
    font-size: 1.6em;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}