/* BeTech Africa - Official Brand Theme */
:root {
  --bt-black: #000000;
  --bt-navy: #051018;
  --bt-cyan: #00ADEF;
  --bt-teal: #00B5AD;
  --bt-lime: #8DC63F;
  --bt-orange: #FBB03B;
  --bt-blue: var(--bt-cyan);
  --bt-white: #FFFFFF;
  --bt-gray: #9aa3b2;
  --bt-dark: #0a0a0a;
  --bt-card: rgba(255,255,255,0.04);
  --bt-glass: rgba(0,0,0,0.55);
  --bt-border: rgba(0,173,239,0.15);
  --bt-border-accent: rgba(141,198,63,0.25);
  --bt-gradient: linear-gradient(135deg, #000000 0%, #051018 45%, #000000 100%);
  --bt-gradient-section: linear-gradient(180deg, rgba(0,173,239,0.06) 0%, transparent 40%, rgba(141,198,63,0.04) 100%);
  --bt-gradient-brand: linear-gradient(90deg, var(--bt-cyan) 0%, var(--bt-teal) 35%, var(--bt-lime) 70%, var(--bt-orange) 100%);
  --bt-gradient-brand-vertical: linear-gradient(180deg, var(--bt-cyan) 0%, var(--bt-lime) 50%, var(--bt-orange) 100%);
  --bt-glow: 0 0 30px rgba(0,173,239,0.35);
  --bt-glow-warm: 0 0 30px rgba(251,176,59,0.25);
  --bt-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bt-black);
  color: var(--bt-white);
  line-height: 1.7;
  overflow-x: hidden;
}

html.light-mode,
body.light-mode {
  background: #f4f7fb;
  color: #1e293b;
}

a { color: var(--bt-cyan); text-decoration: none; transition: var(--bt-transition); }
a:hover { color: var(--bt-blue); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
.text-gradient {
  background: var(--bt-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan { color: var(--bt-cyan) !important; }
.text-lime { color: var(--bt-lime) !important; }
.text-orange { color: var(--bt-orange) !important; }
.brand-line {
  height: 3px;
  width: 80px;
  background: var(--bt-gradient-brand);
  border-radius: 2px;
  margin: 1rem 0;
}
.brand-line-center { margin-left: auto; margin-right: auto; }
.tagline-hero {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--bt-gray);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Navbar */
.bt-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  padding: 1rem 0;
  transition: var(--bt-transition);
  background: transparent;
}
.bt-navbar.scrolled {
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bt-border);
  padding: 0.4rem 0;
  box-shadow: 0 4px 24px rgba(0,173,239,0.08);
}

/* Brand logo – context-specific sizing (wide horizontal logo) */
.bt-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.bt-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: var(--bt-transition);
}
.bt-navbar .navbar-brand {
  margin-right: 1rem;
  padding: 0;
  max-width: none;
  flex-shrink: 0;
}
.bt-brand-link--navbar { margin-right: 0; }
.bt-brand-logo--navbar {
  height: clamp(48px, 6vw, 64px);
  width: auto;
  max-width: min(420px, 58vw);
  min-width: 160px;
}
.bt-navbar.scrolled .bt-brand-logo--navbar {
  height: clamp(44px, 5.5vw, 58px);
  max-width: min(380px, 52vw);
}
.bt-navbar {
  padding: 0.75rem 0;
}
.bt-navbar .container {
  align-items: center;
}
.bt-brand-logo--footer {
  width: clamp(180px, 40vw, 240px);
  max-height: 64px;
}
.bt-brand-link--hero {
  justify-content: center;
  width: 100%;
  padding: 1rem;
}
.bt-brand-logo--hero {
  width: min(100%, 460px);
  max-height: 200px;
  filter: drop-shadow(0 12px 40px rgba(0,173,239,0.18)) drop-shadow(0 4px 20px rgba(141,198,63,0.12));
}
.bt-brand-logo--login {
  width: min(100%, 320px);
  max-height: 90px;
  margin: 0 auto;
}
.bt-brand-logo--admin {
  width: 100%;
  max-width: 218px;
  max-height: 58px;
}
.bt-brand-logo--portal {
  width: 100%;
  max-width: 200px;
  max-height: 54px;
}
.brand-panel-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bt-gray) !important;
}
.bt-nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.bt-nav-link:hover, .bt-nav-link.active { color: var(--bt-lime) !important; }
.bt-theme-toggle {
  color: var(--bt-white);
  background: rgba(0,173,239,0.12);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--bt-transition);
}
.lang-switcher-menu {
  max-height: 320px;
  overflow-y: auto;
  min-width: 11rem;
}
.lang-switcher-menu .dropdown-item.active {
  background: rgba(0,173,239,0.15);
  color: var(--bt-lime);
}
.bt-theme-toggle:hover {
  background: var(--bt-gradient-brand);
  color: var(--bt-black);
}
.bt-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: var(--bt-gradient-brand);
  border-radius: 2px;
}

