:root {
  --brand: #3a57f6;
  --brand-2: #3bb2ff;
}

/* ===== Typography ===== */
html,
body {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: #0f172a;
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", "Poppins", sans-serif;
}

img {
  max-width: 100%;
}

.display-gradient,
.hero h1 {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
  background-size: 200% 100%;
  animation: headingShift 7s ease-in-out infinite alternate;
}

@keyframes headingShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* ===== Rounded Navbar Shell ===== */
.nav-wrap {
  max-width: 1220px;
  margin: 22px auto 0;
  padding: 8px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 26px 50px rgba(17, 34, 68, 0.12),
    0 4px 10px rgba(17, 34, 68, 0.06);
  position: sticky;
  top: 18px;
  z-index: 1030;
}

/* ===== Hero with image + subtle animated orb ===== */
.hero {
  background: url(../images/hero-bg.png);
  background-repeat: no-repeat;
  background-position: calc(90% + var(--bgx, 0px)) calc(100% + var(--bgy, 0px));
  background-size: 115% auto;
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

/* soft white wash */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(247, 249, 252, 0.92) 65%,
    rgba(247, 249, 252, 1) 100%
  );
  z-index: -1;
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }

  100% {
    transform: translate(-40px, 20px) scale(1.05);
    opacity: 0.85;
  }
}

/* ===== Buttons (animated) ===== */
.btn-pill {
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
}

.btn-animate {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-position 0.6s ease, color 0.2s ease, border-color 0.2s ease;
  will-change: transform, box-shadow, background-position;
}

.btn-animate::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.btn-animate:hover::before {
  animation: btnShine 0.9s ease;
}

@keyframes btnShine {
  from {
    left: -150%;
  }

  to {
    left: 150%;
  }
}

.btn-animate:hover {
  transform: translateY(-3px);
}

.btn-animate:active {
  transform: translateY(-1px);
}

.btn-gradient {
  border: 0;
  color: #fff;
  background: linear-gradient(
    90deg,
    var(--brand),
    var(--brand-2),
    var(--brand)
  );
  background-size: 200% 100%;
  box-shadow: 0 10px 24px rgba(58, 87, 246, 0.28);
}

.btn-gradient:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 34px rgba(58, 87, 246, 0.36);
  color: #ffffff;
}

.btn-gradient:active {
  box-shadow: 0 10px 20px rgba(58, 87, 246, 0.28);
}

.btn-ghost {
  background: #fff;
  color: #111827;
  border: 2px solid rgba(2, 6, 23, 0.12);
  box-shadow: 0 6px 16px rgba(17, 34, 68, 0.06);
}

.btn-ghost:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(58, 87, 246, 0.25);
}

.btn-ghost:active {
  box-shadow: 0 8px 18px rgba(58, 87, 246, 0.18);
}

/* ===== Floating avatars (left) ===== */
.floating-avatars {
  position: absolute;
  left: 2.4rem;
  top: 9.6rem;
  display: flex;
  gap: 12px;
  align-items: end;
}

.avatar {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 14px 34px rgba(18, 38, 63, 0.2);
}

.avatar-sm {
  width: 82px;
  height: 82px;
  margin-left: -42px;
}

/* users counter chip */
.users-chip {
  position: absolute;
  left: 2.2rem;
  bottom: 2rem;
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  box-shadow: 0 14px 30px rgba(18, 38, 63, 0.14);
}

.users-chip img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -8px;
}

.users-chip span {
  font-size: 0.98rem;
  color: #667085;
}

/* ===== Right stat cards ===== */
.stats-wrap {
  position: relative;
  min-height: 360px;
}

/* Float wrapper animates vertically, inner uses parallax transform */
.float-y {
  animation: floatY 6.5s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.stat-card {
  width: min(92vw, 360px);
  background: #fff;
  border: 1px solid rgba(2, 6, 23, 0.06);
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 30px 60px rgba(18, 38, 63, 0.18);
  transition: transform 0.08s linear;
  /* for parallax */
}

.stat-card h2 {
  font-size: 3.35rem;
  font-weight: 800;
  margin: 0;
  font-family: "DM Sans", "Poppins", sans-serif;
}

.stat-note {
  color: #667085;
  font-size: 0.98rem;
}

.mini-card {
  width: 210px;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, 0.06);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 22px 44px rgba(18, 38, 63, 0.2);
  transition: transform 0.08s linear;
  /* parallax */
}

