/* style/faq.css */
.page-faq {
  color: #ffffff; /* Dark body background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.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.6);
  z-index: 2;
}

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

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

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__hero-button {
  display: inline-block;
  background: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__hero-button:hover {
  background: #1e87b7;
}

.page-faq__dark-section {
  background-color: #0a0a0a; /* Ensure dark background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-faq__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #FFFFFF;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-faq__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

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

.page-faq__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 15px;
}

.page-faq__cta-section {
  background: linear-gradient(90deg, #26A9E0, #1e87b7);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-faq__cta-button {
  display: inline-block;
  background: #EA7C07; /* Login color */
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-faq__cta-button:hover {
  background: #c26505;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }
  .page-faq__hero-section {
    height: 500px;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__dark-section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-heading {
    font-size: 1.1em;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px;
  }
  .page-faq__cta-section {
    padding: 60px 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.95em;
  }
  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  /* Mobile image, video, button responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper,
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-faq__cta-button,
  .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;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__hero-section {
    height: 350px;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__faq-question {
    padding: 12px 15px;
  }
  .page-faq__faq-heading {
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 12px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
}