/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #ffffff);
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff;
  overflow: hidden;
}

.page-support__dark-bg {
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
}

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

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

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

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

.page-support__channel-card,
.page-support__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-support__channel-card:hover,
.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__channel-icon,
.page-support__guide-image {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust max-width for smaller image within card */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__guide-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-support__channel-title,
.page-support__guide-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__channel-description,
.page-support__guide-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-support__btn-text:hover {
  color: #1a7bbd;
}

.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;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6ff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-support__faq-item[open] > .page-support__faq-question {
  background-color: #d8edf8;
}

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

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

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

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

.page-support__btn-inline {
  display: inline-block;
  padding: 8px 15px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-inline:hover {
  background-color: #1a7bbd;
}

.page-support__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

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

.page-support__policies-section {
  padding: 60px 20px;
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-support__policy-item {
  background-color: #f0f8ff;
  border: 1px solid #d0e8f2;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.page-support__policy-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-support__policy-link {
  font-size: 1.3em;
  font-weight: bold;
  color: #26A9E0;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.page-support__policy-link:hover {
  color: #1a7bbd;
  text-decoration: underline;
}

.page-support__policy-item p {
  color: #555555;
  font-size: 1em;
}

.page-support__commitment-section {
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-support__commitment-section .page-support__section-intro,
.page-support__commitment-section .page-support__section-text {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.page-support__commitment-section .page-support__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-support__commitment-section .page-support__btn-primary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
  border-color: #f0f0f0;
}

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

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

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

  .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 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }

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

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

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

  .page-support__channels-grid,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-card,
  .page-support__guide-card {
    padding: 20px;
  }

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

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

  .page-support__policy-link {
    font-size: 1.1em;
  }

  /* Image and Video Responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-support__hero-buttons a {
    width: 100%;
  }

  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

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

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