.faq {
  padding: 4rem 2rem;
  background: linear-gradient(145deg, #1e1e2f, #232334);
  color: #fff;
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  font-family: 'Poppins', sans-serif;
}

.faq h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(to right, #8E2DE2, #4A00E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.faq details {
  margin: 1.2rem auto;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.faq details:hover {
  box-shadow: 0 12px 36px rgba(138, 43, 226, 0.25);
  transform: translateY(-2px);
}

.faq summary {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  list-style: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "➕";
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #ccc;
}

.faq details[open] summary::after {
  content: "➖";
  color: #4A00E0;
  transform: rotate(180deg);
}

.faq p {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: #ddd;
  line-height: 1.75;
  animation: fadeIn 0.4s ease-in-out;
}

/* Fade effect for content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .faq h2 {
    font-size: 2rem;
  }

  .faq summary {
    font-size: 1.05rem;
  }

  .faq details {
    padding: 1rem;
  }

  .faq p {
    font-size: 0.95rem;
  }
}
