/* style/support.css */

/* Custom Colors */
:root {
  --page-support-card-bg: #11271B;
  --page-support-background: #08160F;
  --page-support-text-main: #F2FFF6;
  --page-support-text-secondary: #A7D9B8;
  --page-support-border: #2E7A4E;
  --page-support-glow: #57E38D;
  --page-support-gold: #F2C14E;
  --page-support-divider: #1E3A2A;
  --page-support-deep-green: #0A4B2C;
  --page-support-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page-support scope */
.page-support {
  color: var(--page-support-text-main); /* Light text for dark background */
  background-color: var(--page-support-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: var(--page-support-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-support-text-main);
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  color: var(--page-support-text-main);
  background-color: var(--page-support-background);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to place content below image, not overlapping */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-support-border);
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--page-support-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: var(--page-support-text-secondary);
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: var(--page-support-btn-gradient);
  color: var(--page-support-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: var(--page-support-gold);
  border: 2px solid var(--page-support-gold);
}

.page-support__btn-secondary:hover {
  background: var(--page-support-gold);
  color: var(--page-support-background);
  transform: translateY(-2px);
}

/* Video Section */
.page-support__video-section {
  padding: 60px 20px;
  background-color: var(--page-support-deep-green);
  text-align: center;
  color: var(--page-support-text-main);
}

.page-support__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  background-color: var(--page-support-background);
  color: var(--page-support-text-main);
}

.page-support__faq-section.page-support__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__faq-section.page-support__light-bg .page-support__section-title {
  color: var(--page-support-deep-green);
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-support__faq-item.page-support__light-bg .page-support__faq-answer {
  background-color: #f0f0f0;
  color: #555555;
}

.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: var(--page-support-deep-green);
  color: var(--page-support-text-main);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-support__faq-question:hover {
  background-color: var(--page-support-border);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-support-gold);
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: var(--page-support-text-secondary);
  background-color: var(--page-support-card-bg);
  border-top: 1px solid var(--page-support-divider);
}

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

.page-support__faq-answer a {
  color: var(--page-support-gold);
  text-decoration: underline;
}

/* Guide Section */
.page-support__guide-section {
  padding: 60px 20px;
}

.page-support__guide-section.page-support__dark-bg {
  background-color: var(--page-support-background);
  color: var(--page-support-text-main);
}

.page-support__guide-section.page-support__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__guide-section.page-support__light-bg .page-support__section-title {
  color: var(--page-support-deep-green);
}

.page-support__guide-block {
  background: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__guide-title {
  font-size: 1.8em;
  color: var(--page-support-gold);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__guide-section.page-support__light-bg .page-support__guide-title {
  color: var(--page-support-deep-green);
}

.page-support__guide-content p,
.page-support__guide-content ul,
.page-support__guide-content ol {
  margin-bottom: 15px;
  color: var(--page-support-text-secondary);
}

.page-support__guide-section.page-support__light-bg .page-support__guide-content p,
.page-support__guide-section.page-support__light-bg .page-support__guide-content ul,
.page-support__guide-section.page-support__light-bg .page-support__guide-content ol {
  color: #555555;
}

.page-support__guide-content h4 {
  font-size: 1.3em;
  color: var(--page-support-text-main);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-support__guide-section.page-support__light-bg .page-support__guide-content h4 {
  color: #333333;
}

.page-support__guide-content a {
  color: var(--page-support-glow);
  text-decoration: underline;
}

.page-support__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-support__contact-section.page-support__dark-bg {
  background-color: var(--page-support-deep-green);
  color: var(--page-support-text-main);
}

.page-support__contact-section.page-support__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__contact-section.page-support__light-bg .page-support__section-title {
  color: var(--page-support-deep-green);
}

.page-support__contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-support__contact-info {
  margin-top: 30px;
  font-style: italic;
  color: var(--page-support-text-secondary);
}

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

.page-support__policy-section.page-support__dark-bg {
  background-color: var(--page-support-background);
  color: var(--page-support-text-main);
}

.page-support__policy-section.page-support__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-support__policy-section.page-support__light-bg .page-support__section-title {
  color: var(--page-support-deep-green);
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__policy-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  border-bottom: 1px dashed var(--page-support-divider);
  padding-bottom: 10px;
}

.page-support__policy-section.page-support__light-bg .page-support__policy-list li {
  border-bottom-color: #ccc;
}

.page-support__policy-list li:last-child {
  border-bottom: none;
}

.page-support__policy-list li a {
  color: var(--page-support-gold);
  text-decoration: none;
  font-weight: bold;
}

.page-support__policy-section.page-support__light-bg .page-support__policy-list li a {
  color: var(--page-support-deep-green);
}

.page-support__policy-list li a:hover {
  text-decoration: underline;
  color: var(--page-support-glow);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

  .page-support__hero-content {
    margin-top: -60px;
    padding: 25px;
  }

  .page-support__main-title {
    font-size: 2em;
  }

  .page-support__description {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-support__text-block {
    font-size: 1em;
  }

  .page-support__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-support__video-wrapper {
    margin-bottom: 20px;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-support__guide-block {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-support__guide-title {
    font-size: 1.5em;
  }

  .page-support__guide-content p,
  .page-support__guide-content ul,
  .page-support__guide-content ol {
    font-size: 0.95em;
  }

  /* 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-image-wrapper,
  .page-support__video-wrapper,
  .page-support__guide-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific video container adjustment */
  .page-support__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Adjust padding for sections on mobile to prevent overflow if they have explicit width */
  .page-support__faq-section, .page-support__guide-section, .page-support__contact-section, .page-support__policy-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure text blocks within sections also respect padding */
  .page-support__text-block {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 1.8em;
  }

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