.page-faq {
  color: #FFF6D6; /* Light text for dark body background */
  background-color: #0A0A0A; /* Body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

.page-faq__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #0A0A0A;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit height to prevent excessive scroll */
}

.page-faq__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  z-index: 10; /* Ensure text is above image */
}

.page-faq__hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-faq__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

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

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Main color for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__faq-item {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item:hover {
  background-color: rgba(242, 193, 78, 0.05); /* Subtle hover effect */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFF6D6;
}

.page-faq__question-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: bold;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
}

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

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large height for content */
  padding: 15px 25px 20px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 1rem;
}

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

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

.page-faq__inline-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 10px;
  margin-right: 10px;
  transition: background 0.3s ease;
}

.page-faq__inline-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-faq__cta-section {
  background-color: #111111; /* Card background */
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #FFF6D6;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  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: #0A0A0A;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-faq__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 0.95rem;
  }

  .page-faq__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 100px) !important;
  }

  .page-faq__hero-content {
    width: 95%;
    padding: 15px;
  }

  .page-faq__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-faq__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-faq__section-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__question-title {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }

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

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

  .page-faq__inline-button {
    padding: 8px 15px;
    font-size: 0.85rem;
    margin-right: 5px;
  }

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

  .page-faq__cta-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-faq__cta-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .page-faq__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section, .page-faq__card, .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-button, .page-faq__btn-primary, .page-faq__btn-secondary,
  .page-faq a[class*="button"], .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons, .page-faq__button-group, .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}