/* ============================================================
   MAWASCO Premium Landing — Design System
   Malindi Water & Sanitation Company
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --mw-navy:          #002855;
  --mw-blue:          #00387a;
  --mw-blue-mid:      #0062a8;
  --mw-accent:        #03a9f4;
  --mw-green:         #06bf5f;
  --mw-dark:          #0a1628;
  --mw-light-blue:    #e8f4fd;
  --mw-gray:          #f5f8fc;
  --mw-white:         #ffffff;
  --mw-text:          #1a2e44;
  --mw-muted:         #6b7f96;
  --mw-border:        #dde8f2;
  --mw-gradient-hero: linear-gradient(145deg, #001a3e 0%, #003872 45%, #0062a8 100%);
  --mw-shadow-sm:     0 2px 12px rgba(0,56,122,0.08);
  --mw-shadow-md:     0 8px 32px rgba(0,56,122,0.13);
  --mw-shadow-lg:     0 20px 56px rgba(0,56,122,0.18);
  --mw-radius:        12px;
  --mw-radius-lg:     20px;
  --mw-ease:          0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Global ---- */
html { scroll-behavior: smooth; }

body.blue-theme {
  font-family: 'Outfit', 'Rubik', sans-serif;
  color: var(--mw-text);
}

/* ============================================================
   STICKY TRANSPARENT NAVBAR (home page only)
   ============================================================ */
.mw-home-page #mwNavbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  width: 100%;
  transition: background var(--mw-ease), box-shadow var(--mw-ease), padding var(--mw-ease);
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  padding-bottom: 18px;
}

.mw-home-page #mwNavbar.mw-scrolled {
  background: var(--mw-white) !important;
  box-shadow: 0 2px 24px rgba(0,40,85,0.12) !important;
  border-bottom-color: transparent;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Logo — white when transparent, colour when scrolled */
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-brand img {
  filter: brightness(0) invert(1);
}

/* Nav links — white when transparent */
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu > li > a {
  color: rgba(255,255,255,0.88) !important;
}
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu > li:hover > a,
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu > .active > a {
  color: #fff !important;
}
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-toggle:before {
  background: #fff;
  box-shadow: 0 .5em 0 0 #fff, 0 1em 0 0 #fff;
}
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu.nav-menu-social > li > a {
  color: #fff !important;
}

/* Portal button — distinct on transparent bg */
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu.nav-menu-social > li > a {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 50px;
  padding: 10px 20px !important;
  transition: var(--mw-ease);
}
.mw-home-page #mwNavbar:not(.mw-scrolled) .nav-menu.nav-menu-social > li > a:hover {
  background: rgba(255,255,255,0.22) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.mw-hero {
  position: relative;
  min-height: 100vh;
  background: var(--mw-gradient-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mw-hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.mw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,24,60,0.93) 0%, rgba(0,56,122,0.82) 55%, rgba(0,98,168,0.72) 100%);
  z-index: 1;
}

/* Floating blobs */
.mw-hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.mw-blob {
  position: absolute;
  border-radius: 50%;
  animation: mwBlob linear infinite;
}
.mw-blob:nth-child(1){ width:420px; height:420px; top:-140px; right:-120px;  background:rgba(3,169,244,0.08);  animation-duration:22s; }
.mw-blob:nth-child(2){ width:260px; height:260px; top:45%;   left:-80px;    background:rgba(3,169,244,0.06);  animation-duration:28s; animation-delay:-7s; }
.mw-blob:nth-child(3){ width:180px; height:180px; bottom:8%; right:18%;     background:rgba(6,191,95,0.07);   animation-duration:19s; animation-delay:-12s; }
.mw-blob:nth-child(4){ width:100px; height:100px; top:22%;   left:42%;      background:rgba(255,255,255,0.04);animation-duration:16s; animation-delay:-4s; }
.mw-blob:nth-child(5){ width:140px; height:140px; bottom:28%;left:22%;      background:rgba(3,169,244,0.05);  animation-duration:24s; animation-delay:-9s; }

@keyframes mwBlob {
  0%,100%{ transform:translateY(0) scale(1);   opacity:.7; }
  50%     { transform:translateY(-35px) scale(1.06); opacity:1; }
}

