/* 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 is handled by shared.css */
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  min-height: 500px;
  background-color: #017439; /* Brand color as hero background */
  color: #ffffff;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-support__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Default for light sections */
}

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

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

.page-support__channels-section {
  padding: 60px 20px;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  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;
  color: #ffffff;
}

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

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

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

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

.page-support__faq-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #005a2d;
}

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

.page-support__faq-toggle {
  font-size: 1.8em;
  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: #333333;
  background-color: #ffffff;
}

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

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

.page-support__commitment-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-support__content-wrapper {
  flex: 1;
  max-width: 600px;
  margin-right: 40px;
}

.page-support__commitment-section .page-support__section-title {
  color: #ffffff;
  text-align: left;
}

.page-support__commitment-section .page-support__section-description {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
}

.page-support__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-support__commitment-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
  display: flex;
  align-items: flex-start;
}

.page-support__list-icon {
  color: #FFFF00; /* Yellow for checkmark */
  margin-right: 10px;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.3;
}

.page-support__commitment-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-support__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

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

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

.page-support__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-3px);
}

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

.page-support__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-3px);
}

.page-support__btn-register {
  background-color: #C30808; /* Register color */
  color: #ffffff; /* Overriding #FFFF00 for contrast */
  border: 2px solid #C30808;
}

.page-support__btn-register:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-support__btn-login {
  background-color: #C30808; /* Login color */
  color: #ffffff; /* Overriding #FFFF00 for contrast */
  border: 2px solid #C30808;
}

.page-support__btn-login:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__commitment-section {
    flex-direction: column;
  }
  .page-support__content-wrapper {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
    text-align: center;
  }
  .page-support__commitment-section .page-support__section-title,
  .page-support__commitment-section .page-support__section-description {
    text-align: center;
  }
  .page-support__commitment-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__commitment-section,
  .page-support__cta-section {
    padding: 40px 15px;
  }
  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-support__channel-card {
    padding: 20px;
  }
  .page-support__channel-image {
    height: 180px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-title {
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__commitment-list li {
    font-size: 1em;
  }
  .page-support__cta-title {
    font-size: 2em;
  }
  .page-support__cta-description {
    font-size: 1em;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image, video, button, and container responsive adaptions */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__commitment-section,
  .page-support__cta-section,
  .page-support__channel-card,
  .page-support__faq-item,
  .page-support__cta-buttons,
  .page-support__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-register,
  .page-support__btn-login,
  .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;
  }
}