/* style/support.css */

/* Base styles for the support page, ensuring light text on dark body background */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-support__section {
  padding: 60px 0;
  position: relative;
}

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

.page-support__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary brand color for titles */
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.page-support__hero-content-wrapper {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-support__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__video-wrapper {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

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

/* Support Channels Section */
.page-support__channels-section {
  background-color: #1a1a1a;
}

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

.page-support__channel-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent dark card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 280px; /* Ensure cards have consistent height */
}

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

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

.page-support__contact-info {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFFFFF;
}

.page-support__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0a0a0a;
}

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker semi-transparent card */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

/* For details tag, hide default marker */
.page-support__faq-item summary {
  list-style: none;
}

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

.page-support__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Guides & Resources Section */
.page-support__guides-section {
  background-color: #1a1a1a;
}

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

.page-support__guide-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent dark card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 280px; /* Consistent height */
}

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

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

.page-support__guide-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Commitment Section */
.page-support__commitment-section {
  background-color: #0a0a0a;
}

.page-support__commitment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-support__commitment-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker semi-transparent card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__commitment-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-support__commitment-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 2.2em;
  }
  .page-support__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-support__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .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;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-support__video-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile if desired, or keep 16:9 */
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__section-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support img {
    max-width: 100% !important;
    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__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__commitment-item {
    padding: 25px;
  }
  .page-support__faq-question {
    font-size: 1.05em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}