.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color from custom palette */
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient for hero section background */
  color: #ffffff;
  overflow: hidden;
}

.page-faq__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-faq__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  color: #333333; /* Main text color */
}

.page-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #E53935; /* Brand color for titles */
  line-height: 1.2;
}

.page-faq__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #333333;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__faq-list {
  margin-top: 30px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #E0E0E0; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card background color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

details.page-faq__faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

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;
  background-color: #FFFFFF; /* Card background color */
  color: #333333;
}

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-color: #f9f9f9;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #E53935; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background-color: #fcfcfc;
  border-top: 1px solid #f0f0f0;
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  color: #555555;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #555555;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
  color: #555555;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
  color: #555555;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: #FFFFFF; /* Card background color */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-faq__cta-text {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 500;
  color: #333333;
}

.page-faq__cta-button-secondary {
  display: inline-block;
  padding: 14px 35px;
  background-color: #ffffff;
  color: #E53935; /* Brand color for text */
  border: 2px solid #E53935; /* Brand color for border */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-faq__cta-button-secondary:hover {
  background-color: #E53935; /* Brand color for background */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-image img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

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

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-qtext {
    font-size: 1rem;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }

  .page-faq__cta-bottom {
    margin-top: 40px;
    padding: 20px;
  }

  .page-faq__cta-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-button-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness for content area */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-faq__cta-button {
    font-size: 0.95rem;
    padding: 10px 25px;
  }

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

  .page-faq__faq-qtext {
    font-size: 0.95rem;
  }

  .page-faq__faq-toggle {
    font-size: 20px;
    width: 20px;
  }

  .page-faq__cta-text {
    font-size: 0.95rem;
  }

  .page-faq__cta-button-secondary {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}