/* Buttons */
.btn-bt-primary {
  background: var(--bt-gradient-brand);
  border: none;
  color: var(--bt-black);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--bt-transition);
  position: relative;
  overflow: hidden;
}
.btn-bt-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--bt-glow), var(--bt-glow-warm);
  color: var(--bt-black);
}
.btn-bt-outline {
  background: transparent;
  border: 2px solid var(--bt-cyan);
  color: var(--bt-cyan);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--bt-transition);
}
.btn-bt-outline:hover {
  background: var(--bt-gradient-brand);
  border-color: transparent;
  color: var(--bt-black);
  transform: translateY(-2px);
}

/* Hero Carousel */
.hero-carousel-section {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  overflow: hidden;
  background: var(--bt-black);
}
.hero-carousel {
  min-height: calc(100vh - 80px);
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  min-height: calc(100vh - 80px);
}
.min-vh-hero {
  min-height: calc(100vh - 120px);
  padding: 2rem 0 3rem;
}
.hero-slide {
  position: relative;
  min-height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide--logo {
  background: radial-gradient(ellipse 70% 55% at 78% 42%, rgba(0, 173, 239, 0.14), transparent 68%),
    linear-gradient(135deg, #020a10 0%, #051018 45%, #0a1f30 100%);
}
.hero-slide-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.hero-slide-logo-mark {
  width: min(58vw, 560px);
  height: auto;
  object-fit: contain;
  opacity: 0.18;
  filter: drop-shadow(0 0 100px rgba(0, 173, 239, 0.3));
}
.hero-slide--logo .hero-slide-overlay {
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(5, 16, 24, 0.45) 100%);
}
.hero-slide-visual-card--logo {
  padding: 2rem 1.75rem;
}
.hero-slide-visual-logo {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 45%, rgba(5,16,24,0.55) 100%);
  z-index: 1;
}
.hero-slide-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0,173,239,0.15), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-slide-content {
  position: relative;
  z-index: 3;
}
.hero-slide-eyebrow {
  color: var(--bt-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-slide-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero-slide-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1rem;
}
.hero-slide-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-slide-visual-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bt-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-slide-visual-icon {
  position: absolute;
  bottom: -18px;
  right: -12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bt-black);
  box-shadow: var(--bt-glow);
}
.hero-carousel-indicators {
  bottom: 1.75rem;
  z-index: 4;
  margin-bottom: 0;
}
.hero-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  transition: var(--bt-transition);
}
.hero-carousel-indicators .active {
  background: var(--bt-lime);
  transform: scale(1.25);
}
.hero-carousel-control {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 4;
}
.hero-carousel-control-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0,173,239,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-white);
  backdrop-filter: blur(8px);
  transition: var(--bt-transition);
}
.hero-carousel-control:hover .hero-carousel-control-icon {
  background: var(--bt-gradient-brand);
  color: var(--bt-black);
  border-color: transparent;
}
.carousel-control-prev.hero-carousel-control { left: 1.25rem; }
.carousel-control-next.hero-carousel-control { right: 1.25rem; }

