
.faq-search {
  text-align: center;
  margin-bottom: 40px;
}

.faq-search input {
  min-width: 80%;
  max-width: 500px;
  padding: 12px 16px;
  margin-top:40px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s;
  display: inline-block;
}

.faq-search input:focus {
  border-color: #09f;
  outline: none;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Category titles */
.category-title {
  width: 100%;
  background: #15666a;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  border: 1px solid #222;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.category-title::after {
  content: "▾";
  position: absolute;
  right: 20px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.faq-category.open .category-title::after {
  transform: rotate(-180deg);
}

.category-title:hover {
  background: #2d9ea4;
  border-color: #09f;
}

/* FAQ items */
.faq-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.faq-category.open .faq-list {
  display: flex;
}

.faq-item {
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item.active {
  border-color: #09f;
  background: #181818;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: #888;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: #09f;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 10px 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: #ccc;
  line-height: 1.6;
}
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  color: var(--text);
  padding: 6rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

/* Decorative overlay shapes */
.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, -15px) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.hero-overlay::before {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-overlay::after {
  width: 500px;
  height: 500px;
  background: var(--highlight);
  bottom: -150px;
  right: -150px;
  animation: drift 12s ease-in-out infinite;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;                  /* start hidden */
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.3s;       /* slight delay for smoother load */
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

