.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Primary and secondary colors */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content on column layout */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  color: #111111; /* Dark text for light background gradient */
}

.page-faq__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #111111;
}

.page-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333333; /* Darker text for readability */
}

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

.page-faq__section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-faq__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-faq__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFF6D6; /* Text Main */
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-heading {
  margin: 0;
  font-size: 1.2rem;
  color: #FFF6D6; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important;
  padding: 20px !important;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-faq__faq-answer a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-faq__cta-section {
  background: linear-gradient(90deg, #111111, #0A0A0A); /* Card BG to Background */
  padding: 80px 0;
  text-align: center;
}

.page-faq__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-faq__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 1.15rem;
  max-width: 800px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

/* Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-small,
.page-faq__btn-large {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-faq__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text for primary color background */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
}

.page-faq__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 20px;
}

.page-faq__btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 35px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-faq__hero-section {
    flex-direction: row; /* Desktop: row layout */
    text-align: left;
    padding-bottom: 60px;
  }

  .page-faq__hero-content {
    flex: 1;
    padding-left: 40px; /* Adjust padding for row layout */
    padding-right: 0;
  }

  .page-faq__hero-image-wrapper {
    flex: 1;
    margin-top: 0;
    margin-bottom: 0;
  }

  .page-faq__hero-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-title {
    font-size: 2rem;
  }

  .page-faq__hero-description {
    font-size: 1rem;
  }

  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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-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__section-title {
    font-size: 2rem;
  }

  .page-faq__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-faq__faq-heading {
    font-size: 1.1rem;
  }

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

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px !important;
  }

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

  .page-faq__cta-title {
    font-size: 1.8rem;
  }

  .page-faq__cta-description {
    font-size: 1rem;
  }

  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .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-image {
    max-width: calc(100% - 30px); /* Account for container padding */
  }
}