/* Section visuals */
.section-visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--bt-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.section-visual-frame--tall { min-height: 340px; }
.section-visual-frame--compact { max-height: 180px; }
.section-visual-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.section-visual-frame:hover .section-visual-img {
  transform: scale(1.04);
}
.section-visual-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--bt-border-accent);
  color: var(--bt-lime);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.section-visual-badge--bottom {
  top: auto;
  bottom: 1rem;
}
.section-visual-icon-grid {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}
.section-visual-icon-grid span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,173,239,0.2);
  border: 1px solid rgba(0,173,239,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-cyan);
  font-size: 1rem;
}

/* Service card with image + icon */
.service-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-visual img {
  transform: scale(1.08);
}
.service-card-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.75) 100%);
}
.service-card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--bt-black);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.hardware-feature-card .service-card-visual { height: 240px; }

/* Core service spotlight sections */
.service-spotlight-section + .service-spotlight-section {
  border-top: 1px solid rgba(0,173,239,0.08);
}
.service-spotlight-eyebrow {
  color: var(--bt-lime);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-spotlight-featured .service-card-visual {
  height: 100%;
  min-height: 320px;
}
.service-spotlight-inline-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bt-black);
  flex-shrink: 0;
}
.service-spotlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,173,239,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  height: 100%;
}
.service-spotlight-chip i {
  margin-top: 0.15rem;
  flex-shrink: 0;
}
html.light-mode .service-spotlight-chip,
body.light-mode .service-spotlight-chip {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
@media (max-width: 991px) {
  .service-spotlight-featured .service-card-visual {
    min-height: 220px;
    height: 220px;
  }
}

/* Project cards with image */
.project-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card-visual:hover .project-card-img-wrap img {
  transform: scale(1.06);
}
.project-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
}
.project-card-img-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--bt-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-lime);
}

/* Blog card photos */
.blog-card-img--photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
}
.blog-card-img--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img--photo img {
  transform: scale(1.06);
}
.blog-card-img-icon {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-black);
  font-size: 1rem;
}

/* CTA with background image */
.cta-visual-section {
  position: relative;
  overflow: hidden;
}
.cta-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.cta-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(5,16,24,0.85) 50%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}
.cta-visual-section .container { z-index: 2; }

/* Hero (legacy single-page) */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bt-gradient);
  padding-top: 80px;
}
.auth-hero-section {
  min-height: 100vh;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.bt-auth-body {
  background: var(--bt-black);
}
.hero-logo-mobile {
  display: none;
  margin: 1.5rem auto 0;
  text-align: center;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 650px;
  margin-bottom: 2rem;
}
.hero-map {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  opacity: 0.15;
  z-index: 1;
}
.network-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
}

/* Glass Cards */
.glass-card {
  background: var(--bt-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bt-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--bt-transition);
  height: 100%;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(141,198,63,0.35);
  box-shadow: var(--bt-glow);
}
.glass-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,173,239,0.2), rgba(141,198,63,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bt-lime);
  margin-bottom: 1.25rem;
}

/* Stats */
.stats-section {
  background: var(--bt-black);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,173,239,0.1);
  border-bottom: 1px solid rgba(141,198,63,0.1);
}
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--bt-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  color: var(--bt-gray);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections */
.bt-section {
  padding: 5rem 0;
  position: relative;
}
.bt-section-dark {
  background: var(--bt-black);
}
.bt-section-navy {
  background: var(--bt-navy);
  background-image: var(--bt-gradient-section);
}
.bt-section-dark::before,
.bt-section-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,173,239,0.05), transparent 70%);
  pointer-events: none;
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--bt-gradient-brand);
  transform: scaleX(0);
  transition: var(--bt-transition);
}
.service-card:hover::before { transform: scaleX(1); }

/* Testimonials */
.testimonial-card {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--bt-lime);
  opacity: 0.3;
  position: absolute;
  top: 0; left: 1rem;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bt-black);
}

