/* style/faq.css */
.page-faq {
  background-color: #0A0A0A; /* Background color from custom config */
  color: #FFF6D6; /* Text Main color from custom config */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: #0A0A0A;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-faq__hero-content {
  max-width: 900px;
  width: 100%;
  z-index: 1;
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-faq__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* Button text always white */
  border: none;
  margin-right: 15px;
}

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

.page-faq__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border color */
}

.page-faq__btn-secondary:hover {
  background: #3A2A12;
  color: #FFF6D6;
}

.page-faq__link {
  color: #FFD36B;
  text-decoration: underline;
  margin-top: 10px;
  display: block;
  transition: color 0.3s ease;
}

.page-faq__link:hover {
  color: #FFD86A;
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-faq__section-title {
  text-align: center;
  color: #FFD36B; /* Glow color */
  margin-bottom: 40px;
  font-size: 2.2em;
  font-weight: 700;
}

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

.page-faq__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 20px 25px;
  color: #FFF6D6; /* Text Main color */
  overflow: hidden;
}

.page-faq__faq-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15em;
  color: #FFD36B; /* Glow color for questions */
}

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFF6D6;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(0deg);
}

.page-faq__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6;
}

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

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-faq__cta-section {
  background-color: #0A0A0A;
  padding: 80px 20px;
  text-align: center;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #3A2A12; /* Border color */
  background-color: #111111; /* Card BG color */
  padding: 40px;
  border-radius: 10px;
}

.page-faq__cta-title {
  color: #FFD36B; /* Glow color */
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: 700;
}

.page-faq__cta-description {
  color: #FFF6D6; /* Text Main color */
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.5em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }

  .page-faq__hero-content {
    padding: 0 15px;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 12px 15px;
  }
  .page-faq__btn-primary:last-child, .page-faq__btn-secondary:last-child {
    margin-bottom: 0;
  }

  .page-faq__faq-item summary {
    font-size: 1em;
  }

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

  .page-faq__cta-title {
    font-size: 1.6em;
  }

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

  .page-faq__hero-image-wrapper,
  .page-faq__container,
  .page-faq__cta-content,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__cta-section {
      padding-left: 0;
      padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.7em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__cta-title {
    font-size: 1.4em;
  }
  .page-faq__faq-item summary {
    font-size: 0.95em;
  }
}