/* ============================================================
   Procuris — Global Stylesheet
   Palette: Navy #1B263B / Blue #3A86FF / Blue Dark #2D68CC / Tint #EAF1FF
   Type: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
  --navy: #1B263B;
  --navy-soft: #26344d;
  --blue: #3A86FF;
  --blue-dark: #2D68CC;
  --tint: #EAF1FF;
  --tint-2: #F7FAFF;
  --gray: #5B6472;
  --gray-light: #8A94A3;
  --line: #E3E8F0;
  --white: #FFFFFF;
  --green: #1E7B45;
  --amber: #B45309;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 18px rgba(27, 38, 59, 0.07);
  --shadow-lg: 0 12px 40px rgba(27, 38, 59, 0.12);
  --container: 1180px;
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; color: var(--navy); }
.lede { font-size: 1.15rem; color: var(--gray); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.bg-tint { background: var(--tint-2); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }
.bg-navy .lede { color: #C6D4E8; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.bg-navy .eyebrow { background: rgba(58,134,255,.18); color: #9FC1FF; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none !important;
  line-height: 1;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); }
.bg-navy .btn-outline { color: var(--white); border-color: rgba(255,255,255,.35); }
.bg-navy .btn-outline:hover { border-color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--navy); font-weight: 600; font-size: .95rem;
  text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); border-bottom-color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 70px;
  background: linear-gradient(180deg, var(--tint-2) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.hero-stat .num { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--blue-dark); }
.hero-stat .label { font-size: .82rem; color: var(--gray); }

.hero-panel {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: var(--white); font-size: 1.15rem; }
.hero-panel ul { margin: 0; padding: 0; list-style: none; }
.hero-panel li {
  display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .93rem; color: #DCE6F7;
}
.hero-panel li:first-of-type { border-top: none; }
.tick { color: var(--blue); flex-shrink: 0; font-weight: 700; }

.hero-services li { padding: 11px 0; align-items: flex-start; }
.hero-service-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(58,134,255,.18); color: #9FC1FF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-service-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.hero-services strong { display: block; color: var(--white); font-size: .92rem; margin-bottom: 2px; }
.hero-services span { font-size: .8rem; color: #C6D4E8; line-height: 1.4; }

/* ---------- Home Hero (animated execution-lens particle trails + pull-quote headline) [v4] ----------
   Visual metaphor for "Opportunity to Execution": comet-trail particles drift toward a
   single execution point and, near the cursor, snap onto crisp 45°-isometric vectors
   ("execution lens") — see #hero-particles logic in js/main.js. The execution point sits
   at the same 86%/42% spot as the radial glow below, so the CSS glow and the canvas-drawn
   trails read as one coherent "energy point" rather than two separate effects.
   Layering, back to front:
   1. background-color/-image on .home-hero itself — deep navy + glow at the execution point
   2. #hero-particles (canvas, z-index 0) — the particle-trail animation
   3. .home-hero .container (z-index 1) — actual content (headline, copy, CTAs)
   Intentionally a touch darker/richer than --navy (#1B263B) used elsewhere on the
   site — the hero is meant to feel more immersive/cinematic than flat section
   backgrounds; everything else on the site keeps using --navy as-is. */
.home-hero {
  position: relative;
  overflow: hidden;
  background-color: #0d1526;
  background-image:
    radial-gradient(at 86% 42%, rgba(58, 134, 255, .20) 0%, transparent 46%),
    linear-gradient(to bottom, rgba(13, 21, 38, .5) 0%, #0d1526 75%);
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
}
#hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero-content { max-width: 700px; }
.home-hero .eyebrow { background: rgba(58,134,255,.18); color: #9FC1FF; }
.home-hero h1 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: .35em 0 .5em;
}
.home-hero .lede { color: #C6D4E8; font-size: 1.1rem; max-width: 540px; margin-bottom: 0; }
.home-hero .cta-row { margin-top: 34px; }
.home-hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.35); }
.home-hero .btn-outline:hover { border-color: var(--white); }
@media (max-width: 720px) {
  .home-hero { padding: 120px 0 72px; min-height: 0; }
}
/* prefers-reduced-motion is handled inside js/main.js (a single static
   frame is drawn, no animation loop / no cursor tracking) rather than here,
   so reduced-motion visitors still see the particles, just motionless. */

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon-badge { margin-bottom: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--gray); margin-bottom: 1.1em; }
.card a.card-link { font-weight: 700; font-size: .9rem; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--tint); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; font-family: var(--font-serif);
}