.mw-hero > .container {
  position: relative;
  z-index: 2;
  padding-top:  clamp(6rem, 12vh, 8.5rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
}

/* Badge */
.mw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3,169,244,0.14);
  border: 1px solid rgba(3,169,244,0.28);
  color: #03a9f4;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.mw-hero-badge .mw-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #03a9f4;
  animation: mwPulse 2s ease infinite;
}
@keyframes mwPulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.4; transform:scale(1.6); }
}

/* Title */
.mw-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}
.mw-hero-title .mw-gradient-text {
  background: linear-gradient(120deg, #03a9f4 0%, #06bf5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mw-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* CTA buttons */
.mw-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.mw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mw-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: var(--mw-ease);
  box-shadow: 0 4px 22px rgba(6,191,95,.35);
  border: 2px solid transparent;
}
.mw-btn-primary:hover {
  background: #04ae55;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,191,95,.45);
}
.mw-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.35);
  transition: var(--mw-ease);
}
.mw-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* Stats bar */
.mw-hero-stats {
  display: flex;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--mw-radius);
  overflow: hidden;
  max-width: 480px;
}
.mw-stat-item {
  flex: 1;
  padding: 1.1rem .9rem;
  text-align: center;
  position: relative;
}
.mw-stat-item + .mw-stat-item::before {
  content:'';
  position:absolute; left:0; top:20%; height:60%; width:1px;
  background: rgba(255,255,255,.14);
}
.mw-stat-num {
  font-family:'Outfit',sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.mw-stat-unit { color: #03a9f4; font-weight: 700; font-size: 1rem; }
.mw-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  margin: 4px 0 0;
  font-weight: 500;
  letter-spacing: .02em;
}

/* Hero form card */
.mw-hero-form-card {
  background: #fff;
  border-radius: var(--mw-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--mw-shadow-lg);
  animation: mwSlideUp .65s ease both .2s;
}
@keyframes mwSlideUp {
  from{ opacity:0; transform:translateY(28px); }
  to  { opacity:1; transform:translateY(0); }
}
.mw-form-hd {
  border-bottom: 2px solid var(--mw-light-blue);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.mw-form-hd h3 {
  font-family:'Outfit',sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mw-navy);
  margin: 0;
}
.mw-form-hd p {
  font-size: .82rem;
  color: var(--mw-muted);
  margin: 4px 0 0;
}
.mw-hero-form-card label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--mw-text);
  margin-bottom: 3px;
  display: block;
}
.mw-hero-form-card .form-control,
.mw-hero-form-card select.form-control {
  border: 1.5px solid var(--mw-border);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: .88rem;
  transition: var(--mw-ease);
  background: #f8fafd;
  color: var(--mw-text);
}
.mw-hero-form-card .form-control:focus,
.mw-hero-form-card select.form-control:focus {
  border-color: var(--mw-accent);
  box-shadow: 0 0 0 3px rgba(3,169,244,.1);
  background: #fff;
  outline: none;
}
.mw-hero-submit {
  width: 100%;
  background: var(--mw-blue);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .93rem;
  cursor: pointer;
  transition: var(--mw-ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mw-hero-submit:hover {
  background: #0052b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,56,122,.28);
}

/* Wave bottom */
.mw-wave-bottom {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.mw-wave-bottom svg { display:block; width:100%; height:70px; }

/* ============================================================
   MOBILE NAV-HEADER — portrait mode only (≤992px)
   ============================================================ */
@media (max-width: 992px) {

  /* 1. Let navigation grow beyond the theme's fixed 48px */
  #mwNavbar .navigation {
    height: auto !important;
    min-height: 56px !important;
  }

  /* 2. nav-header → flex row + positioning parent for absolute hamburger */
  #mwNavbar .nav-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    float: none !important;
    width: 100% !important;
    position: relative !important;
    padding-right: 44px !important;  /* space reserved for hamburger */
    box-sizing: border-box !important;
  }

  /* 3. Logo — takes all remaining space */
  #mwNavbar .nav-brand {
    flex: 1 1 auto !important;
    float: none !important;
    margin: 0 !important;
    padding-right: 8px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 4. Portal button list — no compensating margins */
  #mwNavbar ul.mobile_nav.dhsbrd {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  /* 5. Hamburger — keeps absolute but anchors to nav-header */
  #mwNavbar .nav-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  /* 6. Override hardcoded dark link colour inside mobile_nav */
  #mwNavbar ul.mobile_nav.dhsbrd li a {
    color: inherit !important;
    justify-content: center !important;
  }

  /* 7. Hamburger line colours */
  .mw-home-page #mwNavbar:not(.mw-scrolled) .nav-toggle::before {
    background-color: #fff !important;
    box-shadow: 0 .5em 0 0 #fff, 0 1em 0 0 #fff !important;
  }
  .mw-home-page #mwNavbar.mw-scrolled .nav-toggle::before,
  body:not(.mw-home-page) #mwNavbar .nav-toggle::before {
    background-color: #00387a !important;
    box-shadow: 0 .5em 0 0 #00387a, 0 1em 0 0 #00387a !important;
  }

} /* end @media (max-width: 992px) */

