/* ================================================================
   BEACONBOLD – MAIN STYLESHEET
   style.css
================================================================ */

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

:root {
  /* Primary Palette */
  --navy:        #0F1C3F;
  --navy-deep:   #091226;
  --blue-royal:  #1D4ED8;
  --blue-mid:    #2563EB;
  --blue-light:  #3B82F6;
  --blue-elec:   #60A5FA;
  --cyan:        #06B6D4;
  --cyan-light:  #22D3EE;

  /* Neutral */
  --white:       #FFFFFF;
  --off-white:   #F8FAFF;
  --surface:     #F1F5FD;
  --border:      #E2E8F4;
  --border-soft: #EEF2FB;
  --text-dark:   #0F1C3F;
  --text-mid:    #334155;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #1D4ED8 0%, #06B6D4 100%);
  --grad-soft:     linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  --grad-dark:     linear-gradient(135deg, #0F1C3F 0%, #1e3a8a 60%, #0e7490 100%);

  /* Typography */
  --font-main:   'Inter', 'Manrope', system-ui, sans-serif;
  --font-display:'Manrope', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py:  100px;
  --container:   1200px;
  --header-h:    72px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(30,64,175,.07);
  --shadow-md:   0 8px 24px rgba(30,64,175,.10);
  --shadow-lg:   0 20px 60px rgba(30,64,175,.14);
  --shadow-card: 0 4px 20px rgba(15,28,63,.08);
  --shadow-card-hover: 0 16px 48px rgba(15,28,63,.15);

  /* Transitions */
  --trans-fast:  .18s ease;
  --trans-mid:   .3s ease;
  --trans-slow:  .5s ease;
  --trans-bounce:.4s cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================================================
   TYPOGRAPHY
================================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-royal);
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid #BFDBFE;
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-top: 14px;
}

.section-header {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-label { margin-inline: auto; }
.section-header .section-sub { margin-inline: auto; }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  transition: var(--trans-mid);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--trans-mid); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(29,78,216,.3);
  position: relative;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  opacity: 0;
  transition: var(--trans-mid);
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,78,216,.38);
}
.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.nav-cta,
.nav-cta:hover,
.nav-cta:focus {
  color: #ffffff !important;
}
.nav-cta span {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.btn-outline {
  background: transparent;
  color: var(--blue-royal);
  border: 2px solid rgba(29,78,216,.3);
}
.btn-outline:hover { background: rgba(29,78,216,.06); border-color: var(--blue-royal); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 10px; }

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: all var(--trans-mid);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15,28,63,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity var(--trans-fast);
}
.logo:hover { opacity: .85; }
.logo-beacon { color: var(--navy); }
.logo-bold   { color: var(--blue-royal); }
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Desktop nav */
.desktop-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue-royal); background: rgba(29,78,216,.06); }
.chevron { width: 14px; height: 14px; transition: transform 0.25s cubic-bezier(.16,1,.3,1); flex-shrink: 0; }

/* ── DESKTOP DROPDOWN ─────────────────────────────────────── */
.has-dropdown { position: relative; }
.has-dropdown.open .chevron,
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.has-dropdown.open > .nav-link,
.has-dropdown:hover > .nav-link { color: var(--blue-royal); background: rgba(29,78,216,.06); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  min-width: 270px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(29,78,216,0.12);
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(15,28,63,0.04),
              0 20px 50px rgba(15,28,63,0.15),
              inset 0 0 0 1px rgba(255,255,255,0.7);
  padding: 6px 6px 8px;
  z-index: 1100;
  list-style: none;
  transition: opacity 0.22s cubic-bezier(.16,1,.3,1),
              transform 0.22s cubic-bezier(.16,1,.3,1),
              visibility 0.22s;
}

/* Invisible bridge so hover is never lost when moving mouse between button and menu */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* "OUR EXPERTISE" label inside dropdown */
.dropdown-menu::before {
  content: 'OUR EXPERTISE';
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #94A3B8;
  padding: 8px 12px 5px;
  pointer-events: none;
  text-transform: uppercase;
}

