.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed header spacing */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
  color: #FFF6D6;
  margin-top: -150px;
  padding-top: 150px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__description {
  font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-faq__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
}

.page-faq__btn-secondary:hover {
  background: #222222;
  color: #FFF6D6;
  transform: translateY(-2px);
}

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

.page-faq__faq-section,
.page-faq__about-section,
.page-faq__cta-section {
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B;
}

.page-faq__section-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #FFF6D6;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-faq__faq-item summary.page-faq__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;
  font-weight: 600;
}
details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}
details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #222222;
}
.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A;
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  line-height: 1.7;
}

.page-faq__faq-answer p {
    margin-bottom: 10px;
}
.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__about-section {
  background: #0A0A0A;
  color: #FFF6D6;
  padding: 80px 0;
  border-top: 1px solid #3A2A12;
}

.page-faq__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__text-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-faq__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
    margin-top: 15px;
}

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

.page-faq__dark-section {
  background: #0A0A0A;
  color: #FFF6D6;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.5vw + 1rem, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFF6D6;
}

.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-image-wrapper {
    height: 400px;
  }
  .page-faq__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }
  .page-faq__main-title {
    font-size: 2.8rem;
  }
  .page-faq__description {
    font-size: 1.1rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 80%;
  }
  .page-faq__content-grid {
    grid-template-columns: 1fr;
  }
  .page-faq__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }
  .page-faq__hero-image-wrapper {
    height: auto !important;
    aspect-ratio: unset !important;
  }
  .page-faq__hero-image {
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__hero-content {
    margin-top: -50px !important; /* Adjust overlap */
    padding: 30px 15px !important;
    padding-top: 80px !important;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }
  .page-faq__description {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__faq-section,
  .page-faq__about-section,
  .page-faq__cta-section {
    padding: 40px 0 !important;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    margin-bottom: 30px !important;
  }

  .page-faq__section-intro {
    font-size: 0.95rem !important;
    margin-top: -10px !important;
    margin-bottom: 30px !important;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px !important;
  }
  .page-faq__faq-qtext {
    font-size: 1rem !important;
  }
  .page-faq__faq-toggle {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-faq__text-block p {
    font-size: 0.95rem !important;
  }

  .page-faq__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__cta-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }
  .page-faq__cta-description {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}