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

:root {
  --primary: #3B82F6;
  --primary-gradient: linear-gradient(135deg, #3B82F6, #06B6D4);
  --accent-gradient: linear-gradient(135deg, #2f86ff 0%, #7b61ff 55%, #00d4ff 100%);
  --dark-bg: #0B1120;
  --dark-secondary: #0F172A;
  --dark-card: rgba(255, 255, 255, 0.06);
  --dark-card-hover: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.13);
  --border-glow: rgba(47, 134, 255, 0.22);
  --text-light: #F8FAFC;
  --text-muted: #CBD5E1;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ========================================================
   ROBUST MOBILE NAVBAR & TOOGLE FIX
   ======================================================== */

/* 1. Force Header Items to Stay in a Single Row */
/*.navbar > .container,*/
/*.navbar > .container-fluid {*/
/*  display: flex !important;*/
/*  flex-direction: row !important;*/
/*  flex-wrap: nowrap !important;*/
/*  align-items: center !important;*/
/*  justify-content: space-between !important;*/
/*}*/

/* 2. Group Toggle and Hamburger Together on the Right */
/*.hmk-nav-actions {*/
/*  display: flex !important;*/
/*  flex-direction: row !important;*/
/*  align-items: center !important;*/
/*  gap: 12px !important;*/
/*  margin-left: auto !important;*/
/*  margin-right: 8px !important;*/
/*}*/

/* 3. Ensure Theme Toggle behaves on Mobile */
/*#theme-toggle {*/
/*  margin: 0 !important;*/
/*  padding: 0 !important;*/
/*  display: inline-flex !important;*/
/*  align-items: center !important;*/
/*}*/

/* 4. Hamburger Button Styling & Colors */
/* 4. Hamburger Button Styling & Colors */
/*.navbar-toggler {*/
/*  padding: 4px 8px !important;*/
/*  font-size: 1.25rem !important;*/
/*  border: 1px solid transparent !important;*/
/*  border-radius: 6px !important;*/
/*  transition: all 0.2s ease !important;*/
/*  background: transparent !important;*/
/*  box-shadow: none !important;*/
/*}*/

/* Force specific display ONLY on mobile/tablet */
/*@media (max-width: 991px) {*/
/*  .navbar-toggler {*/
/*    display: inline-flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*  }*/
/*}*/

/* Light Mode Mobile Colors */
/*body.light-mode .navbar-toggler {*/
/*  border-color: rgba(0, 0, 0, 0.1) !important;*/
/*  background-color: rgba(0, 0, 0, 0.02) !important;*/
/*}*/

/*body.light-mode .navbar-toggler-icon {*/
/*  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;*/
/*}*/

/* Dark Mode Mobile Colors */
/*body:not(.light-mode) .navbar-toggler {*/
/*  border-color: rgba(255, 255, 255, 0.1) !important;*/
/*  background-color: rgba(255, 255, 255, 0.02) !important;*/
/*}*/

/*body:not(.light-mode) .navbar-toggler-icon {*/
/*  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;*/
/*}*/

/* 5. Fix Mobile Drawer / Offcanvas Menu for Light Mode */
/*@media (max-width: 991px) {*/
/*  body.light-mode .offcanvas,*/
/*  body.light-mode .offcanvas-header,*/
/*  body.light-mode .offcanvas-body {*/
/*    background-color: #ffffff !important;*/
/*    color: #0f172a !important;*/
/*  }*/

/*  body.light-mode .offcanvas .nav-link {*/
/*    color: #334155 !important;*/
/*  }*/

/*  body.light-mode .offcanvas .nav-link:hover,*/
/*  body.light-mode .offcanvas .nav-link.active {*/
/*    color: #2f86ff !important;*/
/*  }*/

/* Full width action items inside the mobile menu drawer */
/*  .offcanvas-body .button {*/
/*    display: flex !important;*/
/*    flex-direction: column !important;*/
/*    align-items: stretch !important;*/
/*    width: 100% !important;*/
/*    margin-top: 16px !important;*/
/*  }*/

/*  .offcanvas-body .button .btn {*/
/*    width: 100% !important;*/
/*    text-align: center !important;*/
/*  }*/
/*}*/
/* ── HERO ── */
.about-hero {
  position: relative;
  padding: clamp(64px, 10vw, 100px) 0 clamp(60px, 9vw, 96px);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(47, 134, 255, 0.18), transparent),
    radial-gradient(circle at 80% 70%, rgba(123, 97, 255, 0.10), transparent 50%),
    var(--dark-secondary);
  overflow: hidden;
  z-index: 1;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Badge */
.badge-custom {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

/* Hero layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}


.hero-heading {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-heading .heading-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

/* Container for the stats cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Individual Stat Cards */
.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-5px);
}

.stat-pill strong {
  font-size: 2rem;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.stat-pill span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Hero right visual */
.hero-visual {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-img-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(1.3);
}

.hero-img-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 134, 255, 0.2), transparent 60%);
  z-index: 1;
}

