/* =========================================================
   VIGIVANCE — Navy + Emerald Theme
   Professional corporate design system
   White 70% / Navy 20% / Emerald 10%
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --navy-mid: #13355e;
  --emerald: #0f9d58;
  --emerald-dark: #0b7a44;
  --emerald-soft: #eaf7f0;
  --white: #ffffff;
  --ink-70: rgba(11, 37, 69, 0.70);
  --ink-50: rgba(11, 37, 69, 0.52);
  --border-soft: #e8ecf2;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.14);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.75;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { margin-bottom: 1rem; }

a { text-decoration: none; transition: color 0.2s ease; }

::selection { background: var(--emerald); color: #fff; }

.text-emerald { color: var(--emerald) !important; }
.bg-emerald-soft { background: var(--emerald-soft); }
.bg-navy { background: var(--navy) !important; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}
.topbar-left i, .topbar-right i { color: var(--emerald); }

/* ---------- Navbar ---------- */
.main-nav {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.main-nav .navbar-brand { padding: 0.25rem 0; }
.main-nav .nav-link {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.1px;
  margin: 0 0.6rem;
  padding: 0.5rem 0.15rem !important;
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--emerald);
}
.main-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}
.btn-nav-cta {
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  letter-spacing: 0.2px;
  transition: 0.25s ease;
  box-shadow: 0 6px 16px rgba(11,37,69,0.18);
}
.btn-nav-cta:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,157,88,0.28);
}

/* ---------- Buttons ---------- */
.btn-navy, .btn-outline-navy, .btn-emerald, .btn-outline-emerald {
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  letter-spacing: 0.2px;
  transition: 0.25s ease;
  border-width: 2px;
  border-style: solid;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(11,37,69,0.18);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(11,37,69,0.24); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.btn-emerald {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
  box-shadow: 0 10px 24px rgba(15,157,88,0.24);
}
.btn-emerald:hover { background: var(--emerald-dark); border-color: var(--emerald-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,157,88,0.3); }

.btn-outline-emerald {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline-emerald:hover { background: var(--emerald); color: #fff; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(15,157,88,0.16) 0%, transparent 45%),
              linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
  padding: 6.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(15,157,88,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  color: var(--emerald);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}
.hero h1 { color: #fff; font-size: 2.85rem; line-height: 1.18; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; font-weight: 400; }

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(15,157,88,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; font-size: 2.1rem; }
.page-hero p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 680px; font-size: 1.02rem; }

/* ---------- Section basics ---------- */
section { padding: 5rem 0; }
.section-eyebrow {
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  font-size: 0.8rem;
}
.section-title { font-size: 2.05rem; margin-bottom: 1rem; }
.section-sub { color: var(--ink-70); max-width: 760px; font-size: 1.02rem; }
.alt-bg { background: #f7f9fc; }

/* ---------- Cards ---------- */
.card-soft {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.85rem;
  height: 100%;
  transition: 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-sm);
}
.card-soft:hover {
  border-color: rgba(15,157,88,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.card-soft .icon-badge {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--emerald-soft);
  color: var(--emerald);
  border-radius: 10px;
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
}
.card-soft h5, .card-soft h6 { margin-bottom: 0.6rem; }

.pill-list { list-style: none; padding: 0; margin: 0; }
.pill-list li {
  display: inline-block;
  background: var(--emerald-soft);
  color: var(--navy);
  border: 1px solid rgba(15,157,88,0.22);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  margin: 0 0.4rem 0.6rem 0;
  font-size: 0.87rem;
  font-weight: 500;
  transition: 0.2s ease;
}
.pill-list li:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--ink-70);
}
.check-list li::before {
  content: "\F633";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: 0.1rem;
  color: var(--emerald);
  font-weight: 700;
}

.stat-block { text-align: center; }
.stat-block .stat-num {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy);
}
.stat-block .stat-num span { color: var(--emerald); }

/* ---------- Trust / value strip ---------- */
.value-strip {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.value-strip .value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0.5rem;
}
.value-strip .value-item i {
  font-size: 1.6rem;
  color: var(--emerald);
  flex-shrink: 0;
}
.value-strip .value-item span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.3;
}