/* Client Logos */
.logo-slider {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 4rem;
  animation: scroll-logos 30s linear infinite;
}
.logo-item {
  flex-shrink: 0;
  opacity: 0.5;
  filter: grayscale(100%) brightness(2);
  transition: var(--bt-transition);
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--bt-gray);
}
.logo-item:hover { opacity: 1; filter: none; color: var(--bt-cyan); }
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Partner Logos */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 576px) {
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .partner-logo-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.partner-logo-grid-lg .partner-logo-item {
  min-height: 100px;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
  padding: 1.25rem 1.5rem;
  background: var(--bt-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 174, 239, 0.12);
  border-radius: 12px;
  transition: var(--bt-transition);
  text-decoration: none;
}
.partner-logo-card-sm {
  min-height: auto;
  width: auto;
  padding: 0.75rem 1rem;
}
.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--bt-border-accent);
  box-shadow: var(--bt-glow);
  background: rgba(255, 255, 255, 0.06);
}
.partner-logo-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: var(--bt-transition);
}
.partner-logo-card:hover .partner-logo-img {
  filter: none;
  opacity: 1;
}
body.light-mode .partner-logo-img {
  filter: grayscale(100%) opacity(0.7);
}
body.light-mode .partner-logo-card:hover .partner-logo-img {
  filter: none;
  opacity: 1;
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--bt-gradient);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bt-gradient-brand);
  opacity: 0.6;
}
.page-header--visual {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bt-black);
  flex-shrink: 0;
}
.service-detail-visual {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.service-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-visual-icon {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bt-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bt-black);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.feature-chip-card { padding: 1rem 1.25rem !important; }
.feature-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,173,239,0.15);
  color: var(--bt-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,173,239,0.2), rgba(141,198,63,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bt-lime);
}
.breadcrumb-item a { color: var(--bt-gray); }
.breadcrumb-item.active { color: var(--bt-cyan); }

/* Blog */
.blog-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  transition: var(--bt-transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--bt-border-accent);
  box-shadow: var(--bt-glow);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bt-navy) 0%, var(--bt-black) 60%, rgba(0,173,239,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-cyan);
  font-size: 3rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-category {
  display: inline-block;
  background: rgba(0,173,239,0.12);
  color: var(--bt-lime);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Form */
.form-control, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--bt-border);
  color: var(--bt-white);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--bt-lime);
  box-shadow: 0 0 0 3px rgba(141,198,63,0.15);
  color: var(--bt-white);
}
.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-select option { background: var(--bt-dark); color: var(--bt-white); }

/* Footer */
.bt-footer {
  background: var(--bt-black);
  border-top: none;
  padding: 4rem 0 2rem;
  position: relative;
}
.bt-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--bt-gradient-brand);
  opacity: 0.5;
}
.footer-link {
  color: var(--bt-gray);
  display: block;
  padding: 0.35rem 0;
  transition: var(--bt-transition);
}
.footer-link:hover { color: var(--bt-cyan); padding-left: 5px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,173,239,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bt-cyan);
  transition: var(--bt-transition);
  margin-right: 0.5rem;
}
.social-icon:hover {
  background: var(--bt-gradient-brand);
  color: var(--bt-black);
  transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  z-index: 1040;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--bt-transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--bt-gradient-brand-vertical);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem; top: 0.5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bt-lime);
  box-shadow: 0 0 10px var(--bt-lime);
  transform: translateX(-5px);
}
.timeline-year {
  color: var(--bt-lime);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Africa Map Coverage */
.africa-map-section {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0,173,239,0.12) 0%, var(--bt-black) 70%);
}
.map-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--bt-lime);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(141,198,63,0.7); }
  50% { box-shadow: 0 0 0 15px rgba(141,198,63,0); }
}

