@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --ps-primary:    #0e6dba;
  --ps-secondary:  #66b041;
  --ps-dark:       #0a376c;
  --ps-light:      #fdfdfd;
  --ps-body-bg:    #ffffff;
  --ps-text:       #919599;
  --ps-radius:     16px;
  --ps-shadow:     0 10px 30px rgba(14, 109, 186, 0.1);

  /* Layout rhythm */
  --nav-h:         98px;
  --section-y:     80px;
  --section-y-sm:  48px;
}

/* ─── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--ps-body-bg);
  color: var(--ps-text);
  line-height: 1.7;
  margin: 0;
  padding-top: var(--nav-h);     
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--ps-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.lead-xl {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #555;
  line-height: 1.75;
}

.muted { color: #666; font-size: 0.97rem; line-height: 1.7; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ps-secondary);
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Progress Line ──────────────────────────────────────── */
.progress-line {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ps-primary), var(--ps-secondary));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.site-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 0 !important;
  height: var(--nav-h);
  z-index: 1050;
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.navbar-brand img {
  height: 78px;
  width: auto;
}

.navbar-brand span {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ps-dark);
}

.site-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ps-dark);
  padding: 6px 4px !important;
  position: relative;
  transition: color 0.25s ease;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--ps-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--ps-primary);
}

.site-nav .nav-link:hover::after { width: 100%; }

/* ─── Mega Menu ──────────────────────────────────────────── */
.mega-menu {
  width: min(860px, 96vw);
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: var(--ps-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  margin-top: 8px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 24px 20px 16px;
}

.mega-sector {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  border-right: 1px solid #f0f0f0;
}

.mega-sector:last-child { border-right: none; }

.mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ps-dark) !important;
  text-decoration: none;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(14, 109, 186, 0.1);
}

.mega-sector a:not(.mega-title) {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ps-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mega-sector a:not(.mega-title):hover {
  color: var(--ps-primary);
  padding-left: 4px;
}

.mega-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-primary) !important;
  text-decoration: none;
  padding: 12px 24px;
  border-top: 1px solid #f0f0f0;
  transition: gap 0.2s ease;
}

.mega-all:hover { gap: 10px; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-gradient {
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 15px rgba(102, 176, 65, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(102, 176, 65, 0.4);
  color: #fff;
}

.btn-soft {
  background: rgba(14, 109, 186, 0.08);
  color: var(--ps-primary);
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.btn-soft:hover {
  background: rgba(14, 109, 186, 0.16);
  color: var(--ps-primary);
}

.btn-light {
  background: #fff;
  color: var(--ps-dark);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero,
.page-hero {
  padding: 38px 0 64px;
  background: linear-gradient(160deg, #eef5fc 0%, #f7fdf3 50%, #ffffff 100%);
}

/* ─── Logo Strip ─────────────────────────────────────────── */
.logo-strip {
  background: #f7f9fb;
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
}

.logo-word {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ps-text);
  white-space: nowrap;
}

/* ─── Sections ───────────────────────────────────────────── */
.section    { padding: var(--section-y) 0; }
.section-sm { padding: var(--section-y-sm) 0; }
.bg-light   { background: #f7f9fb !important; }

/* ─── Bento Grid ─────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento .wide { grid-column: span 2; }

@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .bento .wide { grid-column: span 1; }
}

.bento-card,
.metric-card,
.card-lift {
  background: #ffffff;
  border-radius: var(--ps-radius);
  padding: 32px;
  box-shadow: var(--ps-shadow);
  border: 1.5px solid #66b041 ; /* always visible */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover,
.card-lift:hover {
  transform: translateY(-8px);                            /* card lifts up */
  box-shadow: 0 24px 50px rgba(14, 109, 186, 0.18);      /* shadow deepens */
}

.metric-card {
  padding: 16px 20px;
  border: 1.5px solid rgba(14, 109, 186, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--ps-secondary);
}

.metric-card small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ps-secondary);
  margin-bottom: 4px;
}

.metric-card strong {
  font-size: 0.95rem;
  color: var(--ps-dark);
}

/* ─── Icon Pill ──────────────────────────────────────────── */
.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(102, 176, 65, 0.1);
  color: var(--ps-secondary);
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ─── Dashboard Shell / Glass Panel ─────────────────────── */
.dashboard-shell {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 32px;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14, 109, 186, 0.12);
  box-shadow: 0 20px 60px rgba(14, 109, 186, 0.1);
  padding: 24px;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ps-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(14, 109, 186, 0.08);
}

.dash-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ps-secondary);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

/* ─── CTA Band ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-primary) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
}

.cta-band h2  { color: #fff; }
.cta-band p   { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 1.05rem; }

/* ─── Visual Band ────────────────────────────────────────── */
.visual-band {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7fc 0%, #f5fbf0 100%);
  text-align: center;
}

.visual-copy { padding: 0 24px; }

.visual-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 720px;
  margin: 12px auto 0;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--ps-light);
  padding: 72px 0 32px;
  border-top: 1px solid #e9ecef;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand img { height: 75px; width: auto; }

