/* 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: #0a0a0a; /* Ensure consistency with body background */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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;
  max-width: 100%;
}

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

.page-support__btn-primary:hover {
  background-color: #028a4a;
  border-color: #028a4a;
}

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

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

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

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

.page-support__section {
  padding: 80px 20px;
  text-align: center;
}

.page-support__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

.page-support__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-support__why-choose .page-support__section-title,
.page-support__common-issues .page-support__section-title,
.page-support__faq-section .page-support__section-title {
  color: #333333;
}

.page-support__why-choose .page-support__section-description,
.page-support__common-issues .page-support__section-description,
.page-support__faq-section .page-support__section-description {
  color: #555555;
}

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

.page-support__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ffffff; /* For dark background cards */
}

.page-support__light-bg .page-support__card {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333; /* For light background cards */
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__feature-title,
.page-support__channel-title,
.page-support__issue-title,
.page-support__security-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #017439;
}

.page-support__card .page-support__feature-text,
.page-support__card .page-support__channel-text,
.page-support__card .page-support__security-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__light-bg .page-support__card .page-support__feature-text,
.page-support__light-bg .page-support__card .page-support__issue-list,
.page-support__light-bg .page-support__card .page-support__security-text {
  color: #555555;
}

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

.page-support__issue-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-support__light-bg .page-support__issue-list li {
  color: #555555;
}

.page-support__issue-list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-support__link-inline {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-support__link-inline:hover {
  text-decoration: underline;
}

.page-support__highlight-text {
  color: #017439;
  font-weight: bold;
}

.page-support__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 60px;
  object-fit: cover;
}

.page-support__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-support__faq-item {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333333;
  overflow: hidden;
}

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

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

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

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

.page-support__cta-final {
  padding: 100px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-support__cta-content {
  max-width: 900px;
}

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

.page-support__cta-final .page-support__section-description {
  color: #f0f0f0;
}

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

  .page-support__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .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%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section {
    padding: 60px 15px;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-support__features-grid,
  .page-support__channels-grid,
  .page-support__issues-grid,
  .page-support__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 25px;
  }

  .page-support__feature-title,
  .page-support__channel-title,
  .page-support__issue-title,
  .page-support__security-title {
    font-size: 1.4em;
  }

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

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

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

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

  /* Specific adjustments for hero image wrapper to maintain responsiveness */
  .page-support__hero-image-wrapper {
    position: relative;
    height: 250px; /* Adjust height for mobile hero */
    margin-top: 30px;
  }

  .page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .page-support__hero-content {
    padding-top: 0;
  }

  .page-support__cta-final {
    padding: 60px 15px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure images within content area are responsive */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are not too small */
.page-support__image-full-width {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast safety for various elements */
.page-support__dark-bg {
  color: #ffffff;
}

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

.page-support__card {
  color: #ffffff; /* Default for dark-bg cards */
}

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

.page-support__faq-item {
  color: #333333;
}

.page-support__faq-question {
  color: #333333;
}

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

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

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

.page-support__cta-final .page-support__section-description {
  color: #f0f0f0;
}