.has-dropdown.open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(29,78,216,0.07), rgba(6,182,212,0.04));
  color: var(--blue-royal);
  transform: translateX(2px);
}
.dropdown-item.active {
  background: linear-gradient(135deg, rgba(29,78,216,0.09), rgba(6,182,212,0.06));
  color: var(--blue-royal);
  font-weight: 600;
}

/* Service icon container */
.di-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  border: 1px solid rgba(29,78,216,0.1);
  transition: background 0.15s ease;
  color: var(--blue-royal);
}
.dropdown-item:hover .di-icon,
.dropdown-item.active .di-icon {
  background: linear-gradient(135deg, rgba(29,78,216,0.14), rgba(6,182,212,0.10));
}
.di-icon svg { width: 15px; height: 15px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta { padding: 9px 20px; font-size: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--trans-fast);
}
.hamburger:hover { background: var(--surface); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--trans-mid);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  box-shadow: 0 20px 40px rgba(15,28,63,.1);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--trans-mid);
  z-index: 999;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); }

.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: var(--trans-fast);
}
.mobile-nav-link:hover { background: var(--surface); color: var(--blue-royal); }
.mobile-dropdown-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: var(--trans-fast);
}
.mobile-dropdown-toggle svg { width: 16px; height: 16px; transition: transform var(--trans-fast); }
.mobile-dropdown-toggle.open svg { transform: rotate(180deg); }
.mobile-dropdown-toggle:hover { background: var(--surface); color: var(--blue-royal); }
.mobile-dropdown {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  gap: 2px;
  margin-top: 4px;
}
.mobile-dropdown.open { display: flex; }
.mobile-cta {
  display: inline-flex !important;
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

/* ================================================================
   HERO
================================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--off-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,.08), transparent 70%);
  top: -100px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,.07), transparent 70%);
  bottom: 100px; left: -50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Hero Content */
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-royal);
  background: linear-gradient(135deg, rgba(29,78,216,.07), rgba(6,182,212,.06));
  border: 1px solid rgba(29,78,216,.18);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue-royal);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(29,78,216,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(29,78,216,0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 22px;
}
.headline-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtext {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-royal);
  line-height: 1;
}
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Hero Visual ─────────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.tech-canvas {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orb */
.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 120px; height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29,78,216,.18);
}
.orb-ring-1 { width: 120px; height: 120px; animation: spin 18s linear infinite; border-color: rgba(29,78,216,.22); border-top-color: var(--blue-royal); }
.orb-ring-2 { width: 170px; height: 170px; animation: spin 28s linear infinite reverse; border-color: rgba(6,182,212,.18); border-right-color: var(--cyan); }
.orb-ring-3 { width: 220px; height: 220px; animation: spin 40s linear infinite; border-color: rgba(29,78,216,.08); border-bottom-color: rgba(29,78,216,.25); }
@keyframes spin { to { transform: rotate(360deg); } }

.orb-center {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(29,78,216,.2);
  z-index: 2;
}
.orb-icon { width: 44px; height: 44px; }

/* Tech Cards */
.tech-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(15,28,63,.1);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  z-index: 3;
  white-space: nowrap;
}
.tc-icon { width: 32px; height: 32px; }
.tc-1 { top: 30px;  left: 10px;  animation: float1 5s ease-in-out infinite; }
.tc-2 { top: 20px;  right: 20px; animation: float2 6s ease-in-out infinite; }
.tc-3 { bottom: 40px; left: 15px;  animation: float2 5.5s ease-in-out infinite; }
.tc-4 { bottom: 30px; right: 10px; animation: float1 7s ease-in-out infinite; }

@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* SVG Nodes */
.node-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.node-line { stroke-dashoffset: 0; animation: dashMove 8s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -20; } }
.node-dot { animation: nodePulse 3s ease-in-out infinite; }
@keyframes nodePulse {
  0%,100% { r: 4; opacity: .7; }
  50%      { r: 6; opacity: 1; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(29,78,216,.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--blue-royal);
  border-radius: 2px;
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ================================================================
   ABOUT
================================================================ */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* About visual */
.about-visual { position: relative; }
.about-img-wrapper {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(29,78,216,.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  border-radius: 24px;
}
.about-card-visual {
  position: relative;
  width: 300px;
  height: 300px;
}
.about-visual-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avc-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px dashed rgba(29,78,216,.2);
  animation: spin 24s linear infinite;
}
.avc-core {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(29,78,216,.18);
}
.avc-core svg { width: 40px; }

.acv-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 20px rgba(15,28,63,.08);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  width: 110px;
}
.acv-item svg { width: 36px; }
.acv-item-1 { top: 0;    left: 0;   animation: float1 5s ease-in-out infinite; }
.acv-item-2 { top: 0;    right: 0;  animation: float2 6s ease-in-out infinite; }
.acv-item-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation: float1 7s ease-in-out infinite 1s; }

