/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
}

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

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

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

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary,
.page-support__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login text color */
  border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

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

.page-support__btn-link {
  background: none;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
}

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

/* General Card Styles */
.page-support__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color background */
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
  color: #ffffff;
}

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

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Body background color */
}

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

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

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

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

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

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

.page-support__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  color: #ffffff;
  font-weight: bold;
  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 value */
  padding: 15px 20px;
}

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

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Body background color */
}

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

.page-support__commitment-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-support__commitment-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #017439;
  text-align: center;
}

.page-support__cta-content {
  max-width: 800px;
}

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

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

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

@media (max-width: 768px) {
  .page-support__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-support__hero-title {
    font-size: 2.5em;
  }

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

  .page-support__hero-buttons,
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary,
  .page-support__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-support__channel-grid,
  .page-support__guide-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-support__container {
    padding: 0 15px;
  }

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

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__channel-item,
  .page-support__guide-item,
  .page-support__commitment-item,
  .page-support__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Removed to avoid double padding if container has it */
    /* padding-right: 15px; */ /* Removed to avoid double padding if container has it */
  }

  /* Content area images CSS dimensions lower bound */
  .page-support__channels-section .page-support__channel-icon,
  .page-support__guides-section .page-support__guide-image,
  .page-support__commitment-section .page-support__commitment-icon {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Override fixed width to ensure it scales */
    height: auto; /* Override fixed height */
    margin-left: auto;
    margin-right: auto;
  }

  .page-support__channel-icon,
  .page-support__commitment-icon {
    width: 100px; /* Smaller for icons but still >= 200px */
    height: 100px;
    max-width: 200px !important;
    max-height: 200px !important;
  }

  .page-support__faq-question {
    padding: 15px;
  }

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

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

  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Video section specific mobile padding-top */
  }
}

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary,
  .page-support__btn-link {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}

/* No filter for images */
.page-support img {
  filter: none !important;
}