/*
Theme Name: BSS Africa Child
Theme URI: https://www.bss-africa.com
Description: Premium visual system and motion layer for the BSS Africa Divi website.
Author: Ginger K
Template: Divi
Version: 1.4.0
Text Domain: bss-africa
*/

:root {
  --bss-ink: #0b1014;
  --bss-navy: #0c1419;
  --bss-teal: #1f7286;
  --bss-teal-dark: #154e5d;
  --bss-lime: #c8ee58;
  --bss-paper: #f5f3ed;
  --bss-mist: #e9eee9;
  --bss-white: #ffffff;
  --bss-copy: #596267;
  --bss-radius: 18px;
  --bss-shadow: 0 22px 65px rgba(5, 19, 25, 0.13);
  --bss-ease: cubic-bezier(.2, .75, .25, 1);
}

body.bss-site {
  background: var(--bss-paper);
  color: var(--bss-copy);
  overflow-x: hidden;
}

/* Optional complete-site header and footer supplied by the child theme. */
.bss-child-header-active #top-header,
.bss-child-header-active #main-header,
.bss-child-footer-active #main-footer {
  display: none !important;
}

.bss-skip-link {
  position: fixed;
  z-index: 100000;
  left: 18px;
  top: 12px;
  padding: 12px 18px;
  background: var(--bss-lime);
  color: var(--bss-ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.bss-skip-link:focus { transform: none; }

.bss-global-header {
  position: sticky;
  z-index: 99990;
  top: 0;
  width: 100%;
  background: rgba(8, 18, 24, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
}

.bss-global-header__inner {
  width: min(92%, 1640px);
  min-height: 86px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.bss-global-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: -.04em;
}

.bss-global-brand span {
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
}

.bss-global-brand small {
  color: var(--bss-lime);
  font-size: 9px;
  letter-spacing: .22em;
  font-weight: 800;
}

.bss-global-brand__logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 50px;
}

.bss-global-navigation { justify-self: center; }
.bss-global-menu,
.bss-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bss-global-menu {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.15vw, 38px);
}

.bss-global-menu li { margin: 0; padding: 0; }
.bss-global-menu a {
  display: block;
  padding: 31px 0;
  color: rgba(255, 255, 255, .74) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .25s ease;
}

.bss-global-menu a:hover,
.bss-global-menu .current-menu-item > a {
  color: var(--bss-lime) !important;
}

.bss-global-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  padding: 0 9px 0 20px;
  border-radius: 100px;
  background: var(--bss-lime);
  color: var(--bss-ink) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.bss-global-header__cta span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bss-ink);
  color: #fff;
}

.bss-global-menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.bss-global-menu-toggle i,
.bss-global-menu-toggle i::before,
.bss-global-menu-toggle i::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bss-lime);
  transition: transform .25s ease, opacity .25s ease;
}

.bss-global-menu-toggle i { position: relative; }
.bss-global-menu-toggle i::before,
.bss-global-menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
}
.bss-global-menu-toggle i::before { top: -6px; }
.bss-global-menu-toggle i::after { top: 6px; }
.bss-global-menu-toggle[aria-expanded="true"] i { background: transparent; }
.bss-global-menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.bss-global-menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

.bss-global-footer {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 8vw, 120px) 4vw 26px;
  background: #071015;
  color: rgba(255, 255, 255, .67);
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.bss-global-footer__inner,
.bss-global-footer__base {
  width: min(100%, 1540px);
  margin-inline: auto;
}

.bss-global-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: clamp(45px, 7vw, 120px);
}

.bss-global-footer__lead p {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  line-height: 1.75;
}

.bss-global-footer small {
  display: block;
  margin-bottom: 22px;
  color: var(--bss-lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

/* Optional native Divi Theme Builder header and footer library layouts. */
.bss-library-global-header {
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
}

.bss-library-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #fff !important;
  text-decoration: none;
}

.bss-library-brand strong {
  font-size: 29px;
  letter-spacing: -.05em;
}

.bss-library-brand span {
  color: var(--bss-lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
}

.bss-library-menu .et_pb_menu__menu > nav > ul > li > a {
  color: rgba(255, 255, 255, .76) !important;
  font-size: 12px;
  font-weight: 700;
}

.bss-library-menu .et_pb_menu__menu > nav > ul > li.current-menu-item > a,
.bss-library-menu .et_pb_menu__menu > nav > ul > li > a:hover {
  color: var(--bss-lime) !important;
}

.bss-library-menu .mobile_menu_bar::before { color: var(--bss-lime) !important; }
.bss-library-footer-links a { color: rgba(255, 255, 255, .75) !important; }
.bss-library-footer-links a:hover { color: var(--bss-lime) !important; }

.bss-global-footer__menu .bss-global-menu,
.bss-footer-menu {
  display: grid;
  gap: 9px;
}

.bss-global-footer__menu a,
.bss-global-footer__contact a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .72) !important;
  text-decoration: none;
}

