:root{
  --bg:#eaf2ff; /* light blue page background */
  --text:#0b1220;
  --muted:#5b677a;

  --border:#e7edf5;
  --soft:#cfdcf2; /* darker blue cards */

  --blue:#1e40af;
  --teal:#0f766e;
  --red:#b91c1c;
  --purple:#6d28d9;

  --radius:18px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial; background:var(--bg); color:var(--text)}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:22px}

/* Tighten spacing ONLY inside the top menu */
.topmenu .wrap{
  padding-top:8px;
  padding-bottom:6px;
}

/* Topmenu wrapper (BrainTradez-style separate bar) */
.topmenu{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(234,242,255,.88);
  border-bottom:1px solid rgba(231,237,245,.85);
  backdrop-filter: blur(10px);
  padding-bottom:4px; /* tighten gap */
}
/* Top Bar (same structure as your original) */
.topbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:6px 0 6px; /* tighter */
}

.brand{display:flex;flex-direction:column}

/* Brand flair (only for the name line) */
.brandName{
  font-size:20px;
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.1;
  background:linear-gradient(90deg, var(--blue), var(--teal), var(--purple));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 10px 22px rgba(2,6,23,.08);
}

.brand span{font-size:13px;color:var(--muted)}

/* Breadcrumbs */
.crumbs{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  display:flex;align-items:center;gap:8px;
}
.crumbs a{color:var(--blue);font-weight:650}
.crumbs .sep{opacity:.65}

/* --- Nav Pills (Flair + Color) --- */
/* THIS IS THE EXACT PILL BLOCK FROM YOUR ORIGINAL FILE */
.nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.pill{
  position:relative;
  padding:9px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:750;
  letter-spacing:.1px;

  border:1px solid rgba(15,23,42,.10);
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color:var(--text);

  box-shadow:0 10px 22px rgba(2,6,23,.07);
  transition:transform .08s ease, box-shadow .08s ease, border-color .08s ease;
  user-select:none;
}
.pill:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(30,64,175,.45), rgba(15,118,110,.35), rgba(109,40,217,.35));
  z-index:-1;
  opacity:.55;
}
.pill:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(2,6,23,.12);
  border-color:rgba(30,64,175,.22);
}

/* Optional accent variants (use on select pills if you want) */
.pill.blue { color:var(--blue); }
.pill.teal { color:var(--teal); }
.pill.red { color:var(--red); }
.pill.purple { color:var(--purple); }

/* --- Hero --- */
.hero{
  margin-top:6px; /* was 18px */
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#0b1220;
  position:relative;
}
.heroBanner{
  height:420px;
  background:
    linear-gradient(
      rgba(2,6,23,.30),
      rgba(2,6,23,.30)
    ),
    url("/images/FB.jpg") center/cover no-repeat;
}

/* keep overlay but make it transparent */
.hero .overlay{
  position:absolute;
  inset:0;
  background:transparent;
  display:flex;
  align-items:flex-end;
}
.hero .text{
  padding:26px 26px 24px; max-width:700px;
  color:#fff;
}
.hero h1{margin:0;font-size:44px;letter-spacing:-.02em}
.hero p{margin:10px 0 0;color:rgba(255,255,255,.84);font-size:17px;line-height:1.5}
.hero .ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 14px;border-radius:12px;font-weight:650;font-size:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10); color:#fff;
}
.btn:hover{background:rgba(255,255,255,.16)}
.btnPrimary{background:rgba(30,64,175,.92);border-color:rgba(30,64,175,.92)}
.btnPrimary:hover{background:rgba(30,64,175,1)}

/* Sections */
.section{
  margin-top:18px;
  background:var(--soft);
  border-radius:22px;
  padding:16px;
  overflow:hidden;

  /* new borders */
  border:1px solid #1e3a8a;              /* thin dark blue outline */
  border-left:6px solid #1e40af;         /* JSJ-style left accent */
}

.sectionTop{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sectionTop h2{margin:0;font-size:18px}
.sectionTop p{margin:6px 0 0;color:var(--muted);font-size:13px;max-width:760px}
.sectionTop .right{display:flex;gap:10px;align-items:center}
.miniBtn{
  padding:9px 12px;border-radius:12px;border:1px solid var(--border);
  background:#fff;font-weight:650;font-size:13px;color:var(--text)
}
.miniBtn:hover{border-color:#cbd5e1}
.strip{
  margin-top:12px; display:flex; gap:12px; overflow:auto; padding-bottom:6px;
  scroll-snap-type:x mandatory;
}
.thumb{
  flex:0 0 auto; width:220px; height:150px; border-radius:16px; overflow:hidden;
  border:1px solid var(--border); background:#fff; scroll-snap-align:start;
  box-shadow:0 8px 20px rgba(2,6,23,.06);
}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* Memory */
.memory{
  margin-top:18px;border-radius:22px;border:1px solid #1f2937;
  background:linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color:#fff;padding:18px;
}
.memory h2{margin:0;font-size:18px}
.memory p{margin:8px 0 0;color:rgba(255,255,255,.82);font-size:13px;line-height:1.6}
.memGrid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px
}
.memCard{
  border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:12px;
  background:rgba(255,255,255,.06)
}
.memCard b{display:block;font-size:13px}
.memCard span{display:block;margin-top:4px;font-size:12px;color:rgba(255,255,255,.72)}

/* Footer */
.footer{
  margin:18px 0 8px;padding-top:14px;border-top:1px solid var(--border);
  color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap
}

/* Responsive */
@media (max-width: 900px){
  .heroBanner{height:360px}
  .hero h1{font-size:38px}
  .memGrid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 560px){
  .heroBanner{height:320px}
  .hero h1{font-size:32px}
  .wrap{padding:16px}
}