/* ===========================
   FAQ PAGE STYLE - ORTU DIGITAL
   =========================== */

.faq-page {
  font-family: "Inter", Arial, sans-serif;
  color: #333;
  background-color: #f9fafb;
  padding-bottom: 60px;
}

.page-header {
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-header h1 {
  color: #1b365d;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

/* FAQ item container */
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 20px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.faq-item:not(:last-child) {
  margin-bottom: 14px;
}

.faq-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Question styling */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e3a8a;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #2563eb;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

/* Answer styling */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-top: 0;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
  max-height: 500px;
  margin-top: 12px;
}

/* Link styling */
.faq-answer a {
  color: #2563eb;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: fadeUp 0.4s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
  }
}