.hero-img-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 134, 255, 0), rgba(47, 134, 255, 0.9), rgba(114, 92, 255, 0.95), rgba(0, 212, 255, 0.8), rgba(47, 134, 255, 0));
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.float-badge {
  position: absolute;
  bottom: -18px;
  left: 28px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  z-index: 3;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.float-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.float-badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.float-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── SECTION COMMONS ── */
section {
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
}

/* ── MISSION 3-COL ── */
.mission-section {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.mission-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 134, 255, 0), rgba(47, 134, 255, 0.9), rgba(114, 92, 255, 0.95), rgba(0, 212, 255, 0.8), rgba(47, 134, 255, 0));
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}

.mission-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.mission-card:hover::after {
  opacity: 1;
}

.mission-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.mission-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── INFRASTRUCTURE ── */
.infra-section {
  background: var(--dark-bg);
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.infra-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.infra-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: brightness(0.5) saturate(1.4);
}

.infra-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(47, 134, 255, 0.15), transparent);
  z-index: 1;
}

.infra-media::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 134, 255, 0), rgba(47, 134, 255, 0.9), rgba(114, 92, 255, 0.95), rgba(0, 212, 255, 0.8), rgba(47, 134, 255, 0));
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dc-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.dc-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2rem;
}

.dc-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-light);
  transition: border-color .3s, transform .3s;
}

.dc-feature:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.dc-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* ── FEATURES 3-COL ── */
.features-section {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-color);
}

.features-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.glass-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(47, 134, 255, 0.1);
  filter: blur(60px);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.feat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  transition: transform .3s;
}

.glass-card:hover .feat-icon-box {
  transform: scale(1.1);
}

.glass-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.glass-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feat-list {
  list-style: none;
  margin-top: 1rem;
}

.feat-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-list li::before {
  content: '✓';
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── TEAM ── */
.team-section {
  background: var(--dark-bg);
}

.team-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.team-top .section-desc {
  margin: 0;
  max-width: 280px;
  text-align: right;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.team-card-banner {
  height: 90px;
  background: linear-gradient(135deg, #040b2d, #0d1e5b);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  position: relative;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f86ff, #7b61ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid var(--dark-bg);
  position: absolute;
  bottom: -36px;
}

.team-card-body {
  padding: 48px 1.2rem 1.5rem;
  text-align: center;
}

.team-card-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  color: #fff;
}

.team-card-body span {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
}

/* ── STATS BAND ── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e4bd1 100%);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.stats-band-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stats-band-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stats-band-section {
  margin-bottom: 3rem;
  border: none !important;
  box-shadow: none !important;
}

.stats-band-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stats-band-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* ── CTA ── */
.cta-section {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-color);
}

.cta-wrap {
  background:
    radial-gradient(circle at top right, rgba(47, 134, 255, 0.15), transparent 50%),
    var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 134, 255, 0), rgba(47, 134, 255, 0.9), rgba(114, 92, 255, 0.95), rgba(0, 212, 255, 0.8), rgba(47, 134, 255, 0));
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-wrap h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.btn-gradient {
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.3);
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.4);
  color: #fff;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .7s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.d1 {
  animation-delay: .1s;
}

.d2 {
  animation-delay: .2s;
}

.d3 {
  animation-delay: .3s;
}

.d4 {
  animation-delay: .4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .infra-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-top {
    grid-template-columns: 1fr;
  }

  .cta-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-wrap .btn-gradient {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 12px;
  }

  .stats-band-item::after {
    display: none;
  }

  .stats-band-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    justify-content: flex-start;
    padding: 16px;
  }

  .team-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-top .section-desc {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: .75rem;
  }

  .stat-pill {
    min-width: 80px;
  }
}

