.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background #F4F7FB */
  background-color: #F4F7FB; /* Body background color */
}

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

/* Hero Section */
.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-color: #F4F7FB;
  color: #1F2D3D;
}

.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%; /* Ensure width for flex item */
}

.page-faq__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-faq__hero-content h1 {
  color: #1F2D3D;
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__hero-content p {
  color: #1F2D3D;
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-faq__section-title {
  color: #1F2D3D;
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

details.page-faq__faq-item {
  margin-bottom: 0;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Using border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px 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;
  color: #1F2D3D;
  font-size: 1.1em;
  font-weight: 600;
}

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

.page-faq__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  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: #F9FCFF; /* Slightly lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #333333;
}

details.page-faq__faq-item .page-faq__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background: #2F6BFF; /* Main color as background */
  color: #ffffff; /* White text for dark background */
}

.page-faq__cta-title {
  color: #ffffff;
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__cta-description {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: #FFFFFF; /* White background */
  color: #2F6BFF; /* Primary color text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a4dcc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-content h1 {
    font-size: 2em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 2em;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-content h1 {
    font-size: 1.8em;
    line-height: 1.3;
  }
  .page-faq__hero-content p {
    font-size: 1em;
  }
  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__faq-list-section {
    padding: 40px 0;
  }
  .page-faq__cta-section {
    padding: 60px 20px;
  }
  .page-faq__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__hero-image img,
  .page-faq__faq-list-section img,
  .page-faq__cta-section img,
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
  }
  .page-faq__faq-qtext {
    font-size: 15px;
  }
  .page-faq__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content h1 {
    font-size: 1.5em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.5em;
  }
  .page-faq__hero-content p,
  .page-faq__cta-description {
    font-size: 0.95em;
  }
  .page-faq__cta-button,
  .page-faq__btn-secondary {
    font-size: 15px;
    padding: 10px 25px;
  }
}