/* FAQ Styles */
.faq-page {
  padding: 40px 0 80px;
  background-color: var(--md-sys-color-background);
  min-height: calc(100vh - 200px);
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
  padding: 40px 0;
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-sys-shape-corner-large);
  margin-bottom: 40px;
}

.faq-header h1 {
  font-size: var(--md-sys-typescale-display-large-size);
  line-height: var(--md-sys-typescale-display-large-line-height);
  color: var(--md-sys-color-on-surface);
  margin-bottom: 16px;
  font-weight: 400;
}

.faq-header p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 18px;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--md-sys-color-primary);
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 2px solid var(--md-sys-color-primary-container);
}

.faq-item {
  margin-bottom: 16px;
  background-color: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--md-sys-elevation-level1);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background-color: var(--md-sys-color-surface-variant);
}

.faq-question .material-icons {
  transition: transform 0.3s ease;
  color: var(--md-sys-color-primary);
}

.faq-item.active .faq-question .material-icons {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--md-sys-color-primary-container);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer > div {
  padding: 24px;
}

.faq-answer p {
  margin-bottom: 16px;
  line-height: 28px;
  color: var(--md-sys-color-on-primary-container);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.faq-answer li {
  margin-bottom: 8px;
  line-height: 24px;
  color: var(--md-sys-color-on-primary-container);
}

.faq-answer strong {
  font-weight: 500;
  color: var(--md-sys-color-on-primary-container);
}

.faq-contact {
  text-align: center;
  margin-top: 64px;
  padding: 48px;
  background-color: var(--md-sys-color-surface);
  border-radius: var(--md-sys-shape-corner-large);
  border: 1px solid var(--md-sys-color-outline-variant);
}

.faq-contact h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 16px;
}

.faq-contact p {
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 32px;
  font-size: 16px;
}

/* Responsive design for FAQ */
@media (max-width: 768px) {
  .faq-page {
    padding: 20px 0 60px;
  }
  
  .faq-header {
    margin-bottom: 32px;
    padding: 24px 16px;
  }
  
  .faq-header h1 {
    font-size: 36px;
    line-height: 44px;
  }
  
  .faq-content {
    padding: 0 16px;
  }
  
  .faq-category {
    margin-bottom: 32px;
  }
  
  .faq-category h2 {
    font-size: 24px;
  }
  
  .faq-question {
    padding: 20px 16px;
    font-size: 16px;
  }
  
  .faq-answer > div {
    padding: 20px 16px;
  }
  
  .faq-contact {
    margin-top: 48px;
    padding: 32px 16px;
  }
  
  .faq-contact h2 {
    font-size: 24px;
  }
}