/* ============================================================
   MOBILE PORTAL BUTTON (≤992px only)
   ============================================================ */
@media (min-width: 993px) {
  /* Hide the mobile portal button entirely on desktop —
     the desktop nav already has the Customer Portal link */
  #mwNavbar ul.mobile_nav.dhsbrd {
    display: none !important;
  }
}

.mw-mobile-portal-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: .01em;
  transition: var(--mw-ease);
  white-space: nowrap;
  line-height: 1;

  /* Default — transparent hero state on home */
  background: rgba(255,255,255,0.14) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mw-mobile-portal-btn:hover {
  background: rgba(255,255,255,0.26) !important;
  border-color: rgba(255,255,255,0.7) !important;
  color: #fff !important;
}
.mw-mobile-portal-btn i { font-size: .8rem; }

/* Home page — scrolled (solid white navbar) */
.mw-home-page #mwNavbar.mw-scrolled .mw-mobile-portal-btn {
  background: var(--mw-blue) !important;
  color: #fff !important;
  border-color: var(--mw-blue) !important;
  backdrop-filter: none !important;
}
.mw-home-page #mwNavbar.mw-scrolled .mw-mobile-portal-btn:hover {
  background: #0052b0 !important;
  border-color: #0052b0 !important;
}

/* All other pages — always navy */
body:not(.mw-home-page) .mw-mobile-portal-btn {
  background: var(--mw-blue) !important;
  color: #fff !important;
  border-color: var(--mw-blue) !important;
  backdrop-filter: none !important;
}

/* ============================================================
   QUICK ACTIONS — PREMIUM CARDS
   ============================================================ */
.mw-quick-strip {
  background: transparent;
  position: relative;
  z-index: 5;
  margin-top: -56px;       /* overlap the hero wave */
  padding-bottom: 2.5rem;
}

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

@media(max-width:991px){ .mw-quick-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:479px){ .mw-quick-grid{ grid-template-columns: 1fr; } }

.mw-qa-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.75rem 1.6rem 1.6rem;
  text-decoration: none;
  border-radius: var(--mw-radius-lg);
  overflow: hidden;
  transition: transform var(--mw-ease), box-shadow var(--mw-ease);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* Per-card gradients */
