/* Race VA Services — shared styles */
:root {
  --navy: #0A192F;
  --navy-2: #0D2240;
  --cyan: #00E5FF;
  --blue: #2979FF;
  --slate: #F8FAFC;
  --ink: #0A192F;
  --ink-2: #1e293b;
  --ink-3: #475569;
  --muted: #64748b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--slate);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0;          /* nav now floats OVER the hero, not below it */
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ---------- Brand text gradient ---------- */
.brand-gradient {
  background: linear-gradient(90deg, #00E5FF 0%, #2979FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(90deg, #00E5FF, #2979FF);
  color: #0A192F;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0, 229, 255, 0.65);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Sora', sans-serif;
  padding: 0.85rem 1.65rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: #00E5FF;
  color: #00E5FF;
}

/* ---------- Hero with video background ---------- */
.hero-bg {
  position: relative;
  overflow: hidden;
  background: #0A192F;
  color: #fff;
  isolation: isolate;
}
/* First section inside a hero gets extra top padding so its content
   clears the floating nav (which now overlays the hero instead of
   pushing the page down). */
header.hero-bg > section:first-of-type {
  padding-top: 7.5rem;
}
@media (min-width: 768px) {
  header.hero-bg > section:first-of-type {
    padding-top: 9rem;
  }
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg-media img,
.hero-bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(0,229,255,0.28), transparent 60%),
    radial-gradient(800px 500px at 0% 30%, rgba(41,121,255,0.25), transparent 60%),
    linear-gradient(180deg, rgba(10,25,47,0.78) 0%, rgba(10,25,47,0.88) 60%, rgba(10,25,47,0.95) 100%);
}

/* ---------- Sections ---------- */
.section-bg-light {
  background: #F8FAFC;
  position: relative;
}
.section-bg-dark  {
  background: #0A192F;
  color: #fff;
  position: relative;
}

/* ---------- Wave / texture dividers ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

.texture-dots {
  background-image: radial-gradient(rgba(10,25,47,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.texture-dots-dark {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.grid-bg-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid rgba(10,25,47,0.08);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px -25px rgba(10,25,47,0.25);
  border-color: rgba(0,229,255,0.5);
}

.card-dark {
  background: #0F213D;             /* solid, opaque — never disappears */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.75rem;
  color: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 25px 60px -25px rgba(0,229,255,0.25);
}

/* ---------- Icon pill ---------- */
.icon-pill {
  width: 48px; height: 48px;
  border-radius: 12px;
  display:inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(41,121,255,0.18));
  color: #00E5FF;
}

/* ---------- Floating sticky nav (LIGHT GLASS) ---------- */
.nav-floating {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: calc(100% - 2rem);
  max-width: 1240px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(10,25,47,0.08);
  border-radius: 9999px;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem;
  box-shadow: 0 18px 45px -20px rgba(10,25,47,0.25);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav-floating.scrolled {
  background: rgba(255,255,255,0.92);
  border-color: rgba(10,25,47,0.10);
  box-shadow: 0 20px 55px -18px rgba(10,25,47,0.30);
}
.nav-floating .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-link {
  color: rgba(10,25,47,0.72);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .15s ease;
}
.nav-link:hover { color: #2979FF; }
.nav-link.active { color: #0A192F; font-weight: 600; }

.nav-floating #menuBtn { color: #0A192F; }
.nav-floating .btn-primary {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* Mobile menu sheet (light glass) */
.mobile-sheet {
  position: fixed;
  top: 5rem;
  left: 1rem; right: 1rem;
  z-index: 55;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(10,25,47,0.08);
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 20px 50px -20px rgba(10,25,47,0.25);
}
.mobile-sheet a {
  display: block;
  padding: 0.75rem 0;
  color: #0A192F;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  border-bottom: 1px solid rgba(10,25,47,0.06);
}
.mobile-sheet a:last-child { border-bottom: 0; }

/* ---------- Misc ---------- */
.divider-grad {
  height: 3px;
  width: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00E5FF, #2979FF);
}

.tag {
  display:inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2979FF;                    /* darker for light backgrounds */
}
.tag-dark { color: #00E5FF; }        /* use on dark backgrounds */
.section-bg-dark .tag,
.hero-bg .tag,
.card-dark .tag,
.img-card-dark .tag { color: #00E5FF; }

/* ---------- Light Footer with watermark ---------- */
.footer-light {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0,229,255,0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(41,121,255,0.18), transparent 60%),
    linear-gradient(180deg, #EAF6FF 0%, #DCEBFB 100%);
  color: #0A192F;
}
.footer-light h5 { color: #0A192F; }
.footer-light p, .footer-light li, .footer-light span { color: #334155; }
.footer-light a { color: #334155; transition: color .15s ease; }
.footer-light a:hover { color: #2979FF; }
.footer-light .accent { color: #2979FF; font-weight: 600; }
.footer-light .border-top { border-top: 1px solid rgba(10,25,47,0.10); }

/* "VA SERVICES" watermark — confined to the UPPER columns area,
   sized BIG and anchored to the BOTTOM (just above the copyright strip). */
.footer-watermark {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 5rem;                    /* leaves the copyright strip clear */
  display: flex;
  align-items: flex-end;           /* hug the bottom of this area */
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 18vw, 15rem);
  letter-spacing: -0.05em;
  line-height: 0.85;               /* tight baseline so it sits right above copyright */
  background: linear-gradient(180deg, rgba(41,121,255,0.20) 0%, rgba(0,229,255,0.06) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.footer-light > *:not(.footer-watermark) { position: relative; z-index: 1; }

/* ---------- Video Showcase ---------- */
.video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 80px -30px rgba(10,25,47,0.35);
}
.video-wrap video,
.video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-wrap .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,0.55), rgba(41,121,255,0.30));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

/* ---------- Image cards ---------- */
.img-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(10,25,47,0.08);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px -25px rgba(10,25,47,0.25);
}
.img-card .img-top {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.img-card .body { padding: 1.5rem; }

.img-card-dark {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0F213D;               /* solid */
  color: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.img-card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.55);
  box-shadow: 0 25px 60px -25px rgba(0,229,255,0.2);
}
.img-card-dark .img-top {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.img-card-dark .body { padding: 1.5rem; }

/* ---------- Equal-height hero split ---------- */
.hero-split { align-items: stretch; }
.hero-split > * { display: flex; flex-direction: column; justify-content: center; }
.hero-split .hero-media-col {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
}
.hero-split .hero-media-col img,
.hero-split .hero-media-col video {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

/* ---------- Forms ---------- */
.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  width: 100%;
  font-family: 'Manrope', sans-serif;
  transition: border-color .2s ease, background .2s ease;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-color: #00E5FF; background: rgba(255,255,255,0.09); }
.form-label {
  color: rgba(255,255,255,0.9);
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- Animations ---------- */
.fade-up { animation: fadeUp .8s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
