/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure this matches body background */
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background: #000000; /* Ensure consistency with body background */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-faq__hero-content {
  max-width: 900px;
  color: #ffffff;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0;
}

.page-faq__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Title */
.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

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

/* Intro Text Section */
.page-faq__intro-text {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-faq__intro-text .page-faq__section-title {
  color: #000000;
}

.page-faq__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* FAQ List Section */
.page-faq__faq-list {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for cards */
  color: #ffffff;
}

.page-faq__faq-list .page-faq__section-title {
  color: #26A9E0;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  padding: 0;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  font-size: 1rem;
  color: #f0f0f0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
}

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

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

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

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

/* CTA Section */
.page-faq__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for CTA */
  color: #333333; /* Dark text for light background */
  text-align: center;
}

.page-faq__cta-section .page-faq__section-title {
  color: #000000;
}

/* Buttons */
.page-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__cta-buttons--inline {
  margin-top: 20px;
  justify-content: flex-start;
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq a[class*="button"],
.page-faq a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

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

.page-faq__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

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

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

.page-faq__btn-secondary--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-faq__description {
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-faq__container {
    padding: 0 15px;
  }

  .page-faq__intro-text,
  .page-faq__faq-list,
  .page-faq__cta-section {
    padding: 50px 0;
  }

  .page-faq__faq-item {
    padding: 15px;
  }

  .page-faq__faq-question {
    font-size: 1.05rem;
  }

  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding-top: 10px;
    margin-top: 10px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-faq__cta-buttons--inline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .page-faq__cta-buttons--inline .page-faq__btn-primary,
  .page-faq__cta-buttons--inline .page-faq__btn-secondary {
    width: auto !important;
    max-width: calc(100% - 20px) !important; /* Adjust for gap */
    flex-grow: 1; /* Allow buttons to grow if space permits */
  }

  /* Image responsiveness for mobile */
  .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,
  .page-faq__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-faq__cta-buttons--inline .page-faq__btn-primary,
  .page-faq__cta-buttons--inline .page-faq__btn-secondary {
    max-width: 100% !important;
  }
}