/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

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

.page-support__hero-section {
  position: relative;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0 40px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-support__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-support__hero-media-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Adjust max-width for video */
  padding-bottom: 45%; /* 16:9 Aspect Ratio (height / width * 100%) */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-support__cta-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background-color: #d16b06;
}

.page-support__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: bold;
}

.page-support__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #fefefe;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: #f0f0f0;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
  background-color: #ffffff;
}

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

.page-support__contact-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

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

.page-support__contact-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-support__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

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

.page-support__resources-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-support__resource-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-support__resource-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  text-align: center;
}

.page-support__resource-item:hover {
  transform: translateY(-5px);
}

.page-support__resource-item a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  display: block;
}

.page-support__resource-item a:hover {
  text-decoration: underline;
}

.page-support__commitment-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-support__commitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__text-block {
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__inline-link {
  color: #EA7C07; /* Consistent with login button for emphasis */
  text-decoration: underline;
}

.page-support__inline-link:hover {
  color: #d16b06;
}

/* Ensure contrast for dark background sections */
.page-support__dark-section h2,
.page-support__dark-section h3,
.page-support__dark-section p,
.page-support__dark-section li,
.page-support__dark-section .page-support__inline-link {
  color: #ffffff;
}

.page-support__dark-section .page-support__inline-link {
  text-decoration: underline;
}

.page-support__dark-section .page-support__inline-link:hover {
  color: #f0f0f0;
}

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

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

  .page-support__description {
    font-size: 1em;
  }

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

  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__hero-media-wrapper {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* Standard 16:9 for mobile */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-support__cta-button,
  .page-support__btn-secondary {
    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__contact-methods {
    grid-template-columns: 1fr;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__contact-card {
    padding: 20px;
  }

  .page-support__resource-list {
    grid-template-columns: 1fr;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Ensure all content sections are responsive */
  .page-support__section,
  .page-support__card,
  .page-support__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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