.footer-brand span {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ps-dark);
}

.footer p {
  font-size: 0.92rem;
  color: var(--ps-text);
  max-width: 340px;
  margin-top: 4px;
}

.footer h6 {
  color: var(--ps-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer a {
  color: var(--ps-text);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer a:hover { color: var(--ps-primary); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
  font-size: 0.82rem;
  color: #aaa;
  text-align: center;
}

/* ─── Premium Solution Cards ─────────────────────────────── */
.solution-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid rgba(14, 109, 186, 0.1);
  box-shadow: 0 15px 35px rgba(14, 109, 186, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(102, 176, 65, 0.15);
  border-color: rgba(102, 176, 65, 0.3);
}

.sc-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(14, 109, 186, 0.1), rgba(102, 176, 65, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--ps-primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.solution-card-premium:hover .sc-icon-wrapper {
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.sc-title  { font-weight: 800; color: var(--ps-dark); margin-bottom: 15px; }
.sc-desc   { color: #555; font-size: 1.05rem; line-height: 1.6; }

.sc-footer {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--ps-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.sc-arrow { font-size: 1.2rem; transition: transform 0.3s ease; }
.solution-card-premium:hover .sc-arrow { transform: translateX(10px); }

/* ─── Feature Cards Premium ──────────────────────────────── */
.feature-card-premium {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  border: 1px solid rgba(14, 109, 186, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--ps-primary), var(--ps-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14, 109, 186, 0.08);
}

.feature-card-premium:hover::before { opacity: 1; }

.fc-icon {
  width: 40px;
  height: 40px;
  background: rgba(14, 109, 186, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ps-primary);
  margin-bottom: 15px;
}

.fc-title { font-size: 1.1rem; font-weight: 800; color: var(--ps-dark); margin-bottom: 8px; }
.fc-desc  { color: #666; font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* ─── Product Hero Image ─────────────────────────────────── */
.product-hero-img {
  max-width: 100%;
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
  border: 4px solid #fff;
}

/* ─── Reveal Animations ──────────────────────────────────── */
/*
  Content is fully visible by default so the page never shows blank.
  CSS-only entrance animation runs automatically via @keyframes.
  If site.js is present it can additionally add/remove .visible for
  scroll-triggered re-plays — but visibility never depends on JS.
*/
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.6s ease both;
}

/* Stagger children inside the hero for a natural cascade */
.hero .reveal:nth-child(1) { animation-delay: 0.05s; }
.hero .reveal:nth-child(2) { animation-delay: 0.2s;  }
.bento .reveal:nth-child(1) { animation-delay: 0.1s; }
.bento .reveal:nth-child(2) { animation-delay: 0.2s; }
.bento .reveal:nth-child(3) { animation-delay: 0.3s; }
.bento .reveal:nth-child(4) { animation-delay: 0.4s; }

/* If site.js adds .visible, that's fine — just ensure it stays visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive Tweaks ──────────────────────────────────── */
@media (max-width: 991px) {
  :root {
    --section-y:    56px;
    --section-y-sm: 36px;
  }

  .hero, .page-hero { padding: 48px 0 40px; }
  .cta-band { padding: 40px 28px; }

  .mega-menu { width: 96vw; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-sector { border-right: none; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; }
  .mega-sector:last-child { border-bottom: none; }
}

@media (max-width: 575px) {
  .cta-band { padding: 32px 20px; text-align: center; }
  .mega-grid { grid-template-columns: 1fr; }
  .logo-strip .container { flex-direction: column; align-items: flex-start; gap: 12px !important; }
}

.lt-value-cards {
  background: #fff;
  border: 1.5px solid #fec320;  /* keep only this one */
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-value-cards:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.heading{
  color: var(--ps-dark);
}
/* ================================================================
   TAVIG — Shared Page Styles
   Include this in base.html (or each page) after your main CSS.
   All classes here are used across index, solutions, and sub-pages.
   ================================================================ */

/* ── Page Hero (all inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  padding: 64px 0 72px;
  background: linear-gradient(145deg, #e8f4fd 0%, #f3fbed 55%, #ffffff 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(102,176,65,0.18) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 6%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(14,109,186,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Eyebrow pill ─────────────────────────────────────────────── */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(102,176,65,0.12);
  color: #3a7218;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  border: 1px solid rgba(102,176,65,0.28);
  margin-bottom: 20px;
}
.eyebrow-pill i { font-size: 0.85rem; color: var(--ps-secondary); }

/* ── Hero stat pills ──────────────────────────────────────────── */
.hero-stats { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hstat {
  background: #fff;
  border: 1.5px solid rgba(14,109,186,0.14);
  border-radius: 14px;
  padding: 14px 22px;
  text-align: center;
  min-width: 110px;
  box-shadow: 0 4px 16px rgba(14,109,186,0.07);
}
.hstat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-top: 2px;
}

/* ── Hero panel (right column dashboard widget) ───────────────── */
.hero-panel {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(14,109,186,0.12);
  box-shadow: 0 20px 60px rgba(14,109,186,0.1);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(14,109,186,0.08);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ps-dark);
}
.panel-header .dots { display: flex; gap: 5px; }
.panel-header .dots span { width: 10px; height: 10px; border-radius: 50%; }
.panel-header .dots span:nth-child(1) { background: #f87171; }
.panel-header .dots span:nth-child(2) { background: #fbbf24; }
.panel-header .dots span:nth-child(3) { background: #34d399; }

.panel-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(14,109,186,0.06);
  transition: background 0.2s ease;
}
.panel-row:last-child { border-bottom: none; }
.panel-row:hover { background: rgba(102,176,65,0.04); }

.panel-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(14,109,186,0.08), rgba(102,176,65,0.08));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--ps-primary);
}
.panel-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ps-secondary);
  margin-bottom: 2px;
}
.panel-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-dark);
  line-height: 1.35;
}

/* ── Logo / platform strip ────────────────────────────────────── */
.logo-strip {
  background: #f7f9fb;
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
  padding: 18px 0;
}
.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
}
.ls-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(14,109,186,0.12);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ps-dark);
  letter-spacing: 0.04em;
}
.ls-pill i { color: var(--ps-secondary); font-size: 0.9rem; }

