/* ================= ROOT ================= */

:root{
  --bg:#070f1f;
  --text:#f3f7ff;
  --muted:#b8c7e6;
  --line:rgba(255,255,255,.12);
  --glass:rgba(255,255,255,.05);
  --accent:#2fb3ff;
  --accent2:#7dd3ff;
  --radius:20px;
  --shadow:0 18px 45px rgba(0,0,0,.45);
}

/* ================= BUTTON RESTORE ================= */

.btn{
  padding:10px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  font-weight:900;
  cursor:pointer;
}

.btnPrimary{
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#031427;
  border:none;
}

.btnPrimary:hover{
  transform:translateY(-2px);
}


/* ================= RESOURCE BUTTON RESTORE ================= */

.resource-button{
  display:inline-block;
  padding:12px 22px;
  border-radius:14px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#031427;
  font-weight:900;
  text-decoration:none;
}


/* ================= GLOBAL ================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(47,179,255,.22), transparent 62%),
    radial-gradient(900px 520px at 88% 22%, rgba(125,211,255,.14), transparent 62%),
    linear-gradient(180deg,#050a14,var(--bg) 40%,#050a14);
  color:var(--text);
  line-height:1.6;
}

body{
  padding-top:70px;
}

a{
  color:var(--accent2);
  text-decoration:none;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
}


/* ================= GRID ================= */

.grid{
  display:grid;
  gap:20px;
}


/* ================= HEADER SPACING ONLY ================= */

#siteHeader{
  margin:0;
}

header{
  margin:0;
}


/* ================= NAVBAR LOGO (SAFE TO KEEP) ================= */

.brand{
  display:flex;
  align-items:center;
  overflow:hidden;
}

.brand img{
  height:42px;
  width:auto;
  display:block;

  object-fit:cover;
  object-position:center;

  transform:scale(1.15);

  filter:
    drop-shadow(0 0 6px rgba(245,184,65,.5))
    drop-shadow(0 0 12px rgba(47,179,255,.25));
}

.brand img:hover{
  filter:
    drop-shadow(0 0 10px rgba(245,184,65,.8))
    drop-shadow(0 0 18px rgba(47,179,255,.4));
}

.brand strong{
  font-size:14px;
}

.brand span{
  font-size:12px;
  color:var(--muted);
}


/* ================= ONLY HOME + CONTACT BANNERS ================= */

body[data-page="home"] .bannerPrimary,
body[data-page="home"] .bannerSecondary,
body[data-page="contact"] .bannerPrimary,
body[data-page="contact"] .bannerSecondary{
  display:block;
  width:min(1100px,92%);
  margin:18px auto;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.45);
}

body[data-page="home"] .bannerPrimary img,
body[data-page="home"] .bannerSecondary img,
body[data-page="contact"] .bannerPrimary img,
body[data-page="contact"] .bannerSecondary img{
  width:100%;
  height:auto;
  display:block;
}


/* ================= GENERIC CARDS ================= */

.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 12px 28px rgba(0,0,0,.28);
  transition:.25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(0,0,0,.35), 0 0 20px rgba(47,179,255,.15);
}

html{
  scroll-behavior:smooth;
}

.btnPrimary:hover{
  transform:translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0,0,0,.35),
    0 0 16px rgba(47,179,255,.4);
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ===== GLOBAL FOOTER ===== */

/* ===== GLOBAL FOOTER (ENHANCED) ===== */

#siteFooter{
  margin-top:30px; /* reduce space above */
}

#siteFooter footer{
  width:min(1100px,92%);
  text-align:center;

  padding:6px 8px;              /* 🔥 VERY tight */
  margin:8px auto 4px;          /* 🔥 minimal spacing */

  font-size:11px;               /* slightly smaller */
  color:rgba(184,199,230,.55);

  /* 🔥 REMOVE HEAVY LOOK */
  border:none;
  background:none;
  backdrop-filter:none;
  box-shadow:none;
}

#siteFooter footer::before{
  content:"";
  display:block;
  width:50%;
  height:1px;
  margin:0 auto 6px;

  background:linear-gradient(
    90deg,
    transparent,
    rgba(47,179,255,.25),
    transparent
  );

  opacity:.4;
}

#siteFooter footer:hover{
  box-shadow:
    0 15px 40px rgba(0,0,0,.5),
    0 0 25px rgba(47,179,255,.2);
}


/* ===== FOOTER-SPECIFIC DIVIDER ===== */

.footerDivider{
  margin:18px auto 4px;  /* 🔥 tighter to footer only */
}

/* ================= NAVBAR (GLOBAL FIX) ================= */

.topbar{
  transition:
    transform .35s ease,
    box-shadow .3s ease,
    opacity .3s ease;
}