/* Credibility strip */
.cred-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cred-item { text-align: center; padding: 18px 10px; }
.cred-item .icon-badge { margin: 0 auto 14px; }
.cred-item h4 { font-size: .98rem; margin-bottom: .35em; }
.cred-item p { font-size: .85rem; color: var(--gray); margin: 0; }

/* Stat banner */
.stat-banner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--navy); border-radius: var(--radius-lg); padding: 44px 36px; color: var(--white);
}
.stat-banner.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-banner .num { font-family: var(--font-serif); font-size: 2.3rem; font-weight: 700; color: var(--white); }
.stat-banner .label { font-size: .85rem; color: #B9C8E4; }

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--blue); padding: 6px 0 6px 26px; margin: 32px 0;
  font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; color: var(--navy);
}
.pull-quote cite { display: block; margin-top: 12px; font-family: var(--font-sans); font-style: normal; font-size: .85rem; color: var(--gray); font-weight: 600; }

/* ---------- Services page ---------- */
.service-jumpnav {
  position: sticky; top: 65px; z-index: 90; background: var(--white);
  border-bottom: 1px solid var(--line); padding: 14px 0; overflow-x: auto;
}
.service-jumpnav .container { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.service-jumpnav a {
  white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--navy);
  background: var(--tint-2); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px;
}
.service-jumpnav a:hover, .service-jumpnav a.active { background: var(--blue); color: var(--white); border-color: var(--blue); text-decoration: none; }

.service-block:nth-of-type(even) { background: var(--tint-2); }
.service-block { scroll-margin-top: 120px; border-bottom: 1px solid var(--line); }
.service-head { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
.service-num { font-family: var(--font-serif); font-size: 1rem; color: var(--gray-light); font-weight: 700; }

/* Sub-nav inside the merged Project Management Solutions block — lets a visitor
   jump between its three modules (Overview / Tender Management / Capability
   Building) without scrolling the whole (now much longer) section. Deliberately
   NOT sticky, unlike .service-jumpnav above it: two stacked sticky bars ate too
   much vertical space on mobile in testing. */
.pm-subnav { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 4px; }
.pm-subnav a {
  font-size: .82rem; font-weight: 600; color: var(--blue-dark);
  background: var(--tint); border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px;
  text-decoration: none;
}
.pm-subnav a:hover { background: var(--blue); color: var(--white); text-decoration: none; }

/* Each nested module (TMS, Capability Building) keeps its old anchor ID working
   at its new nested location, with its own scroll-margin so a direct link or
   the pm-subnav doesn't land the heading underneath the sticky header/jumpnav. */
.pm-module { scroll-margin-top: 130px; }
.pm-module + .pm-module { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .dot {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--tint);
  color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
}
.feature-list strong { display: block; color: var(--navy); margin-bottom: 2px; }
.feature-list span.desc { color: var(--gray); font-size: .93rem; }

.stat-cite {
  background: var(--tint); border-radius: var(--radius); padding: 20px 24px; font-size: .92rem;
  color: var(--navy-soft); margin: 24px 0;
}
.stat-cite strong { color: var(--blue-dark); }

.cta-block {
  background: var(--navy); border-radius: var(--radius-lg); padding: 42px; margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--white);
}
.cta-block h3 { color: var(--white); margin-bottom: .2em; }
.cta-block p { color: #C6D4E8; margin: 0; }

/* ---------- Timeline / framework (R.E.A.L / process) ---------- */
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { text-align: left; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step-card .step-letter {
  width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; margin-bottom: 14px;
}

/* ---------- Results / testimonials ---------- */
.placeholder-card {
  border: 1.5px dashed #C6D2E4; border-radius: var(--radius-lg); padding: 30px;
  background: var(--tint-2); text-align: left; height: 100%;
}
.placeholder-card .ph-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--amber); background: #FDF1DE; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px;
}
.placeholder-card .stars { color: #D8DEE9; font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.placeholder-card p { color: var(--gray-light); font-style: italic; }
.placeholder-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #DCE6F7; margin-right: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--blue-dark); font-weight: 700;
}
.placeholder-person { display: flex; align-items: center; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font-sans); font-size: .95rem; color: var(--navy); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,134,255,.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; display: none; padding: 12px 14px; border-radius: 8px; }
#form-status.success { display: block; background: #E7F5EC; color: var(--green); }
#form-status.error { display: block; background: #FBEAEA; color: #B3261E; }