.mw-qa-tile.qa-blue   { background: linear-gradient(145deg, #003872 0%, #0062a8 100%); }
.mw-qa-tile.qa-amber  { background: linear-gradient(145deg, #b45309 0%, #d97706 100%); }
.mw-qa-tile.qa-green  { background: linear-gradient(145deg, #047857 0%, #059669 100%); }
.mw-qa-tile.qa-teal   { background: linear-gradient(145deg, #0284c7 0%, #03a9f4 100%); }

.mw-qa-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.22);
  color: #fff;
}

/* Glowing shimmer on hover */
.mw-qa-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--mw-ease);
  pointer-events: none;
}
.mw-qa-tile:hover::before { opacity: 1; }

/* Large decorative icon in background */
.mw-qa-tile::after {
  content: '';
  position: absolute;
  right: -18px; bottom: -18px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: transform var(--mw-ease);
}
.mw-qa-tile:hover::after { transform: scale(1.3); }

/* Icon container */
.mw-qa-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: var(--mw-ease);
  backdrop-filter: blur(4px);
}
.mw-qa-tile:hover .mw-qa-ico {
  background: rgba(255,255,255,.28);
  transform: scale(1.08);
}

/* Text */
.mw-qa-info strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}
.mw-qa-info span {
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  line-height: 1.4;
}

/* Arrow indicator */
.mw-qa-arrow {
  position: absolute;
  bottom: 1.4rem; right: 1.4rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  transition: var(--mw-ease);
}
.mw-qa-tile:hover .mw-qa-arrow {
  background: rgba(255,255,255,.28);
  transform: translate(2px, -2px);
  color: #fff;
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.mw-section-tag {
  display: inline-block;
  background: rgba(3,169,244,.1);
  color: #03a9f4;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.mw-section-h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--mw-navy);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.mw-section-sub {
  color: var(--mw-muted);
  font-size: .97rem;
  line-height: 1.7;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.mw-services { padding: 5.5rem 0; background: var(--mw-gray); }

.mw-svc-card {
  background: #fff;
  border-radius: var(--mw-radius-lg);
  overflow: hidden;
  transition: var(--mw-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--mw-shadow-sm);
  border: 1px solid var(--mw-border);
  position: relative;
}
.mw-svc-card::after {
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--mw-blue), var(--mw-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mw-ease);
}
.mw-svc-card:hover::after { transform:scaleX(1); }
.mw-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mw-shadow-lg);
  border-color: transparent;
}
.mw-svc-img {
  height: 190px;
  overflow: hidden;
  background: var(--mw-light-blue);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mw-svc-img img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.mw-svc-card:hover .mw-svc-img img { transform:scale(1.06); }
.mw-svc-icon-fb { font-size:2.8rem; color:var(--mw-blue); opacity:.3; }
.mw-svc-badge {
  position:absolute; top:12px; left:12px;
  background: var(--mw-green); color:#fff;
  font-size:.68rem; font-weight:700;
  padding:3px 10px; border-radius:50px;
  text-transform:uppercase; letter-spacing:.06em;
}
.mw-svc-body { padding:1.5rem; flex:1; display:flex; flex-direction:column; }
.mw-svc-body h4 {
  font-family:'Outfit',sans-serif;
  font-size:1.02rem; font-weight:700; color:var(--mw-navy);
  margin-bottom:.45rem;
}
.mw-svc-body p {
  color:var(--mw-muted); font-size:.87rem; line-height:1.65;
  flex:1; margin-bottom:1.2rem;
}
.mw-svc-link {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--mw-blue); font-weight:700; font-size:.85rem;
  text-decoration:none; transition:var(--mw-ease);
}
.mw-svc-link:hover { color:var(--mw-accent); gap:10px; }

/* ============================================================
   WHY MAWASCO SECTION
   ============================================================ */
.mw-why { padding: 5.5rem 0; background: #fff; }

.mw-why-img-panel {
  position: relative;
  border-radius: var(--mw-radius-lg);
  overflow: hidden;
  min-height: 500px;
}
.mw-why-img-panel > img {
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}
.mw-why-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,40,85,.15) 0%,rgba(0,40,85,.75) 100%);
}
.mw-why-img-stats {
  position:absolute; bottom:1.75rem; left:1.75rem; right:1.75rem;
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--mw-radius);
  padding:1.1rem 1rem;
  display:flex; gap:1rem;
}
.mw-img-stat { flex:1; text-align:center; }
.mw-img-stat h3 {
  font-family:'Outfit',sans-serif;
  font-size:1.5rem; font-weight:800; color:#fff; margin:0; line-height:1;
}
.mw-img-stat h3 span { color:#03a9f4; }
.mw-img-stat p { font-size:.7rem; color:rgba(255,255,255,.65); margin:4px 0 0; }

.mw-why-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem;
  margin-top:1.75rem;
}
@media(max-width:575px){ .mw-why-grid{ grid-template-columns:1fr; } }

