.page-header {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.faq-nav {
  padding: 3rem 0;
  background: #f8f9fa;
}

.expert-qa-banner {
  background: #eef6ff;
  border-top: 1px solid #d7e7fb;
  border-bottom: 1px solid #d7e7fb;
  padding: 1rem 0;
  text-align: center;
}

.expert-qa-banner p {
  color: #2c3e50;
}

.expert-qa-banner a {
  color: #1d6fd6;
  font-weight: 600;
  text-decoration: none;
}

.expert-qa-banner a:hover {
  text-decoration: underline;
}

.faq-nav h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.nav-item {
  background: white;
  color: #2c3e50;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.nav-item:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
}

.faq-content {
  padding: 4rem 0;
}

.faq-category {
  margin-bottom: 4rem;
  scroll-margin-top: 2rem;
}

.faq-category h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #3498db;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #3498db;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
