.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-faq__hero {
  background: linear-gradient(135deg, #003366, #FFCC00);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-faq__title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-faq__section {
  padding: 60px 0;
}

.page-faq__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-faq__accordion-group {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__accordion-item {
  background-color: #fff;
  border: 1px solid #eee;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  width: 100%;
  background-color: #003366;
  color: #fff;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__accordion-header:hover {
  background-color: #002244;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 25px;
  background-color: #fcfcfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #555;
}

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust based on content */
  padding-bottom: 20px;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin: 10px 10px 10px 0;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-faq__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.page-faq__btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
}

.page-faq__btn--secondary {
  background-color: #003366;
  color: #FFCC00;
  border: 1px solid #FFCC00;
}

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

.page-faq__btn--tertiary {
  background-color: #f0f0f0;
  color: #003366;
  border: 1px solid #ddd;
}

.page-faq__btn--tertiary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-faq__inline-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-faq__inline-link:hover {
  color: #FFCC00;
}

.page-faq__related-faqs {
  background-color: #fff;
  padding-top: 40px;
}

.page-faq__faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-faq__faq-card {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-faq__faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-faq__faq-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-faq__faq-card-title {
  font-size: 1.5em;
  color: #003366;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-faq__faq-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-faq__faq-card-title a:hover {
  color: #FFCC00;
}

.page-faq__faq-card-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-faq__faq-card .page-faq__btn--tertiary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-faq__cta-section {
  background-color: #003366;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00;
}

.page-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero {
    padding: 60px 0;
  }
  .page-faq__title {
    font-size: 2.2em;
  }
  .page-faq__subtitle {
    font-size: 1em;
  }
  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content p {
    padding: 15px 0;
  }
  .page-faq__btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-faq__faq-list {
    grid-template-columns: 1fr;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq__hero {
    padding: 40px 0;
  }
  .page-faq__title {
    font-size: 1.8em;
  }
  .page-faq__subtitle {
    font-size: 0.9em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 0.9em;
  }
  .page-faq__btn {
    padding: 10px 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.9em;
  }
}