.bss-global-footer__menu a:hover,
.bss-global-footer__contact a:hover {
  color: var(--bss-lime) !important;
}

.bss-global-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 85px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .37);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bss-site h1,
.bss-site h2,
.bss-site h3,
.bss-site h4 {
  color: var(--bss-ink);
  letter-spacing: -.035em;
}

.bss-site .bss-dark h1,
.bss-site .bss-dark h2,
.bss-site .bss-dark h3,
.bss-site .bss-dark h4 {
  color: var(--bss-white);
}

.bss-site .bss-section {
  position: relative;
  isolation: isolate;
}

.bss-site .bss-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bss-site .bss-grid-lines::before {
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}

.bss-site .bss-hero-slider {
  overflow: hidden;
}

.bss-site .bss-hero-slider .dipl_hero_slider_item {
  min-height: min(820px, 92vh);
}

.bss-site .bss-hero-slider .dipl_hero_slider_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,14,18,.95) 0%, rgba(5,14,18,.76) 42%, rgba(5,14,18,.18) 78%),
    linear-gradient(0deg, rgba(5,14,18,.52), transparent 48%);
  pointer-events: none;
}

.bss-site .bss-hero-slider .dipl_hero_slider_item_content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.bss-site .bss-hero-slider h1,
.bss-site .bss-hero-slider h2 {
  text-wrap: balance;
}

.bss-site .bss-hero-slider .swiper-pagination-bullet {
  width: 34px;
  height: 3px;
  border-radius: 20px;
  background: rgba(255,255,255,.45);
  opacity: 1;
  transition: width .35s var(--bss-ease), background .35s ease;
}

.bss-site .bss-hero-slider .swiper-pagination-bullet-active {
  width: 68px;
  background: var(--bss-lime);
}

.bss-site .bss-inner-hero {
  overflow: hidden;
}

.bss-site .bss-inner-hero::before {
  background:
    radial-gradient(circle at 78% 28%, rgba(200,238,88,.18), transparent 27%),
    radial-gradient(circle at 15% 82%, rgba(31,114,134,.30), transparent 32%);
}

.bss-site .bss-inner-hero .et_pb_image {
  transform: rotate(1.5deg);
}

.bss-site .bss-card {
  height: 100%;
  overflow: hidden;
  transition: transform .45s var(--bss-ease), border-color .35s ease, box-shadow .45s ease;
}

.bss-site .bss-card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -46px;
  top: -46px;
  border: 1px solid rgba(31,114,134,.20);
  border-radius: 50%;
  transition: transform .55s var(--bss-ease), background .35s ease;
}

.bss-site .bss-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--bss-shadow);
}

.bss-site .bss-card:hover::before {
  transform: scale(1.35);
  background: rgba(200,238,88,.10);
}

.bss-site .bss-dark-card:hover {
  border-color: var(--bss-lime) !important;
}

.bss-site .bss-image-frame {
  overflow: hidden;
  border-radius: var(--bss-radius);
}

.bss-site .bss-image-frame img {
  transition: transform .8s var(--bss-ease), filter .5s ease;
}

.bss-site .bss-image-frame:hover img {
  transform: scale(1.055);
  filter: saturate(.9) contrast(1.03);
}

.bss-site .bss-button,
.bss-site .et_pb_button.bss-button {
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--bss-ease), box-shadow .35s ease !important;
}

.bss-site .bss-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(5,19,25,.18);
}

.bss-site .bss-client-strip {
  white-space: nowrap;
  overflow: hidden;
}

.bss-site .bss-client-strip .et_pb_text_inner {
  display: inline-block;
  min-width: 100%;
  animation: bss-marquee 32s linear infinite;
}

.bss-site .bss-client-strip:hover .et_pb_text_inner {
  animation-play-state: paused;
}