/* ── Section header card (gradient dark banner) ───────────────── */
.section-header-card {
  background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-primary) 100%);
  border-radius: 20px;
  padding: 40px 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.section-header-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(102,176,65,0.15);
  border-radius: 50%;
}
.section-header-card h2 { color: #fff; font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; margin-bottom: 10px; }
.section-header-card p  { color: rgba(255,255,255,0.78); font-size: 0.97rem; margin: 0; max-width: 520px; }

/* ── Bento grid ───────────────────────────────────────────────── */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.svc-bento .wide { grid-column: span 2; }

@media (max-width: 767px) {
  .svc-bento { grid-template-columns: 1fr; }
  .svc-bento .wide { grid-column: span 1; }
}

.svc-bento-card {
  background: #fff;
  border-radius: var(--ps-radius);
  padding: 32px 26px;
  border: 1.5px solid rgba(14,109,186,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.svc-bento-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ps-primary), var(--ps-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.svc-bento-card:hover {
  transform: translateY(-7px);
  border-color: rgba(102,176,65,0.3);
  box-shadow: 0 20px 44px rgba(14,109,186,0.13);
}
.svc-bento-card:hover::after { transform: scaleX(1); }

.svc-icon-wrap {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(14,109,186,0.08), rgba(102,176,65,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--ps-primary);
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.svc-bento-card:hover .svc-icon-wrap {
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  color: #fff;
  transform: scale(1.08) rotate(4deg);
}
.svc-bento-card h3 { font-size: 1rem; font-weight: 800; color: var(--ps-dark); margin-bottom: 10px; }
.svc-bento-card p  { font-size: 0.88rem; color: #777; line-height: 1.7; margin: 0; }

/* Bento card footer link (used on solutions page) */
.svc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ps-primary);
  border-top: 1px solid rgba(14,109,186,0.08);
  padding-top: 16px;
  margin-top: 20px;
}
.svc-card-arrow { font-size: 1rem; transition: transform 0.3s ease; }
.svc-bento-card:hover .svc-card-arrow { transform: translateX(6px); }

/* ── card-lift (single content card) ─────────────────────────── */
.card-lift {
  background: #fff;
  border-radius: var(--ps-radius);
  border: 1.5px solid rgba(14,109,186,0.1);
  box-shadow: 0 10px 30px rgba(14,109,186,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card-lift::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ps-primary), var(--ps-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-5px);
  border-color: rgba(102,176,65,0.3);
  box-shadow: 0 20px 44px rgba(14,109,186,0.13);
}
.card-lift:hover::after { transform: scaleX(1); }

/* ── Impact grid ──────────────────────────────────────────────── */
.impact-section { padding: var(--section-y) 0; background: #f7f9fb; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.impact-card {
  background: #fff;
  border-radius: var(--ps-radius);
  padding: 28px 22px;
  border: 1.5px solid rgba(14,109,186,0.15);      /* visible border */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 16px 36px rgba(14,109,186,0.1);
}
.impact-card i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--ps-dark); margin-bottom: 6px; }
.impact-card p  { font-size: 0.8rem; color: #888; margin: 0; line-height: 1.55; }

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--ps-dark) 0%, var(--ps-primary) 100%);
  border-radius: 24px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 240px; height: 240px;
  background: rgba(102,176,65,0.14);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -50px; left: 5%;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-light {
  background: #fff;
  color: var(--ps-dark);
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-band .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  color: var(--ps-dark);
}

/* White button variant (used inside index-cta / sol-cta) */
.btn-cta-white {
  background: #fff;
  color: var(--ps-dark);
  border: none;
  border-radius: 30px;
  padding: 13px 32px;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  color: var(--ps-dark);
}

/* ── Visual band ──────────────────────────────────────────────── */
.visual-band {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f7fc 0%, #f5fbf0 100%);
  text-align: center;
}
.visual-band .eyebrow { margin-bottom: 14px; }
.visual-band h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Entrance animations ──────────────────────────────────────── */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim    { animation: fadeUpIn 0.55s ease both; }
.anim-d1 { animation-delay: 0.05s; }
.anim-d2 { animation-delay: 0.18s; }
.anim-d3 { animation-delay: 0.30s; }
.anim-d4 { animation-delay: 0.42s; }
.anim-d5 { animation-delay: 0.54s; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .page-hero  { padding: 48px 0 56px; }
  .hero-panel { margin-top: 40px; }
  .cta-band   { padding: 36px 24px; }
}
@media (max-width: 767px) {
  .hstat { min-width: 90px; }
}