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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%; /* Ensure image is responsive */
  display: block;
}

.page-support__hero-content {
  position: relative; /* Ensure content is above the image if needed, though here it's below */
  z-index: 1;
  padding-top: 40px; /* Space between image and text */
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-support__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Use clamp for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  text-align: center;
}

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

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

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

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

/* General Sections */
.page-support__overview-section,
.page-support__faq-section,
.page-support__guide-section,
.page-support__contact-section,
.page-support__legal-section {
  padding: 60px 0;
}

.page-support__dark-section {
  background-color: #1a1a1a; /* Darker background for sections */
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #f8f8f8; /* Light background for sections */
  color: #333333; /* Dark text for light background */
}

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 40px;
  text-align: center;
}

.page-support__light-bg .page-support__section-title {
  color: #000000; /* Darker title for light background */
}

.page-support__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit color from parent section */
}

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker for summary */
  color: #ffffff;
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

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

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

.page-support__faq-link {
  color: #26A9E0;
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
}

.page-support__faq-link:hover {
  color: #1a7bb7;
}

/* Guide Cards Section */
.page-support__guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__card {
  background-color: #ffffff; /* White background for cards on light section */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  color: #333333; /* Dark text for light card background */
  display: flex;
  flex-direction: column;
}

.page-support__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-support__card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin: 20px 15px 10px 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-support__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-support__card-description {
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-support__btn-text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto; /* Push to bottom */
  padding-bottom: 20px;
  display: inline-block;
}

.page-support__btn-text-link:hover {
  text-decoration: underline;
}

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

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

.page-support__contact-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

/* Legal Section */
.page-support__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-support__hero-content {
    padding-top: 20px;
  }

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

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

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important; /* Force full width */
    max-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__section-title {
    font-size: 1.8em;
  }

  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__contact-section,
  .page-support__legal-section {
    padding: 40px 0;
  }

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

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

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

  .page-support__guide-cards {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .page-support__card-image {
    height: 180px;
  }

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

  /* Universal image/video/container responsiveness for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support video,
  .page-support__video { /* If video elements were present */
    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: hidden !important; /* Ensure no overflow for containers */
  }
  
  .page-support__video-section {
    padding-top: 10px !important; /* Small top padding */
  }
}

/* Ensure desktop video container width: 100% for flex layout */
.page-support__video-container {
  width: 100%; /* Important for flex items with max-width */
}