/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background #121212 */
  background-color: #121212; /* Inherited from body, but good to define for sections */
}

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

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

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

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-support__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__faq-btn {
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #C30808; /* Red for primary CTA */
  color: #FFFF00; /* Yellow font for primary CTA */
  border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-support__why-choose-us,
.page-support__contact-channels {
  padding: 60px 0;
  background-color: #121212; /* Dark background from body */
  color: #ffffff; /* Light text for dark background */
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

.page-support__feature-card,
.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-icon,
.page-support__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-support__feature-title,
.page-support__channel-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439; /* Use brand primary color for titles */
}

.page-support__feature-text,
.page-support__channel-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__faq-section,
.page-support__feedback-section {
  padding: 60px 0;
  background-color: #017439; /* Primary brand color for dark sections */
  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.1); /* Lighter background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00; /* Yellow for toggle icon */
}

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

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

.page-support__faq-answer a {
  color: #FFFF00; /* Yellow for links within answers */
  text-decoration: underline;
}

.page-support__faq-btn {
  margin-top: 15px;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__faq-btn:hover {
  background-color: #a00606;
}

.page-support__faq-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

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

@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;
  }

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

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

  .page-support__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__faq-btn {
    max-width: 100% !important;
    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: 2em;
  }

  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-support__feature-card,
  .page-support__channel-card {
    padding: 20px;
  }

  .page-support__feature-title,
  .page-support__channel-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;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__why-choose-us,
  .page-support__faq-section,
  .page-support__contact-channels,
  .page-support__feedback-section,
  .page-support__channels-grid,
  .page-support__features-grid,
  .page-support__faq-list,
  .page-support__faq-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-support__faq-buttons {
    flex-direction: column;
  }
}

/* Ensure no image filters */
.page-support img {
  filter: none !important;
}

/* Content area images CSS dimensions lower bound (by scope, not class name) */
.page-support img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}

/* Specific overrides for color contrast */
.page-support__dark-section h1, .page-support__dark-section h2, .page-support__dark-section h3, .page-support__dark-section h4, .page-support__dark-section p, .page-support__dark-section a {
    color: #ffffff;
}
.page-support__light-bg h1, .page-support__light-bg h2, .page-support__light-bg h3, .page-support__light-bg h4, .page-support__light-bg p, .page-support__light-bg a {
    color: #ffffff; /* Ensure text is light on dark body background */
}
.page-support__feature-card h3, .page-support__channel-card h3 {
    color: #017439; /* Specific override for card titles to use brand color */
}

.page-support__faq-answer a {
  color: #FFFF00; /* Yellow for links within FAQ answers */
}

.page-support__faq-toggle {
  color: #FFFF00; /* Yellow for toggle icon */
}