.mini-card h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0;
  font-family: "DM Sans", "Poppins", sans-serif;
}

.mini-card small {
  color: #667085;
}

.progress {
  height: 8px;
  background: #eef1f5;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  border-radius: 999px;
}

/* ===== Reveal-on-load ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(14px);
}

.reveal-up.is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.18s;
}

.delay-3 {
  transition-delay: 0.28s;
}

/* ===== Layout Tweaks ===== */
.mini-card-wrap {
  position: absolute;
  right: 200px;
  bottom: -24px;
}

.stat-card-wrap {
  position: absolute;
  right: 0;
  top: 0;
}

.parallax-item {
  will-change: transform;
}

/* for pointer parallax */

@media (max-width: 991.98px) {
  .floating-avatars {
    display: none;
  }

  .users-chip {
    left: 1rem;
    bottom: 1rem;
  }

  .mini-card-wrap {
    right: auto;
    left: 0;
    bottom: -18px;
  }
}

/* ===== Accessibility: respect reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .display-gradient {
    animation: none;
  }

  .float-y,
  .hero-orb {
    animation: none;
  }

  .btn-animate,
  .stat-card,
  .mini-card {
    transition: none;
  }

  .hero {
    perspective: none;
  }
}

/* Section background like your mock */
.services-section {
  background: #f6f7f9;
}

/* Title (DM Sans already loaded) */
.services-title {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Card: color-morph hover (everything inverts) ---------- */
.service-card {
  --accent: #3a57f6;
  --accent2: #3bb2ff;
  --fg: #0f172a; /* heading color */
  --muted: #6b7280; /* paragraph color */
  --btn-fg: #0f172a;
  --btn-bg: #fff;
  --btn-border: rgba(2, 6, 23, 0.15);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 32px 28px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 16px 36px rgba(17, 34, 68, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s,
    border-color 0.25s;
  overflow: hidden;
}

/* gradient overlay that fades in on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0;
  border-radius: inherit;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.6s ease;
  z-index: 0;
}

.service-cards::before {
  background: none;
  position: static;
}

/* content sits above overlay */
.service-title,
.service-copy,
.status-dot,
.btn-arrow {
  position: relative;
  z-index: 1;
}

/* default colors */
.service-title {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.1;
  margin-top: 10px;
  color: var(--fg);
}
.service-copy {
  color: var(--muted);
  margin: 6px 0 22px;
}

/* dot */
.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 25%, transparent);
  }
  50% {
    box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 35%, transparent);
  }
}

/* CTA pill */
.btn-arrow {
  margin-top: auto;
  width: 64px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  box-shadow: 0 6px 16px rgba(17, 34, 68, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, color 0.25s, background 0.25s,
    border-color 0.25s;
}
.icon-arrow {
  transition: transform 0.25s;
}
.btn-arrow:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 34, 68, 0.16);
}
.btn-arrow:hover .icon-arrow {
  transform: translateX(4px);
}

/* Hover state: background gradient fades in and all colors invert */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(17, 34, 68, 0.18);
  border-color: transparent;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.9);
  --btn-fg: #ffffff;
  --btn-bg: rgba(255, 255, 255, 0.18);
  --btn-border: rgba(255, 255, 255, 0.55);
}
.service-card:hover::before {
  opacity: 1;
  transform: scale(1);
}
.service-card:hover .status-dot {
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25);
}

/* Themed (easy to add more colors later) */
.theme-blue {
  --accent: #3a57f6;
  --accent2: #3bb2ff;
}

/* Reveal-on-scroll helpers (works with your existing IO script) */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* Spacing helpers */
.py-6 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.py-7 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 992px) {
  .py-lg-7 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .btn-arrow,
  .icon-arrow {
    transition: none;
  }
  .service-card::before,
  .status-dot {
    animation: none;
  }
}

/* ---------- CTA Banner ---------- */
.cta-section {
  background: #fff;
}

.cta-banner {
  position: relative;
  border-radius: 28px;
  padding: clamp(2.2rem, 3vw, 3rem) clamp(1.25rem, 3vw, 2rem)
    clamp(2.6rem, 4vw, 3.25rem);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(17, 34, 68, 0.15);
  background: linear-gradient(180deg, #3561f2 0%, #2457ef 100%);
  /* subtle moving grid overlay */
  --gsize: 120px;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px var(--gsize)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 0 1px,
      transparent 1px var(--gsize)
    );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  animation: gridPan 26s linear infinite;
}
@keyframes gridPan {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: var(--gsize) var(--gsize), var(--gsize) var(--gsize);
  }
}

