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

.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has padding-top */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -100px; /* Pull content up over the image for better visual flow */
  background: linear-gradient(180deg, #10233F 0%, rgba(16, 35, 63, 0.8) 100%); /* Card BG */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #244D84; /* Border */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.page-faq__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3F8FF; /* Text Main */
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5); /* Glow */
}

.page-faq__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.4);
  opacity: 0.9;
}

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

.page-faq__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.2);
  background: #244D84; /* Border */
  color: #F3F8FF;
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

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

.page-faq__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #F3F8FF; /* Text Main */
  text-shadow: 0 0 8px rgba(79, 168, 255, 0.3);
}

.page-faq__faq-category {
  margin-bottom: 40px;
  background: #10233F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #244D84; /* Border */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__category-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
  text-align: center;
  border-bottom: 2px solid #1B3357; /* Divider */
  padding-bottom: 15px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #08162B; /* Deep Navy */
  border: 1px solid #1B3357; /* Divider */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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, border-color 0.3s ease;
  position: relative;
  color: #F3F8FF; /* Text Main */
}

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; /* Primary color */
  border-color: #2B73F6;
}

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

.page-faq__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
}

.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: #4FA8FF; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
  color: #2B73F6; /* Button gradient start */
}

.page-faq__contact-cta-section {
  background: linear-gradient(135deg, #113B7A 0%, #1D5FD1 100%); /* Primary and Auxiliary colors */
  padding: 80px 20px;
  text-align: center;
  margin-top: 40px;
  border-top: 5px solid #F2C14E; /* Gold */
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-cta-content {
  max-width: 800px;
}

.page-faq__contact-cta-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-cta-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-faq__contact-button {
  min-width: 250px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    max-width: 700px;
  }
  .page-faq__main-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2.4em;
  }
  .page-faq__category-title {
    font-size: 1.8em;
  }
  .page-faq__faq-qtext {
    font-size: 1.1em;
  }
  .page-faq__contact-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-faq__hero-image-wrapper {
    max-height: 300px;
  }
  .page-faq__hero-image {
    object-fit: contain !important; /* Ensure image fits well on smaller screens */
  }
  .page-faq__hero-content {
    margin-top: -60px; /* Adjust overlap for mobile */
    padding: 20px 15px;
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-faq__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-faq__description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-faq__faq-section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-faq__faq-category {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-faq__category-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-qtext {
    font-size: 1em;
  }
  .page-faq__faq-toggle {
    font-size: 1.8em;
    width: 25px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95em;
  }
  .page-faq__contact-cta-section {
    padding: 50px 15px;
  }
  .page-faq__contact-cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-faq__contact-cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faq__contact-button {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}