/* ---------- Process steps ---------- */
.step-card {
  border-left: 3px solid var(--emerald);
  padding: 1.35rem 1.6rem;
  background: var(--white);
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--emerald);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

/* ---------- Case studies ---------- */
.case-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-card .case-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 1.6rem;
}
.case-card .case-header .case-num {
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
}
.case-card .case-body { padding: 1.6rem; }
.case-meta {
  font-size: 0.85rem;
  color: var(--ink-50);
  margin-bottom: 0.5rem;
}
.flow-badge {
  display: inline-block;
  background: var(--emerald-soft);
  color: var(--navy);
  border-radius: 6px;
  padding: 0.38rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.15rem 0.15rem 0.15rem 0;
}
.flow-arrow { color: var(--emerald); font-weight: 700; margin: 0 0.15rem; }

/* ---------- Timeline (Way of working) ---------- */
.way-item { text-align: center; padding: 1.5rem 1rem; }
.way-item .way-icon {
  width: 66px; height: 66px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 22px rgba(11,37,69,0.2);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--emerald-dark) 140%);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
}
.footer-logo { filter: brightness(0) invert(1); }
.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.footer-links li { margin-bottom: 0.65rem; font-size: 0.92rem; }
.footer-links a { color: rgba(255,255,255,0.68); }
.footer-links a:hover { color: var(--emerald); }
.footer-legal-link { color: rgba(255,255,255,0.55); }
.footer-legal-link:hover { color: var(--emerald); }
.text-light-70 { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.social-links a {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: 0.2s ease;
}
.social-links a:hover { background: var(--emerald); transform: translateY(-2px); }
.footer-bottom {
  background: #061527;
  color: rgba(255,255,255,0.52);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* ---------- Forms ---------- */
.contact-form .form-label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 0.2rem rgba(15,157,88,0.15);
}
.contact-info-card {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: 14px;
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}
.contact-info-card i { color: var(--emerald); }

/* ---------- Sticky sub-navigation (in-page anchors) ---------- */
.subnav {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  top: 78px; /* sits just below the main nav */
  z-index: 1015;
  box-shadow: var(--shadow-sm);
}
.subnav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0.65rem 0;
  overflow-x: auto;
}
.subnav-list li { flex: 0 0 auto; }
.subnav-list a {
  display: inline-block;
  color: var(--ink-70);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.subnav-list a:hover {
  background: var(--emerald-soft);
  color: var(--navy);
}

/* Offset anchored sections so the sticky nav + subnav don't cover the heading */
section[id] { scroll-margin-top: 130px; }

/* ---------- Accordion (service models) ---------- */
.service-accordion .accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.service-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 1.3rem 1.5rem;
  background: #fff;
}
.service-accordion .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: var(--emerald-soft);
  box-shadow: none;
}
.service-accordion .accordion-button:focus { box-shadow: none; }
.service-accordion .accordion-button::after { filter: none; }
.service-accordion .accordion-num {
  display: inline-block;
  color: var(--emerald);
  font-weight: 800;
  margin-right: 0.5rem;
}
.service-accordion .accordion-body {
  padding: 0 1.5rem 1.6rem;
}

/* ---------- Utility ---------- */
.divider-emerald {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
  border-radius: 2px;
  margin-bottom: 1.3rem;
}
.badge-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.42rem 0.85rem;
  border-radius: 6px;
}

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  z-index: 1050;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}
.cookie-notice a { text-decoration: underline; }

/* ---------- Scrollbar polish ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f4f8; }
::-webkit-scrollbar-thumb { background: #c3cede; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-mid); }

@media (max-width: 991.98px) {
  .hero { padding: 3.5rem 0; text-align: center; }
  .hero h1 { font-size: 2rem; }
  section { padding: 3rem 0; }
  .subnav { top: 0; position: static; }
  section[id] { scroll-margin-top: 20px; }
}
