/* Uplift Development Group — site styles */
:root {
  --navy: #003087;        /* USAF PMS 287 C — Uplift brand blue */
  --navy-2: #0a44a3;      /* lighter brand blue for links/hovers */
  --accent: #c9a24b;      /* warm gold accent */
  --accent-dark: #a9842f;
  --ink: #1c2530;
  --muted: #5b6675;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --max: 1160px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16,31,55,.08);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 72px;
}
.brand {
  font-weight: 800; font-size: 1.25rem; letter-spacing: .3px;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }
.brand-logo { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 10px 12px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-2); background: var(--bg-soft); }
.nav-links .has-sub > .submenu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 6px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.nav-links .has-sub:hover > .submenu,
.nav-links .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 16px !important;
  border-radius: 6px; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 7px; font-weight: 700; letter-spacing: .3px;
  transition: .18s; border: 0; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(0,48,135,.72), rgba(0,48,135,.82)),
    url("../img/hero.jpg") center/cover no-repeat;
  padding: 110px 22px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 14px; line-height: 1.12; }
.hero p { font-size: 1.25rem; max-width: 720px; margin: 0 auto 28px; color: rgba(255,255,255,.92); }
.hero .btn { margin: 6px; }

.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy) center/cover no-repeat;
  color: #fff; padding: 84px 22px; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,48,135,.78), rgba(0,48,135,.88));
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 760px; margin: 14px auto 0; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); margin: 0 0 8px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat .label { color: var(--muted); font-weight: 600; margin-top: 6px; font-size: .98rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s;
}
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card .body { padding: 20px 22px; }
.card h3 { margin: 0 0 8px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* media object rows */
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.row img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; }
.row.reverse .text { order: 2; }
.row h2 { color: var(--navy); margin-top: 0; }
.row + .row { margin-top: 56px; }

ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.ticks li { padding: 7px 0 7px 30px; position: relative; }
ul.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  color: var(--accent); font-weight: 800;
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.member h3 { margin: 14px 0 2px; color: var(--navy); font-size: 1.05rem; }
.member span { color: var(--muted); font-size: .9rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 36px 56px; }
.tl-item::before {
  content: ""; position: absolute; left: 11px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.tl-item h3 { margin: 0 0 2px; color: var(--navy); }
.tl-item .when { color: var(--accent-dark); font-weight: 700; font-style: italic; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.logos a, .logos div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); min-height: 160px; }
.logos img { max-height: 100px; width: auto; }

/* ---------- Media list ---------- */
.media-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.media-list li a {
  display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 16px 20px; text-decoration: none; color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow); transition: .15s;
}
.media-list li a:hover { transform: translateX(3px); border-left-color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; font: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.info-block { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.info-block h3 { color: var(--navy); margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 72px 22px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 26px; }

/* ---------- Prose ---------- */
.prose h2 { color: var(--navy); margin-top: 34px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1d30; color: #c4cfdd; padding: 48px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand { font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-brand span { color: var(--accent); }
.footer-links a { color: #c4cfdd; text-decoration: none; margin: 0 10px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; font-size: .9rem; color: #8da0b6; }
.footer-bottom .addr { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .team, .gallery-grid, .logos { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .row.reverse .text { order: 0; }
  .row img { height: 280px; }
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--line); padding: 10px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 14px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .logos { grid-template-columns: 1fr 1fr; }
}

/* ---------- Home wide stat strip + metric bubbles ---------- */
.stats-wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; }
.stats-band { padding: 52px 0; }
.stats-band .stat .num { font-size: 3rem; }
.stats-band .stat .label { font-size: 1.02rem; margin-top: 8px; }
.bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 40px; }
.bubble {
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(160deg, #e9f0fb, #cfe0f7);
  border: 3px solid var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 18px; box-shadow: var(--shadow);
}
.bubble-num { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.05; }
.bubble-label { font-size: .85rem; color: var(--muted); margin-top: 8px; font-weight: 600; line-height: 1.25; }
@media (max-width: 900px) { .bubble { width: 172px; height: 172px; } .bubble-num{font-size:1.5rem} }
@media (max-width: 520px) { .bubble { width: 150px; height: 150px; } .bubble-num{font-size:1.35rem} .bubble-label{font-size:.78rem} }
