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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0a0a0a; /* Ensure dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text contrast */
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

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

.page-support__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-support__light-bg .page-support__text-block p {
  color: #333333;
}

.page-support__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-support__list li {
  margin-bottom: 8px;
}

.page-support__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Color Contrast Specifics */
.page-support__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

/* 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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Overview Section */
.page-support__overview-section {
  padding: 60px 20px;
}

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

.page-support__card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

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

.page-support__card-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-support__card-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-support__card-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

.page-support__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-support__faq-heading {
  margin: 0;
  font-size: 1.2em;
}

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

.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;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

/* Technical Section */
.page-support__technical-section {
  padding: 60px 20px;
}

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

/* Policy Section */
.page-support__policy-section {
  padding: 60px 20px;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 20px;
}

.page-support__contact-form-wrapper {
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-support__form-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-support__form-textarea {
  resize: vertical;
}

.page-support__other-contact {
  text-align: center;
  margin-top: 40px;
  color: #333333;
}

.page-support__other-contact .page-support__sub-title {
  color: #26A9E0;
}

.page-support__contact-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__contact-link:hover {
  color: #1e87c0;
  text-decoration: underline;
}

.page-support__contact-link--disabled {
  color: #999999; /* Grey out for disabled links */
  cursor: not-allowed;
  text-decoration: none;
}

.page-support__contact-link--disabled:hover {
  color: #999999;
  text-decoration: none;
}

.page-support__btn-contact-cta {
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__sub-title {
    font-size: 1.3em;
  }

  .page-support__container,
  .page-support__hero-content,
  .page-support__contact-form-wrapper,
  .page-support__other-contact {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Buttons responsiveness */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .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;
    margin: 10px 0 !important;
  }

  .page-support__hero-content .page-support__btn-primary {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-support__cards-grid,
  .page-support__content-grid {
    grid-template-columns: 1fr;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__faq-question {
    padding: 15px;
  }

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

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

  .page-support__contact-form-wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-heading {
    font-size: 1em;
  }
}