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

:root {
  --navy: #0D1F3C;
  --navy-deep: #08132A;
  --blue: #1565C0;
  --blue-mid: #1976D2;
  --blue-light: #E3F0FF;
  --blue-pale: #F0F6FF;
  --gold: #D4A017;
  --gold-light: #FFF8E6;
  --white: #FFFFFF;
  --off-white: #F8FAFD;
  --text: #0D1F3C;
  --text-mid: #3A4A6B;
  --text-soft: #6B7A99;
  --border: #DDE4F0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 20px rgba(13,31,60,0.08);
  --shadow-lg: 0 8px 40px rgba(13,31,60,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Nunito', sans-serif; line-height: 1.2; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,19,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}

.nav-logo img {
  height: 32px; width: auto; display: block;
}

.nav-logo-text {
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 19px;
  color: white; letter-spacing: -0.01em;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 14.5px; font-weight: 400;
  transition: color .2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: white; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; transition: all .2s;
  font-family: 'Nunito', sans-serif;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.32); }

.btn-primary {
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  background: var(--blue-mid); color: white;
  border: none; cursor: pointer;
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.01em;
  display: inline-block;
}
.btn-primary:hover { background: #1565C0; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(21,101,192,0.4); }

.btn-primary-lg {
  display: inline-block;
  padding: 15px 34px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600;
  background: var(--blue-mid); color: white;
  cursor: pointer; transition: all .25s;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.01em; border: none;
}
.btn-primary-lg:hover { background: #1565C0; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(21,101,192,0.45); }

.btn-outline-lg {
  display: inline-block;
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 16px; font-weight: 500;
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer; transition: all .25s;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.01em;
}
.btn-outline-lg:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: white; padding: 4px;
}

/* ── SHARED SECTION HEADINGS ───────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-light); border: 1px solid rgba(21,101,192,0.2);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 800;
  color: var(--navy); letter-spacing: -0.01em; line-height: 1.15;
  margin-bottom: 16px;
}

.section-heading span { color: var(--blue-mid); }

.section-sub {
  font-size: 17px; color: var(--text-soft); max-width: 560px;
  line-height: 1.7; font-weight: 300;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── FLASH MESSAGES ────────────────────────────── */
.flash-message {
  border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px;
  font-size: 14.5px; font-weight: 500; line-height: 1.5;
}
.flash-success { background: #E8F5E9; color: #1B5E20; border: 1px solid rgba(46,125,50,0.25); }
.flash-error { background: #FDECEA; color: #B71C1C; border: 1px solid rgba(211,47,47,0.25); }
.field-error { color: #D32F2F; font-size: 12.5px; margin-top: 5px; display: block; }

/* ── FOOTER ────────────────────────────────────── */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.5); padding: 56px 0 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px; flex-wrap: wrap; gap: 36px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { height: 30px; width: auto; }
.footer-logo-text { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 18px; color: white; }
.footer-tagline { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer-links-grid { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700;
  color: white; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255,255,255,0.38); transition: color .2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.75); }

/* ── SCROLLBAR & SELECTION ─────────────────────── */
::selection { background: rgba(21,101,192,0.2); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

/* ── MOBILE ────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.nav-links-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(8,19,42,0.99); padding: 12px 32px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.nav-links-open a { padding: 10px 0; width: 100%; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav-actions .btn-ghost { display: none; }
}
