:root {
  --bg: #0b1220;
  --bg-2: #0f172a;
  --text: #e5e7eb;
  --muted: #a1a1aa;
  --brand: #e6533c;
  --brand-2: #1e3a8a;
  --card: #121a2c;
  --border: #1f2937;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container { width: min(1200px, 92vw); margin-inline: auto; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  font-size: .9rem;
}
.topbar .container { display: flex; align-items: center; padding: .5rem 0; }
.topbar .spacer { flex: 1; }
.topbar .top-link { color: #fff; text-decoration: none; }
.topbar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; opacity: .6; margin: 0 .6rem;
}

/* Header / Nav */
.header { background: var(--bg); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 700; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.menu a { color: #e5e7eb; text-decoration: none; }
.menu .btn { margin-left: .4rem; }
.burger { display: none; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .menu {
    position: absolute; inset: 64px 0 auto 0;
    background: var(--bg-2); display: none; flex-direction: column;
    padding: 1rem; border-bottom: 1px solid var(--border);
  }
  .burger { display: block; margin-left: auto; }
  .nav-toggle:checked ~ .burger + .menu { display: flex; }
}

/* Announcement */
.announcement { background: linear-gradient(90deg, #0f172a, #111827); border-bottom: 1px solid var(--border); }
.rotator { position: relative; min-height: 44px; display: flex; align-items: center; overflow: hidden; }
.banner {
  position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(8px);
  transition: opacity .6s, transform .6s; padding: .75rem 0; color: #cbd5e1; text-align: center;
}
.banner.active { opacity: 1; transform: translateY(0); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 400px at 10% -20%, rgba(230,83,60,.25), transparent 60%),
    radial-gradient(800px 300px at 110% 0%, rgba(30,58,138,.25), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 920px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 .75rem 0; }
.hero p  { margin: 0 0 1.5rem 0; line-height: 1.7; color: #cbd5e1; }
.cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Home page hero background image */
body.home .hero {
  background:
    url("../assets/bk1.png") center/cover no-repeat,
    radial-gradient(1000px 400px at 10% -20%, rgba(230,83,60,.25), transparent 60%),
    radial-gradient(800px 300px at 110% 0%, rgba(30,58,138,.25), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section.alt { background: #0e1526; }
.section-title { font-size: 1.8rem; margin: 0 0 1.2rem 0; }

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

/* Card */
.card {
  background: var(--card);
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, color .25s ease;
  height: 100%;
}
.card h3 { margin: .2rem 0 .4rem; font-size: 1.15rem; }
.card p { margin: 0; color: #cbd5e1; }

/* Clickable cards with hover */
.cards .link-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.cards .link-card .card {
  height: 100%;
  display: block;
}
.cards .link-card:hover .card {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.cards .link-card:hover .card h3,
.cards .link-card:hover .card p {
  color: #fff;
}

/* Two-column split + stats */
.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem; align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1rem; text-align: center; }
.stat .num { font-weight: 800; font-size: 1.4rem; display: block; }
.stat .label { color: var(--muted); font-size: .9rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: #0b1220; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0;
}
.brand-row { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-row img { height: 28px; }
.footer-links { display: flex; gap: 1rem; }
.copy { grid-column: 1/-1; color: var(--muted); font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); background: #0e1526; color: #fff;
  padding: .7rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--brand); border-color: transparent; }
.btn-ghost { background: transparent; }

/* scrolling + hide scrollbars */
html, body { height: 100%; overflow: auto; scrollbar-width: none; -ms-overflow-style: none; }
body::-webkit-scrollbar { display: none; }

/* Link tweaks */
a:visited { color: #e5e7eb; } /* prevent purple visited */
a, a:visited, a:hover, a:active { text-decoration: none !important; }

