/* ── NATIONAL TRAINING HUB — SHARED STYLES ── */
:root {
  --navy:      #0B1D35;
  --navy-75:   #3A4F66;
  --navy-50:   #657C93;
  --navy-20:   #CBD4DE;
  --navy-08:   #EEF1F5;
  --navy-04:   #F6F8FA;
  --white:     #FFFFFF;
  --green:     #2D7D4F;
  --green-p:   #E8F5EE;
  --gold:      #B07A0A;
  --gold-p:    #FEF3DC;
  --border:    #DDE3EC;
  --border-l:  #EEF1F6;
  --sh-xs: 0 1px 3px rgba(11,29,53,.05);
  --sh-sm: 0 2px 8px rgba(11,29,53,.07);
  --sh-md: 0 6px 20px rgba(11,29,53,.09);
  --sh-lg: 0 16px 48px rgba(11,29,53,.13);
  --ff-d: 'Bebas Neue', sans-serif;
  --ff-b: 'Outfit', sans-serif;
  --ff-m: 'JetBrains Mono', monospace;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-xl: 32px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: only light; }
body { font-family: var(--ff-b); background: var(--white); color: var(--navy); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* UTILITIES */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-m); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy-50);
}
.eyebrow::before { content:''; display:block; width:18px; height:2px; background:var(--navy); flex-shrink:0; }
.sh { font-family: var(--ff-d); letter-spacing: .04em; line-height: .95; color: var(--navy); }
.sh2 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }

/* BUTTONS */
.btn-p {
  display: inline-flex; align-items: center; gap: .42rem;
  background: var(--navy); color: white;
  font-size: .87rem; font-weight: 600;
  padding: .73rem 1.55rem; border-radius: var(--r-s);
  box-shadow: 0 3px 14px rgba(11,29,53,.22);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-p:hover { background: rgba(11,29,53,.82); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(11,29,53,.3); }
.btn-o {
  display: inline-flex; align-items: center; gap: .42rem;
  color: var(--navy); font-size: .87rem; font-weight: 500;
  padding: .73rem 1.35rem; border-radius: var(--r-s);
  border: 1.5px solid var(--border);
  transition: border-color .15s, background .15s;
}
.btn-o:hover { border-color: var(--navy); background: var(--navy-08); }

/* SECTIONS */
.sec { padding: 5.5rem 2rem; }
.sec-in { max-width: 1200px; margin: 0 auto; }
.sec--sm  { background: var(--navy-04); }
.sec--sm2 { background: var(--navy-08); }
.sec-hd { margin-bottom: 3rem; }
.sec-hd p { font-size: .97rem; color: var(--navy-75); line-height: 1.82; max-width: 530px; margin-top: .7rem; font-weight: 300; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 64px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--sh-md); }
.nav-in { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--ff-d); font-size: 1.05rem; letter-spacing: .1em; color: var(--navy);
  flex-shrink: 0;
}
.nav-lm { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; gap: .05rem; }
.nav-links a {
  font-size: .82rem; font-weight: 500; color: var(--navy-75);
  padding: .38rem .7rem; border-radius: var(--r-s);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--navy-08); }