.mw-why-card {
  display:flex; gap:1.1rem;
  padding:1.5rem;
  border-radius:var(--mw-radius);
  border:1px solid var(--mw-border);
  transition:var(--mw-ease);
  background:#fff;
}
.mw-why-card:hover {
  border-color:var(--mw-accent);
  box-shadow:var(--mw-shadow-md);
  transform:translateY(-3px);
}
.mw-why-icon {
  width:52px; height:52px; border-radius:13px;
  background:var(--mw-light-blue);
  display:flex; align-items:center; justify-content:center;
  font-size:1.35rem; color:var(--mw-blue);
  flex-shrink:0; transition:var(--mw-ease);
}
.mw-why-card:hover .mw-why-icon { background:var(--mw-blue); color:#fff; }
.mw-why-content h5 {
  font-family:'Outfit',sans-serif;
  font-size:.97rem; font-weight:700; color:var(--mw-navy); margin-bottom:.35rem;
}
.mw-why-content p { font-size:.84rem; color:var(--mw-muted); line-height:1.6; margin:0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.mw-cta { padding:5.5rem 0; background:var(--mw-gradient-hero); position:relative; overflow:hidden; }
.mw-cta::before {
  content:''; position:absolute; inset:0; opacity:.04;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}
.mw-cta-content { position:relative; z-index:2; }
.mw-cta .mw-section-tag { background:rgba(6,191,95,.14); color:#06bf5f; }
.mw-cta .mw-section-h2 { color:#fff; }
.mw-cta .mw-section-sub { color:rgba(255,255,255,.72); max-width:440px; }

.mw-cta-list {
  list-style:none; padding:0; margin:1.5rem 0 2rem;
}
.mw-cta-list li {
  display:flex; align-items:center; gap:10px;
  color:rgba(255,255,255,.82); font-size:.93rem;
  margin-bottom:.55rem;
}
.mw-cta-list li::before {
  content:''; width:7px; height:7px;
  border-radius:50%; background:#06bf5f; flex-shrink:0;
}

/* CTA form card (glass) */
.mw-cta-card {
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.13);
  border-radius:var(--mw-radius-lg);
  padding:2rem;
  position:relative; z-index:2;
}
.mw-cta-card .mw-form-hd { border-bottom-color:rgba(255,255,255,.12); }
.mw-cta-card .mw-form-hd h3 { color:#fff; }
.mw-cta-card .mw-form-hd p  { color:rgba(255,255,255,.55); }
.mw-cta-card label { color:rgba(255,255,255,.75); font-size:.8rem; font-weight:600; display:block; margin-bottom:3px; }
.mw-cta-card .form-control,
.mw-cta-card select.form-control {
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  color:#fff; border-radius:8px; padding:9px 13px; font-size:.88rem;
}
.mw-cta-card .form-control::placeholder { color:rgba(255,255,255,.38); }
.mw-cta-card .form-control:focus,
.mw-cta-card select.form-control:focus {
  background:rgba(255,255,255,.14);
  border-color:rgba(3,169,244,.55);
  box-shadow:0 0 0 3px rgba(3,169,244,.14);
  color:#fff; outline:none;
}
.mw-cta-card select.form-control option { background:#002855; color:#fff; }
.mw-cta-submit {
  width:100%; background:var(--mw-green); color:#fff;
  border:none; padding:13px; border-radius:8px;
  font-weight:700; font-size:.93rem; cursor:pointer;
  transition:var(--mw-ease);
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.mw-cta-submit:hover {
  background:#04ae55; transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(6,191,95,.3);
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.mw-partners { padding:4rem 0; background:#fff; border-top:1px solid var(--mw-border); }
.mw-partners-label {
  text-align:center; margin-bottom:2rem;
}
.mw-partners-label p {
  font-size:.75rem; text-transform:uppercase;
  letter-spacing:.12em; color:var(--mw-muted); font-weight:600;
  margin:0; display:flex; align-items:center; justify-content:center; gap:12px;
}
.mw-partners-label p::before,
.mw-partners-label p::after {
  content:''; flex:1; max-width:80px; height:1px; background:var(--mw-border);
}
.mw-partner-item {
  display:flex; align-items:center; justify-content:center;
  padding:1rem;
  filter:grayscale(1); opacity:.5;
  transition:var(--mw-ease);
}
.mw-partner-item:hover { filter:grayscale(0); opacity:1; transform:scale(1.05); }
.mw-partner-item img { max-height:58px; max-width:130px; object-fit:contain; }

/* ============================================================
   PREMIUM FOOTER
   ============================================================ */
.mw-footer {
  background: linear-gradient(180deg,#001e48 0%,#000e26 100%);
  padding-top: 4.5rem;
  position:relative; overflow:hidden;
}
.mw-footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--mw-blue), var(--mw-accent), var(--mw-green));
}
/* subtle grid texture */
.mw-footer::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:30px 30px;
}
.mw-footer > * { position:relative; z-index:1; }

.mw-footer-logo { max-height:40px; margin-bottom:1rem; }
.mw-footer-tagline {
  color:rgba(255,255,255,.5); font-size:.87rem; line-height:1.7;
  margin-bottom:1.25rem;
}
.mw-footer-socials {
  display:flex; gap:8px;
}
.mw-footer-socials a {
  width:38px; height:38px; border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.55); font-size:.85rem;
  text-decoration:none; transition:var(--mw-ease);
}
.mw-footer-socials a:hover {
  background:var(--mw-blue); border-color:var(--mw-blue);
  color:#fff; transform:translateY(-2px);
}

.mw-fw-title {
  font-family:'Outfit',sans-serif;
  font-size:.8rem; font-weight:700;
  color:#fff; letter-spacing:.1em; text-transform:uppercase;
  padding-bottom:.6rem; margin-bottom:1.1rem; position:relative;
}
.mw-fw-title::after {
  content:''; position:absolute; bottom:0; left:0;
  width:22px; height:2px; background:var(--mw-accent);
}

.mw-fw-links { list-style:none; padding:0; margin:0; }
.mw-fw-links li { margin-bottom:.45rem; }
.mw-fw-links li a {
  color:rgba(255,255,255,.48); font-size:.86rem;
  text-decoration:none; transition:var(--mw-ease);
  display:inline-flex; align-items:center; gap:5px;
}
.mw-fw-links li a:hover { color:var(--mw-accent); padding-left:4px; }

.mw-footer-contact-row {
  display:flex; align-items:flex-start; gap:11px; margin-bottom:.9rem;
}
.mw-fc-icon {
  width:34px; height:34px; border-radius:8px;
  background:rgba(3,169,244,.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--mw-accent); font-size:.82rem; flex-shrink:0;
}
.mw-fc-text strong {
  display:block; color:rgba(255,255,255,.65);
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
}
.mw-fc-text a,
.mw-fc-text span {
  color:rgba(255,255,255,.48); font-size:.85rem;
  text-decoration:none; transition:var(--mw-ease);
}
.mw-fc-text a:hover { color:var(--mw-accent); }

/* Footer bottom */
.mw-footer-bottom {
  margin-top:3rem; padding:1.25rem 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.mw-footer-bottom p {
  color:rgba(255,255,255,.38); font-size:.8rem; margin:0;
}
.mw-footer-bottom a { color:rgba(255,255,255,.5); text-decoration:none; }
.mw-footer-bottom a:hover { color:var(--mw-accent); }

.mw-footer-kpis {
  display:flex; gap:1.75rem; justify-content:flex-end; align-items:center;
}
.mw-kpi { text-align:center; }
.mw-kpi h5 {
  font-family:'Outfit',sans-serif;
  font-size:1.15rem; font-weight:800; color:#fff; margin:0; line-height:1;
}
.mw-kpi h5 span { color:#03a9f4; }
.mw-kpi p { font-size:.7rem; color:rgba(255,255,255,.4); margin:2px 0 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.mw-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.mw-revealed { opacity:1; transform:translateY(0); }
.mw-rd1{ transition-delay:.1s; }
.mw-rd2{ transition-delay:.2s; }
.mw-rd3{ transition-delay:.3s; }
.mw-rd4{ transition-delay:.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:991px){
  .mw-hero{ padding-top:90px; min-height:auto; }
  .mw-hero-form-card{ margin-top:2.5rem; }
  .mw-why-img-panel{ min-height:300px; margin-bottom:2rem; }
}
@media(max-width:767px){
  .mw-hero-title{ font-size:2rem; }
  .mw-hero-stats{ max-width:100%; }
  .mw-hero-actions{ flex-direction:column; }
  .mw-btn-primary,.mw-btn-ghost{ justify-content:center; }
  .mw-footer-kpis{ justify-content:flex-start; gap:1rem; margin-top:.75rem; }
}

/* ============================================================
   PORTAL USER MENU — Navbar
   ============================================================ */

/* Trigger button */
.pnav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50px;
  cursor: pointer;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  transition: background .18s, border-color .18s;
}
.pnav-trigger:hover,
.pnav-trigger:focus,
.pnav-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
  outline: none;
}
.pnav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.45);
  display: block;
}
.pnav-name {
  letter-spacing: .01em;
}
.pnav-caret {
  font-size: .62rem;
  opacity: .75;
}

/* Dropdown panel */
.pnav-menu {
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.07) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(2,21,76,.14), 0 2px 8px rgba(0,0,0,.06) !important;
  overflow: hidden;
  min-width: 240px !important;
  margin-top: 8px !important;
}

/* Mobile-only trigger: just the avatar circle, no text */
.pnav-mobile-trigger {
  padding: 3px !important;
  background: rgba(255,255,255,.15) !important;
  border: 2px solid rgba(255,255,255,.4) !important;
}

/* Header row inside dropdown */
.pnav-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #02154c 0%, #0277bd 100%);
}
.pnav-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.4);
  flex-shrink: 0;
}
.pnav-menu-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pnav-menu-info strong {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pnav-menu-info small {
  color: rgba(255,255,255,.65);
  font-size: .77rem;
}

/* Divider */
.pnav-divider {
  height: 1px;
  background: #eef2f7;
  margin: 4px 0;
}

/* Menu items */
.pnav-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  color: #1e2d50 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .15s, color .15s;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}
.pnav-item i {
  width: 17px;
  font-size: .88rem;
  opacity: .65;
  flex-shrink: 0;
}
.pnav-item:hover {
  background: rgba(3,169,244,.07) !important;
  color: #0277bd !important;
}
.pnav-item:hover i {
  opacity: 1;
}

/* Sign out — red tint */
.pnav-logout {
  color: #c53030 !important;
}
.pnav-logout i {
  opacity: .7;
}
.pnav-logout:hover {
  background: rgba(197,48,48,.07) !important;
  color: #c53030 !important;
}

/* Chevron rotation when user menu is open */
.pnav-trigger.pnav-open .pnav-caret {
  transform: rotate(180deg);
}
.pnav-caret {
  transition: transform .2s ease;
}

/* Vertically centre Customer Portal button / user trigger with nav items.
   Float layout means children pin to the top of the container by default.
   Converting nav-menu-social to flex (while keeping its float:right intact)
   lets align-items:center work on its <li> children. */
.navigation-landscape .nav-menu.nav-menu-social {
  display: flex !important;
  align-items: center !important;
  min-height: 48px;
}
.navigation-landscape .nav-menu.nav-menu-social > li {
  float: none !important;
  display: flex !important;
  align-items: center !important;
}

/* ============================================================
   MWL PHONE INPUT — shared globally (login, hero form, etc.)
   ============================================================ */
.mwl-phone {
  display: flex;
  align-items: center;
  border: 1.5px solid #dde8f2;
  border-radius: 10px;
  background: #f8fafd;
  transition: border-color .2s, box-shadow .2s, background .2s;
  overflow: hidden;
}
.mwl-phone:focus-within {
  border-color: var(--mw-accent);
  box-shadow: 0 0 0 3px rgba(3,169,244,.1);
  background: #fff;
}
.mwl-phone:hover:not(:focus-within) { border-color: #b8cfe0; }
.mwl-phone.is-invalid { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.1) !important; }
.mwl-phone.is-valid   { border-color: #10b981 !important; }

.mwl-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 0 12px;
  height: 44px;
  flex-shrink: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--mw-navy);
  border-right: 1px solid #dde8f2;
  white-space: nowrap;
}
.mwl-phone:focus-within .mwl-phone-prefix { border-right-color: rgba(3,169,244,.25); }