/* About content */
.about-content { max-width: 520px; }
.about-text {
  font-size: 16.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0 36px;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pillar-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29,78,216,.12);
}
.pillar-icon svg { width: 20px; }
.pillar-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.pillar-item span { font-size: 13.5px; color: var(--text-muted); }

/* ================================================================
   SERVICES
================================================================ */
.services-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.services-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 32px 26px;
  overflow: hidden;
  transition: all var(--trans-mid);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29,78,216,.18);
  box-shadow: var(--shadow-card-hover);
}
.sc-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,.07), transparent 70%);
  transition: all var(--trans-mid);
  pointer-events: none;
}
.service-card:hover .sc-glow { transform: scale(1.5); }

.sc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform var(--trans-bounce);
}
.service-card:hover .sc-icon { transform: scale(1.08) rotate(-2deg); }
.sc-icon svg { width: 100%; height: 100%; }

.sc-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.sc-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Service Card Read More Link / Button */
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-royal);
  text-decoration: none;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid rgba(29, 78, 216, 0.09);
  border-radius: 9px;
  width: fit-content;
  transition: all var(--trans-mid);
  margin-top: auto;
}
.sc-link svg {
  width: 14px;
  height: 14px;
  color: var(--blue-royal);
  transition: transform var(--trans-mid), color var(--trans-mid);
  flex-shrink: 0;
}
.service-card:hover .sc-link,
.sc-link:hover {
  background: var(--blue-royal);
  color: var(--white);
  border-color: var(--blue-royal);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  transform: translateY(-1px);
}
.service-card:hover .sc-link svg,
.sc-link:hover svg {
  color: var(--white);
  transform: translateX(4px);
}

.sc-arrow {
  width: 32px; height: 32px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-mid);
}
.sc-arrow svg { width: 16px; color: var(--blue-royal); transition: transform var(--trans-mid); }
.service-card:hover .sc-arrow { background: var(--blue-royal); }
.service-card:hover .sc-arrow svg { color: var(--white); transform: translateX(3px); }

/* ================================================================
   WHY BEACONBOLD
================================================================ */
.why-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all var(--trans-mid);
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,78,216,.14);
}
.wc-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: rgba(29,78,216,.06);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.04em;
  position: absolute;
  top: 16px; right: 20px;
  transition: color var(--trans-mid);
}
.why-card:hover .wc-number { color: rgba(29,78,216,.1); }
.wc-icon { width: 50px; height: 50px; margin-bottom: 20px; }
.wc-icon svg { width: 100%; }
.wc-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.wc-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ================================================================
   CTA
================================================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  background: var(--grad-dark);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,.2), transparent 60%);
  top: -150px; right: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,.15), transparent 60%);
  bottom: -100px; left: -50px;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-light);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.25);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.cta-text {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 44px;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.cta-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  padding: 20px 40px;
  border-radius: 16px;
}
.cta-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cs-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.cs-lbl { font-size: 11px; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.cta-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
}
.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
}

/* Footer logo */
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}
.logo-bold-white { color: rgba(255,255,255,.55); }

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-contact-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fci-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  transition: color var(--trans-fast);
}
.fci-item svg { width: 16px; flex-shrink: 0; }
.fci-item:hover { color: var(--cyan-light); }

/* Footer cols */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  transition: color var(--trans-fast);
  position: relative;
  padding-left: 0;
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

/* Footer contact items */
.footer-contact-items { display: flex; flex-direction: column; gap: 20px; }
.footer-contact-item { display: flex; gap: 12px; }
.fco-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fco-icon svg { width: 16px; }
.fco-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.fco-text { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }

/* Footer bottom */
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color var(--trans-fast);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(29,78,216,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--trans-mid);
  z-index: 900;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(29,78,216,.45); }
