/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue:    #2569EA;
  --navy:    #040F24;
  --light:   #F4F7FE;
  --lighter: #F8FAFF;
  --muted:   #A4A9B7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
}

/* ─── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
#navbar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── Nav links ─────────────────────────────────────────────── */
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(37,105,234,0.30), 0 1px 4px rgba(37,105,234,0.20);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s ease,
              opacity 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,105,234,0.40), 0 2px 6px rgba(37,105,234,0.20);
}
.nav-link:active  { transform: translateY(0); }
.nav-link.active  { background: #1a4fc4; }
.nav-link:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; border-radius: 8px; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,105,234,0.30), 0 1px 4px rgba(37,105,234,0.20);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,105,234,0.40), 0 2px 8px rgba(37,105,234,0.20);
}
.btn-blue:active  { transform: translateY(0); }
.btn-blue:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

.btn-blue-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,105,234,0.30);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.btn-blue-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,105,234,0.40); }
.btn-blue-sm:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(4,15,36,0.22);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(4,15,36,0.14);
}
.btn-outline:active { transform: translateY(0); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer { background: var(--navy); }

.footer-link {
  color: #8A94A8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover  { color: #ffffff; }
.footer-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; color: #fff; }

/* ─── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Footer grid ────────────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hidden-mobile { display: none !important; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .two-col-service {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