@media (max-width: 400px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

.footer-section-bg {
  padding: 0;
}

/* Client update: brighter text and better mobile readability */
/* Client update: brighter text and better mobile readability */

/* 1. Explicitly color the paragraphs/spans in Dark Mode */
body:not(.light-mode) .hero-desc,
body:not(.light-mode) .section-desc,
body:not(.light-mode) .mission-card p,
body:not(.light-mode) .glass-card p,
body:not(.light-mode) .feat-list li,
body:not(.light-mode) .cta-wrap p,
body:not(.light-mode) .stat-pill span,
body:not(.light-mode) .float-badge-text span,
body:not(.light-mode) .team-top .section-desc {
  color: #CBD5E1 !important;
  -webkit-text-fill-color: #CBD5E1 !important;
}

/* 2. Explicitly color the backgrounds in Dark Mode */
body:not(.light-mode) .mission-card,
body:not(.light-mode) .glass-card,
body:not(.light-mode) .team-card,
body:not(.light-mode) .stat-pill,
body:not(.light-mode) .cta-wrap,
body:not(.light-mode) .dc-feature {
  background: rgba(255, 255, 255, 0.065) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* 3. Explicitly color the Headings (Hosting Built For...) in Dark Mode */
body:not(.light-mode) .section-title,
body:not(.light-mode) .hero-heading,
body:not(.light-mode) .mission-card h3,
body:not(.light-mode) .glass-card h3,
body:not(.light-mode) .cta-wrap h2,
body:not(.light-mode) .team-card-body strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.features-section,
.mission-section,
.cta-section {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 767px) {
  .about-hero {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-heading {
    font-size: clamp(2.05rem, 11vw, 2.75rem) !important;
    line-height: 1.12;
  }

  .hero-desc,
  .section-desc,
  .mission-card p,
  .glass-card p,
  .cta-wrap p {
    font-size: .96rem;
    line-height: 1.8;
  }

  .stats-band-label {
    color: rgba(255, 255, 255, .94) !important;
  }
}

@media (max-width: 991px) {
  .offcanvas {
    background-color: #0B1120 !important;
    width: 280px !important;
    max-width: 280px !important;
  }

  .offcanvas-backdrop.show {
    opacity: 0.75 !important;
    background-color: #000 !important;
  }
}


/* ========================================================
   FOOTER
   ======================================================== */
.footer-wrap {
  background: #030712;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

.footer-horizon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 134, 255, 0.6), rgba(139, 92, 246, 0.6), transparent);
  box-shadow: 0 0 30px 2px rgba(47, 134, 255, 0.4);
}

.footer_links h4 {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer_links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_links ul li {
  margin-bottom: 1rem;
}

.footer_links ul li a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer_links ul li a:hover {
  color: #e2e8f0;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer_about p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 208, 126, 0.1);
  border: 1px solid rgba(34, 208, 126, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  color: #22d07e;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.footer-status .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d07e;
  box-shadow: 0 0 10px #22d07e;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(0.95);
    opacity: 1;
  }
}

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer_bottom p {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── MOBILE FOOTER FIX ── */
@media (max-width: 768px) {

  .footer-wrap .footer_links,
  .footer-wrap .footer_links .row,
  .footer-wrap .footer_links .row>div,
  .footer-wrap .col-lg-8,
  .footer-wrap .col-md-4,
  .footer-wrap .col-sm-6,
  .footer-wrap .col-lg-4,
  .footer-wrap .col-md-12 {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-wrap .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .footer-wrap .footer_links ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-wrap .footer_links ul li {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    line-height: 2.2 !important;
  }

  /* This beats main.css's  footer .footer_links ul li a  rule */
  .footer-wrap .footer_links ul li a {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    position: static !important;
    letter-spacing: normal !important;
  }

  .footer-wrap .footer_links ul li a::before {
    display: none !important;
  }

  .footer-wrap .footer_links ul li a:hover {
    transform: none !important;
    letter-spacing: normal !important;
  }

  .footer-wrap .footer_links h4 {
    text-align: center !important;
  }

  .footer-wrap .footer_about {
    text-align: center !important;
    margin-top: 1rem !important;
  }

  .footer-wrap .footer_about .d-flex {
    justify-content: center !important;
  }

  .footer-wrap .footer_about p {
    margin: 1rem auto 0 !important;
    max-width: 320px;
    text-align: center !important;
  }

  .footer-wrap .footer-status {
    margin: 1.2rem auto 0 !important;
  }

  .footer-wrap .footer_bottom .row {
    text-align: center !important;
    gap: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* --- Drawer Logo Container --- */
.hmk-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.5rem !important;
  background-color: #0B1120;
  /* Dark background */
  border-bottom: none !important;
}

/* --- The Brand Text --- */
.hmk-drawer-brand {
  font-weight: 800 !important;
  font-style: italic !important;
  font-size: 1.3rem !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* --- The "MEERKAT" Blue Text --- */
.hmk-drawer-brand span {
  color: #3b82f6 !important;
}

/* --- Light Mode Adjustments --- */
body.light-mode .hmk-drawer-header {
  background-color: #ffffff !important;
}

body.light-mode .hmk-drawer-brand {
  color: #0f172a !important;
}

/* --- Fix Close Button Visibility & Position --- */
.hmk-drawer-header .btn-close {
  position: static !important;
  /* Forces it to stay inside the flexbox */
  margin: 0 !important;
  filter: invert(1);
  /* Makes it black */
}

body.light-mode .hmk-drawer-header .btn-close {
  filter: invert(0);
  /* Makes it white/dark for light mode */
}

/* Fix for the Drawer Brand */
.hmk-drawer-brand {
  font-weight: 800 !important;
  font-style: italic !important;
  font-size: 1.3rem !important;
  white-space: nowrap !important;
  margin: 0 !important;

  /* Force White in Dark Mode */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Ensure Light Mode stays dark */
body.light-mode .hmk-drawer-brand {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* Ensure the blue "MEERKAT" is always blue */
.hmk-drawer-brand span {
  color: #3b82f6 !important;
  -webkit-text-fill-color: #3b82f6 !important;
}