/* Bootstrap – brand overrides */
.dropdown-menu-dark {
  background: var(--bt-navy);
  border: 1px solid var(--bt-border);
}
.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  background: rgba(141,198,63,0.15);
  color: var(--bt-lime);
}
.dropdown-menu-dark .dropdown-divider {
  border-color: var(--bt-border);
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--bt-gray); }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 6px var(--bt-cyan));
}
.pagination .page-link {
  background: var(--bt-card);
  border-color: var(--bt-border);
  color: var(--bt-cyan);
}
.pagination .page-item.active .page-link {
  background: var(--bt-gradient-brand);
  border-color: transparent;
  color: var(--bt-black);
}
.alert-success {
  background: rgba(141,198,63,0.15);
  border-color: var(--bt-lime);
  color: var(--bt-lime);
}
.alert-danger {
  background: rgba(251,176,59,0.12);
  border-color: var(--bt-orange);
  color: var(--bt-orange);
}
.badge.bg-primary, .bt-badge-cyan { background: var(--bt-cyan) !important; color: var(--bt-black) !important; }
.badge.bg-success, .bt-badge-lime { background: var(--bt-lime) !important; color: var(--bt-black) !important; }
.badge.bg-warning, .bt-badge-orange { background: var(--bt-orange) !important; color: var(--bt-black) !important; }
.btn-primary {
  background: var(--bt-gradient-brand);
  border: none;
  color: var(--bt-black);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--bt-gradient-brand);
  opacity: 0.92;
  color: var(--bt-black);
  box-shadow: var(--bt-glow);
}
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bt-border);
}

/* Admin panel – brand theme */
.bt-admin-body {
  background: #0c1018;
  color: #e2e8f0;
  font-family: var(--font-main);
}
.admin-sidebar {
  background: var(--bt-black);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  z-index: 100;
  border-right: 1px solid var(--bt-border);
}
.admin-sidebar .brand {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--bt-border);
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.72);
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  margin: 2px 0.45rem;
  transition: var(--bt-transition);
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(141,198,63,0.12);
  color: var(--bt-lime);
}
.admin-main {
  margin-left: 260px;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--bt-navy);
  border-bottom: 1px solid var(--bt-border);
  padding: 1rem 1.5rem;
  color: var(--bt-white);
}
.admin-topbar h5 { color: var(--bt-white); }
.stat-card {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--bt-border);
}
.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--bt-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bt-admin-body .card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bt-border);
  color: #e2e8f0;
}
.bt-admin-body .card-header {
  background: rgba(0,173,239,0.06);
  border-bottom: 1px solid var(--bt-border);
  color: var(--bt-white);
}
.bt-admin-body .table {
  color: #e2e8f0;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(0,173,239,0.04);
  --bs-table-hover-bg: rgba(141,198,63,0.06);
  --bs-table-border-color: var(--bt-border);
}
.bt-admin-body .form-control,
.bt-admin-body .form-select {
  background: rgba(0,0,0,0.35);
  border-color: var(--bt-border);
  color: var(--bt-white);
}
.bt-admin-body .form-control:focus,
.bt-admin-body .form-select:focus {
  border-color: var(--bt-lime);
  box-shadow: 0 0 0 3px rgba(141,198,63,0.15);
}

/* Client portal – brand theme */
.bt-portal-body {
  background: var(--bt-black);
  color: var(--bt-white);
  font-family: var(--font-main);
}
.portal-sidebar {
  background: var(--bt-black);
  min-height: 100vh;
  width: 250px;
  position: fixed;
  border-right: 1px solid var(--bt-border);
}
.portal-brand {
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--bt-border);
}
.portal-sidebar .nav-link {
  color: rgba(255,255,255,0.72);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin: 2px 0.5rem;
  transition: var(--bt-transition);
}
.portal-sidebar .nav-link:hover,
.portal-sidebar .nav-link.active {
  color: var(--bt-lime);
  background: rgba(141,198,63,0.1);
}
.portal-main {
  margin-left: 250px;
  min-height: 100vh;
  background: var(--bt-black);
}
.portal-topbar {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bt-border);
  background: var(--bt-navy);
  background-image: var(--bt-gradient-section);
}