/* headline */
.cta-title {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
  line-height: 1.15;
}

/* floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0.12) 60%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(2px);
  animation: orbFloat 14s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(18px, -14px, 0) scale(1.05);
    opacity: 0.85;
  }
}
.orb-lg {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 18%;
}
.orb-md {
  width: 260px;
  height: 260px;
  right: -60px;
  bottom: 10%;
}
.orb-sm {
  width: 140px;
  height: 140px;
  left: 52%;
  top: 22%;
}

/* CTA pill */
.cta-btn {
  --ring: #a9c3ff;
  --txt: #0f172a;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border-radius: 999px;
  color: var(--txt);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 17, 21, 0.25),
    0 0 0 2px rgba(255, 255, 255, 0.8) inset;
}
.cta-btn::before {
  /* outer blue ring */
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand) 75%, #fff),
    color-mix(in srgb, var(--brand-2) 75%, #fff)
  );
  opacity: 0.85;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) inset;
}
.cta-label {
  font-size: 1rem;
  white-space: nowrap;
}
.cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(58, 87, 246, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.cta-btn:hover .cta-icon {
  transform: translateX(4px);
  box-shadow: 0 14px 30px rgba(58, 87, 246, 0.55);
  filter: saturate(1.1);
}
.cta-btn:hover {
  transform: translateY(-3px);
}

/* magnetic hover (JS sets CSS vars) */
.btn-magnetic {
  transition: transform 0.12s ease;
  will-change: transform;
}
.btn-magnetic .cta-icon {
  transition: transform 0.12s ease, box-shadow 0.25s ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-banner::after,
  .orb {
    animation: none;
  }
  .cta-btn,
  .cta-icon {
    transition: none;
  }
}

/* ---------- CTA Banner with animations ---------- */
:root {
  --cta-blue-1: #2f5cf2; /* top */
  --cta-blue-2: #2a58ee; /* bottom */
  --cta-grid: #ffffff; /* grid lines */
  --orb-core: #ffffff;
}

.cta-section {
  padding: 28px 0 40px;
  background: #fff;
}

.cta-banner {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 56px 24px 70px;
  background: linear-gradient(180deg, var(--cta-blue-1), var(--cta-blue-2));
  box-shadow: 0 18px 40px rgba(17, 34, 68, 0.18);
  isolation: isolate;
  transition: all 0.4s ease-in-out;
}

/* Grid background */
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  --cell: 132px; /* grid cell size tuned to mock */
  background: repeating-linear-gradient(
      0deg,
      color-mix(in srgb, var(--cta-grid) 18%, transparent) 0 1px,
      transparent 1px var(--cell)
    ),
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--cta-grid) 18%, transparent) 0 1px,
      transparent 1px var(--cell)
    );
  animation: gridPan 20s linear infinite;
}
@keyframes gridPan {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: var(--cell) var(--cell), var(--cell) var(--cell);
  }
}

/* Hover effect on CTA - subtle zoom and shadow */
.cta-banner:hover {
  transform: scale(1.03);
  box-shadow: 0 28px 60px rgba(17, 34, 68, 0.24);
}

/* Floating animated circles */
.orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: pulse 4s ease-in-out infinite, move 12s linear infinite;
  opacity: 0.6;
  z-index: 1;
  filter: blur(0px);
}

/* Pulsating expand and contract effect */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.9;
  }
}

/* Random movement animation */
@keyframes move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(calc(20vw - 50%), calc(20vh - 50%));
  }
}

/* Circle Sizes */
.orb-sm {
  width: 60px;
  height: 60px;
  top: 10%;
  left: 5%;
  animation-duration: 8s; /* Slow movement */
}

.orb-md {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 15%;
  animation-duration: 10s; /* Medium movement */
}

.orb-lg {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 50%;
  animation-duration: 12s; /* Fast movement */
}

/* Animation timing */
@keyframes move {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(calc(20vw - 50%), calc(20vh - 50%));
  }
}

.orb-left {
  width: 420px;
  height: 420px;
  left: -80px;
  top: 38px;
}
.orb-right {
  width: 340px;
  height: 340px;
  right: -32px;
  top: 78px;
}
.orb-top {
  width: 120px;
  height: 120px;
  left: 55%;
  top: 88px;
}

