.page-faqs {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light background */
  background-color: var(--secondary-color, #FFFFFF);
}

.page-faqs__hero-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  overflow: hidden;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-faqs__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-faqs__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-faqs__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-faqs__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faqs__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-faqs__btn-primary,
.page-faqs__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faqs__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-faqs__btn-primary:hover {
  background-color: #1f8ac1;
  border-color: #1f8ac1;
}

.page-faqs__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-faqs__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-faqs__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Explicit light background */
  color: #333333; /* Dark text */
}

.page-faqs__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-faqs__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-faqs__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-faqs__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-faqs__faq-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faqs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-faqs__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
  flex-grow: 1;
}

.page-faqs__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.page-faqs__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f8f8;
}

.page-faqs__faq-item.active .page-faqs__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px;
}

.page-faqs__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #555555;
}

.page-faqs__content-image {
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faqs__main-title {
    font-size: 2.8em;
  }
  .page-faqs__intro-description {
    font-size: 1.1em;
  }
  .page-faqs__section-title {
    font-size: 2.2em;
  }
  .page-faqs__faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faqs__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-faqs__main-title {
    font-size: 2.2em;
  }
  .page-faqs__intro-description {
    font-size: 1em;
  }
  .page-faqs__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faqs__btn-primary,
  .page-faqs__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-faqs__content-area {
    padding: 40px 15px;
  }
  .page-faqs__section-title {
    font-size: 2em;
  }
  .page-faqs__faq-question h3 {
    font-size: 1em;
  }
  .page-faqs img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faqs__section,
  .page-faqs__card,
  .page-faqs__container,
  .page-faqs__faq-grid,
  .page-faqs__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-faqs__faq-item {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-faqs__main-title {
    font-size: 1.8em;
  }
  .page-faqs__intro-description {
    font-size: 0.9em;
  }
  .page-faqs__section-title {
    font-size: 1.8em;
  }
  .page-faqs__faq-question h3 {
    font-size: 0.95em;
  }
  .page-faqs__faq-question,
  .page-faqs__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}