/* style/support.css */
.page-support {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-support__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  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;
  flex-wrap: wrap;
}

.page-support__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  z-index: 0;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.7); /* Allowed for background images to ensure text readability */
}

.page-support__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: #26A9E0;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for dark body background */
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: justify;
}

.page-support__why-us-support {
  background-color: var(--dark-background);
  color: #ffffff;
}

.page-support__why-us-support .page-support__section-title {
  color: #ffffff;
}

.page-support__why-us-support .page-support__text-block {
  color: #e0e0e0;
}

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

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

.page-support__faq-section .page-support__text-block {
  color: #555555;
}

.page-support__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Adjust to fit within H3 hierarchy but not too large */
  color: #333333;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: justify;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 20px;
}

.page-support__faq-answer p {
  margin: 0;
  color: #555555;
}

.page-support__faq-cta {
    margin-top: 40px;
}

/* Contact Methods Section */
.page-support__contact-methods {
  background-color: var(--dark-background);
  color: #ffffff;
}

.page-support__contact-methods .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-methods .page-support__text-block {
  color: #e0e0e0;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

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

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

.page-support__contact-image-wrapper {
    margin-top: 40px;
}

/* Guides & Tutorials Section */
.page-support__guides-tutorials {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__guides-tutorials .page-support__section-title {
  color: #26A9E0;
}

.page-support__guides-tutorials .page-support__text-block {
  color: #555555;
}

.page-support__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__guide-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
}

.page-support__guide-card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #26A9E0;
}

.page-support__guide-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-support__guide-card-text {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
  color: #555555;
}

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

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

.page-support__guide-overview-image {
    margin-top: 40px;
}

/* Safety & Security Section */
.page-support__safety-security {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__safety-security .page-support__section-title {
  color: #ffffff;
}

.page-support__safety-security .page-support__text-block {
  color: #f0f0f0;
}

.page-support__safety-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__feature-item {
  text-align: center;
  max-width: 200px;
}

.page-support__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-support__feature-text {
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
}

.page-support__safety-image {
    margin-top: 40px;
}

/* Final CTA Section */
.page-support__cta-final {
  background-color: var(--dark-background);
  color: #ffffff;
}

.page-support__cta-final .page-support__section-title {
  color: #ffffff;
}

.page-support__cta-final .page-support__text-block {
  color: #e0e0e0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.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__cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General image styling */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Center images */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.4em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    flex-direction: column;
    padding-bottom: 30px;
  }
  .page-support__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 30px;
    display: block;
  }
  .page-support__hero-image {
    filter: brightness(0.8); /* Slightly brighter on mobile */
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__text-block {
    font-size: 0.95em;
  }
  .page-support__faq-question,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__feature-item {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__contact-grid, .page-support__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__safety-features {
    gap: 20px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary, .page-support__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 15px;
  }

  /* Mandatory responsive image/video styling */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-image-wrapper,
  .page-support__contact-image-wrapper,
  .page-support__guide-overview-image,
  .page-support__safety-image,
  .page-support__faq-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important; /* Adjust padding for mobile */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.3em;
  }
  .page-support__hero-buttons {
    flex-direction: column;
  }
  .page-support__btn-primary, .page-support__btn-secondary {
    font-size: 0.9em;
  }
}