/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

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

.page-faq__hero-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-faq__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-faq__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFFFFF;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-inline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-faq__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

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

.page-faq__btn-secondary-inverted:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
}

.page-faq__btn-inline {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: none;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.page-faq__btn-inline:hover {
  background-color: #1f8ac1;
}

.page-faq__content-area {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-faq__section-title--white {
  color: #FFFFFF;
}

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-faq__section-intro--white {
  color: #f0f0f0;
}

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

.page-faq__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

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

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #f9f9f9;
}

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

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

.page-faq__image-section {
  background-color: #26A9E0;
  padding: 60px 0;
  text-align: center;
}

.page-faq__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-faq__cta-buttons--center {
  margin-top: 30px;
}

.page-faq__contact-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-faq__contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-faq__contact-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  box-sizing: border-box;
}

.page-faq__contact-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-faq__contact-card p {
  margin-bottom: 20px;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.5em;
  }
  .page-faq__description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__description {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__btn-secondary-inverted,
  .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__content-area,
  .page-faq__image-section,
  .page-faq__contact-section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-intro {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    padding: 15px;
  }
  .page-faq__faq-heading {
    font-size: 1.1em;
  }
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px;
  }
  .page-faq__responsive-image {
    margin: 20px auto;
  }
  .page-faq__contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .page-faq__contact-card {
    max-width: 100%;
  }
  .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;
  }
  .page-faq__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With !important for mobile */
  }
}