.nav-r { display: flex; align-items: center; gap: .8rem; }
.nav-ph { font-family: var(--ff-m); font-size: .66rem; color: var(--navy-50); }
.nav-cta {
  background: var(--navy); color: white;
  font-size: .79rem; font-weight: 600; letter-spacing: .04em;
  padding: .5rem 1.2rem; border-radius: var(--r-s);
  box-shadow: 0 2px 10px rgba(11,29,53,.2);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.nav-cta:hover { background: rgba(11,29,53,.82); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(11,29,53,.28); }
.nav-ham { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-ham span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 890;
  background: white; border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  padding: 1.25rem 2rem 1.75rem;
  display: none; flex-direction: column; gap: .25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .9rem; font-weight: 500; color: var(--navy-75);
  padding: .6rem .5rem; border-radius: var(--r-s);
  transition: color .15s, background .15s;
}
.mobile-menu a:hover { color: var(--navy); background: var(--navy-08); }
.mobile-menu-cta {
  margin-top: .5rem; padding: .7rem 1.2rem;
  background: var(--navy); color: white !important; border-radius: var(--r-s);
  font-size: .85rem; font-weight: 600; text-align: center;
}

/* FORM ELEMENTS */
.fg { margin-bottom: .75rem; }
.fl { font-size: .7rem; font-weight: 600; color: var(--navy-75); display: block; margin-bottom: .28rem; }
.fi {
  width: 100%; padding: .56rem .78rem;
  border: 1.5px solid var(--border); border-radius: var(--r-s);
  font-family: var(--ff-b); font-size: .83rem; color: var(--navy);
  transition: border-color .15s; background: white; outline: none;
}
.fi:focus { border-color: var(--navy); }
.fi-s {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 7'%3E%3Cpath d='M1 1L5 6L9 1' stroke='%23657C93' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .78rem center; background-size: 9px; padding-right: 2rem;
}
.fsub {
  width: 100%; padding: .7rem; margin-top: .3rem;
  background: var(--navy); color: white;
  font-family: var(--ff-b); font-size: .85rem; font-weight: 600;
  border-radius: var(--r-s); transition: background .15s, transform .15s; cursor: pointer; border: none;
}
.fsub:hover { background: rgba(11,29,53,.82); transform: translateY(-1px); }
.fnote { font-size: .62rem; color: var(--navy-50); text-align: center; margin-top: .55rem; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.form-success h4 { font-family: var(--ff-d); font-size: 1.1rem; color: var(--navy); margin-bottom: .4rem; }
.form-success p { font-size: .8rem; color: var(--navy-50); }

/* FOOTER */
footer { background: var(--navy); border-top: 3px solid rgba(255,255,255,.12); }
.foot-main { max-width: 1200px; margin: 0 auto; padding: 3.75rem 2rem 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.flogo { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.flogo-txt { font-family: var(--ff-d); font-size: 1.05rem; letter-spacing: .1em; color: white; }
.fbrand p { font-size: .81rem; color: rgba(255,255,255,.75); line-height: 1.8; max-width: 265px; margin-bottom: 1rem; }
.fbadges { display: flex; gap: .4rem; flex-wrap: wrap; }
.fbg {
  font-family: var(--ff-m); font-size: .54rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .18rem .52rem; border-radius: 4px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85);
}
.fbg-g { background: rgba(45,125,79,.25); border: 1px solid rgba(45,125,79,.4); color: #A8E6C3; }
.fcol h4 { font-family: var(--ff-d); font-size: .88rem; letter-spacing: .08em; color: white; margin-bottom: .85rem; }
.fcol ul li { margin-bottom: .42rem; }
.fcol ul li a { font-size: .81rem; color: rgba(255,255,255,.75); transition: color .15s; }
.fcol ul li a:hover { color: white; }
.fclr { display: flex; align-items: flex-start; gap: .42rem; font-size: .78rem; color: rgba(255,255,255,.75); margin-bottom: .42rem; line-height: 1.45; }
.fclr a { color: rgba(255,255,255,.75); transition: color .15s; }
.fclr a:hover { color: white; }
.foot-bot { max-width: 1200px; margin: 0 auto; padding: 1.2rem 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.foot-bot p { font-family: var(--ff-m); font-size: .56rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.fleg { display: flex; gap: 1.5rem; }
.fleg a { font-family: var(--ff-m); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .15s; }
.fleg a:hover { color: white; }

/* RESPONSIVE */
@media(max-width:900px) {
  .nav-links, .nav-ph { display: none; }
  .nav-ham { display: flex; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: 1 / -1; }
}
@media(max-width:640px) {
  .sec { padding: 4rem 1.25rem; }
  .foot-main { grid-template-columns: 1fr; }
}
