/* style/support.css */

/* Base Styles & Typography */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-support h1, .page-support h2, .page-support h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.page-support h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-support h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 25px;
}

.page-support h3 {
  font-size: 1.6em;
}

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

.page-support a {
  color: #26A9E0;
  text-decoration: none;
}

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

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

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

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

/* Background Colors */
.page-support__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__section-description,
.page-support__light-bg h3 {
  color: #333333;
}

.page-support__light-bg a {
  color: #26A9E0;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  z-index: 10;
  max-width: 800px;
}

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

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

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

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

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  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, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

.page-support__btn-link {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-support__btn-link:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-support__center-buttons {
  justify-content: center;
}

/* Channel Cards */
.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__channel-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 380px;
}

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

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

.page-support__channel-text {
  flex-grow: 1;
  color: #555555;
  margin-bottom: 20px;
}

/* Common Issues Section */
.page-support__issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__issue-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

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

.page-support__issue-text {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Video Section */
.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.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.2em;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.8);
  transition: background-color 0.3s ease;
}

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

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

.page-support__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

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

.page-support__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 1.1em;
}

/* Commitment Section */
.page-support__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__commitment-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-support__commitment-text {
  color: #555555;
  flex-grow: 1;
}

/* Tips Section */
.page-support__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-support__tip-item strong {
  color: #26A9E0;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 80px 20px;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link,
  .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__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;
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-support__channels-grid,
  .page-support__issues-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-card,
  .page-support__issue-card,
  .page-support__commitment-item {
    padding: 25px;
    min-height: auto;
  }

  .page-support__channel-icon {
    width: 100px;
    height: 100px;
  }

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

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

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__channel-card,
  .page-support__issue-card,
  .page-support__commitment-item,
  .page-support__video-section,
  .page-support__contact-cta-section,
  .page-support__channels-section,
  .page-support__common-issues-section,
  .page-support__faq-section,
  .page-support__commitment-section,
  .page-support__tips-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .page-support__container {
    padding: 20px 40px;
  }
}