.info-card { background: var(--tint-2); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: none; padding-top: 0; }
.info-row .icon-badge { width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; }
.info-row h4 { margin-bottom: 2px; font-size: .95rem; }
.info-row p { margin: 0; color: var(--gray); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9C8E4; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-grid img { height: 58px; margin-bottom: 16px; filter: brightness(0) invert(1); }
@media (max-width: 720px) {
  .footer-grid img { height: 48px; }
}
.footer-grid p { color: #93A5C4; font-size: .9rem; }
.site-footer h4 { color: var(--white); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #B9C8E4; font-size: .92rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #7F91B0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge-list span {
  font-size: .8rem; font-weight: 600; background: var(--tint); color: var(--blue-dark);
  padding: 6px 14px; border-radius: 999px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.narrow { max-width: 820px; margin: 0 auto; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; flex-shrink: 0;
  background: #25D366; color: #fff; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.whatsapp-float svg { width: 30px; height: 30px; display: block; flex-shrink: 0; }
@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
.nav-whatsapp {
  display: inline-flex; align-items: center; gap: 7px;
  color: #1E9E56; font-weight: 700; font-size: .88rem; border: 1.5px solid #BFEBD2;
  background: #F0FBF4; padding: 8px 14px; border-radius: 999px; text-decoration: none !important;
}
.nav-whatsapp:hover { background: #E1F7E9; }
.nav-whatsapp svg { width: 16px; height: 16px; fill: #25D366; }
@media (max-width: 720px) {
  /* Icon-only circle on mobile — the full text pill was crowding the compact
     header next to the logo and hamburger, and reads as oversized/clumsy at
     this width. Label stays in the DOM (aria-label + visually-hidden span)
     for accessibility. */
  .nav-whatsapp { width: 40px; height: 40px; padding: 0; justify-content: center; gap: 0; }
  .nav-whatsapp-label { display: none; }
}

/* ---------- Icon system (replaces plain-letter badges) ---------- */
.icon-badge svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.cred-item .icon-badge svg { width: 24px; height: 24px; }

/* ---------- Services dropdown nav ---------- */
.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 260px;
  opacity: 0; visibility: hidden; transition: all .15s ease; z-index: 50;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-panel a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  font-size: .88rem; font-weight: 600; color: var(--navy); border-bottom: none !important;
}
.dropdown-panel a:hover { background: var(--tint-2); color: var(--blue-dark); text-decoration: none; }
.dropdown-panel .dd-num {
  width: 22px; height: 22px; border-radius: 6px; background: var(--tint); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0;
}
@media (max-width: 720px) {
  .dropdown-panel { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: 4px 0 4px 14px; margin-top: 4px; min-width: 0; }
  .dropdown-panel a { padding: 9px 8px; font-weight: 500; }
}

/* ---------- Trusted-by logo strip ---------- */
.trusted-strip { padding: 36px 0; border-bottom: 1px solid var(--line); }
.trusted-label { text-align: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 22px; }
.trusted-logos { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trusted-logos img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(100%); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.trusted-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ---------- Testimonial cards (real content) ---------- */
.testimonial-card {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow);
  height: 100%; display: flex; flex-direction: column;
}
.testimonial-card .client-logo-wrap {
  height: 64px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.testimonial-card .client-logo {
  height: 64px; width: auto; max-width: 210px; object-fit: contain;
}
.testimonial-card .quote-mark {
  font-family: var(--font-serif); font-size: 2.8rem; line-height: 1; color: var(--blue);
  opacity: .55; margin-bottom: 6px; height: 28px;
}
.testimonial-card p.quote { color: var(--navy-soft); flex-grow: 1; font-size: .98rem; }
.testimonial-card p.quote.lang-hi { line-height: 1.9; }
.testimonial-person {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.testimonial-person strong { display: block; font-size: .96rem; }
.testimonial-person span { font-size: .82rem; color: var(--gray-light); }

/* ---------- Founder photo (About page) ---------- */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.founder-grid .founder-photo-col { position: sticky; top: 100px; }
.founder-grid .founder-photo img {
  width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block;
}
.founder-grid .founder-caption { margin-top: 16px; text-align: center; }
.founder-grid .founder-caption strong { display: block; font-size: 1rem; color: var(--navy); }
.founder-grid .founder-caption span { font-size: .85rem; color: var(--gray); }

/* ---------- Founder + credibility (Home trust section) ---------- */
.founder-trust-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 48px; align-items: center; }
.founder-trust-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: block;
}
.founder-trust-caption { text-align: center; margin-top: 14px; }
.founder-trust-caption strong { display: block; font-size: 1rem; color: var(--navy); }
.founder-trust-caption span { font-size: .85rem; color: var(--gray); }
.cred-strip.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 22px 26px; text-align: left; }
.cred-strip.cols-2 .cred-item { text-align: left; padding: 4px 0; }
.cred-strip.cols-2 .cred-item .icon-badge { margin: 0 0 12px; }

/* ---------- Real product-screenshot galleries ---------- */
.shot-gallery { display: grid; gap: 22px; margin: 32px 0; }
.shot-gallery figure { margin: 0; }
.shot-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.shot-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.shot-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #10151f;
}
.shot-frame .shot-bar { height: 26px; background: #171d29; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-frame .shot-bar span { width: 8px; height: 8px; border-radius: 50%; background: #333d51; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-caption { font-size: .85rem; color: var(--gray); text-align: center; margin-top: 12px; }

/* ---------- Training banner (Capability Building) ---------- */
.training-banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin: 28px 0; }
.training-banner img { width: 100%; height: auto; display: block; }

/* ---------- Tender lifecycle flow diagram ---------- */
.flow-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; margin: 32px 0; }
.flow-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; }
.flow-step .flow-icon { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--blue-dark); }
.flow-step .flow-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.flow-step h4 { font-size: .95rem; margin-bottom: 4px; }
.flow-step p { font-size: .82rem; color: var(--gray); margin: 0; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .flow-diagram { grid-template-columns: 1fr; gap: 10px; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-5, .grid-2, .stat-banner, .cred-strip, .step-row, .contact-grid, .two-col, .footer-grid, .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid .founder-photo-col { position: static; max-width: 340px; margin: 0 auto; }
  .founder-trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-trust-photo { max-width: 220px; margin: 0 auto; }
  .shot-gallery.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  /* position:absolute (not fixed) on purpose: .site-header uses backdrop-filter,
     which makes it the containing block for any position:fixed descendant in
     modern browsers — that was silently squashing this panel down to a ~35px
     sliver pinned to the header's own box instead of the full viewport below
     it (visible as a "transparent"/unreadable menu, worst on the dark home
     hero where the squashed panel let hero content show through). Anchoring
     to top:100% of the header (itself position:sticky, a valid containing
     block for absolute descendants) sizes correctly regardless of header
     height and isn't affected by the backdrop-filter quirk. */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: var(--white); max-height: calc(100vh - 70px); overflow-y: auto;
    box-shadow: 0 16px 28px rgba(27,38,59,.14);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 10px 24px 24px; border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .18s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats, .grid-3, .grid-5, .grid-2, .stat-banner, .cred-strip, .step-row, .contact-grid, .two-col, .footer-grid, .form-row-2 {
    grid-template-columns: 1fr;
  }
  .cta-block { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-block .btn { width: 100%; justify-content: center; }
  .cred-strip.cols-2 { grid-template-columns: 1fr; }
  .shot-gallery.cols-3, .shot-gallery.cols-2 { grid-template-columns: 1fr; }
}
