/* ================= BO GROWTH BANNER WIDGET — default styling =================
   Scoped under .bo-growth-wrap. Reproduces .growth-banner / .split /
   .ring-chart exactly, including the fixed background-attachment banner
   and the animated progress ring.
   ========================================================================= */

.bo-growth-wrap{
  --gb-navy: #031B39;
  --gb-navy-soft: #0B2A52;
  --gb-accent: #1083E6;
  --gb-line: #E4E8EE;
  --gb-ease: cubic-bezier(.22,1,.36,1);
  --gb-overlay-color: rgba(0,0,0,.22);
  --gb-split-bg-start: rgba(8,27,52,.76);
  --gb-split-bg-end: rgba(3,27,57,.60);
  --gb-split-border: rgba(255,255,255,.10);
  --gb-split-radius: 20px;
  --gb-text-padding: 50px;
  --gb-eyebrow-color: var(--gb-accent);
  --gb-heading-color: #ffffff;
  --gb-desc-color: rgba(255,255,255,.65);
  --gb-btn-bg-start: var(--gb-accent);
  --gb-btn-bg-end: #0C66B8;
  --gb-btn-color: #ffffff;
  --gb-btn-radius: 7px;
  --gb-visual-bg-start: rgba(11,42,82,.38);
  --gb-visual-bg-end: rgba(3,27,57,.18);
  --gb-visual-border: rgba(255,255,255,.08);
  --gb-ring-size: 210px;
  --gb-ring-stroke: 10px;
  --gb-ring-track: rgba(255,255,255,.08);
  --gb-ring-num-color: #ffffff;
  --gb-ring-label-color: rgba(255,255,255,.55);
  font-family:'Roboto', sans-serif;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.bo-growth-wrap,
.bo-growth-wrap *,
.bo-growth-wrap *::before,
.bo-growth-wrap *::after{
  box-sizing: border-box;
}

.bo-growth-wrap .gb-wrap{ max-width:1220px; margin:0 auto; padding:0 40px; }

.bo-growth-wrap .growth-banner{
  overflow: hidden;
  position:relative;
  padding:90px 0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
.bo-growth-wrap .growth-banner::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(ellipse at center, transparent 45%, var(--gb-overlay-color, rgba(0,0,0,.22)) 100%);
  pointer-events:none;
}
.bo-growth-wrap .growth-banner::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.10), transparent 40%),
    radial-gradient(circle at left, rgba(255,255,255,.04), transparent 60%);
  pointer-events:none;
  animation:boGbAmbientGlow 18s ease-in-out infinite alternate;
}
@keyframes boGbAmbientGlow{
  from{ transform:translateY(0) scale(1); }
  to{ transform:translateY(-18px) scale(1.08); }
}
.bo-growth-wrap .growth-banner .gb-wrap{ position:relative; z-index:2; }

/* ---------- Split card ---------- */
.bo-growth-wrap .split{
  background:linear-gradient(135deg, var(--gb-split-bg-start), var(--gb-split-bg-end));
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--gb-split-border);
  box-shadow:0 40px 90px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  border-radius:var(--gb-split-radius);
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  position:relative;
}
.bo-growth-wrap .split::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(16,131,230,.10), transparent 45%);
  pointer-events:none;
}
.bo-growth-wrap .split::after{
  content:"";
  position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.bo-growth-wrap .split-text{ padding:var(--gb-text-padding, 50px); position:relative; z-index:2; }
.bo-growth-wrap .gb-eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gb-eyebrow-color, var(--gb-accent)); font-weight:500;
  display:flex; align-items:center; gap:10px;
  margin-bottom:18px;
}
.bo-growth-wrap .gb-eyebrow::before{
  content:''; width:18px; height:1px; background:var(--gb-eyebrow-color, var(--gb-accent)); display:inline-block;
}
.bo-growth-wrap .split-text h2{
  font-family:'Roboto Slab', serif;
  font-weight:600; letter-spacing:-0.01em; line-height:1.12;
  color:var(--gb-heading-color, #fff); font-size:32px; margin-bottom:16px;
}
.bo-growth-wrap .split-text h2 em{
  color:var(--gb-accent); font-style:italic; font-weight:400;
}
.bo-growth-wrap .split-text p{
  color:var(--gb-desc-color, rgba(255,255,255,.65)); font-size:14.5px; line-height:1.6;
  max-width:380px; margin-bottom:28px;
}
.bo-growth-wrap .gb-btn-gold{
  font-family:'Roboto', sans-serif;
  font-weight:600; font-size:13.5px;
  padding:11px 22px; border-radius:var(--gb-btn-radius, 7px);
  display:inline-flex; align-items:center; gap:9px;
  border:1px solid transparent; white-space:nowrap;
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--gb-btn-bg-start), var(--gb-btn-bg-end));
  color:var(--gb-btn-color, #fff); text-decoration:none;
  box-shadow:0 8px 20px -8px rgba(16,131,230,.55);
  transition:transform .35s var(--gb-ease), box-shadow .35s var(--gb-ease);
}
.bo-growth-wrap .gb-btn-gold:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px -8px rgba(16,131,230,.65);
  color:var(--gb-btn-color, #fff);
}

