/* style/help-center-faq.css */
.page-help-center-faq {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A2B3C; /* Main dark background color */
  line-height: 1.6;
}

.page-help-center-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-help-center-faq__hero-section {
  background: linear-gradient(135deg, #1A2B3C 0%, #3a506b 100%); /* Dark gradient */
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-help-center-faq__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-help-center-faq__subtitle {
  font-size: 1.3em;
  color: #B0B0B0;
  margin-bottom: 30px;
}

.page-help-center-faq__search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.page-help-center-faq__search-input {
  padding: 12px 20px;
  border: 1px solid #445D7A;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  background-color: #2C3E50;
  color: #E0E0E0;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-help-center-faq__search-input::placeholder {
  color: #8899AA;
}

.page-help-center-faq__search-input:focus {
  border-color: #FFD700;
}

.page-help-center-faq__search-button {
  padding: 12px 25px;
  background-color: #FFD700; /* Auxiliary color for button */
  color: #1A2B3C; /* Dark text on bright button */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-help-center-faq__search-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-help-center-faq__content-section {
  padding: 60px 0;
  display: flex;
  gap: 40px;
}

.page-help-center-faq__faq-categories {
  flex: 0 0 280px;
  background-color: #2C3E50;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  height: fit-content;
  position: sticky;
  top: 20px; /* Adjust if header is sticky */
}

.page-help-center-faq__category-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-help-center-faq__category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-help-center-faq__category-list li {
  margin-bottom: 15px;
}

.page-help-center-faq__category-link {
  color: #E0E0E0;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease, transform 0.2s ease;
  display: block;
  padding: 8px 0;
}

.page-help-center-faq__category-link:hover,
.page-help-center-faq__category-link.active {
  color: #FFD700;
  transform: translateX(5px);
}

.page-help-center-faq__faq-list {
  flex: 1;
}

.page-help-center-faq__list-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  text-align: center;
}

.page-help-center-faq__faq-item {
  background-color: #2C3E50;
  border-radius: 10px;
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #445D7A;
}

.page-help-center-faq__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #34495E; /* Slightly lighter dark for question header */
  transition: background-color 0.3s ease;
  position: relative;
}

.page-help-center-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-help-center-faq__faq-item.active .page-help-center-faq__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-help-center-faq__faq-question:hover {
  background-color: #445D7A;
}

.page-help-center-faq__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: #E0E0E0;
}

.page-help-center-faq__faq-item.active .page-help-center-faq__faq-answer {
  max-height: 1000px; /* Large enough value to accommodate content */
  padding: 20px 25px;
}

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

.page-help-center-faq__faq-answer ol,
.page-help-center-faq__faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-type: decimal;
}

.page-help-center-faq__faq-answer ul {
  list-style-type: disc;
}

.page-help-center-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-help-center-faq__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-help-center-faq__faq-answer a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-help-center-faq__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #FFD700;
  color: #1A2B3C;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.page-help-center-faq__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-help-center-faq__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-help-center-faq__cta-section {
  background-color: #34495E; /* A slightly lighter dark for CTA background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-help-center-faq__cta-section .page-help-center-faq__container {
  position: relative;
  z-index: 1;
}

.page-help-center-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-help-center-faq__cta-description {
  font-size: 1.2em;
  color: #B0B0B0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-help-center-faq__cta-button--primary {
  background-color: #FFD700;
  color: #1A2B3C;
  margin-right: 15px;
}

.page-help-center-faq__cta-button--primary:hover {
  background-color: #e6c200;
}

.page-help-center-faq__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-help-center-faq__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

.page-help-center-faq__cta-image {
  position: absolute;
  bottom: 0;
  right: -50px; /* Adjust position */
  opacity: 0.3;
  width: 300px; /* Example size */
  height: auto;
  z-index: 0;
  pointer-events: none;
  display: none; /* Hide by default for smaller screens */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-help-center-faq__content-section {
    flex-direction: column;
    gap: 30px;
  }

  .page-help-center-faq__faq-categories {
    flex: none;
    width: 100%;
    position: static;
    top: auto;
  }

  .page-help-center-faq__main-title {
    font-size: 2.5em;
  }

  .page-help-center-faq__subtitle {
    font-size: 1.1em;
  }

  .page-help-center-faq__list-heading {
    font-size: 2em;
  }

  .page-help-center-faq__cta-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-help-center-faq__hero-section,
  .page-help-center-faq__content-section,
  .page-help-center-faq__cta-section {
    padding: 40px 0;
  }

  .page-help-center-faq__main-title {
    font-size: 2em;
  }

  .page-help-center-faq__search-box {
    flex-direction: column;
    align-items: center;
  }

  .page-help-center-faq__search-input,
  .page-help-center-faq__search-button {
    max-width: 300px;
    width: 100%;
  }

  .page-help-center-faq__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }

  .page-help-center-faq__faq-answer {
    padding: 0 20px;
  }

  .page-help-center-faq__faq-item.active .page-help-center-faq__faq-answer {
    padding: 15px 20px;
  }

  .page-help-center-faq__cta-button {
    display: block;
    margin: 15px auto;
  }

  .page-help-center-faq__cta-button--primary {
    margin-right: 0;
  }
}

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

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

  .page-help-center-faq__category-title,
  .page-help-center-faq__list-heading,
  .page-help-center-faq__cta-title {
    font-size: 1.5em;
  }

  .page-help-center-faq__faq-question {
    font-size: 1.1em;
  }
}