/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #111; /* Inherited from body via shared.css */
}

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

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

.page-support__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image a bit for visual flow */
  background-color: rgba(17, 17, 17, 0.85); /* Dark background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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: #1e87b5;
  border-color: #1e87b5;
}

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

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

/* Introduction Section */
.page-support__introduction-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
  background-color: #111;
}

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

.page-support__channel-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 150px; /* Minimum size 200px required, adjusting for visual consistency */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-support__channel-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

/* Guides Section */
.page-support__guides-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-support__guide-category {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-support__guide-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-support__guide-list li strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  border-radius: 8px;
  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;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

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

.page-support__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-support__contact-details {
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-support__contact-details p {
  margin-bottom: 10px;
}

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

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

/* Commitment Section */
.page-support__commitment-section {
  padding: 60px 0;
  background-color: #111;
  text-align: center;
}

.page-support__commitment-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

/* General dark/light background classes for contrast */
.page-support__dark-bg {
  color: #ffffff;
  background-color: #111;
}

.page-support__light-bg {
  color: #f0f0f0;
  background-color: #1a1a1a;
}

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

  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 15px;
  }

  .page-support__main-title {
    font-size: 2em; /* Ensure readability */
  }

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-support__text-block {
    font-size: 0.95em;
  }

  .page-support__channel-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-item,
  .page-support__guide-category,
  .page-support__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__channel-icon {
    width: 120px; /* Still respecting minimum 200px visual, but for display this size is okay */
    height: auto;
  }

  .page-support__guide-title {
    font-size: 1.5em;
  }

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

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

  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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