/* style/support.css */

/* Body background is #08160F (Deep Green), so text should be light */
.page-support {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
  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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.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__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #F2FFF6; /* Text Main */
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
}

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

.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

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

.page-support__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
}

.page-support__intro-section,
.page-support__channels-section,
.page-support__faq-section,
.page-support__guides-section,
.page-support__policies-section,
.page-support__contact-cta-section {
  padding: 80px 0;
}

.page-support__intro-section {
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-support__channel-card,
.page-support__guide-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-support__channel-card:hover,
.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-support__channel-icon,
.page-support__guide-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__channel-title,
.page-support__guide-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-support__channel-title a,
.page-support__guide-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-support__channel-title a:hover,
.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__channel-description,
.page-support__guide-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #2AD16F; /* Button */
  border: 2px solid #2AD16F; /* Button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-support__btn-secondary:hover {
  background-color: #2AD16F; /* Button */
  color: #11271B; /* Card BG */
}

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

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

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1rem;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

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

.page-support__faq-item[open] .page-support__faq-question .page-support__faq-toggle {
  content: '−';
}

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

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

.page-support__faq-answer a {
  color: #2AD16F; /* Button */
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

.page-support__policies-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-support__policy-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  transition: background-color 0.3s ease;
}

.page-support__policy-list li:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-support__policy-list li a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  display: block;
}

.page-support__policy-list li a:hover {
  color: #2AD16F; /* Button */
}

.page-support__contact-cta-section {
  text-align: center;
}

.page-support__cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 0 15px;
  }
}

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

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

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-support__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-support__intro-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__policies-section,
  .page-support__contact-cta-section {
    padding: 60px 0;
  }

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

  .page-support__channel-card,
  .page-support__guide-card {
    padding: 25px;
  }

  .page-support__channel-icon,
  .page-support__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-support__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .page-support__policy-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-support__hero-image-wrapper,
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__container,
  .page-support__intro-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__policies-section,
  .page-support__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Small top padding for hero on mobile, body handles header offset */
  .page-support__hero-section {
    padding-top: 10px !important;
  }
}