/* style/faqs.css */
/* Body background: #0A0A0A (dark), Text Main: #FFF6D6 */
.page-faqs {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  line-height: 1.6;
}

/* Hero Section */
.page-faqs__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Minimal top padding, body handles header offset */
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, rgba(10, 10, 10, 1) 100%); /* Dark gradient background */
  overflow: hidden;
}

.page-faqs__hero-image {
  width: 100%;
  max-width: 1920px; /* Hero images are typically very wide */
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Space between image and content */
}

.page-faqs__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any background elements if needed */
}

.page-faqs__main-title {
  font-size: clamp(2em, 5vw, 3.2em); /* Using clamp for responsive H1 */
  font-weight: bold;
  color: #F2C14E; /* Primary brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-faqs__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons in Hero Section */
.page-faqs__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: 30px;
}

.page-faqs__btn-primary,
.page-faqs__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

.page-faqs__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button */
  border: none;
}

.page-faqs__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
}

.page-faqs__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E;
}

.page-faqs__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text on primary color background */
  transform: translateY(-2px);
}

/* FAQ List Section */
.page-faqs__faq-list-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Body background color */
}

.page-faqs__container {
  width: 100%; /* Ensure width 100% for desktop too */
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faqs__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-faqs__faq-item {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faqs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly lighter than card background for contrast */
  color: #FFF6D6;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faqs__faq-question h3 {
  margin: 0;
  color: #F2C14E; /* Primary color for question text */
  font-size: 1em; /* Relative to parent font size */
}

.page-faqs__faq-question:hover {
  background-color: #222222;
}

.page-faqs__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-faqs__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Main text color */
}

.page-faqs__faq-item.active .page-faqs__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px; /* Padding when active */
}

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

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

.page-faqs__faq-answer a {
  color: #FFD36B; /* Auxiliary color for links within answers */
  text-decoration: underline;
}

.page-faqs__faq-answer a:hover {
  color: #F2C14E;
}

.page-faqs__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
  display: inline-block; /* Ensure it's not full width */
}

/* CTA Banner Section */
.page-faqs__cta-banner {
  background: #111111; /* Card background color */
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faqs__cta-banner .page-faqs__container {
  z-index: 1; /* Ensure text is above image */
}

.page-faqs__cta-title {
  font-size: clamp(1.8em, 4vw, 2.2em);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faqs__cta-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faqs__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faqs__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }
  .page-faqs__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.2em);
  }
  .page-faqs__cta-title {
    font-size: clamp(1.6em, 3.5vw, 2em);
  }
}

@media (max-width: 768px) {
  .page-faqs__hero-section {
    padding: 10px 0 40px 0 !important; /* Specific override for hero section, body handles header offset */
  }
  .page-faqs__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-faqs__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faqs__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-faqs__btn-primary,
  .page-faqs__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faqs__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-faqs__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-faqs__faq-answer {
    padding: 0 20px;
  }
  .page-faqs__faq-item.active .page-faqs__faq-answer {
    padding: 15px 20px;
  }
  .page-faqs__cta-banner {
    padding: 40px 0;
  }
  .page-faqs__cta-title {
    font-size: 1.8em;
  }
  .page-faqs__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Image responsiveness */
  .page-faqs img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-faqs__section,
  .page-faqs__card,
  .page-faqs__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-faqs__main-title {
    font-size: 1.8em;
  }
  .page-faqs__section-title {
    font-size: 1.5em;
  }
  .page-faqs__faq-question h3 {
    font-size: 0.9em;
  }
  .page-faqs__cta-title {
    font-size: 1.5em;
  }
}