.faq-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #2e4c94, #6b0715);
  color: #fdfcff;
  font-family: "Poppins", sans-serif;
}

.faq-heading {
  text-align: center;
  margin-bottom: 50px;
}

.faq-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fdfcff;
}

.faq-heading p {
  font-size: 1.2rem;
  color: #c0b2d8;
}

.faq-category {
  max-width: 900px;
  margin: 0 auto 60px;
}

.faq-subheading {
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: 3px solid #8e7bce;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 5px;
  color: #d3c0f9;
}

.faq-item {
  border: 1px solid rgba(185, 131, 255, 0.4);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  background: rgba(255 255 255 / 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(185, 131, 255, 0.15);
}

.faq-question {
  background: none;
  border: none;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fdfcff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .icon {
  transition: transform 0.3s ease;
  color: #b983ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 0.95rem;
  color: #ddd6ff;
  background: rgba(255 255 255 / 0.05);
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 15px 20px 20px;
  max-height: 300px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-heading h2 {
    font-size: 2rem;
  }
  .faq-subheading {
    font-size: 1.4rem;
  }
  .faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-heading p {
    font-size: 1rem;
  }
}
.link-text {
  color: #8e3e8e;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.link-text:hover {
  color: #4a004a; /* darker shade on hover */
}

/* Optional: Hide link on small screens */
@media (max-width: 768px) {
  .link-text {
    display: none;
  }
}