.back-to-top svg { width: 20px; color: white; }


/* ================================================================
   HERO ECOSYSTEM UPGRADE
================================================================ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-ecosystem {
  position: relative;
  width: 490px;
  height: 490px;
  flex-shrink: 0;
}

.ecosystem-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Floating tech cards – HTML overlay */
.eco-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 11px 15px 11px 12px;
  box-shadow: 0 8px 32px rgba(15,28,63,0.12), 0 1px 4px rgba(15,28,63,0.06);
  z-index: 10;
  white-space: nowrap;
}

.eco-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-card-icon svg { width: 18px; height: 18px; }

.eco-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eco-card-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.eco-card-text span {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.eco-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 4px;
  animation: ecoDotPulse 2.5s ease-in-out infinite;
}
@keyframes ecoDotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* Card positions + individual float animations */
.eco-card-1 {
  top: 52px;
  left: -10px;
  animation: ecoFloat1 5.5s ease-in-out infinite;
}
.eco-card-2 {
  top: 42px;
  right: -6px;
  animation: ecoFloat2 6.2s ease-in-out infinite 0.5s;
}
.eco-card-3 {
  bottom: 68px;
  left: -14px;
  animation: ecoFloat2 5.8s ease-in-out infinite 1s;
}
.eco-card-4 {
  bottom: 60px;
  right: -8px;
  animation: ecoFloat1 7s ease-in-out infinite 0.8s;
}

@keyframes ecoFloat1 {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}
@keyframes ecoFloat2 {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(10px); }
}

/* ── SVG ring animations ── */
@keyframes ecoRing1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ecoRing2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes ecoRing3 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ================================================================
   ABOUT VISUAL PHOTO FRAME (PREMIUM ENTERPRISE)
================================================================ */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ab-photo-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ab-photo-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle at 45% 45%, rgba(37,99,235,0.22), rgba(6,182,212,0.16), transparent 70%);
  border-radius: 36px;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.ab-photo-inner {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,28,63,0.14),
              0 6px 18px rgba(15,28,63,0.06),
              0 0 0 1px rgba(226,232,244,0.9);
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 540px;
  background: var(--navy-deep);
}

.ab-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-photo-frame:hover .ab-photo-img {
  transform: scale(1.04);
}

.ab-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,63,0.03) 0%, rgba(15,28,63,0.3) 100%);
  pointer-events: none;
}

.ab-photo-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15,28,63,0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.ab-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* Floating Glass Cards */
.ab-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,244,0.95);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 14px 36px rgba(15,28,63,0.13),
              0 2px 6px rgba(15,28,63,0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.ab-float-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15,28,63,0.17);
}

.ab-float-1 {
  bottom: -20px;
  left: -24px;
}

.ab-float-2 {
  top: -16px;
  right: -24px;
}

.ab-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ab-card-icon svg {
  width: 20px;
  height: 20px;
}

.ab-icon-green {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(5,150,105,0.15);
}

.ab-icon-blue {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid rgba(37,99,235,0.15);
}

.ab-card-text {
  display: flex;
  flex-direction: column;
}

.ab-card-num {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.ab-card-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.ab-card-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.ab-card-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-mid);
}

@media (max-width: 1023px) {
  .ab-photo-inner { min-height: 420px; }
}

@media (max-width: 991px) {
  .ab-float-1 { bottom: -12px; left: -10px; }
  .ab-float-2 { top: -12px; right: -10px; }
}

@media (max-width: 575px) {
  .ab-photo-inner { min-height: 320px; }
  .ab-float-card { padding: 9px 13px; }
  .ab-float-1 { bottom: 10px; left: 10px; }
  .ab-float-2 { top: 10px; right: 10px; }
  .ab-photo-tag { display: none; }
}

