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

/* General styling for .page-faq */
.page-faq {
  background-color: var(--bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Adjust as needed for hero height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and text */
}

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

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

.page-faq__hero-content h1 {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Using glow color for shadow */
}

.page-faq__hero-content p {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #111111; /* Darker text for contrast on bright button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4); /* Using primary color for shadow */
  border: none;
  cursor: pointer;
  max-width: 100%; /* For button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* FAQ section */
.page-faq__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

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

.page-faq__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  color: var(--text-main-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-item details {
  width: 100%;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for question area */
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-faq__faq-question::marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an 'x' or just rotate to indicate open */
}

.page-faq__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-faq__faq-answer ol {
  list-style: decimal inside;
}

.page-faq__faq-answer li {
  margin-bottom: 0.5em;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

  .page-faq__hero-content h1 {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-faq__hero-content p {
    font-size: 1em;
  }

  .page-faq__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Ensure button full width on mobile */
  }

  .page-faq__section {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-faq__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

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

  .page-faq__hero-image-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-faq__video-section { /* Although not used, include for completeness based on prompt */
    padding-top: 10px !important;
  }

  /* Mobile button responsiveness */
  .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;
  }
}