:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A; /* Body background */
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --dark-text-on-light-bg: #0A0A0A; /* For text on light gradient buttons */
}

.page-faq {
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom for footer spacing */
}

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  position: relative;
  z-index: 0;
  margin-bottom: 40px; /* Space between image and text content */
}

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

.page-faq__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-faq__section--dark {
  background-color: var(--card-bg);
}

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

.page-faq__section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

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

.page-faq__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--text-main-color);
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #1a1a1a;
}

.page-faq__faq-heading {
  margin: 0;
  flex-grow: 1;
  color: var(--text-main-color);
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
  padding-bottom: 25px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: var(--dark-text-on-light-bg); /* Dark text on light gold gradient for contrast */
  border: none;
  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: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--primary-color);
  color: var(--dark-text-on-light-bg);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__faq-answer .page-faq__btn-secondary {
  margin-top: 10px;
}

.page-faq__cta-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
  text-align: center;
  color: var(--dark-text-on-light-bg); /* Dark text on primary color background */
}

.page-faq__cta-container {
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--dark-text-on-light-bg);
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--dark-text-on-light-bg);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-image {
    max-height: 400px;
  }
  .page-faq__main-title {
    font-size: 3rem;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding-bottom: 40px;
  }
  .page-faq__hero-image {
    max-height: 300px;
    margin-bottom: 30px;
  }
  .page-faq__main-title {
    font-size: 2.2rem;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 15px;
    padding-bottom: 20px;
  }
  .page-faq__cta-section {
    padding: 60px 20px;
  }
  .page-faq__cta-title {
    font-size: 2rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Force responsive for images, videos, buttons */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-faq__section,
  .page-faq__container,
  .page-faq__cta-section,
  .page-faq__cta-container,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8rem;
  }
  .page-faq__section-title {
    font-size: 1.5rem;
  }
  .page-faq__faq-question {
    font-size: 0.9rem;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
}