/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-faq__hero-section {
  background: linear-gradient(135deg, #003366, #1a4a7e);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
}

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

.page-faq__hero-btn {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-btn:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-faq__main-content,
.page-faq__detail-sections,
.page-faq__cta-section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.page-faq__main-content {
  margin-top: -40px; /* Overlap with hero section */
  position: relative;
  z-index: 1;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #f0f5fa; /* Lighter blue variant for item background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-question {
  font-size: 1.3em;
  color: #003366;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  background-color: #e0eaf4; /* Slightly lighter than item background */
  border-bottom: 1px solid #cce0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-question::after {
  transform: rotate(45deg);
}

.page-faq__faq-item.active .page-faq__faq-question {
  background-color: #d0e0f0;
}

.page-faq__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #555;
}

.page-faq__answer-btn {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.page-faq__answer-btn:hover {
  background-color: #002244;
}

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

.page-faq__detail-card {
  background-color: #f0f5fa;
  border: 1px solid #e0eaf4;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-faq__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-faq__detail-title a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-faq__detail-description {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-faq__detail-btn {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__detail-btn:hover {
  background-color: #e6b800;
}

.page-faq__cta-section {
  background: linear-gradient(90deg, #003366, #1a4a7e);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__cta-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-btn--primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-faq__cta-btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-faq__cta-btn--secondary {
  background-color: transparent;
  border: 2px solid #FFCC00;
  color: #FFCC00;
}

.page-faq__cta-btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-faq__copyright {
  text-align: center;
  padding: 30px 20px;
  color: #666;
  font-size: 0.9em;
  background-color: #f0f0f0;
  margin-top: 20px;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    padding: 15px 20px;
  }
  .page-faq__detail-list {
    grid-template-columns: 1fr;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description,
  .page-faq__section-description,
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__hero-btn,
  .page-faq__cta-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__faq-question {
    font-size: 1em;
  }
  .page-faq__detail-title {
    font-size: 1.3em;
  }
  .page-faq__detail-card {
    padding: 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
}