/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* From shared.css */
}

.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  color: #F3F8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3F8FF;
}

.page-faq__description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

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

.page-faq__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3F8FF;
}

.page-faq__faq-grid {
  display: grid;
  gap: 20px;
}

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

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

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: #1B3357; /* Divider */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

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

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8;
  line-height: 1.6;
}

.page-faq__faq-answer p {
  margin: 0;
  padding: 0;
}

.page-faq__faq-answer a {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
}

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

.page-faq__cta-section {
  padding: 80px 0;
  background: #113B7A; /* Main color */
  color: #F3F8FF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-faq__cta-description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #113B7A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #113B7A;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-secondary:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

.page-faq__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin-top: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* All images base responsive styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-faq__hero-content {
    padding: 30px 15px;
  }

  .page-faq__main-title {
    font-size: 28px;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-faq__faq-list-section {
    padding: 40px 0;
  }

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

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

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

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

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

  .page-faq__cta-section {
    padding: 50px 0;
    gap: 30px;
  }

  .page-faq__cta-title {
    font-size: 24px;
  }

  .page-faq__cta-description {
    font-size: 16px;
  }

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

  .page-faq__cta-image {
    padding: 0 15px;
    margin-top: 30px;
  }

  /* General image and container responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-section, .page-faq__faq-list-section, .page-faq__cta-section { padding-left: 0; padding-right: 0; } /* Sections should span full width */
}