/* TITLE */
.cta-title {
  position: relative;
  z-index: 2;
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); /* scales like mock */
  margin: 0 0 24px;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Button */
.cta-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-decoration: none;
}
.cta-btn__inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 26px rgba(0, 0, 0, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -6px 18px rgba(57, 114, 255, 0.25) inset;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

/* Outer ring with hover animation */
.cta-btn__inner::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(90deg, #6aa4ff, #9cc2ff);
  box-shadow: 0 8px 20px rgba(23, 69, 206, 0.35);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.cta-btn__inner:hover::before {
  box-shadow: 0 14px 32px rgba(23, 69, 206, 0.45);
  background: linear-gradient(90deg, #6c92ff, #78a6ff);
}

/* CTA icon transition on hover */
.cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3a57f6, #3bb2ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(58, 87, 246, 0.45);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.cta-btn__inner:hover .cta-icon {
  transform: translateX(4px);
  box-shadow: 0 14px 30px rgba(58, 87, 246, 0.55);
}

/* Magnetic hover effect */
.btn-magnetic {
  transition: transform 0.12s ease;
  will-change: transform;
}
.btn-magnetic .cta-icon {
  transition: transform 0.12s ease, box-shadow 0.25s ease;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .cta-banner {
    padding: 44px 18px 56px;
  }
  .cta-btn__inner {
    height: 56px;
  }
  .cta-icon {
    width: 42px;
    height: 42px;
  }
}

/* ---------- Company Management Section ---------- */
.company-section {
  background: #fafafa;
}

.company-title {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
  margin-bottom: 1.5rem;
}

.investment-chart .progress {
  height: 10px;
  border-radius: 999px;
}

.investment-chart .progress-bar {
  height: 10px;
  border-radius: 999px;
}

.service-icons {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.service-icons li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: #f3f4f6;
  border-radius: 50%;
  margin-right: 15px;
}

.icon-circle i {
  font-size: 1.3rem;
  color: #3a57f6; /* Adjust color if needed */
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 991.98px) {
  .company-section .row {
    flex-direction: column;
  }
}

/* ---------- Our Journey Section ---------- */
.journey-section {
  background: #f9f9f9;
}

.journey-title {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.efficiency-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circle-background {
  opacity: 0.2;
}

.circle-progress {
  transition: stroke-dashoffset 2s ease;
}

.efficiency-text h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3a57f6;
  margin: 15px 0;
}

.efficiency-text .score {
  font-size: 2rem;
  font-weight: 800;
  color: #3a57f6;
}

.efficiency-text p {
  font-size: 0.9rem;
  color: #6b7280;
}

.btn-primary {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 50px;
  background-color: #3a57f6;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #2a47d5;
}

/* Reveal-on-scroll effect */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-up.is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

/* Responsiveness */
@media (max-width: 768px) {
  .journey-section .row {
    text-align: center;
  }
  .efficiency-ring {
    margin-top: 20px;
  }
  .btn-primary {
    width: 100%;
    margin-top: 20px;
  }
}

:root {
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.18);
  --brand-1: #335cff;
  --brand-2: #2747d8;
  --brand-3: #2540c7;
}

/* ================= Value Section ================= */
.value-wrap {
  background: radial-gradient(
      1200px 600px at 20% -10%,
      #5a7cff 0%,
      rgba(90, 124, 255, 0.35) 35%,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      var(--brand-1) 0%,
      var(--brand-2) 50%,
      var(--brand-3) 100%
    );
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1);
  }

  50% {
    filter: hue-rotate(-8deg) saturate(1.15);
  }
}

.value-title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
}

.glass-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.glass-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.glass-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 45%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.glass-item:hover::after {
  transform: translateX(100%);
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  flex: 0 0 3rem;
  font-size: 1.25rem;
}

.arrow-btn {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-2);
  border: 0;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.glass-item:hover .arrow-btn {
  transform: translateX(3px) rotate(-20deg);
}

/* ================= How We Work Section ================= */
.how-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.how-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.how-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
}

.how-card:hover::before {
  animation: sheen 1s forwards;
}

@keyframes sheen {
  100% {
    left: 125%;
  }
}

.step-num {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--brand-1);
}

