.page-faq {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 675px; /* Default display height, will be responsive */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFB04D; /* Glow color for main title */
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.6);
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  min-width: 200px; /* Ensure button is not too small */
}

.page-faq__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-faq__section {
  padding: 40px 0;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #FF8C1A;
}

.page-faq__accordion {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

.page-faq__accordion-item {
  border-bottom: 1px solid #A84F0C;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #17191F;
  color: #FFF3E6;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #2a2d36;
}

.page-faq__accordion-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #FFF3E6;
}

.page-faq__accordion-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
  color: #FFA53A;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #21232A;
  padding: 0 25px;
}

.page-faq__accordion-content p {
  padding: 15px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-faq__accordion-content .page-faq__button {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: 6px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.page-faq__accordion-content .page-faq__button:hover {
  transform: translateY(-1px);
}

.page-faq__cta-section {
  background-color: #17191F;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid #A84F0C;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FF8C1A;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-faq__cta-button--secondary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  min-width: 200px;
}

.page-faq__cta-button--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-image {
    height: 400px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
  .page-faq__accordion-header {
    padding: 15px 20px;
  }
  .page-faq__accordion-header h3 {
    font-size: 1.1rem;
  }
  .page-faq__accordion-content p {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title, .page-faq__cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  /* Mobile content image overflow prevention */
  .page-faq__hero-section img,
  .page-faq__faq-list-section img,
  .page-faq__cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-image {
    height: 300px;
  }
  .page-faq__hero-content {
    padding: 0 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-faq__cta-button, .page-faq__cta-button--secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
    width: auto;
  }
  .page-faq__accordion-header {
    padding: 12px 15px;
  }
  .page-faq__accordion-header h3 {
    font-size: 1rem;
  }
  .page-faq__accordion-icon {
    font-size: 1.5rem;
  }
  .page-faq__accordion-content {
    padding: 0 15px;
  }
  .page-faq__accordion-content p {
    font-size: 0.9rem;
  }
}