/* style/faq.css */

/* Base Styles & Typography */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000000; /* Inherited from body, but explicitly set for clarity */
}

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

.page-faq h1, .page-faq h2, .page-faq h3, .page-faq h4, .page-faq h5, .page-faq h6 {
  color: #26A9E0; /* Brand primary color for headings */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-faq h2 {
  font-size: 2.2em;
  margin-top: 40px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.5);
  padding-bottom: 10px;
}

.page-faq h3 {
  font-size: 1.6em;
  margin-top: 30px;
  color: #FFFFFF; /* White for sub-headings for better contrast on dark backgrounds */
}

.page-faq p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

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

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

.page-faq ul,
.page-faq ol {
  margin-bottom: 15px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-faq li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7196);
  color: #FFFFFF;
}

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

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

/* Call to Action Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

/* Content Area */
.page-faq__content-area {
  background-color: #000000; /* Dark background for content sections */
  color: #f0f0f0; /* Light text for readability */
  padding: 40px 0;
}

.page-faq__main-heading {
  text-align: center;
  color: #26A9E0;
  margin-bottom: 30px;
}

.page-faq__table-of-contents {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-bottom: 50px;
}

.page-faq__table-of-contents li {
  display: inline-block;
  margin: 0 15px 10px 15px;
}

.page-faq__table-of-contents a {
  color: #FFFFFF;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.page-faq__table-of-contents a:hover {
  background-color: #26A9E0;
  text-decoration: none;
}

/* FAQ Category */
.page-faq__faq-category {
  margin-bottom: 60px;
}

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

/* FAQ Item */
.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
  border: 1px solid rgba(38, 169, 224, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1);
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: #f0f0f0;
}

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

/* Conclusion CTA */
.page-faq__conclusion-cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a7196, #26A9E0);
  border-radius: 10px;
  margin-top: 60px;
  color: #FFFFFF;
}

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

.page-faq__conclusion-text {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

/* Image styles - ensuring no small icons and responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq h1 {
    font-size: 2.5em;
  }
  .page-faq h2 {
    font-size: 2em;
  }
  .page-faq__table-of-contents li {
    margin: 0 10px 10px 10px;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }
  .page-faq__table-of-contents li {
    display: block;
    margin: 0 auto 10px auto;
  }
  .page-faq__table-of-contents a {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  .page-faq__category-title {
    font-size: 2em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 15px;
  }
  .page-faq__conclusion-title {
    font-size: 2em;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and video responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-faq h1 {
    font-size: 1.8em;
  }
  .page-faq h2 {
    font-size: 1.6em;
  }
  .page-faq__hero-section {
    padding: 40px 10px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__table-of-contents li {
    margin: 0 auto 8px auto;
  }
  .page-faq__category-title {
    font-size: 1.8em;
  }
  .page-faq__faq-question {
    font-size: 1em;
  }
  .page-faq__conclusion-title {
    font-size: 1.8em;
  }
}