/* style/help-center.css */

/* Body background from shared.css is #08160F (dark), so text should be light */
.page-help-center {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-help-center__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  color: #F2FFF6;
  overflow: hidden;
}

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

.page-help-center__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-help-center__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-help-center__main-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -0.02em;
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-help-center__description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-help-center__btn-primary,
.page-help-center__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-help-center__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-help-center__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for secondary text */
  border: 2px solid #2E7A4E; /* Border */
  margin-left: 20px;
}

.page-help-center__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-help-center__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-help-center__section-title {
  text-align: center;
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-size: 2.2em;
  font-weight: bold;
}

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

.page-help-center__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-help-center__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

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

.page-help-center__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-help-center__faq-qtext {
  flex-grow: 1;
}

.page-help-center__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-help-center__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

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

.page-help-center__faq-answer ul,
.page-help-center__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-help-center__faq-answer li {
  margin-bottom: 5px;
}

.page-help-center__faq-answer h3 {
  color: #F2C14E; /* Gold */
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-help-center__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-help-center__faq-answer a:hover {
  color: #2AD16F;
}

.page-help-center__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
}

/* CTA Section */
.page-help-center__cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-help-center__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-help-center__cta-content {
  flex: 1;
  text-align: left;
}

.page-help-center__cta-title {
  color: #F2C14E; /* Gold */
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-help-center__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-help-center__cta-image-wrapper {
  flex: 0 0 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-help-center__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-help-center__main-title {
    font-size: 2.8em;
  }
  .page-help-center__cta-title {
    font-size: 2em;
  }
  .page-help-center__cta-image-wrapper {
    flex: 0 0 300px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .page-help-center {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-help-center__hero-content {
    padding: 60px 15px;
  }

  .page-help-center__main-title {
    font-size: 2em;
    max-width: 100% !important;
  }

  .page-help-center__description {
    font-size: 1em;
  }

  .page-help-center__btn-primary,
  .page-help-center__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-help-center__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-help-center__faq-section,
  .page-help-center__cta-section {
    padding: 40px 0;
  }

  .page-help-center__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-help-center__faq-item summary {
    font-size: 1em;
    padding: 15px 15px;
  }

  .page-help-center__faq-answer {
    padding: 0 15px 15px;
  }

  .page-help-center__cta-container {
    flex-direction: column;
    gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-help-center__cta-content {
    text-align: center;
  }

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

  .page-help-center__cta-image-wrapper {
    flex: 0 0 100%;
    height: 250px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-help-center img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-help-center__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 250px; /* Adjust hero image height for mobile */
  }

  .page-help-center__section,
  .page-help-center__card,
  .page-help-center__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-help-center__hero-section {
    padding-top: 10px !important;
  }

  .page-help-center__faq-image {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}