.how-title {
  font-weight: 800;
  line-height: 1.05;
  position: relative;
  display: inline-block;
}

.how-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 6px;
  background: var(--brand-1);
  transition: width 0.6s ease;
}

.how-title.in-view::after {
  width: 100%;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.show {
  opacity: 1;
  transform: none;
  animation: floatUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

[data-delay] {
  animation-delay: var(--delay);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* How We Work — enhanced animation pack */
.howx-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform;
}

.howx-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.12);
}

.badge-step {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-2);
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.badge-step::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--brand-1),
    #8aa2ff,
    var(--brand-2),
    var(--brand-1)
  );
  transform: rotate(0);
  animation: spin 8s linear infinite;
  opacity: 0.35;
}

.badge-step span {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.steps-connector {
  position: relative;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0 1.25rem;
}

.steps-connector .fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-1), #8aa2ff, var(--brand-2));
  animation: none;
}

.steps-connector.show .fill {
  animation: fillLine 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fillLine {
  to {
    transform: scaleX(1);
  }
}

.how-dots {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(
      circle at 20% 40%,
      rgba(51, 92, 255, 0.12),
      transparent 40%
    ),
    radial-gradient(circle at 70% 30%, rgba(39, 71, 216, 0.08), transparent 45%);
  filter: blur(12px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-18px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(18px);
}

.reveal-left.show,
.reveal-right.show {
  opacity: 1;
  transform: none;
  animation: floatUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .steps-connector .fill,
  .badge-step::after {
    animation: none !important;
  }
}

/* Testimonials Grid */
.tcard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.tcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.t-name {
  font-weight: 700;
}

.t-role {
  color: var(--bs-secondary-color);
  font-size: 0.925rem;
}

.t-stars i {
  font-size: 1rem;
}

/* Blog / Insights */
.blog-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}
.blog-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-media img {
  transform: scale(1.05);
}
.blog-meta {
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
}
.blog-media {
  overflow: hidden;
}

/* Final CTA Banner (dark) */
.cta-dark {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
      120% 220% at 65% -40%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      80% 120% at 85% 0%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0b0f14, #090c11 60%, #090b0f);
}
.cta-dark h2 {
  letter-spacing: 0.2px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.35rem;
  background: rgba(160, 168, 185, 0.55);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease;
}
.cta-pill:hover {
  transform: translateY(-2px);
}
.cta-pill .inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  color: #111;
  border-radius: 9999px;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  font-weight: 600;
}
.cta-pill .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-1);
  color: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease;
}
.cta-pill:hover .dot {
  transform: translateX(1px);
}

/* Footer (dark) */
:root {
  --footer-bg: #f8f9fa; /* light */
}

.footer {
  background: var(--footer-bg);
}

.footer .brand-tagline {
  line-height: 1.6;
  max-width: 35ch;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.footer .list-unstyled li + li {
  margin-top: 0.6rem;
}

.footer .section-title {
  font-weight: 700;
}

.footer .contact i {
  font-size: 1.1rem;
}

/* Fine-tune spacing on small screens */
@media (max-width: 575.98px) {
  .footer .brand-tagline {
    max-width: none;
  }
}

/* smooth anchor/scrollTo */
.to-top-btn {
  --size: 52px;
  --ring: rgb(53 83 239);
  --grad: linear-gradient(135deg, #3654f0, #617bff);
  background: var(--brand);
  background-clip: content-box, border-box;

  /* progress ring */
  background-image: conic-gradient(
      #ffffff00 0 var(--p, 0deg),
      var(--ring) var(--p, 0deg) 360deg
    ),
    var(--grad);
  background-origin: border-box;
  border: 0;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: grid;
  height: var(--size);
  opacity: 0;
  padding: 3px; /* ring thickness */
  place-items: center;
  position: fixed;
  right: 22px;

  /* slide-in/out */
  transform: translateY(18px);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.2s ease;
  visibility: hidden;
  width: var(--size);
  z-index: 1040;
}
.to-top-btn i {
  font-size: 1.1rem;
}
.to-top-btn:hover {
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.to-top-btn.show {
  animation: bump 0.28s ease-out 1;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
@keyframes bump {
  0% {
    transform: translateY(10px) scale(0.96);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .to-top-btn {
    animation: none;
    transition: none;
  }
}

.feature-box {
  transition: all 0.3s ease;
  background-color: #fff;
}

.feature-box:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}
