/* style/frequently-asked-questions.css */
.page-frequently-asked-questions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: var(--background-color, #0A0A0A); /* Background */
}

.page-frequently-asked-questions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-frequently-asked-questions__hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-frequently-asked-questions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-frequently-asked-questions__hero-text-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
}

.page-frequently-asked-questions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #FFF6D6;
  max-width: 800px;
  margin-bottom: 15px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-frequently-asked-questions__hero-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-frequently-asked-questions__hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-frequently-asked-questions__btn-primary,
.page-frequently-asked-questions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-frequently-asked-questions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Darker text for contrast on bright gold */
  border: none;
}

.page-frequently-asked-questions__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-frequently-asked-questions__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E;
}

.page-frequently-asked-questions__btn-secondary:hover {
  transform: translateY(-2px);
  background: #222222;
  color: #FFD36B;
}

.page-frequently-asked-questions__faq-section {
  padding: 40px 0;
}

.page-frequently-asked-questions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-frequently-asked-questions__section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-frequently-asked-questions__section-description {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-frequently-asked-questions__faq-list {
  margin-top: 30px;
}

.page-frequently-asked-questions__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-frequently-asked-questions__faq-item.active {
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
}

.page-frequently-asked-questions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFF6D6;
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-frequently-asked-questions__faq-question:hover {
  background-color: #1a1a1a;
}

.page-frequently-asked-questions__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-frequently-asked-questions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

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

.page-frequently-asked-questions__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-frequently-asked-questions__faq-item.active .page-frequently-asked-questions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-frequently-asked-questions__faq-answer p {
  margin-bottom: 15px;
  color: inherit;
}

.page-frequently-asked-questions__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-frequently-asked-questions__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.page-frequently-asked-questions__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border color */
}

.page-frequently-asked-questions__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-frequently-asked-questions__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

.page-frequently-asked-questions__cta-bottom .page-frequently-asked-questions__btn-primary {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-frequently-asked-questions__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
    min-height: 400px;
  }

  .page-frequently-asked-questions__hero-text-container {
    padding: 15px;
  }

  .page-frequently-asked-questions__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-frequently-asked-questions__hero-description,
  .page-frequently-asked-questions__section-description,
  .page-frequently-asked-questions__cta-description {
    font-size: 1rem;
  }

  .page-frequently-asked-questions__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-frequently-asked-questions__btn-primary,
  .page-frequently-asked-questions__btn-secondary {
    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-frequently-asked-questions__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-frequently-asked-questions__faq-answer {
    padding: 0 20px;
  }

  .page-frequently-asked-questions__faq-item.active .page-frequently-asked-questions__faq-answer {
    padding: 15px 20px;
  }

  .page-frequently-asked-questions__container,
  .page-frequently-asked-questions__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-frequently-asked-questions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-frequently-asked-questions__section,
  .page-frequently-asked-questions__card,
  .page-frequently-asked-questions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-frequently-asked-questions__faq-answer .page-frequently-asked-questions__faq-image {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .page-frequently-asked-questions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .page-frequently-asked-questions__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .page-frequently-asked-questions__cta-title {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }
}