/* ================================================================
   ABOUT CONTENT METRICS & TAGS (upgraded)
================================================================ */
.about-metrics {
  display: flex;
  gap: 0;
  margin: 30px 0 24px;
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.am-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 12px;
  border-right: 1px solid var(--border-soft);
  transition: background var(--trans-fast);
}
.am-item:last-child { border-right: none; }
.am-item:hover { background: var(--white); }
.am-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-royal);
  line-height: 1;
  letter-spacing: -.02em;
}
.am-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.about-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-royal);
  background: linear-gradient(135deg, rgba(29,78,216,0.07), rgba(6,182,212,0.05));
  border: 1px solid rgba(29,78,216,0.15);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: .01em;
  transition: all var(--trans-fast);
}
.about-tag:hover {
  background: linear-gradient(135deg, rgba(29,78,216,0.12), rgba(6,182,212,0.09));
  border-color: rgba(29,78,216,0.28);
  transform: translateY(-1px);
}

/* Override old about section styles we no longer need */
.about-img-wrapper,
.about-pattern,
.about-card-visual,
.acv-item,
.about-visual-center,
.avc-ring,
.avc-core { display: none !important; }

.about-pillars { display: none !important; }

/* ================================================================
   RESPONSIVE – ecosystem visuals
================================================================ */
@media (max-width: 1199px) {
  .hero-ecosystem { width: 420px; height: 420px; }
}

@media (max-width: 1023px) {
  .hero-ecosystem { width: 340px; height: 340px; }
  .eco-card { padding: 9px 12px 9px 10px; }
  .eco-card-icon { width: 28px; height: 28px; border-radius: 7px; }
  .eco-card-text strong { font-size: 11.5px; }
  .eco-card-text span   { font-size: 10px; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: flex; justify-content: center; order: -1; }
  .about-content { max-width: 100%; }
}

@media (max-width: 767px) {
  .hero-ecosystem { width: 290px; height: 290px; }
  .eco-card-1, .eco-card-2 { top: 20px; }
  .eco-card-3, .eco-card-4 { bottom: 20px; }
  .eco-card-1, .eco-card-3 { left: -5px; }
  .eco-card-2, .eco-card-4 { right: -5px; }

  .about-metrics { flex-direction: row; }
  .am-value { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero-ecosystem { width: 260px; height: 260px; }
  .eco-card { display: none; }
  /* Show just top two on very small screens */
  .eco-card-1, .eco-card-2 { display: flex; }
  .eco-card-1 { top: 10px; left: 0; }
  .eco-card-2 { top: 10px; right: 0; }
}


/* ================================================================
   TESTIMONIALS SECTION
================================================================ */
.testimonials-section {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--off-white);
  overflow: hidden;
}

/* ── Background ──────────────────────────────────────────── */
.testi-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.testi-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,78,216,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,.03) 1px, transparent 1px);
  background-size: 52px 52px;
}

.testi-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.testi-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,.07), transparent 65%);
  top: -160px; left: -80px;
  animation: blobDrift1 18s ease-in-out infinite;
}
.testi-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(6,182,212,.06), transparent 65%);
  bottom: -100px; right: -60px;
  animation: blobDrift2 22s ease-in-out infinite 2s;
}

@keyframes blobDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes blobDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px, -20px) scale(1.06); }
}

/* Floating particles */
.testi-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.tp-1 { width:5px; height:5px; background:rgba(59,130,246,.35); top:18%;  left:8%;  animation: tpFloat 7s ease-in-out infinite; }
.tp-2 { width:4px; height:4px; background:rgba(6,182,212,.3);   top:28%;  right:10%;animation: tpFloat 9s ease-in-out infinite 1.2s; }
.tp-3 { width:3px; height:3px; background:rgba(129,140,248,.4); top:60%;  left:5%;  animation: tpFloat 8s ease-in-out infinite 0.6s; }
.tp-4 { width:6px; height:6px; background:rgba(29,78,216,.2);   top:72%;  right:7%; animation: tpFloat 11s ease-in-out infinite 2s; }
.tp-5 { width:4px; height:4px; background:rgba(34,211,238,.35); top:45%;  left:92%; animation: tpFloat 6.5s ease-in-out infinite 0.4s; }
.tp-6 { width:3px; height:3px; background:rgba(59,130,246,.3);  top:85%;  left:50%; animation: tpFloat 10s ease-in-out infinite 1.8s; }

@keyframes tpFloat {
  0%,100% { transform: translateY(0) scale(1); opacity: .8; }
  50%      { transform: translateY(-18px) scale(1.15); opacity: 1; }
}

