/* 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: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

/* Sections */
.page-support__hero-section,
.page-support__overview-section,
.page-support__faq-section,
.page-support__contact-channels-section,
.page-support__resources-section,
.page-support__policies-section,
.page-support__video-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #017439;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 1;
}

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

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

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

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

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Color Schemes */
.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-support__light-bg .page-support__section-title {
  color: #017439;
}

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  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;
  border-color: #005a2d;
}

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

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

.page-support__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-support__btn-register:hover {
  background-color: #9f0606;
  border-color: #9f0606;
  color: #fff;
}

.page-support__btn-register-inline {
  color: #C30808;
  text-decoration: underline;
}

.page-support__btn-register-inline:hover {
  color: #9f0606;
}

/* Content Grid for images and text */
.page-support__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-support__content-grid:nth-of-type(even) {
  grid-template-areas: "image text";
}

.page-support__content-grid:nth-of-type(odd) {
  grid-template-areas: "text image";
}

.page-support__content-grid .page-support__text-block {
  grid-area: text;
}

.page-support__content-grid img {
  grid-area: image;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00;
}

.page-support__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

.page-support__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #fff;
}

.page-support__faq-image {
  margin-top: 40px;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Channels Section */
.page-support__channel-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__contact-channels-section p {
  color: #333333;
}

.page-support__contact-channels-section code {
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #C30808;
}

/* Resources and Policies Sections */
.page-support__resource-list,
.page-support__policy-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-support__resource-list li,
.page-support__policy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__resources-section li {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-support__policies-section li {
  background-color: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-support__resources-section li a,
.page-support__policies-section li a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
}

.page-support__policies-section li a {
  color: #017439;
}

.page-support__resources-section li a:hover,
.page-support__policies-section li a:hover {
  text-decoration: underline;
}

.page-support__resource-image,
.page-support__policies-image {
  margin-top: 40px;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-support__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it's treated as a block element */
  cursor: pointer;
}

.page-support__video-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-support__video-cta {
  margin-top: 20px;
}

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

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

  .page-support__content-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "text" !important;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .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__section-title {
    font-size: 1.8em;
  }

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

  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__contact-channels-section,
  .page-support__resources-section,
  .page-support__policies-section,
  .page-support__video-section {
    padding: 40px 0;
  }

  .page-support__content-grid img,
  .page-support__faq-image,
  .page-support__resource-image,
  .page-support__policies-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    margin: 20px auto;
  }

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

  .page-support__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-support__resource-list li,
  .page-support__policy-list li {
    padding: 12px 15px;
    font-size: 1em;
  }
}

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}