/* ═══════════════════════════════════════════════════════
   FOOTER — BFA Ground Class
   Matches header: Outfit font · purple #7c3aed · sky-blue #0284c7
   Frosted glass panel · ambient blobs
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Wrapper ── */
.site-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #0f0a1e 0%, #0a1628 50%, #0d1f38 100%);
  padding: 48px 40px 0;
  font-family: 'Outfit', sans-serif;
  z-index: 1;
}

/* ── Ambient blobs (mirror header glow energy) ── */
.footer-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.footer-blob-1 {
  width: 320px;
  height: 320px;
  background: #7c3aed;
  top: -80px;
  left: -60px;
}
.footer-blob-2 {
  width: 260px;
  height: 260px;
  background: #0284c7;
  bottom: 20px;
  right: -40px;
}
.footer-blob-3 {
  width: 180px;
  height: 180px;
  background: #0ea5e9;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.12;
}

/* ── Inner glass panel ── */
.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Brand (left) ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
  transition: opacity 0.2s;
}
.footer-logo:hover img { opacity: 0.82; }

.footer-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer-logo span em {
  font-style: normal;
  color: #a78bfa; /* lighter purple — pops on dark bg */
}

.footer-tagline {
  font-size: 12px;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.75);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Nav (center) ── */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.footer-nav ul li a {
  display: block;
  padding: 6px 13px;
  color: #94a3b8;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}

.footer-nav ul li a:hover {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.1);
}

/* ── Right: copyright ── */
.footer-right {
  text-align: right;
}

.footer-copy {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  margin: 0 0 2px;
}

.footer-rights {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.55);
  margin: 0;
}

/* ── Bottom rule ── */
.footer-rule {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124,58,237,0.4) 30%,
    rgba(14,165,233,0.4) 70%,
    transparent 100%
  );
  margin-bottom: 18px;
}

/* ════════════════════════════════════
   TABLET  640px – 1023px
════════════════════════════════════ */
@media (max-width: 1023px) {
  .site-footer { padding: 36px 24px 0; }
  .footer-inner { padding: 24px 24px; gap: 20px; }
}

/* ════════════════════════════════════
   MOBILE  < 768px
════════════════════════════════════ */
@media (max-width: 767px) {
  .site-footer { padding: 28px 16px 0; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .footer-brand { align-items: center; }

  .footer-nav ul { justify-content: center; }

  .footer-right { text-align: center; }
}