/* ── Grid layout ─────────────────────────────────────────── */
.testi-grid-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ── Card shell ──────────────────────────────────────────── */
.testi-card {
  position: relative;
  border-radius: 22px;
  transition: transform var(--trans-mid), box-shadow var(--trans-mid);
  cursor: default;
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(15,28,63,.14);
}

/* ── Card inner – default (light) ───────────────────────── */
.testi-card-inner {
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(226,232,244,.9);
  border-radius: 22px;
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans-mid), box-shadow var(--trans-mid);
  box-shadow: 0 4px 24px rgba(15,28,63,.07);
}
.testi-card:hover .testi-card-inner {
  border-color: rgba(29,78,216,.18);
}

/* Subtle top gradient accent line */
.testi-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D4ED8, #06B6D4);
  border-radius: 22px 22px 0 0;
  opacity: 0;
  transition: opacity var(--trans-mid);
}
.testi-card:hover .testi-card-inner::before { opacity: 1; }

/* Corner glow on hover */
.testi-card-inner::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,.06), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans-mid);
}
.testi-card:hover .testi-card-inner::after { opacity: 1; }

/* ── Featured (centre) card – dark gradient ──────────────── */
.testi-card-featured {
  background: linear-gradient(145deg, #0F1C3F 0%, #1e3a8a 55%, #0e4f6e 100%);
  border-color: rgba(59,130,246,.18);
  box-shadow: 0 8px 40px rgba(15,28,63,.22);
}
.testi-card-featured::before {
  background: linear-gradient(90deg, #60A5FA, #22D3EE);
  opacity: 1;
}
.testi-card-featured::after {
  background: radial-gradient(circle, rgba(96,165,250,.1), transparent 70%);
  opacity: 1;
}

/* ── Quote mark ──────────────────────────────────────────── */
.testi-quote {
  width: 44px; height: auto;
  flex-shrink: 0;
}
.testi-quote svg { width: 44px; }

/* ── Stars ───────────────────────────────────────────────── */
.testi-stars {
  display: flex;
  gap: 3px;
}
.testi-stars svg {
  width: 16px; height: 16px;
  color: #F59E0B;
  flex-shrink: 0;
}
.testi-stars-light svg { color: #FCD34D; }

/* ── Testimonial text ────────────────────────────────────── */
.testi-text {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-mid);
  font-style: normal;
  letter-spacing: -.005em;
  flex: 1;
  quotes: none;
}
.testi-text-light { color: rgba(255,255,255,.82); }

/* ── Author row ──────────────────────────────────────────── */
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(226,232,244,.7);
  margin-top: auto;
  position: relative;
}
.testi-card-featured .testi-author {
  border-top-color: rgba(255,255,255,.1);
}

/* Avatar circle */
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(15,28,63,.18);
}
.testi-avatar-light {
  background: rgba(255,255,255,.15) !important;
  border: 1.5px solid rgba(255,255,255,.25);
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

/* Author text */
.testi-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  font-family: var(--font-display);
}
.testi-name-light { color: rgba(255,255,255,.95); }

.testi-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.testi-role-light { color: rgba(255,255,255,.55); }

/* Accent bar right edge of author row */
.testi-accent {
  width: 4px; height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity var(--trans-mid);
}
.testi-accent-light { opacity: .35; background: linear-gradient(135deg, #93C5FD, #67E8F9) !important; }
.testi-card:hover .testi-accent { opacity: 1; }
.testi-card:hover .testi-accent-light { opacity: .7; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1023px) {
  .testi-grid-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    gap: 20px;
  }
  .testi-card:hover { transform: translateY(-5px); }
}

@media (max-width: 767px) {
  .testi-card-inner { padding: 28px 24px 24px; }
  .testi-text { font-size: 15px; }
  .testi-grid-cards { max-width: 100%; }
  .tp-5, .tp-6 { display: none; }
}

@media (max-width: 480px) {
  .testi-card-inner { padding: 24px 20px 20px; gap: 14px; }
  .testi-quote { width: 36px; }
  .testi-stars svg { width: 14px; height: 14px; }
  .testi-text { font-size: 14.5px; line-height: 1.7; }
  .testi-avatar { width: 36px; height: 36px; border-radius: 9px; font-size: 11px; }
  .testi-name { font-size: 13px; }
}


/* ================================================================
   TESTIMONIAL SLIDER  (overrides old .testi-grid-cards grid)
================================================================ */

/* Hide the old 3-card grid entirely */
.testi-grid-cards { display: none !important; }

/* ── Slider wrapper ──────────────────────────────────────── */
.ts-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  z-index: 1;
}