.mwl-flag {
  width: 20px; height: 14px;
  background: url('https://flagcdn.com/w40/ke.png') center/cover no-repeat;
  border-radius: 2px;
  flex-shrink: 0;
}

.mwl-phone-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px 0 14px;
  font-size: .9rem;
  color: var(--mw-text);
  outline: none;
  height: 44px;
  min-width: 0;
  letter-spacing: 2px;
  word-spacing: 3px;
}
.mwl-phone-input::placeholder { color: #b8c9d9; letter-spacing: 1px; word-spacing: normal; }

.mwl-phone-error {
  color: #ef4444;
  font-size: .75rem;
  margin-top: 4px;
  min-height: 16px;
  display: none;
}

/* mwl-phone on dark glass cards (CTA section) */
.mw-cta-card .mwl-phone {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.mw-cta-card .mwl-phone:focus-within {
  border-color: var(--mw-accent);
  background: rgba(255,255,255,.13);
  box-shadow: 0 0 0 3px rgba(3,169,244,.18);
}
.mw-cta-card .mwl-phone:hover:not(:focus-within) {
  border-color: rgba(255,255,255,.35);
}
.mw-cta-card .mwl-phone-prefix {
  color: rgba(255,255,255,.9);
  border-right-color: rgba(255,255,255,.18);
}
.mw-cta-card .mwl-phone:focus-within .mwl-phone-prefix {
  border-right-color: rgba(3,169,244,.4);
}
.mw-cta-card .mwl-phone-input {
  color: #fff;
}
.mw-cta-card .mwl-phone-input::placeholder {
  color: rgba(255,255,255,.35);
  letter-spacing: 1px;
}
.mw-cta-card .mwl-phone-error {
  color: #fca5a5;
}
