@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,300&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg-primary:     #dcfafcf5;
  --bg-secondary:   #c3dfe2;
  --bg-card:        #f8fdff;
  --bg-crd:        rgba(2, 184, 240, 0.164);
  --bg-card-hover:  #152a4e;
  --bg-navbar:      #080625;
  --footer-bg:      #02021a;
  --slate-light:    #051524;
  --btn-bg:         #0596cf;

  /* Accent / Brand */
  --cyber-cyan:     #02b8f0;
  --craft-amber:    #02b8f0;
  --accent:         #02b8f0;
  --cyan:           #13b9be;
  --accent-dim:     rgba(2,  184, 240, 0.08);
  --accent-mid:     rgba(2,  184, 240, 0.18);
  --accent-glow:    rgba(2,  184, 240, 0.38);
  --accent-glow-lg: rgba(2,  184, 240, 0.15);
  --cyan-dim:       rgba(0,  247, 255, 0.08);

  /* Text */
  --text-primary:   #0f172a;
  --text-secondary: #64748b;
  --text-muted:     #546480;
  --text-dark:      #1e293b;
  --midnight:       #030303;
  --white:          #ffffff;
  --dark:           #010002;
  --gray:           #25282b;
  --gray-dim:       #4a5568;
  --nav-text:       #fdfdfd;

  /* Borders & Glass */
  --border:         #c7eef1;
  --border-hover:   rgba(2, 184, 240, 0.35);
  --border-subtle:  rgba(255, 255, 255, 0.05);
  --glass:          rgba(255, 255, 255, 0.04);
  --glass-hover:    rgba(255, 255, 255, 0.07);

  /* Status */
  --success:        #4ade80;
  --warning:        #f59e0b;
  --danger:         #f87171;
  --info:           #60a5fa;

  /* Layout */
  --nav-h:          68px;
  --sidebar-w:      260px;
  --topbar-h:       68px;

  /* Radii */
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Dashboard */
  --dash-topbar-bg: rgba(255, 255, 255, 0.911);
  --bg-sidebar:      #02021d;

  /* Motion */
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow:         0 8px 32px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-body:      'Sora', 'Inter', system-ui, sans-serif;
  --font-display:   'Outfit', sans-serif;
}

 /*  WEBKIT SCROLLBAR*/
    ::-webkit-scrollbar              { width:6px; height:6px; }
    ::-webkit-scrollbar-track        { background:rgba(255,255,255,0.03); border-radius:999px; }
    ::-webkit-scrollbar-thumb        { background:rgba(2,184,240,0.25); border-radius:999px; }
    ::-webkit-scrollbar-thumb:hover  { background:rgba(2,184,240,0.5); }
    ::-webkit-scrollbar-corner       { background:transparent; }

    /* Firefox */
    * { scrollbar-width:thin; scrollbar-color:rgba(2,184,240,0.25) rgba(255,255,255,0.03); }


/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-primary);
  overflow-x: hidden;
  color: rgb(3, 5, 5);
  line-height: 1.5;
  max-width: 100vw;
  width: 100vw;
  font-family: var(--font-body);
  min-height: 100vh;
}





/* ── Base shell ──────────────────────────────────────────── */
.bch-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  height: var(--nav-h, 68px);
  width: 100vw;
  background: transparent;   /* ← sits over hero */
  border-bottom: 1px solid transparent;
  transition:
    background   0.4s ease,
    border-color 0.4s ease,
    box-shadow   0.4s ease,
    transform    0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled: frosted glass */
.bch-nav.is-scrolled {
  background: rgba(253, 253, 253, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 195, 255, 0.11);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(2, 184, 240, 0.08);
}


/* Hide on scroll-down, reveal on scroll-up */
.bch-nav.is-hidden { transform: translateY(-100%); }


/* ── Inner container ─────────────────────────────────────── */
.bch-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h, 68px);
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
  background: var(--bg-primary);
  
}


/* ── Logo ────────────────────────────────────────────────── */
.bch-nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bch-nav__logo:hover { opacity: 0.82; }

.bch-nav__logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bch-nav__logo-text {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.bch-nav__logo-text em {
  font-style: normal;
  color: var(--accent, #02b8f0);
}


/* ── Desktop links ───────────────────────────────────────── */
.bch-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;   /* push auth to the right */
}

.bch-nav__link {
  position: relative;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.22s, background 0.22s;
  white-space: nowrap;
}

.bch-nav__link span {
  position: relative;
  display: inline-block;
}
.bch-nav__link span::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--cyan, #13b9be), var(--accent, #02b8f0));
  border-radius: 1px;
  transition: width 0.28s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
  box-shadow: 0 0 6px rgba(2, 184, 240, 0.4);
}

