/* style/support.css */
/* Base styles for the page-support scope */
.page-support {
  color: #F2FFF6; /* Text Main */
  background-color: transparent; /* Rely on body background from shared.css */
  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;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column; /* Image then content */
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Space below hero content */
  position: relative;
  overflow: hidden; /* Ensure no overflow from pseudo-elements or shadows */
  background-color: #0A4B2C; /* Deep Green for hero background */
  padding-top: 10px; /* Small top padding, body handles main header offset */
}

/* Ensure visual "image above text" without actual overlay */
.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly darken image for better contrast with text if needed */
}

.page-support__hero-content {
    position: relative;
    z-index: 1; /* Ensure content is above image if there's any overlap possibility */
    padding: 0 15px;
    max-width: 800px;
}

.page-support__main-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* General Section Styles */
.page-support__section {
  padding: 60px 0;
  background-color: #08160F; /* Default section background */
  color: #F2FFF6; /* Default text color */
}

.page-support__section-title {
  font-size: 2rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  margin: 10px;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4); /* Glow effect */
}

.page-support__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Lighter green for secondary */
  border: 2px solid #2AD16F;
  margin: 10px;
}

.page-support__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Dark background color */
}

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

.page-support__channel-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__card-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-support__card-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-support__channel-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__channel-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-support__channel-list li::before {
  content: '✓';
  color: #2AD16F; /* Lighter green */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Issues Section */
.page-support__issues-category {
  margin-bottom: 40px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
  padding-bottom: 20px;
}

.page-support__category-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  border-left: 5px solid #F2C14E; /* Gold */
  padding-left: 15px;
}

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

.page-support__issue-list li {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__issue-list li a {
  color: #2AD16F; /* Lighter green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__issue-list li a:hover {
  color: #F2C14E; /* Gold on hover */
  text-decoration: underline;
}

/* Guide Section */
.page-support__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-support__guide-list li {
  margin-bottom: 15px;
}

.page-support__guide-list li strong {
  color: #F2FFF6; /* Text Main */
}

/* Privacy Section (Dark Background) */
.page-support__privacy-section.page-support__dark-bg {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-support__privacy-section .page-support__text-block {
    color: #A7D9B8; /* Secondary text for paragraphs */
}

.page-support__privacy-section .page-support__btn-primary {
    margin-top: 20px;
}

/* FAQ Section */
.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* For <summary> */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* For <summary> */
}

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

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Lighter green */
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__btn-faq-more {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* More padding for visual impact */
}

.page-support__contact-cta-section .page-support__section-title {
    color: #F2FFF6; /* Text Main */
}

.page-support__contact-cta-section .page-support__text-block {
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__contact-cta-section .page-support__btn-primary {
    margin-top: 30px;
}

/* Image styling for full width content images */
.page-support__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-support__main-title {
    font-size: 2rem;
  }
  .page-support__section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-bottom: 40px;
  }
  .page-support__hero-image-wrapper {
      margin-bottom: 20px;
  }
  .page-support__main-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }
  .page-support__hero-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: 1.5rem;
  }
  .page-support__category-title {
    font-size: 1.3rem;
  }
  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-support__channel-card {
    padding: 20px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image responsiveness */
  .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-section,
  .page-support__hero-content,
  .page-support__hero-image-wrapper,
  .page-support__channels-grid,
  .page-support__channel-card,
  .page-support__issues-category,
  .page-support__guide-section,
  .page-support__privacy-section,
  .page-support__faq-section,
  .page-support__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll for sections */
  }
  .page-support__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  /* Mobile button 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; /* Ensure buttons take full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-support__hero-content .page-support__btn-primary {
      margin-top: 20px; /* Adjust margin for single button in hero */
  }

  .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: 0; /* Handled by parent section/container */
    padding-right: 0;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-support__btn-faq-more {
      width: 100% !important;
  }
}