/* Giant decorative quote backdrop */
.ts-bg-quote {
  position: absolute;
  top: -18px;
  left: -10px;
  width: 130px;
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}
.ts-bg-quote svg { width: 100%; }

/* ── Viewport (overflow clip) ───────────────────────────── */
.ts-viewport {
  overflow: hidden;
  border-radius: 24px;
  /* glass card shell */
  background: var(--white);
  border: 1px solid rgba(226,232,244,.85);
  box-shadow:
    0 2px 8px rgba(15,28,63,.05),
    0 12px 48px rgba(15,28,63,.09),
    0 0 0 1px rgba(255,255,255,.7) inset;
}

/* ── Track (slides sit side-by-side) ───────────────────── */
.ts-track {
  display: flex;
  width: 100%;
  /* JS sets transform: translateX(-N * 100%) */
  will-change: transform;
  /* transition applied by JS when not dragging */
}

/* ── Individual slide ───────────────────────────────────── */
.ts-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
}

.ts-slide-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 52px 64px 48px;
  position: relative;
}

/* Top accent stripe */
.ts-viewport::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D4ED8, #06B6D4, #818CF8);
  border-radius: 24px 24px 0 0;
  z-index: 2;
}
.ts-viewport { position: relative; }

/* ── Stars ──────────────────────────────────────────────── */
.ts-stars {
  display: flex;
  gap: 4px;
}
.ts-stars svg {
  width: 18px; height: 18px;
  filter: drop-shadow(0 1px 2px rgba(245,158,11,.35));
}

/* ── Quote text ─────────────────────────────────────────── */
.ts-quote-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 500;
  line-height: 1.72;
  color: var(--navy);
  letter-spacing: -.01em;
  font-style: normal;
  quotes: none;
  position: relative;
  z-index: 1;
}

/* ── Author row ─────────────────────────────────────────── */
.ts-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(226,232,244,.8);
  margin-top: 4px;
}

.ts-avatar {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,28,63,.18);
}

.ts-author-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ts-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.ts-role {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.ts-author-bar {
  width: 5px;
  height: 42px;
  border-radius: 5px;
  flex-shrink: 0;
  opacity: .65;
}

/* ── Controls row ───────────────────────────────────────── */
.ts-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}

/* Arrow buttons */
.ts-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(29,78,216,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: 0 2px 10px rgba(15,28,63,.08);
  flex-shrink: 0;
}
.ts-arrow svg { width: 20px; height: 20px; }
.ts-arrow:hover {
  background: var(--blue-royal);
  border-color: var(--blue-royal);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(29,78,216,.3);
}
.ts-arrow:active { transform: scale(.95); }

/* Dots */
.ts-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(29,78,216,.2);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.ts-dot-active, .ts-dot:hover {
  background: var(--blue-royal);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(29,78,216,.15);
}

/* ── Progress bar ───────────────────────────────────────── */
.ts-progress {
  height: 2px;
  background: rgba(29,78,216,.08);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}
.ts-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1D4ED8, #06B6D4);
  border-radius: 2px;
  width: 0%;
  /* JS drives width via transition */
  transition: width .08s linear;
}

/* ── Slide transition (JS toggles class) ────────────────── */
.ts-track { transition: transform .55s cubic-bezier(.4,0,.2,1); }
.ts-track.ts-no-transition { transition: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .ts-slide-inner { padding: 36px 28px 32px; gap: 18px; }
  .ts-bg-quote { width: 80px; top: -8px; left: -4px; }
  .ts-quote-text { font-size: 16px; }
  .ts-controls { gap: 20px; }
  .ts-arrow { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .ts-slide-inner { padding: 28px 20px 26px; }
  .ts-quote-text { font-size: 15px; line-height: 1.65; }
  .ts-name { font-size: 14px; }
  .ts-avatar { width: 40px; height: 40px; border-radius: 10px; font-size: 12px; }
}
