/* ==========================================================
   EduGlobal - base.css
   Colours, reset, typography, buttons, layout helpers.
   Every page loads this file first.
   ========================================================== */

:root {
  --navy: #06152e;
  --navy-2: #0b2040;
  --navy-3: #11294d;
  --blue: #168bff;
  --blue-soft: #4db0ff;
  --gold: #ffc83d;
  --white: #ffffff;
  --muted: #9fb3cf;
  --line: rgba(120, 170, 255, 0.16);
  --glow: 0 0 0 1px rgba(22, 139, 255, 0.35), 0 10px 40px -10px rgba(22, 139, 255, 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--navy);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #3aa3ff, var(--blue)); color: #fff; box-shadow: 0 8px 24px -8px rgba(22, 139, 255, 0.7); }
.btn-gold { background: linear-gradient(135deg, #ffe08a, var(--gold)); color: #1a1300; box-shadow: 0 8px 24px -10px rgba(255, 200, 61, 0.7); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(22, 139, 255, 0.08); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
