/* Base styles for page-faq */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background from shared.css */
}

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

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body padding-top handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual effect, ensuring text is below image */
  background: rgba(16, 35, 63, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-faq__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  border: none;
  margin-right: 15px;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px #4FA8FF; /* Glow */
}

.page-faq__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #2B73F6;
}

.page-faq__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF;
  box-shadow: 0 0 15px #4FA8FF; /* Glow */
}

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

.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-faq__section-title {
  font-size: 36px;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-faq__faq-group {
  margin-bottom: 40px;
  padding: 20px;
  background: #10233F; /* Card BG */
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
}

.page-faq__group-title {
  font-size: 28px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 25px;
  text-align: left;
  padding-bottom: 15px;
  border-bottom: 1px solid #1B3357; /* Divider */
}

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

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #113B7A; /* Main Color */
  border-color: #4FA8FF; /* Glow */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 59, 122, 0.5); /* Main Color with transparency */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

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

.page-faq__faq-answer a:hover {
  color: #4FA8FF;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: #10233F; /* Card BG */
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
}

.page-faq__cta-text {
  font-size: 20px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 25px;
}

.page-faq__info-section {
  padding: 60px 0;
  background-color: #113B7A; /* Main Color */
  text-align: center;
}

.page-faq__info-section .page-faq__section-title {
  color: #F2C14E; /* Gold */
}

.page-faq__info-section .page-faq__section-description {
  color: #F3F8FF; /* Text Main */
  margin-bottom: 40px;
}

.page-faq__info-section a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-faq__info-section a:hover {
  color: #4FA8FF;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* No home page specific elements on FAQ page, so no home-hero CSS */
}

@media (min-width: 1024px) {
  /* No home page specific elements on FAQ page, so no home-hero CSS */
}

@media (max-width: 768px) {
  .page-faq__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-faq__main-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .page-faq__description {
    font-size: 16px;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    margin-right: 0;
  }

  .page-faq__section-title {
    font-size: 30px;
  }

  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

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

  .page-faq__group-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

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

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

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

  .page-faq__cta-bottom {
    padding: 20px;
    margin-top: 40px;
  }

  .page-faq__cta-text {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__hero-image-container,
  .page-faq__faq-group,
  .page-faq__cta-bottom,
  .page-faq__info-section .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-faq__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-faq__hero-content {
    margin-left: 15px;
    margin-right: 15px;
  }
}

/* Global image and button responsive styles (ensuring no overflow) */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-buttons,
.page-faq__button-group,
.page-faq__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* No home page specific CSS blocks as this is an inner page */