/* ─────────────────────────────────────────────
   Shared nav + footer styles.
   Extracted from index.php so every page using
   partials/header.php and partials/footer.php
   renders them identically. index.php keeps its
   own copy of these rules inline (unchanged, to
   avoid touching a page already live and tested)
   — this file is for every OTHER page.
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f2d6b;
  --navy-dark:  #091e4a;
  --navy-light: #1a3f88;
  --gold:       #e8a020;
  --gold-dark:  #c98010;
  --white:      #ffffff;
  --off-white:  #f5f7fc;
  --gray:       #6b7280;
  --light-border: #dde3ef;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(15,45,107,.10);
  --shadow-hover: 0 8px 36px rgba(15,45,107,.18);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: #1e2a3a; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── UTILITY ──────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .82rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 6px;
  cursor: pointer; border: none; transition: all .2s;
}
.btn-gold  { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ─── NAVBAR ───────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  box-shadow: 0 2px 12px rgba(15,45,107,.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 48px; height: 140px; width: 100%;
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-brand img { height: 86px; width: auto; display: block; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 900; color: var(--navy); line-height: 1.15; white-space: nowrap; }
.nav-brand-tag  { font-family: var(--font-head); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 3px; white-space: nowrap; }
.nav-logo img { height: 82px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-family: var(--font-head); font-size: .9rem;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy); padding: 10px 18px; border-radius: 5px;
  transition: background .15s, color .15s; text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--off-white); color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom: 2px solid var(--gold); }
.nav-cta { margin-left: 16px; }

/* ─── FOOTER ───────────────────────────────── */
.footer { background: #ffffff; border-top: 3px solid var(--gold); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .nav-logo-text strong { color: var(--navy); }
.footer-brand .nav-logo-text span { color: var(--gold); }
.footer-brand p {
  font-size: .87rem; color: #555;
  line-height: 1.75; margin-top: 14px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); display: flex;
  align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 {
  font-family: var(--font-head); font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .88rem; color: #555;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: #888; }
.footer-bottom a { color: #888; }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badge {
  font-family: var(--font-head); font-size: .68rem;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); background: rgba(10,28,74,.06);
  border: 1px solid rgba(10,28,74,.2);
  padding: 4px 12px; border-radius: 20px;
}

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
