.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-faq__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-faq__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 0 20px;
}

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

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #F0F0F0;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-faq__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-faq__intro-section {
  padding: 60px 20px;
  background-color: #F8F8F8;
  text-align: center;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  color: #555555;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-faq__main-heading {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 50px;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq__category-title {
  font-size: 2em;
  color: #FFFFFF;
  background-color: #26A9E0;
  padding: 20px 30px;
  margin: 0;
  border-bottom: 1px solid #1a7fb0;
}

.page-faq__category-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

.page-faq__faq-item {
  border-bottom: 1px solid #eee;
}

.page-faq__faq-item:last-child {
  border-bottom: none;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #FDFDFD;
  transition: background-color 0.3s ease;
}

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

.page-faq__question-text {
  font-size: 1.25em;
  color: #333333;
  margin: 0;
  flex-grow: 1;
}

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

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #FFFFFF;
  color: #555555;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 30px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #F0F8FF;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #555555;
}

/* Image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__main-heading {
    font-size: 2.4em;
  }
  .page-faq__category-title {
    font-size: 1.8em;
  }
  .page-faq__question-text {
    font-size: 1.1em;
  }
  .page-faq__faq-toggle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    height: 500px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__main-heading {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-faq__category-title {
    font-size: 1.5em;
    padding: 15px 20px;
  }
  .page-faq__question-text {
    font-size: 1em;
  }
  .page-faq__faq-toggle {
    font-size: 1.3em;
  }
  .page-faq__faq-question,
  .page-faq__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.95em;
  }

  /* Mobile image, video, and button responsive overrides */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__hero-section,
  .page-faq__intro-section,
  .page-faq__content-area,
  .page-faq__faq-category,
  .page-faq__cta-section,
  .page-faq__container,
  .page-faq__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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__cta-buttons {
    display: flex;
    flex-direction: column !important; 
    gap: 10px;
  }
  
  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    height: 400px;
  }
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__main-heading {
    font-size: 1.8em;
  }
  .page-faq__category-title {
    font-size: 1.3em;
  }
  .page-faq__question-text {
    font-size: 0.95em;
  }
  .page-faq__faq-question,
  .page-faq__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
}