/* style/faq.css */
.page-faq {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

.page-faq a {
  color: #003366;
  text-decoration: none;
}

.page-faq a:hover {
  text-decoration: underline;
  color: #FFCC00;
}

.page-faq .inline-link {
  font-weight: bold;
  color: #003366;
}

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

.page-faq .hero-faq-banner {
  background: linear-gradient(135deg, #003366, #1a4d7d);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-banner-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-faq .hero-faq-banner h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq .hero-faq-banner p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFCC00;
  color: #003366;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq .section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 50px;
  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 .faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq .faq-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-faq .faq-category {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-faq .faq-category h3 {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.page-faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq .faq-item:last-child {
  margin-bottom: 0;
}

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq .faq-question:hover {
  background: #ececec;
}

.page-faq .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333333;
  flex-grow: 1;
  padding-bottom: 0;
  border-bottom: none;
}

.page-faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFCC00;
}

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  color: #555555;
}

.page-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 25px;
  border-top: 1px solid #e0e0e0;
}

.page-faq .faq-answer p {
  margin: 0;
}

.page-faq .cta-bottom-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #e6f0f8;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq .cta-bottom-section p {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-faq .secondary-button {
  background: #003366;
  color: #FFCC00;
}

.page-faq .secondary-button:hover {
  background: #002244;
  color: #FFDD44;
}

.page-faq .quick-links-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.page-faq .quick-links-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq .quick-link-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq .quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-faq .link-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-faq .quick-link-card span {
  font-size: 1.2em;
  font-weight: 600;
  color: #003366;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-faq-banner h1 {
    font-size: 2.5em;
  }
  .page-faq .hero-faq-banner p {
    font-size: 1em;
  }
  .page-faq .section-title {
    font-size: 2em;
  }
  .page-faq .faq-category h3 {
    font-size: 1.5em;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-question,
  .page-faq .faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-faq .cta-bottom-section p {
    font-size: 1.1em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-faq .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-faq .link-icon {
    width: 80px;
    height: 80px;
  }
  .page-faq .quick-link-card span {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-faq-banner {
    padding: 60px 15px;
  }
  .page-faq .hero-faq-banner h1 {
    font-size: 2em;
  }
  .page-faq .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq .faq-section {
    padding: 40px 15px;
  }
  .page-faq .faq-category {
    padding: 20px;
  }
  .page-faq .faq-category h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 0.95em;
  }
  .page-faq .faq-toggle {
    font-size: 20px;
  }
  .page-faq .cta-bottom-section {
    padding: 30px 15px;
    margin-top: 30px;
  }
  .page-faq .cta-bottom-section p {
    font-size: 1em;
  }
  .page-faq .quick-links-section {
    padding: 40px 15px;
  }
  .page-faq .links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-faq .link-icon {
    width: 60px;
    height: 60px;
  }
  .page-faq .quick-link-card span {
    font-size: 1em;
  }
}