/* ---------- Visual / ring chart ---------- */
.bo-growth-wrap .split-visual{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, var(--gb-visual-bg-start), var(--gb-visual-bg-end));
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  border-left:1px solid var(--gb-visual-border);
  overflow:hidden;
}
.bo-growth-wrap .split-visual::before{
  content:'';
  position:absolute; top:50%; left:50%;
  width:300px; height:300px; margin:-150px 0 0 -150px;
  border-radius:50%; max-width:100%;
  background:radial-gradient(circle, rgba(16,131,230,.14), transparent 70%);
  animation:boGbDrift 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes boGbDrift{
  from{ transform:translate(-20px,-10px); }
  to{ transform:translate(20px,10px); }
}
.bo-growth-wrap .ring-chart{ position:relative; width:var(--gb-ring-size, 210px); height:var(--gb-ring-size, 210px); z-index:1; }
.bo-growth-wrap .ring-chart svg{ width:100%; height:100%; transform:rotate(-90deg); }
.bo-growth-wrap .ring-bg{ fill:none; stroke:var(--gb-ring-track, rgba(255,255,255,.08)); stroke-width:var(--gb-ring-stroke, 10px); }
.bo-growth-wrap .ring-fg{
  fill:none; stroke:var(--gb-accent); stroke-width:var(--gb-ring-stroke, 10px); stroke-linecap:round;
  stroke-dasharray:565; stroke-dashoffset:565;
  transition:stroke-dashoffset 1.6s var(--gb-ease);
}
.bo-growth-wrap .ring-chart.in .ring-fg{ stroke-dashoffset:var(--gb-ring-target, 170); }
.bo-growth-wrap .ring-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center;
}
.bo-growth-wrap .ring-center .big{
  font-family:'Roboto Slab', serif; font-size:38px; color:var(--gb-ring-num-color, #fff); font-weight:500;
}
.bo-growth-wrap .ring-center .small{
  font-size:11px; color:var(--gb-ring-label-color, rgba(255,255,255,.55)); margin-top:4px; max-width:120px;
}

/* ---------- Reveal helper ---------- */
.bo-growth-wrap .reveal-scale{
  opacity:0; transform:scale(.94);
  transition:opacity .8s var(--gb-ease), transform .9s cubic-bezier(.34,1.56,.64,1);
}
.bo-growth-wrap .reveal-scale.in{ opacity:1; transform:scale(1); }

@media (prefers-reduced-motion: reduce){
  .bo-growth-wrap .reveal-scale{ opacity:1; transform:none; transition:none; }
  .bo-growth-wrap *{ animation:none !important; }
}

/* ---------- Editor-active safety net ----------
   Elementor adds this class to the preview iframe <body> so plugins can
   force-show scroll-reveal content while editing, independent of any
   JS timing race. */
body.elementor-editor-active .bo-growth-wrap .reveal-scale,
body.elementor-editor-active .bo-growth-wrap .ring-chart .ring-fg {
  opacity: 1 !important;
  transform: none !important;
  stroke-dashoffset: var(--gb-ring-target, 170) !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .bo-growth-wrap .growth-banner{
    background-attachment: scroll;
  }
  .bo-growth-wrap .split{ grid-template-columns:1fr; }
  .bo-growth-wrap .split-visual{
    padding:40px 20px;
    border-left:none;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .bo-growth-wrap .ring-chart{ width:180px; height:180px; }
  .bo-growth-wrap .ring-center .big{ font-size:32px; }
}
@media (max-width:640px){
  .bo-growth-wrap .gb-wrap{
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
  }
  .bo-growth-wrap .split-text{ padding:36px 28px; }
}