.bch-nav__link:hover {
  color: #00e8f8;
  background: rgba(255, 255, 255, 0.04);
}
.bch-nav__link:hover span::after  { width: 100%; }
.bch-nav__link.is-active          { color: var(--accent, #02b8f0); }
.bch-nav__link.is-active span::after { width: 100%; }


/* ── Desktop auth buttons ────────────────────────────────── */
.bch-nav__auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bch-nav__btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #a7b3c4);
  border: 1px solid var(--border, rgba(0, 195, 255, 0.11));
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
  cursor: pointer;
}
.bch-nav__btn-ghost:hover {
  border-color: var(--border-hover, rgba(2, 184, 240, 0.35));
  color: var(--cyan, #13b9be);
  background: var(--accent-dim, rgba(2, 184, 240, 0.08));
}

.bch-nav__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: #05040e;
  background: var(--accent, #02b8f0);
  border: 1px solid var(--accent, #02b8f0);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s;
  cursor: pointer;
}
.bch-nav__btn-primary:hover {
  background: var(--cyan, #13b9be);
  border-color: var(--cyan, #13b9be);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(2, 184, 240, 0.38);
}

.bch-w-full {
  width: 100%;
  text-align: center;
}


/* ── Hamburger toggle ────────────────────────────────────── */
.bch-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border, rgba(0, 195, 255, 0.11));
  cursor: pointer;
  transition: all 0.25s;

}
.bch-nav__toggle:hover {
  border-color: var(--border-hover, rgba(2, 184, 240, 0.35));
  background: var(--accent-dim, rgba(2, 184, 240, 0.08));
}

/* The three bars */
.bch-nav__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-secondary, #a7b3c4);
  transform-origin: center;
  transition:
    transform  0.32s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity    0.22s ease,
    background 0.22s ease;
}

/* is-open → animates to X */
.bch-nav__toggle.is-open .bch-nav__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent, #02b8f0);
}
.bch-nav__toggle.is-open .bch-nav__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.bch-nav__toggle.is-open .bch-nav__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent, #02b8f0);
}


/* ── Mobile drawer (full-screen overlay) ─────────────────── */
.bch-nav__drawer {
  
  position: fixed;
    inset: 0;
  top: var(--nav-h, 68px);
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  height: calc(100vh - 68px);
  background: var(--bg-primary);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  /* hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity   0.3s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    transform 0.3s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));

  display: none;
}

.bch-nav__drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Centred column layout inside drawer */
.bch-nav__drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 10px 24px 40px;
  overflow-y: auto;
  background: var(--bg-primary);

}

/* Drawer nav links */
.bch-nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bch-nav__drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(47, 54, 63, 0.616);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  /* entrance animation — starts offscreen-left */
  transform: translateX(-24px);
  opacity: 0;
  transition:
    color      0.25s,
    background 0.25s,
    border-color 0.25s,
    transform  0.38s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    opacity    0.38s ease;
}
.bch-nav__drawer-link.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.bch-nav__drawer-link:hover {
  color: #f0f6ff;
  background: var(--accent-dim, rgba(2, 184, 240, 0.08));
  border-color: var(--border, rgba(0, 195, 255, 0.11));
}

.bch-nav__drawer-num {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--accent, #01bef8);
  letter-spacing: 0.1em;
  min-width: 22px;
  opacity: 0.8;
}

/* Drawer auth */
.bch-nav__drawer-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border, rgba(0, 195, 255, 0.11));
  margin-top: 0px;
}

/* Drawer footer note */
.bch-nav__drawer-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted, #546480);
  padding-top: 4px;
}

.bch-nav__pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success, #4ade80);
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.65);
  flex-shrink: 0;
  animation: bchPulse 2.2s ease-in-out infinite;
}
@keyframes bchPulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.8); }
}


/* RESPONSIVE BREAKPOINTS*/

/* Tablet*/
@media (max-width: 1024px) {
  .bch-nav__links  { display: none; }
  .bch-nav__auth   { display: none; }
  .bch-nav__toggle { display: flex; }
  .bch-nav__drawer { display: block; } 
}


@media (max-width: 480px) {
  .bch-nav__inner { padding: 0 1rem; }
  .bch-nav__logo-text { font-size: 15px; }
}



