.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main color */
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background: #F5F7FA; /* Background color */
  text-align: center;
  overflow: hidden;
}

.page-faq__main-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: #E53935; /* Primary brand color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 18px;
  color: #333333; /* Text Main color */
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

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

.page-faq__btn-secondary {
  background: #ffffff; /* Card BG color */
  color: #E53935; /* Primary brand color */
  border: 2px solid #E53935;
}

.page-faq__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-faq__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
  background: #F5F7FA; /* Background color */
}

.page-faq__section-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: #E53935; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 17px;
  color: #333333; /* Text Main color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0; /* Border color */
  overflow: hidden;
  background: #ffffff; /* Card BG color */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}
details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #f9f9f9;
}
.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Text Main color */
}
.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #E53935; /* Primary brand color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.1); /* Light background for toggle icon */
}
details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  color: #333333; /* Text Main color */
}
.page-faq__faq-answer p {
  margin-bottom: 10px;
}
.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.page-faq__cta-section {
  padding: 80px 0;
  background: #E53935; /* Primary brand color for dark section */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(30px, 3.8vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-faq__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
}

/* General image responsive styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-faq__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .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;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  .page-faq__faq-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-qtext {
    font-size: 16px;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 28px;
    height: 28px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }

  /* CTA Section */
  .page-faq__cta-section {
    padding: 50px 0;
  }

  .page-faq__cta-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-faq__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
  }

  /* Ensure all content containers are responsive */
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images within content */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}