/* FAQ Hero */
.faq-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px 30px 20px;
}
.faq-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.faq-hero p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Category Tabs */
.faq-categories {
  background: #f8f8f8;
  padding: 20px 0;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.category-tab {
  border: none;
  background: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.336);
}
.category-tab.active {
  background: #8c00ffcb;
  color: #fff;
  box-shadow: 0 3px 10px rgba(140, 0, 255, 0.623);
}
.category-tab:hover:not(.active) {
  background: #eee;
}

/* FAQ Content */
.faq-content {
  padding: 50px 20px;
}
.category-content {
  display: none;
}
.category-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* FAQ Item */
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: #fff;
}
.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.faq-question i {
  transition: transform 0.3s ease;
  color: #8c00ffcb;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: all 0.4s ease;
  background: #fcfcfc;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 22px 22px;
}
.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}
@keyframes fadeIn {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}
@media(max-width:600px){
  .faq-hero h1{font-size:1.8rem;}
  .faq-question h4{font-size:0.95rem;}
}
