/* FAQ Page Styles */

.faq-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category h3 {
  color: #1e3c72;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2a5298;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3c72;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(135deg, #e8eef5 0%, #f8f9fa 100%);
}

.faq-question:focus {
  outline: 2px solid #2a5298;
  outline-offset: -2px;
}

.faq-question[aria-expanded="true"] {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
}

.faq-question-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #fff;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0 0 1rem 0;
  color: #555;
  line-height: 1.7;
}

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

.faq-answer ul,
.faq-answer ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: #555;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-answer a {
  color: #2a5298;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.faq-answer a:hover {
  color: #1e3c72;
}

.faq-still-questions {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eef5 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-still-questions h3 {
  color: #1e3c72;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.faq-still-questions p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.contact-button {
  display: inline-block;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(30, 60, 114, 0.3);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 60, 114, 0.4);
}

.contact-button:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-icon {
    font-size: 1.25rem;
    min-width: 25px;
  }

  .faq-answer.active {
    padding: 1rem;
  }

  .faq-category h3 {
    font-size: 1.3rem;
  }

  .faq-still-questions {
    padding: 1.5rem 1rem;
  }

  .faq-still-questions h3 {
    font-size: 1.3rem;
  }

  .contact-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 0.875rem;
    font-size: 0.95rem;
  }

  .faq-question-text {
    padding-right: 0.5rem;
  }

  .faq-answer ul,
  .faq-answer ol {
    margin-left: 1rem;
  }

  .faq-category h3 {
    font-size: 1.2rem;
  }
}

/* Print Styles */
@media print {
  .faq-question {
    background: none !important;
    color: #000 !important;
  }

  .faq-icon {
    display: none;
  }

  .faq-answer {
    max-height: none !important;
    padding: 1rem !important;
    border-top: 1px solid #ccc !important;
  }

  .faq-still-questions {
    display: none;
  }
}
