.page-faqs {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-faqs__hero-title-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body padding-top handles header offset */
  background: var(--background-color);
  color: var(--text-main);
}

.page-faqs__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--glow);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faqs__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.page-faqs__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faqs__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faqs__content-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-faqs__section-title {
  font-size: 2.5em;
  color: var(--glow);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faqs__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.page-faqs__banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

details.page-faqs__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

details.page-faqs__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--deep-orange);
}

details.page-faqs__faq-item summary.page-faqs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1em;
}

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

details.page-faqs__faq-item summary.page-faqs__faq-question:hover {
  background-color: rgba(255, 139, 26, 0.1);
  color: var(--glow);
}

.page-faqs__faq-qtext {
  flex: 1;
  font-size: 1em;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

details.page-faqs__faq-item[open] .page-faqs__faq-qtext {
  color: var(--glow);
}

.page-faqs__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-faqs__faq-item[open] .page-faqs__faq-toggle {
  transform: rotate(45deg);
  color: var(--deep-orange);
}

details.page-faqs__faq-item .page-faqs__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}

.page-faqs__faq-answer p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-faqs__faq-answer ul,
.page-faqs__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
  list-style-type: disc;
  color: var(--text-main);
}

.page-faqs__faq-answer ol {
  list-style-type: decimal;
}

.page-faqs__faq-answer li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.page-faqs__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faqs__faq-answer a:hover {
  color: var(--deep-orange);
}

.page-faqs__cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--deep-orange); /* Using deep orange for contrast */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-faqs__cta-section .page-faqs__section-title {
  color: #ffffff;
  font-size: 2.2em;
}

.page-faqs__cta-section .page-faqs__section-intro {
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-faqs__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-faqs__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-faqs__btn-secondary {
  background: #17191F;
  color: var(--glow);
  border: 2px solid var(--glow);
}

.page-faqs__btn-secondary:hover {
  background: var(--glow);
  color: #17191F;
  border-color: var(--glow);
}

.page-faqs__cta-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin: 40px auto 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ---------------------------------------------------------------------- */
/* Responsive Design */
/* ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-faqs__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-faqs__section-title {
    font-size: 2em;
  }
  .page-faqs__intro-description,
  .page-faqs__section-intro {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-faqs__hero-title-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faqs__container {
    padding: 0 15px;
  }
  .page-faqs__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-faqs__intro-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-faqs__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faqs__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-faqs__content-section {
    padding: 40px 0;
  }
  .page-faqs__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-faqs__section-intro {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  details.page-faqs__faq-item summary.page-faqs__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-faqs__faq-qtext {
    font-size: 0.95em;
  }
  .page-faqs__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-faqs__faq-item .page-faqs__faq-answer {
    padding: 0 20px 20px;
  }
  .page-faqs__faq-answer p,
  .page-faqs__faq-answer li {
    font-size: 0.9em;
  }
  .page-faqs__cta-section {
    padding: 40px 15px;
  }
  .page-faqs__cta-section .page-faqs__section-title {
    font-size: 1.8em;
  }
  .page-faqs__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0;
    margin: 30px auto 0;
  }

  /* Mobile image responsiveness */
  .page-faqs img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faqs__section,
  .page-faqs__card,
  .page-faqs__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure text contrast for default elements */
.page-faqs p,
.page-faqs li,
.page-faqs span {
  color: var(--text-main);
}

.page-faqs h1,
.page-faqs h2,
.page-faqs h3,
.page-faqs h4,
.page-faqs h5,
.page-faqs h6 {
  color: var(--glow);
}

.page-faqs__cta-section p,
.page-faqs__cta-section li,
.page-faqs__cta-section span {
  color: #f0f0f0;
}

.page-faqs__cta-section h1,
.page-faqs__cta-section h2,
.page-faqs__cta-section h3,
.page-faqs__cta-section h4,
.page-faqs__cta-section h5,
.page-faqs__cta-section h6 {
  color: #ffffff;
}