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

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

.page-faq__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background-color: #000080; /* Dark blue background */
  color: #ffffff; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-faq__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
}

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text for gold background */
  border: 2px solid #FFD700;
}

.page-faq__btn-primary:hover {
  background-color: #e6c200;
  color: #00005a;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for dark blue background */
  border: 2px solid #FFD700;
}

.page-faq__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

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

.page-faq__section-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #000080; /* Dark blue title */
}

.page-faq__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #333333;
}

.page-faq__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000080; /* Placeholder background */
  border-radius: 10px;
}

.page-faq__video,
.page-faq__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

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

.page-faq__main-heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000080; /* Dark blue heading */
}

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

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

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #FFD700; /* Gold background for question */
  color: #000080; /* Dark blue text for question */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #000080; /* Ensure heading color */
}

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

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

.page-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 0.95em;
}

.page-faq__faq-answer ul {
  margin-left: 20px;
  list-style-type: disc;
  font-size: 0.95em;
}

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

.page-faq__image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-faq__gallery-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-faq__additional-info {
  margin-top: 50px;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-faq__sub-heading {
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
  color: #000080; /* Dark blue heading */
}

.page-faq__bullet-list {
  list-style-type: decimal;
  margin-left: 25px;
  font-size: 1em;
  color: #333333;
}

.page-faq__bullet-list li {
  margin-bottom: 10px;
}

.page-faq__closing-text {
  margin-top: 30px;
  font-size: 1.1em;
  text-align: center;
  color: #555555;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #FFD700; /* Gold background for CTA */
  color: #000080; /* Dark blue text for CTA */
  border-radius: 8px;
}

.page-faq__cta-bottom .page-faq__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #000080; /* Dark blue title */
}

.page-faq__cta-bottom .page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #000080;
}

.page-faq__cta-bottom .page-faq__btn-primary {
  background-color: #000080; /* Dark blue button */
  color: #FFD700; /* Gold text for dark blue background */
  border: 2px solid #000080;
}

.page-faq__cta-bottom .page-faq__btn-primary:hover {
  background-color: #00005a;
  color: #FFD700;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__main-heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .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__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"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faq__video-section {
    padding: 40px 15px;
  }
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }
  .page-faq video, .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__content-area {
    padding: 40px 0;
  }
  .page-faq__main-heading {
    font-size: 1.8em;
  }
  .page-faq__intro-text {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px;
  }
  .page-faq__gallery-img {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-faq__additional-info {
    padding: 20px;
  }
  .page-faq__sub-heading {
    font-size: 1.5em;
  }
  .page-faq__cta-bottom {
    padding: 30px 15px;
  }
  .page-faq__cta-bottom .page-faq__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__main-heading {
    font-size: 1.5em;
  }
  .page-faq__faq-question {
    font-size: 0.9em;
  }
  .page-faq__faq-question h3 {
    font-size: 0.9em;
  }
  .page-faq__cta-bottom .page-faq__cta-title {
    font-size: 1.5em;
  }
}