/* CTA band */
.bt-cta-section {
  background: var(--bt-navy);
  background-image: linear-gradient(135deg, rgba(0,173,239,0.08) 0%, rgba(0,0,0,1) 40%, rgba(141,198,63,0.06) 100%);
  border-top: 1px solid var(--bt-border);
  border-bottom: 1px solid var(--bt-border);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-map { display: none; }
  .hero-carousel-control { display: none; }
  .hero-slide-title { font-size: 1.85rem; }
  .min-vh-hero { min-height: auto; padding: 2rem 0 4rem; }
  .service-card-visual { height: 170px; }
  .bt-section { padding: 3rem 0; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .portal-sidebar { transform: translateX(-100%); }
  .portal-main { margin-left: 0; }
  .hero-logo-mobile { display: block; }
  .bt-brand-logo--hero {
    width: min(100%, 300px);
    max-height: 120px;
  }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2.25rem; }
  .stat-number { font-size: 2rem; }
  .bt-brand-logo--navbar {
    height: 44px;
    width: auto;
    max-width: min(280px, 72vw);
    min-width: 140px;
  }
  .bt-brand-logo--footer {
    width: 170px;
    max-height: 52px;
  }
  .tagline-hero { letter-spacing: 0.06em; font-size: 1.25rem; }
}

/* Light mode */
html.light-mode,
html.light-mode body,
body.light-mode {
  background: #f4f7fb;
  color: #1e293b;
}
html.light-mode a,
body.light-mode a { color: #0077a8; }
html.light-mode a:hover,
body.light-mode a:hover { color: #5a9e12; }
html.light-mode .bt-navbar,
html.light-mode .bt-navbar.scrolled,
body.light-mode .bt-navbar,
body.light-mode .bt-navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(0,173,239,0.2);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
body.light-mode .bt-nav-link { color: #334155 !important; }
body.light-mode .bt-nav-link:hover,
body.light-mode .bt-nav-link.active { color: #5a9e12 !important; }
body.light-mode #themeToggle { color: #1e293b !important; }
body.light-mode .hero-section,
body.light-mode .page-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #f0fdf4 100%);
}
body.light-mode .hero-subtitle,
body.light-mode .section-subtitle,
body.light-mode .text-secondary { color: #64748b !important; }
body.light-mode .glass-card,
body.light-mode .testimonial-card,
body.light-mode .blog-card,
body.light-mode .partner-logo-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
body.light-mode .glass-card:hover,
body.light-mode .blog-card:hover {
  border-color: rgba(141,198,63,0.5);
}
body.light-mode h1, body.light-mode h2, body.light-mode h3,
body.light-mode h4, body.light-mode h5, body.light-mode h6,
body.light-mode .text-white { color: #0f172a !important; }
body.light-mode .bt-section-dark,
body.light-mode .bt-section-navy,
body.light-mode .stats-section,
body.light-mode .bt-footer,
body.light-mode .bt-cta-section {
  background: #ffffff;
  background-image: none;
}
body.light-mode .bt-section-dark::before,
body.light-mode .bt-section-navy::before { display: none; }
body.light-mode .form-control,
body.light-mode .form-select {
  background: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}
body.light-mode .form-control:focus,
body.light-mode .form-select:focus {
  background: #fff;
  color: #1e293b;
}
body.light-mode .dropdown-menu-dark {
  background: #fff;
  border-color: #e2e8f0;
}
body.light-mode .dropdown-menu-dark .dropdown-item { color: #334155; }
body.light-mode .logo-item { color: #64748b; filter: none; opacity: 0.7; }
body.light-mode .partner-logo-img {
  filter: grayscale(30%) opacity(0.85);
}
html.light-mode main,
html.light-mode .bt-section,
body.light-mode main,
body.light-mode .bt-section {
  background: #f4f7fb;
  color: #1e293b;
}
html.light-mode .page-header,
body.light-mode .page-header {
  color: #0f172a;
}
html.light-mode .navbar-toggler i,
body.light-mode .navbar-toggler i { color: #1e293b !important; }
html.light-mode .btn-outline-light,
body.light-mode .btn-outline-light {
  color: #334155;
  border-color: #94a3b8;
}
html.light-mode .service-card,
html.light-mode .service-icon,
body.light-mode .service-card,
body.light-mode .service-icon {
  color: inherit;
}
html.light-mode .bt-footer::before,
body.light-mode .bt-footer::before {
  opacity: 1;
}
