:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --blue:#0b5ed7;
  --green:#2fbf71;
  --teal:#0ea5a5;
  --card:#ffffff;
  --border: rgba(15,23,42,.10);
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 20px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:#020617;
  color:#eaf2ff;
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:#020617;
  color:#eaf2ff;
}

a{color:inherit;text-decoration:none}
.container{width:min(1140px, 92vw); margin:0 auto}
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{height:82px; width:auto}
.nav-links{display:flex; gap:18px; align-items:center; flex-wrap:wrap}
.nav-links a{font-weight:800; font-size:15px; letter-spacing:.01em; color: rgba(15,23,42,.85)}
.nav-links a:hover{color: var(--blue)}
.btn-row{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid var(--border);
  background: rgba(255,255,255,.9);
  box-shadow: 0 6px 16px rgba(2,6,23,.06);
}
.btn:hover{transform: translateY(-1px)}
.btn.primary{
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
  color:white;
}
.btn.secondary{
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-color: transparent;
  color:white;
}
.hero{
  padding:54px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:center;
}
@media (max-width: 880px){
  .hero-grid{grid-template-columns:1fr}
}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(11,94,215,.08);
  border:1px solid rgba(11,94,215,.18);
  color: rgba(15,23,42,.82);
  font-weight:700;
  font-size: 13px;
}
.h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing:-.02em;
}
.lead{
  font-size: 18px;
  line-height:1.65;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card img{width:100%; height:auto; display:block}
.section{padding:44px 0}
.section h2{
  font-size: 30px;
  margin:0 0 10px;
  letter-spacing:-.01em;
}
.section p{color: var(--muted); line-height:1.7; margin:0}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
@media (max-width: 880px){
  .split{grid-template-columns:1fr}
}
.panel{
  padding:22px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
}
.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  color:white;
  background: linear-gradient(135deg, var(--green), var(--teal));
}
.services-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap;
  margin-bottom: 16px;
}
.services-head .note{font-weight:700; color: rgba(15,23,42,.75)}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 620px){ .grid{grid-template-columns: 1fr;} }

.card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
  display:flex;
  flex-direction:column;
}
.card img{width:100%; height:auto; display:block}
.card-body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:#020617;
  color:#eaf2ff;
}
.card-title{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin: 0 0 6px;
}
.card-title h3{
  font-size: 18px;
  margin:0;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.65;
  font-size: 14.5px;
}
.small{
  font-size: 13px;
  color: rgba(15,23,42,.65);
}
.how{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 980px){ .how{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .how{grid-template-columns: 1fr;} }
.step{
  padding:16px;
  border:1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.85);
}
.step-num{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  color:white;
  font-weight:900;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  margin-bottom: 10px;
}
.step h4{margin:0 0 6px; font-size: 16px}
.step p{margin:0; color: var(--muted); font-size: 14px; line-height:1.6}

.cta{
  padding:38px 0 60px;
}
.cta-box{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  border-radius: 26px;
  padding:22px;
  background: linear-gradient(135deg, rgba(11,94,215,.12), rgba(57,181,74,.14));
  border:1px solid var(--border);
}
.footer{
  padding:26px 0 36px;
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.72);
}
.footer-inner{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:center;
}
.footer a{color: rgba(15,23,42,.75); font-weight:700}
.footer a:hover{color: var(--blue)}
.page{
  padding:34px 0 54px;
}
.page h1{margin:0 0 10px; font-size: 34px; letter-spacing:-.02em}
.page h2{margin:22px 0 8px; font-size: 20px}
.page p, .page li{color: var(--muted); line-height:1.75}
.page ul{margin: 8px 0 0 18px}
.hr{height:1px;background:var(--border); margin: 18px 0}

.clients{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items:center;
}
@media (max-width: 980px){ .clients{grid-template-columns: repeat(4, 1fr);} }
@media (max-width: 620px){ .clients{grid-template-columns: repeat(2, 1fr);} }

.client-logo{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(2,6,23,.06);
  padding: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 84px;
  overflow:hidden;
}
.client-logo img{
  max-height: 56px;
  max-width: 100%;
  width:auto;
  height:auto;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.03);
}


@keyframes float {
  0% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(-4px); opacity: 1; }
}
.client-logo {
  animation: float .8s ease forwards;
}
.client-logo:nth-child(odd){ animation-delay: .1s; }
.client-logo:nth-child(even){ animation-delay: .25s; }
.client-logo:hover{
  transform: translateY(-6px) scale(1.05);
  transition: transform .25s ease;
}

/* Client logo animations */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

.client-logo{
  position: relative;
}

.client-logo img{
  will-change: transform;
  animation: floaty 5.5s ease-in-out infinite;
}

.client-logo:hover img{
  animation-play-state: paused;
  transform: scale(1.04);
}

@keyframes floaty{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
  100%{ transform: translateY(0); }
}

/* =========================
   VA CONNECT — LIGHT THEME OVERRIDES
   Applied from reference CSS
========================= */
:root{
  --blue:#0b72ff;
  --green:#63d13a;
  --bg:#f5f7fa;
  --surface:#ffffff;
  --text:#1f2937;
  --muted:#4b5563;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

html,body{background:var(--bg)!important;color:var(--text)!important;}
h1,h2,h3,h4,h5,h6{color:var(--text)!important;}
p,li,.subtext,.lead,.muted{color:var(--muted)!important;}

.navbar,header,.nav,.topbar{
  background:rgba(255,255,255,.9)!important;
  border-bottom:1px solid var(--border)!important;
  backdrop-filter:none!important;
}

.card,.panel,.glass,.hero-card,.service-card,.section-card{
  background:var(--surface)!important;
  border:1px solid var(--border)!important;
  box-shadow:var(--shadow)!important;
}

.btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--green))!important;
  color:#fff!important;
  border-radius:30px!important;
  font-weight:700!important;
}

/* =========================
   ROLE CARDS — WHITE TEXT BACKGROUND
========================= */
.card .card-body,
.service,
.service .body,
.role,
.role-body{
  background:#ffffff !important;
  color:#1f2937 !important;
}

.card .card-body h3,
.service .body h3{
  color:#1f2937 !important;
}

.card .card-body p,
.service .body p{
  color:#4b5563 !important;
}

/* =========================
   NAV LOGO SIZE + ROLE TEXT CENTERING
========================= */

/* Bigger logo in navbar */
.nav img,
.brand img,
header img{
  height: 90px !important;
  width: auto;
}

/* Center text in each role card */
.card .card-body,
.service .body{
  text-align: center !important;
}

.card .card-body h3,
.service .body h3{
  justify-content: center;
  text-align: center;
}

.card .card-body p,
.service .body p{
  text-align: center;
}

/* =========================
   ROLE TEXT — LEFT ALIGNED WITH INDENT
========================= */

.card .card-body,
.service .body{
  text-align: left !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.card .card-body h3,
.service .body h3{
  text-align: left !important;
  margin-left: 0;
}

.card .card-body p,
.service .body p{
  text-align: left !important;
  margin-left: 0;
}