/* LOGO GROUP  (dashboard pages) */
.logo-group {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  justify-content: center;
}
.logo-group a { text-decoration: none; }

.logo-text {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--craft-amber); }

/* LOGO.js used inside pages */
.biomed-brand-logo span { font-size: inherit; line-height: 1.2; }
[data-biomed-logo]:hover .biomed-brand-logo { opacity: 0.8; transition: opacity 0.2s ease; }


/* DASHBOARD SHELL  (topbar + sidebar) */
.dash-topbar,
.admin-topbar,
.lec-topbar {
  grid-column: 1 / -1;
  background: var(--dash-topbar-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--topbar-h);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.topbar-left  { display: flex; align-items: center; gap: 10px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }

/* Hamburger — dashboard mobile only */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.sidebar-toggle:hover { color: var(--accent); background: var(--accent-dim); }

.dash-sidebar,
.admin-sidebar,
.lec-sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  color: var(--white);
  flex-direction: column;
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  overflow-y: auto;
  transition: transform 0.3s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dash-sidebar::-webkit-scrollbar,
.admin-sidebar::-webkit-scrollbar,
.lec-sidebar::-webkit-scrollbar { display: none; }

/* Subtle sidebar right-edge glow */
.dash-sidebar::after,
.admin-sidebar::after,
.lec-sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  top: var(--topbar-h);
  backdrop-filter: blur(2px);
}

.sidebar-logout {
  margin-top: auto;
  padding: 16px 18px 0;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 100px;
}
.sidebar-logout a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f0f6ff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 10px 0;
  transition: var(--transition);
}
.sidebar-logout a:hover { color: var(--danger); }

@media (max-width: 900px) {
  .dash-sidebar,
  .admin-sidebar,
  .lec-sidebar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    height: calc(100vh - var(--topbar-h));
    z-index: 200;
    transform: translateX(-100%);
    width: var(--sidebar-w);
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dash-sidebar.open,
  .admin-sidebar.open,
  .lec-sidebar.open { transform: translateX(0); }

  .sidebar-toggle { display: flex; }
  .topbar-title   { display: block; }
}


/*SHARED BUTTONS*/
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #05040e;
  border-color: var(--accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  background: var(--cyan);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);             /* ← force white text */
  background: rgba(255, 255, 255, 0.774);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(2, 184, 240, 0.4);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* Size modifier */
.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}
.w-full   { width: 100%; text-align: center; }

.btn-login {
  background: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--nav-text);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border-color);
  outline: none;
}
.btn-login:hover {
  transform: translateY(-2px);
  background: #1a2a4a;
  color: white;
}


/*TYPOGRAPHY HELPERS*/
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(2,184,240,0.2));
  border-radius: 1px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--midnight);
}
.section-heading em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/*PAGE WRAPPER*/
.page-wrap { min-height: 100vh; padding-top: var(--nav-h); }

/*course thumb used accross pages*/
.course-thumb {
  width: 100%;
  height: 200px;          
  border-radius: 10px 10px 0 0;
  overflow: hidden;       
  position: relative;
  flex-shrink: 0;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;       
  object-position: center;
  display: block;
}

.course-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;        
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(2, 184, 240, 0.15);
}

.course-body {
  padding: 16px;
  flex: 1;                 
}

.course-thumb {
  height: 180px;
}

@media (min-width: 768px) {
  .course-thumb {
    height: 220px;
  }
}

/*FOOTER*/
.site-footer {
  background: var(--footer-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 2rem 40px;
}

.footer-glow-rule {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-glow) 25%,
    rgba(0,247,255,0.5) 50%,
    var(--accent-glow) 75%,
    transparent 100%);
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 52px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-logo-text span { color: var(--accent); }

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 290px;
  margin-bottom: 22px;
}

.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--accent-dim);
  border-color: var(--border-hover);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2,184,240,0.15);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.25s;
  display: block;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-newsletter { margin-top: 24px; }
.footer-nl-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-nl-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s;
}
.footer-nl-form:focus-within { border-color: var(--border-hover); }
.footer-nl-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
}
.footer-nl-input::placeholder { color: var(--text-muted); }
.footer-nl-btn {
  width: 34px; height: 34px;
  flex-shrink: 0;
  background: var(--accent);
  border: none;
  border-radius: 99px;
  margin: 1px;
  cursor: pointer;
  color: #05040e;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.footer-nl-btn:hover { background: var(--cyan); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.fbadge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .footer-wrap { grid-template-columns: 1fr; padding: 52px 20px 36px; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px; }
}