/* ================== FAQS PAGE ================== */

/* PAGE HERO — background */
.page-hero {
  background:
    linear-gradient(120deg, rgba(3,30,48,0.85) 0%, rgba(7,54,81,0.72) 55%, rgba(10,77,112,0.55) 100%),
    url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

/* LAYOUT */
.faq-page { padding: 90px 0; background: #fff; }
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

/* SIDEBAR NAV */
.faq-nav {
  position: sticky;
  top: 100px;
}
.faq-nav h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 16px;
}
.faq-nav ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.faq-nav li { margin-bottom: 4px; }
.faq-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
}
.faq-nav a:hover {
  background: #f0f7fb;
  color: var(--brand-bright);
}
.faq-nav a.active {
  background: rgba(22,184,224,0.1);
  color: var(--brand-bright);
  border-left-color: var(--brand-bright);
}

.faq-help-card {
  background: linear-gradient(160deg, #062f47, #031e30);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(0,224,255,0.2);
}
.faq-help-card i {
  font-size: 26px;
  color: var(--brand-glow);
  margin-bottom: 12px;
}
.faq-help-card h5 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.faq-help-card p {
  font-size: 12.5px;
  color: #a5d4e8;
  line-height: 1.6;
  margin-bottom: 16px;
}
.faq-help-card .btn { width: 100%; padding: 11px; font-size: 13px; }

/* FAQ GROUPS */
.faq-content { min-width: 0; }
.faq-group { margin-bottom: 50px; scroll-margin-top: 100px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.faq-group-title i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-bright));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid #eef1f4;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(22,184,224,0.3); }
.faq-item[open] {
  border-color: var(--brand-bright);
  box-shadow: 0 14px 30px rgba(22,184,224,0.12);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  user-select: none;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(22,184,224,0.15);
  color: var(--brand-bright);
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary { color: var(--brand-bright); }
.faq-item[open] summary i {
  transform: rotate(45deg);
  background: var(--brand-bright);
  color: #fff;
}
.faq-body {
  padding: 0 24px 20px;
  animation: faqIn 0.35s ease;
}
.faq-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA */
.faq-cta { padding: 0 0 90px; background: #fff; }
.cta-card {
  background:
    linear-gradient(135deg, rgba(3,30,48,0.88), rgba(10,77,112,0.85)),
    url('https://images.unsplash.com/photo-1573497019418-b400bb3ab074?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  padding: 56px 30px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(0,224,255,0.2);
  box-shadow: 0 30px 60px rgba(3,30,48,0.35), inset 0 0 80px rgba(0,224,255,0.06);
}
.cta-card h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-card p {
  font-size: 15px;
  color: #bce0ee;
  max-width: 540px;
  margin: 0 auto 26px;
  line-height: 1.7;
}
.cta-card .btn-light { color: var(--brand-mid); font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-nav { position: static; }
  .faq-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .faq-nav li { margin: 0; }
  .faq-nav a { border-left: none; border: 1.5px solid #e0e7ed; }
  .faq-nav a.active { border-color: var(--brand-bright); }
}
@media (max-width: 600px) {
  .faq-page { padding: 60px 0; }
  .faq-group-title { font-size: 20px; }
  .faq-item summary { padding: 16px 18px; font-size: 14px; }
  .faq-body { padding: 0 18px 18px; }
  .cta-card { padding: 40px 22px; }
  .cta-card h2 { font-size: 24px; }
}