/* Premium coded homepage components */
.bss-code-section,
.bss-code-section * { box-sizing: border-box; }
.bss-code-section { font-family: Arial, Helvetica, sans-serif; }
.bss-builder-label { display: none; }
.bss-site .bss-code-section h1,
.bss-site .bss-code-section h2,
.bss-site .bss-code-section h3,
.bss-site .bss-code-section h4 {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Keep native Divi and coded section headings on one responsive type scale. */
.bss-site .et_pb_text h2,
.bss-site .bss-code-section h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(38px, 4.55vw, 72px) !important;
  line-height: 1.04em !important;
  letter-spacing: -.045em !important;
  font-weight: 500 !important;
}
.bss-code-wrap { width: min(90%, 1640px); margin-inline: auto; }
.bss-code-kicker { display:flex; align-items:center; gap:14px; margin:0 0 34px; color:#fff; font-size:11px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.bss-code-kicker::before { content:""; width:42px; height:2px; background:var(--bss-lime); }

.bss-editorial-hero { position:relative; height:clamp(760px, 88vh, 920px); overflow:hidden; background:#081218; color:#fff; }
.bss-editorial-hero::before { content:""; position:absolute; z-index:0; inset:0; opacity:.34; background-image:linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px); background-size:98px 98px; pointer-events:none; }
.bss-editorial-hero::after { content:""; position:absolute; z-index:1; width:min(72vw,1100px); aspect-ratio:1; right:-26%; top:-52%; border-radius:50%; background:repeating-radial-gradient(circle at center,transparent 0 51px,rgba(200,238,88,.105) 52px 53px); opacity:.72; animation:bss-hero-rings 28s linear infinite; pointer-events:none; }
.bss-hero-stage { position:relative; z-index:2; height:100%; }
.bss-hero-slide { position:absolute; inset:0; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr); gap:4vw; align-items:center; padding:72px 0 60px; opacity:0; visibility:hidden; transform:translateX(28px); transition:opacity .8s var(--bss-ease), transform .8s var(--bss-ease), visibility .8s; }
.bss-hero-slide.is-active { opacity:1; visibility:visible; transform:none; z-index:2; }
.bss-hero-copy { position:relative; z-index:3; padding-block:44px; }
.bss-hero-copy h1 { max-width:900px; margin:0 0 30px; color:#fff!important; font-size:clamp(54px,5.15vw,98px); line-height:.98; letter-spacing:-.065em; font-weight:500; }
.bss-hero-copy>p { max-width:760px; margin:0; color:rgba(255,255,255,.66); font-size:clamp(17px,1.3vw,22px); line-height:1.7; }
.bss-hero-actions { display:flex; align-items:center; gap:30px; margin-top:44px; flex-wrap:wrap; }
.bss-code-button { display:inline-flex; align-items:center; justify-content:center; gap:24px; min-height:68px; padding:0 22px 0 32px; border-radius:100px; background:var(--bss-lime); color:#081218!important; font-weight:800; text-decoration:none; transition:transform .3s var(--bss-ease), background .3s; }
.bss-code-button::after { content:"↗"; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#081218; color:#fff; }
.bss-code-button:hover { transform:translateY(-4px); background:#fff; }
.bss-code-link { color:#fff!important; padding-bottom:9px; border-bottom:1px solid rgba(255,255,255,.35); font-weight:700; text-decoration:none; }
.bss-code-link::after { content:" ↓"; color:var(--bss-lime); }
.bss-hero-visual { position:relative; height:min(76vh,760px); min-height:560px; }
.bss-hero-visual::before,.bss-hero-visual::after { content:""; position:absolute; z-index:4; width:26px; height:26px; border-color:var(--bss-lime); pointer-events:none; }
.bss-hero-visual::before { inset:0 auto auto 0; border-top:2px solid; border-left:2px solid; }
.bss-hero-visual::after { inset:auto 0 0 auto; border-right:2px solid; border-bottom:2px solid; }
.bss-hero-visual img { width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(.72) contrast(1.06); }
.bss-hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,18,24,.38),transparent 45%),linear-gradient(0deg,rgba(8,18,24,.68),transparent 52%); }
.bss-hero-risk { position:absolute; left:4.5%; bottom:5.5%; width:min(72%,450px); padding:25px 28px; border-left:2px solid var(--bss-lime); background:#0b171d; color:#fff; box-shadow:0 18px 55px rgba(0,0,0,.28); }
.bss-hero-risk small { display:block; margin-bottom:8px; color:var(--bss-lime); font-size:10px; letter-spacing:.14em; font-weight:800; text-transform:uppercase; }
.bss-hero-risk strong { font-size:16px; line-height:1.35; }
.bss-hero-ready { position:absolute; right:5%; bottom:4%; display:flex; align-items:center; gap:10px; color:#fff; }
.bss-hero-ready strong { font-size:28px; }.bss-hero-ready span { max-width:80px; color:rgba(255,255,255,.48); font-size:9px; line-height:1.35; letter-spacing:.14em; text-transform:uppercase; }
.bss-hero-controls { position:absolute; z-index:6; left:5%; bottom:27px; display:flex; align-items:center; gap:12px; }
.bss-hero-arrow { border:0; background:transparent; color:rgba(255,255,255,.65); padding:8px; font-size:22px; cursor:pointer; }
.bss-hero-dot { width:48px; height:2px; padding:0; border:0; background:rgba(255,255,255,.28); cursor:pointer; transition:background .3s,width .3s; }
.bss-hero-dot.is-active { width:72px; background:var(--bss-lime); }

.bss-logo-marquee { position:relative; overflow:hidden; padding:0; background:#fff; border-bottom:1px solid #dfe5e2; }
.bss-marquee-layout { display:grid; grid-template-columns:minmax(245px,22vw) 1fr; align-items:center; min-height:112px; }
.bss-marquee-label { position:relative; z-index:5; display:flex; align-items:center; height:100%; padding:0 clamp(24px,4vw,72px); background:#fff; border-right:1px solid #dfe5e2; color:#465159; font-size:10px; font-weight:800; line-height:1.5; letter-spacing:.18em; text-transform:uppercase; }
.bss-marquee-window { position:relative; min-width:0; overflow:hidden; padding:38px 0; }
.bss-marquee-window::before,.bss-marquee-window::after { content:""; position:absolute; z-index:3; top:0; bottom:0; width:11%; pointer-events:none; }
.bss-marquee-window::before { left:0; background:linear-gradient(90deg,#fff,transparent); }.bss-marquee-window::after { right:0; background:linear-gradient(-90deg,#fff,transparent); }
.bss-marquee-track { display:flex; align-items:center; width:max-content; animation:bss-logo-loop 36s linear infinite; }
.bss-logo-marquee:hover .bss-marquee-track { animation-play-state:paused; }
.bss-marquee-group { display:flex; align-items:center; gap:clamp(54px,6vw,110px); padding-right:clamp(54px,6vw,110px); }
.bss-marquee-client { min-width:max-content; color:#6f7477; font-size:19px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; }
.bss-marquee-client img { display:block; width:auto; max-width:150px; height:32px; object-fit:contain; filter:grayscale(1); opacity:.65; }

.bss-industries-code { position:relative; overflow:hidden; padding:clamp(85px,9vw,150px) 0; background:#237487; color:#fff; }
.bss-industries-code::before { content:""; position:absolute; width:min(115vw,1900px); aspect-ratio:1; left:-47%; bottom:-102%; border-radius:50%; background:repeating-radial-gradient(circle at center,transparent 0 44px,rgba(255,255,255,.13) 45px 47px); opacity:.65; }
.bss-industries-grid { position:relative; display:grid; grid-template-columns:.95fr 1.05fr; gap:9vw; align-items:center; }
.bss-industries-code h2 { max-width:760px; margin:0 0 30px; color:#fff!important; font-size:clamp(52px,5vw,91px); line-height:1.03; letter-spacing:-.06em; font-weight:500; }
.bss-industries-code .bss-industry-intro { max-width:620px; color:rgba(255,255,255,.72); font-size:20px; line-height:1.7; }
.bss-industry-list { border-top:1px solid rgba(255,255,255,.28); }
.bss-industry-item { display:grid; grid-template-columns:48px 1fr 42px; gap:16px; align-items:center; min-height:92px; padding:0 14px; border-bottom:1px solid rgba(255,255,255,.28); color:#fff; cursor:default; transition:padding .35s var(--bss-ease),background .35s; }
.bss-industry-item small { color:var(--bss-lime); font-weight:800; }.bss-industry-item strong { font-size:20px; }.bss-industry-icon { display:grid; place-items:center; width:36px; height:36px; border:1px solid rgba(255,255,255,.26); border-radius:50%; color:var(--bss-lime); font-size:17px; transition:transform .35s var(--bss-ease),background .35s; }
.bss-industry-item:hover { padding-left:22px; background:rgba(7,30,36,.12); }.bss-industry-item:hover .bss-industry-icon { transform:scale(1.08) rotate(-5deg); background:rgba(200,238,88,.11); }

/* Connected information graphic. Deliberately unlike the service cards. */
.bss-effects-code { position:relative; overflow:hidden; padding:clamp(90px,9vw,145px) 0; background:#e9eee9; }
.bss-effects-code::before { content:""; position:absolute; width:min(72vw,980px); aspect-ratio:1; right:-35%; top:-55%; border-radius:50%; background:repeating-radial-gradient(circle at center,transparent 0 38px,rgba(31,114,134,.08) 39px 40px); pointer-events:none; }
.bss-effects-head { position:relative; z-index:2; display:grid; grid-template-columns:1.08fr .92fr; gap:8vw; align-items:end; }
.bss-effects-head .bss-code-kicker { color:#0b1014; }
.bss-effects-head h2 { margin:0; color:#0b1014!important; }
.bss-effects-head h2 span { color:var(--bss-teal); }
.bss-effects-head>p { max-width:650px; margin:0; color:#535c60; font-size:18px; line-height:1.75; }
.bss-effects-map { position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr); margin-top:76px; border-top:1px solid rgba(11,16,20,.16); border-bottom:1px solid rgba(11,16,20,.16); }
.bss-effects-line { position:absolute; left:0; top:-2px; width:25%; height:3px; background:var(--bss-teal); animation:bss-effects-scan 8s var(--bss-ease) infinite; }
.bss-effect { position:relative; min-height:310px; padding:34px clamp(22px,2.5vw,42px) 38px; border-right:1px solid rgba(11,16,20,.13); background:rgba(255,255,255,.18); outline:none; transition:background .4s var(--bss-ease),transform .4s var(--bss-ease),box-shadow .4s ease; }
.bss-effect:last-child { border-right:0; }
.bss-effect small { display:block; min-height:28px; color:var(--bss-teal); font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.bss-effect-symbol { display:grid; place-items:center; width:54px; height:54px; margin:27px 0 34px; border:1px solid rgba(31,114,134,.28); border-radius:50%; color:var(--bss-teal); font-size:24px; transition:transform .45s var(--bss-ease),background .35s,color .35s; }
.bss-effect h3 { margin:0 0 15px; color:#0b1014!important; font-size:25px; font-weight:600; }
.bss-effect p { margin:0; color:#5e676b; font-size:14px; line-height:1.65; }
.bss-effect:hover,.bss-effect:focus-visible { z-index:3; background:#fff; transform:translateY(-12px); box-shadow:0 24px 55px rgba(5,19,25,.12); }
.bss-effect:hover .bss-effect-symbol,.bss-effect:focus-visible .bss-effect-symbol { transform:rotate(12deg) scale(1.08); background:var(--bss-teal); color:#fff; }
.bss-effect--positive { background:#122129; }
.bss-effect--positive small,.bss-effect--positive .bss-effect-symbol { color:var(--bss-lime); }
.bss-effect--positive .bss-effect-symbol { border-color:rgba(200,238,88,.33); }
.bss-effect--positive h3 { color:#fff!important; }
.bss-effect--positive p { color:rgba(255,255,255,.65); }
.bss-effect--positive:hover,.bss-effect--positive:focus-visible { background:#0c171d; }
.bss-effect--positive:hover .bss-effect-symbol,.bss-effect--positive:focus-visible .bss-effect-symbol { background:var(--bss-lime); color:#081218; }

.bss-approach-code { padding:clamp(90px,9vw,150px) 0; background:#f5f3ed; }
.bss-approach-head { display:grid; grid-template-columns:1.2fr .8fr; gap:8vw; align-items:end; margin-bottom:78px; }
.bss-approach-code h2 { margin:0; color:#091014!important; font-size:clamp(55px,5.3vw,100px); line-height:.98; letter-spacing:-.065em; font-weight:500; }.bss-approach-code h2 span { color:var(--bss-teal); }
.bss-approach-head>p { max-width:600px; color:#596267; font-size:20px; line-height:1.7; }
.bss-approach-steps { position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:34px; padding-top:80px; }
.bss-approach-steps::before { content:""; position:absolute; left:0; right:0; top:11px; height:1px; background:#ccd1ce; }
.bss-approach-step { position:relative; }.bss-approach-step::before { content:""; position:absolute; left:0; top:-75px; width:12px; height:12px; border-radius:50%; border:2px solid var(--bss-teal); background:#f5f3ed; }
.bss-approach-step small { color:var(--bss-teal); font-size:11px; }.bss-approach-step h3 { margin:58px 0 18px; color:#091014!important; font-size:29px; font-weight:500; }.bss-approach-step p { max-width:270px; color:#667074; font-size:16px; line-height:1.65; }

.bss-contact-code { position:relative; overflow:hidden; padding:clamp(90px,9vw,150px) 0 52px; background:#080e12; color:#fff; }
.bss-contact-code::after { content:"AFRICA"; position:absolute; z-index:0; right:-6vw; top:24%; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.08); font-size:clamp(150px,23vw,440px); line-height:.8; font-weight:800; letter-spacing:-.08em; pointer-events:none; }
.bss-contact-main,.bss-contact-meta { position:relative; z-index:2; }.bss-contact-main { max-width:900px; }
.bss-contact-code h2 { margin:0 0 34px; color:#fff!important; font-size:clamp(60px,6vw,112px); line-height:.96; letter-spacing:-.065em; font-weight:500; }
.bss-contact-code .bss-contact-copy { max-width:720px; color:rgba(255,255,255,.67); font-size:20px; line-height:1.7; }
.bss-contact-code .bss-code-button { margin-top:38px; background:#fff; }.bss-contact-code .bss-code-button::after { background:var(--bss-lime); color:#081218; }
.bss-contact-meta { display:grid; grid-template-columns:1fr 1fr; gap:60px; width:min(500px,100%); margin:90px 0 0 auto; }
.bss-contact-meta small { display:block; margin-bottom:18px; color:#7c8a91; font-size:9px; letter-spacing:.16em; text-transform:uppercase; }.bss-contact-meta a { display:block; margin:9px 0; color:#fff!important; text-decoration:none; }.bss-contact-meta a:hover { color:var(--bss-lime)!important; }

@keyframes bss-logo-loop { to { transform:translateX(-50%); } }
@keyframes bss-hero-rings { 50% { transform:translate3d(-2.5%,3%,0) scale(1.035); opacity:.48; } }
@keyframes bss-effects-scan { 0%,100% { transform:translateX(0); } 50% { transform:translateX(300%); } }

.bss-site .bss-number-card h4,
.bss-site .bss-number-card .et_pb_module_header {
  font-size: clamp(2.7rem, 5vw, 4.6rem) !important;
  color: var(--bss-teal) !important;
}

.bss-site .bss-process-row {
  position: relative;
}

.bss-site .bss-process-row::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: rgba(31,114,134,.25);
}

.bss-site .bss-program-card .et_pb_module_header::after {
  content: " ↗";
  color: var(--bss-teal);
  font-size: .75em;
  transition: transform .3s ease;
  display: inline-block;
}

.bss-site .bss-program-card:hover .et_pb_module_header::after {
  transform: translate(4px, -4px);
}

.bss-site .bss-interactive-shell {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(31,114,134,.22), transparent 42%),
    rgba(255,255,255,.025);
  box-shadow: inset 0 0 90px rgba(0,0,0,.16);
}

.bss-site .bss-interactive-shell::before,
.bss-site .bss-interactive-shell::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200,238,88,.16);
  border-radius: 50%;
  animation: bss-orbit 18s linear infinite;
}

.bss-site .bss-interactive-shell::before { width: 470px; height: 470px; }
.bss-site .bss-interactive-shell::after { width: 330px; height: 330px; animation-direction: reverse; animation-duration: 13s; }

.bss-site .bss-risk-core {
  position: relative;
  z-index: 3;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 50%;
  background: var(--bss-lime);
  color: var(--bss-ink);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 0 18px rgba(200,238,88,.08), 0 25px 70px rgba(0,0,0,.22);
  animation: bss-core-pulse 4s ease-in-out infinite;
}

.bss-site .bss-risk-node {
  position: absolute;
  z-index: 4;
  min-width: 145px;
  padding: 14px 18px;
  color: #fff;
  background: rgba(15,31,39,.92);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: transform .35s var(--bss-ease), border-color .3s ease, background .3s ease;
}

.bss-site .bss-risk-node:hover {
  transform: scale(1.08);
  border-color: var(--bss-lime);
  background: rgba(31,114,134,.96);
}

.bss-site .bss-risk-node:nth-of-type(1) { top: 10%; left: 50%; transform: translateX(-50%); }
.bss-site .bss-risk-node:nth-of-type(2) { top: 25%; right: 8%; }
.bss-site .bss-risk-node:nth-of-type(3) { bottom: 20%; right: 10%; }
.bss-site .bss-risk-node:nth-of-type(4) { bottom: 9%; left: 50%; transform: translateX(-50%); }
.bss-site .bss-risk-node:nth-of-type(5) { bottom: 20%; left: 10%; }
.bss-site .bss-risk-node:nth-of-type(6) { top: 25%; left: 8%; }

.bss-site .bss-risk-node:nth-of-type(1):hover,
.bss-site .bss-risk-node:nth-of-type(4):hover { transform: translateX(-50%) scale(1.08); }

.bss-site .bss-pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: bss-path;
}

.bss-site .bss-path-step {
  position: relative;
  min-height: 255px;
  padding: 30px 25px;
  background: #fff;
  border: 1px solid rgba(11,16,20,.08);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(5,19,25,.07);
  transition: transform .4s var(--bss-ease), background .35s ease, color .35s ease;
}

.bss-site .bss-path-step::before {
  counter-increment: bss-path;
  content: "0" counter(bss-path);
  display: block;
  margin-bottom: 55px;
  color: var(--bss-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.bss-site .bss-path-step::after {
  content: "→";
  position: absolute;
  top: 48%;
  right: -25px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bss-lime);
  color: var(--bss-ink);
  font-weight: 800;
}

.bss-site .bss-path-step:last-child::after { display: none; }
.bss-site .bss-path-step h3 { font-size: 22px; margin-bottom: 12px; }
.bss-site .bss-path-step p { font-size: 14px; line-height: 1.55; }

.bss-site .bss-path-step:hover {
  transform: translateY(-8px);
  background: var(--bss-navy);
  color: rgba(255,255,255,.72);
}

.bss-site .bss-path-step:hover h3 { color: #fff; }

.bss-site .bss-cta {
  overflow: hidden;
}

.bss-site .bss-cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -250px;
  border: 70px solid rgba(200,238,88,.10);
  border-radius: 50%;
  animation: bss-breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.bss-site .bss-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--bss-ease), transform .75s var(--bss-ease);
}

.bss-site .bss-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.bss-site .bss-delay-1 { transition-delay: .08s; }
.bss-site .bss-delay-2 { transition-delay: .16s; }
.bss-site .bss-delay-3 { transition-delay: .24s; }

@keyframes bss-marquee {
  to { transform: translateX(-35%); }
}

@keyframes bss-breathe {
  0%, 100% { transform: scale(.94); opacity: .75; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes bss-orbit {
  to { transform: rotate(360deg); }
}

@keyframes bss-core-pulse {
  0%, 100% { box-shadow: 0 0 0 18px rgba(200,238,88,.08), 0 25px 70px rgba(0,0,0,.22); }
  50% { box-shadow: 0 0 0 30px rgba(200,238,88,.025), 0 25px 70px rgba(0,0,0,.28); }
}

@media (max-width: 980px) {

  .bss-global-header__inner {
    grid-template-columns: auto auto;
    min-height: 76px;
  }
  .bss-global-menu-toggle { display: inline-flex; }
  .bss-global-header__cta { display: none; }
  .bss-global-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 15px 5vw 27px;
    background: #081218;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 28px 55px rgba(0, 0, 0, .22);
  }
  .bss-global-header.is-menu-open .bss-global-navigation { display: block; }
  .bss-global-menu { display: grid; gap: 0; }
  .bss-global-menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 15px;
  }
  .bss-global-footer__inner { grid-template-columns: 1fr 1fr; }
  .bss-global-footer__lead { grid-column: 1 / -1; }

  .bss-editorial-hero { height:1220px; }
  .bss-hero-slide { grid-template-columns:1fr; gap:20px; padding-top:60px; }
  .bss-hero-copy { padding-bottom:10px; }.bss-hero-visual { height:520px; min-height:0; }
  .bss-marquee-layout { grid-template-columns:220px 1fr; }
  .bss-industries-grid,.bss-approach-head { grid-template-columns:1fr; }.bss-industries-grid { gap:65px; }
  .bss-effects-head { grid-template-columns:1fr; gap:36px; }.bss-effects-map { grid-template-columns:repeat(2,1fr); }.bss-effect:nth-child(3) { border-right:0; }.bss-effect { border-bottom:1px solid rgba(11,16,20,.13); }
  .bss-approach-steps { grid-template-columns:repeat(2,1fr); row-gap:60px; }.bss-approach-steps::before,.bss-approach-step::before { display:none; }.bss-approach-step h3 { margin-top:20px; }
  .bss-site .bss-hero-slider .dipl_hero_slider_item {
    min-height: 700px;
  }

  .bss-site .bss-hero-slider .dipl_hero_slider_item::after {
    background: linear-gradient(90deg, rgba(5,14,18,.94), rgba(5,14,18,.48));
  }

  .bss-site .bss-process-row::before { display: none; }

  .bss-site .bss-pathway { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bss-site .bss-path-step::after { display: none; }

  .bss-site .bss-card { margin-bottom: 18px; }
}

@media (max-width: 767px) {

  .bss-global-footer__inner { grid-template-columns: 1fr; }
  .bss-global-footer__lead { grid-column: auto; }
  .bss-global-footer__base { display: grid; margin-top: 55px; }

  .bss-editorial-hero { height:1180px; }.bss-hero-stage { height:100%; }.bss-hero-slide { position:absolute; display:block; padding:48px 0 100px; }
  .bss-hero-copy h1 { font-size:clamp(43px,13vw,61px); }.bss-hero-copy>p { font-size:16px; }.bss-hero-actions { margin-top:30px; gap:22px; }.bss-code-button { min-height:58px; padding-left:24px; }
  .bss-hero-visual { height:430px; margin-top:40px; }.bss-hero-risk { width:86%; left:0; bottom:18px; padding:20px; }.bss-hero-ready { display:none; }.bss-hero-controls { left:4%; bottom:28px; }
  .bss-marquee-layout { grid-template-columns:1fr; }.bss-marquee-label { min-height:72px; padding:0 20px; border-right:0; border-bottom:1px solid #dfe5e2; }.bss-marquee-window { padding:28px 0; }.bss-marquee-client { font-size:16px; }
  .bss-industries-code::before { left:-75%; bottom:-30%; }.bss-industry-item { min-height:78px; grid-template-columns:34px 1fr 20px; }.bss-industry-item strong { font-size:17px; }
  .bss-effects-map { grid-template-columns:1fr; margin-top:54px; }.bss-effects-line { display:none; }.bss-effect,.bss-effect:nth-child(3) { min-height:0; border-right:0; border-bottom:1px solid rgba(11,16,20,.13); }.bss-effect:last-child { border-bottom:0; }
  .bss-approach-head { margin-bottom:55px; }.bss-approach-steps { grid-template-columns:1fr; padding-top:0; }.bss-approach-step { padding-top:24px; border-top:1px solid #d2d5d2; }.bss-approach-step h3 { margin:20px 0 12px; }
  .bss-contact-meta { grid-template-columns:1fr; gap:32px; margin-top:70px; }.bss-contact-code::after { top:49%; right:-10vw; }
  .bss-site .bss-hero-slider .dipl_hero_slider_item {
    min-height: 650px;
    background-position: 64% center !important;
  }

  .bss-site .bss-hero-slider .dipl_hero_slider_item::after {
    background: linear-gradient(0deg, rgba(5,14,18,.96) 4%, rgba(5,14,18,.65) 70%, rgba(5,14,18,.35));
  }

  .bss-site .bss-client-strip .et_pb_text_inner {
    animation-duration: 22s;
  }

  .bss-site .bss-cta::after {
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -160px;
    border-width: 45px;
  }

  .bss-site .bss-interactive-shell { min-height: 560px; }
  .bss-site .bss-interactive-shell::before { width: 370px; height: 370px; }
  .bss-site .bss-interactive-shell::after { width: 260px; height: 260px; }
  .bss-site .bss-risk-core { width: 145px; height: 145px; font-size: 16px; }
  .bss-site .bss-risk-node { min-width: 115px; padding: 11px 12px; font-size: 9px; }
  .bss-site .bss-risk-node:nth-of-type(2), .bss-site .bss-risk-node:nth-of-type(3) { right: 2%; }
  .bss-site .bss-risk-node:nth-of-type(5), .bss-site .bss-risk-node:nth-of-type(6) { left: 2%; }
  .bss-site .bss-pathway { grid-template-columns: 1fr; }
  .bss-site .bss-path-step { min-height: auto; }
  .bss-site .bss-path-step::before { margin-bottom: 28px; }
}

/*
 * Visual Builder editing mode.
 * The front-end design is unchanged. Inside Divi, animations pause and hidden
 * slider slides become stacked editing cards so Code modules never look blank.
 */
.et-fb-root-ancestor .bss-code-section *,
body.et-fb .bss-code-section *,
.et-fb .bss-code-section * {
  animation-play-state: paused !important;
}

.et-fb-root-ancestor .bss-editorial-hero,
body.et-fb .bss-editorial-hero,
.et-fb .bss-editorial-hero {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.et-fb-root-ancestor .bss-editorial-hero .bss-hero-slide,
body.et-fb .bss-editorial-hero .bss-hero-slide,
.et-fb .bss-editorial-hero .bss-hero-slide {
  position: relative !important;
  inset: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0 0 22px;
  padding: 38px 4vw !important;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.et-fb-root-ancestor .bss-editorial-hero .bss-hero-visual,
body.et-fb .bss-editorial-hero .bss-hero-visual,
.et-fb .bss-editorial-hero .bss-hero-visual {
  min-height: 340px;
  height: 42vw;
  max-height: 520px;
}

.et-fb-root-ancestor .bss-editorial-hero .bss-hero-controls,
body.et-fb .bss-editorial-hero .bss-hero-controls,
.et-fb .bss-editorial-hero .bss-hero-controls {
  display: none !important;
}

.et-fb-root-ancestor .bss-logo-marquee .bss-marquee-track,
body.et-fb .bss-logo-marquee .bss-marquee-track,
.et-fb .bss-logo-marquee .bss-marquee-track {
  width: auto !important;
  transform: none !important;
  animation: none !important;
  padding: 15px 4vw;
}

.et-fb-root-ancestor .bss-logo-marquee .bss-marquee-group,
body.et-fb .bss-logo-marquee .bss-marquee-group,
.et-fb .bss-logo-marquee .bss-marquee-group {
  flex-wrap: wrap;
}

.et-fb-root-ancestor .bss-logo-marquee .bss-marquee-group[aria-hidden="true"],
body.et-fb .bss-logo-marquee .bss-marquee-group[aria-hidden="true"],
.et-fb .bss-logo-marquee .bss-marquee-group[aria-hidden="true"] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .bss-site *,
  .bss-site *::before,
  .bss-site *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .bss-site .bss-reveal {
    opacity: 1;
    transform: none;
  }

  .bss-marquee-track { animation:none; transform:none; flex-wrap:wrap; width:auto; gap:28px; }
  .bss-marquee-group[aria-hidden="true"] { display:none; }
}
