/* faq.css - FAQ accordion section */

.faqSection {
  padding: 100px 0;
  background: #0b0b0b;
}

.faqSection h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.faqSubtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 60px;
}

/* Scroll reveal animations */
.faqSection .scrollReveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.faqSection .scrollReveal.reveal {
  opacity: 1;
  transform: translateY(0);
}

.faqSection h2.scrollReveal {
  transition-delay: 0.05s;
}

.faqSection .faqSubtitle.scrollReveal {
  transition-delay: 0.1s;
}

.faqList {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FAQ Item */
.faqItem {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.faqItem:hover {
  border-color: rgba(1, 214, 245, 0.4);
  box-shadow: 0 4px 20px rgba(1, 214, 245, 0.1);
}

.faqItem.active {
  border-color: rgba(1, 214, 245, 0.6);
}

/* FAQ Question Button */
.faqQuestion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b0b0b;
}

/* FAQ Icon (+ / -) */
.faqIcon {
  font-size: 1.8rem;
  font-weight: 300;
  color: #0b0b0b;
  transition: transform 300ms ease, color 300ms ease, background 300ms ease;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
}

.faqItem.active .faqIcon {
  transform: rotate(45deg);
  color: #01D6F5;
  background: rgba(1, 214, 245, 0.1);
}

/* FAQ Answer */
.faqAnswer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), padding 400ms ease;
  padding: 0 28px;
}

.faqItem.active .faqAnswer {
  max-height: 500px;
  padding: 0 28px 24px;
}

.faqAnswer p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(11, 11, 11, 0.8);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .faqSection {
    padding: 60px 0;
  }

  .faqSection h2 {
    font-size: 2rem;
  }

  .faqSubtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .faqQuestion {
    padding: 20px;
    font-size: 1rem;
  }

  .faqAnswer {
    padding: 0 20px;
  }

  .faqItem.active .faqAnswer {
    padding: 0 20px 20px;
  }

  .faqIcon {
    font-size: 1.5rem;
    width: 26px;
    height: 26px;
  }
}

/* ==================== EXTRA SMALL DEVICES (320px) ==================== */
@media (max-width: 320px) {
  .faqSection {
    padding: 40px 12px;
  }

  .faqSection h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .faqSubtitle {
    font-size: 0.9rem;
    margin-bottom: 32px;
  }

  .faqList {
    gap: 12px;
  }

  .faqItem {
    border-radius: 12px;
  }

  .faqQuestion {
    padding: 16px;
    font-size: 0.9rem;
    gap: 12px;
  }

  .faqIcon {
    font-size: 1.3rem;
    width: 24px;
    height: 24px;
  }

  .faqAnswer {
    padding: 0 16px;
  }

  .faqItem.active .faqAnswer {
    padding: 0 16px 16px;
  }

  .faqAnswer p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}
