/* ===================================================
   MUNONGO.COM – Premium Strategic IT Portfolio CSS
   ===================================================*/

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES – BLUE, GREEN & WHITE PALETTE ===== */
:root {
  /* Corporate Blue, Emerald Green & Crisp White */
  --primary:        #2563eb;          /* Royal Corporate Blue */
  --primary-light:  #60a5fa;          /* Bright Sky Blue */
  --primary-dark:   #1d4ed8;          /* Deep Blue */
  --accent:         #10b981;          /* Emerald Green */
  --accent2:        #34d399;          /* Bright Mint Green */
  --accent3:        #059669;          /* Forest Emerald */
  --bg:             #060d19;          /* Deep Navy Blue Background */
  --bg-card:        #0b172a;          /* Rich Blue Card */
  --bg-card2:       #0f223d;          /* Deep Blue Elevate */
  --border:         rgba(56, 189, 248, 0.22); /* Ice Blue Border */
  --text:           #f8fafc;          /* Crisp Off-White */
  --text-muted:     #cbd5e1;          /* Soft White Slate */
  --text-dim:       #94a3b8;          /* Muted Slate */
  --white:          #ffffff;          /* Pure White */

  /* Gradients: Blue to Green & Clean Cards */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  --gradient-card:    linear-gradient(145deg, #0b172a 0%, #0f223d 100%);
  --gradient-hero:    radial-gradient(ellipse at 60% 40%, rgba(37, 99, 235, 0.28) 0%, transparent 60%),
                      radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
                      #060d19;

  /* Fonts */
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif;

  /* Sizes */
  --header-h:   4.5rem;
  --radius:     1rem;
  --radius-sm:  0.5rem;
  --radius-lg:  1.5rem;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 0.2s var(--ease);
  --med:  0.4s var(--ease);
  --slow: 0.7s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ===== LAYOUT ===== */
.bd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.l-main { overflow: hidden; }
.section { padding: 6rem 0; }

/* ===== SECTION HEADER ===== */
.section__header {
  text-align: center;
  margin-bottom: 4rem;
}
.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #34d399;                       /* Bright Mint Green */
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #34d399 100%); /* White - Blue - Green */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--med);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(99,102,241,0.06);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(7, 8, 16, 0.88);
  border-bottom: 1px solid rgba(124,127,244,0.22);
  transition: background var(--med);
}
.l-header.scrolled {
  background: rgba(7, 8, 16, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-accent {
  color: var(--primary-light);
}
.nav__list {
  display: flex;
  gap: 0.2rem;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  color: #b8c4dc;                      /* brighter nav link */
  transition: all var(--fast);
  position: relative;
}
.nav__link:hover,
.nav__link.active-link {
  color: #ffffff;
  background: rgba(124,127,244,0.12);
}
.nav__link.active-link { color: #a5b4fc; }
.nav__toggle { display: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }
.nav__close { display: none; }

/* ===== HOME ===== */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  padding-top: var(--header-h);
}

/* Particles canvas */
.home__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.home__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Badge */
.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
  width: fit-content;
}
.home__badge i { font-size: 1rem; }

.home__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.home__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  line-height: 1.8;
}

/* Tags */
.home__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--accent);
}

.home__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Stats */
.home__stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.stat { text-align: center; }
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat span { color: var(--primary-light); font-size: 1.5rem; font-weight: 800; }
.stat p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat__divider { width: 1px; height: 40px; background: var(--border); }

/* Visual / Photo */
.home__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}
.home__img-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
}
.home__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}
.home__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(99,102,241,0.5);
  position: relative;
  z-index: 1;
  filter: grayscale(10%);
}

/* Orbiting icons */
.home__orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  border-radius: 50%;
  border: 1px dashed rgba(99,102,241,0.2);
  animation: orbit-spin 12s linear infinite;
  z-index: 2;
}
.home__orbit--2 { animation-duration: 18s; animation-direction: reverse; border-color: rgba(6,182,212,0.2); }
.home__orbit--3 { width: 115%; height: 115%; top: -7.5%; left: -7.5%; animation-duration: 24s; border-color: rgba(16,185,129,0.2); }
@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit__icon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
  animation: orbit-counter 12s linear infinite;
}
.home__orbit--2 .orbit__icon { animation-duration: 18s; animation-direction: reverse; color: var(--accent); }
.home__orbit--3 .orbit__icon { animation-duration: 24s; color: var(--accent2); }
@keyframes orbit-counter { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }

/* Social links */
.home__social { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--fast);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.social-link--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
}

/* Scroll down */
.home__scroll {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 0 1.5rem;
}
.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: bounce-scroll 2s ease-in-out infinite;
}
.scroll-down i { font-size: 1.4rem; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ===== ABOUT ===== */
.about { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== ABOUT SECTION (CLEAN EXECUTIVE STYLES) ===== */
.about {
  background: var(--bg);
  position: relative;
}
.about__container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.about__img-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.about__img-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(37,99,235,0.15);
  border: 1px solid rgba(56,189,248,0.25);
}
.about__img-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform var(--slow);
}
.about__img-frame:hover img {
  transform: scale(1.05);
}
.about__img-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 13, 25, 0.9);
  backdrop-filter: blur(12px);
  color: #34d399;
  border: 1px solid rgba(52,211,153,0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.about__card-info {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.info-item i {
  color: #38bdf8;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(56,189,248,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__content {
  display: flex;
  flex-direction: column;
}
.about__name {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}
.about__role {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(52,211,153,0.35);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.about__text {
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Feature grid in About */
.about__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.about__feature-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all var(--fast);
}
.about__feature-card:hover {
  border-color: #2563eb;
  background: rgba(37,99,235,0.08);
  transform: translateY(-2px);
}
.about__feature-icon {
  font-size: 1.3rem;
  color: #38bdf8;
  margin-top: 2px;
  flex-shrink: 0;
}
.about__feature-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.about__feature-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}

.about__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 992px) {
  .about__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img-side { width: 100%; }
  .about__img-frame, .about__card-info { max-width: 100%; }
  .about__features-grid { grid-template-columns: 1fr; }
}

/* ===== SERVICES (LIGHT WHITE SECTION) ===== */
.services {
  background: #ffffff;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.services .section__title {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services .section__subtitle {
  color: #475569;
}

.services .section__tag {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--med);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--med);
  border-radius: var(--radius);
  z-index: 0;
}
.service-card:hover { border-color: #2563eb; transform: translateY(-6px); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12); }
.service-card:hover::before { opacity: 0.04; }
.service-card > * { position: relative; z-index: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-card__icon--blue   { background: rgba(37,99,235,0.1);  color: #2563eb; }
.service-card__icon--purple { background: rgba(168,85,247,0.1); color: #9333ea; }
.service-card__icon--green  { background: rgba(16,185,129,0.1); color: #059669; }
.service-card__icon--orange { background: rgba(249,115,22,0.1); color: #ea580c; }
.service-card__icon--teal   { background: rgba(13,148,136,0.1); color: #0d9488; }
.service-card__icon--pink   { background: rgba(236,72,153,0.1); color: #db2777; }
.service-card__icon--indigo { background: rgba(79,70,229,0.1);  color: #4f46e5; }
.service-card__icon--red    { background: rgba(239,68,68,0.1);  color: #dc2626; }

.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.7rem; color: #0f172a; }
.service-card p { font-size: 0.88rem; color: #475569; line-height: 1.7; margin-bottom: 1rem; }
.service-card__list { display: flex; flex-direction: column; gap: 0.4rem; }
.service-card__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: #334155;
}
.service-card__list i { color: #10b981; font-size: 0.9rem; }

/* CTA card */
.service-card--cta {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border-color: #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__cta-inner { text-align: center; }
.service-card__cta-inner i { font-size: 2.5rem; color: #2563eb; margin-bottom: 1rem; }
.service-card__cta-inner h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: #1e3a8a; }
.service-card__cta-inner p { font-size: 0.88rem; color: #334155; margin-bottom: 1.25rem; }

/* ===== SKILLS ===== */
.skills { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.skills__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.skills__category { margin-bottom: 2rem; }
.skills__category-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
}

.skill-bar { margin-bottom: 1rem; }
.skill-bar__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.skill-bar__head span:last-child { color: var(--primary-light); }
.skill-bar__track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--gradient-primary);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-bar__fill.animated { width: var(--w); }

/* Tech Badges */
.tech-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--primary-light);
  transition: all var(--fast);
}
.tech-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ===== WORK ===== */
.work { background: var(--bg); }

.work__filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

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

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--med);
}
.work-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 16px 50px rgba(99,102,241,0.2); }

.work-card__img,
.work-card__svg { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-card2); }

.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow); }
.work-card:hover .work-card__img img { transform: scale(1.08); }

.work-card__svg svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform var(--slow);
}
.work-card:hover .work-card__svg svg { transform: scale(1.03); }


.work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,11,20,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fast);
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--fast);
}
.work-card__link:hover { transform: scale(1.1); }

.work-card__info { padding: 1.25rem; }
.work-card__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  background: rgba(99,102,241,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.6rem;
}
.work-card__info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.work-card__info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Placeholder cards */
.work-card--placeholder { display: flex; }
.work-card__placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(6,182,212,0.04) 100%);
  min-height: 240px;
}
.work-card__placeholder i { font-size: 2.5rem; color: var(--primary-light); opacity: 0.6; margin-bottom: 0.75rem; }
.work-card__placeholder h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.work-card__placeholder p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1rem; }
.work-card__status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-card); border-top: 1px solid var(--border); }

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent2);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 0.5rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16,185,129, 0.4);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129, 0); }
}

.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color var(--fast);
}
.contact__info-card:hover { border-color: var(--primary); }
.contact__info-card > i { font-size: 1.4rem; color: var(--primary-light); margin-top: 2px; }
.contact__info-card h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact__info-card a, .contact__info-card span { font-size: 0.9rem; color: var(--text); }
.contact__info-card a:hover { color: var(--primary-light); }

.contact__social { padding: 0.5rem 0; }
.contact__social p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.contact__social-links { display: flex; gap: 0.5rem; }

/* Form Container & Mode Switcher */
.contact__form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card2);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  gap: 0.35rem;
}
.form__type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--fast);
}
.form__type-btn i { font-size: 1.1rem; }
.form__type-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__group label { font-size: 0.83rem; font-weight: 600; color: var(--text-muted); }

.form__input {
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--fast), box-shadow var(--fast);
  width: 100%;
  outline: none;
}
.form__input::placeholder { color: var(--text-dim); }
.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.form__select { -webkit-appearance: none; appearance: none; cursor: pointer; }
textarea.form__input { resize: vertical; min-height: 110px; }

/* RDV Box */
.form__rdv-box {
  background: rgba(99,102,241,0.05);
  border: 1px dashed rgba(99,102,241,0.3);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.form__time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.slot-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--fast);
}
.slot-btn:hover, .slot-btn.active {
  border-color: var(--primary-light);
  color: var(--white);
  background: rgba(99,102,241,0.2);
}
.slot-btn.active {
  background: var(--primary);
  border-color: var(--primary);
}

.form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.btn--wa {
  border-color: rgba(37,211,102,0.4);
  color: #25d366;
}
.btn--wa:hover {
  background: rgba(37,211,102,0.1);
  border-color: #25d366;
  color: #25d366;
}

.form__feedback {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form__feedback.success { display: block; color: var(--accent2); background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25); }
.form__feedback.error   { display: block; color: #f87171; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); }

/* ===== FOOTER ===== */
.footer {
  background: #07080f;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.75rem;
}
.footer__brand p {
  font-size: 0.88rem;
  color: #9aa8c0;                    /* brighter than text-dim */
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 1.25rem;
}
.footer__social { display: flex; gap: 0.5rem; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer__col h5 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #c2cfe8; margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { font-size: 0.88rem; color: #9aa8c0; transition: color var(--fast); }
.footer__col a:hover { color: #67e8f9; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
  :root { --header-h: 4rem; }

  /* Nav mobile */
  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: #0d0e1c;
    border-left: 1px solid var(--border);
    padding: 6rem 2rem 2rem;
    transition: right var(--med);
    z-index: 101;
    display: flex;
    flex-direction: column;
  }
  .nav__menu.show { right: 0; }
  .nav__list { flex-direction: column; gap: 0.25rem; }
  .nav__link { font-size: 1rem; display: block; padding: 0.75rem 1rem; }
  .nav__toggle { display: flex; }
  .nav__close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
  }

  /* Home */
  .home__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-top: 3rem;
    justify-items: center;
  }
  .home__data {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .home__badge, .home__cta, .home__tags { justify-content: center; }
  .home__title {
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    width: 100%;
  }
  .home__subtitle { margin: 0 auto 1.5rem; text-align: center; max-width: 100%; }
  .home__stats { justify-content: center; flex-wrap: wrap; }
  .home__visual { order: -1; align-items: center; }
  .home__img-wrapper { width: 220px; height: 220px; }
  .home__social { justify-content: center; }
  .home__cta { justify-content: center; }

  /* About */
  .about__container { grid-template-columns: 1fr; gap: 2rem; }
  .about__img-side { width: 100%; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Skills */
  .skills__container { grid-template-columns: 1fr; }

  /* Work */
  .work__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__container { grid-template-columns: 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media screen and (max-width: 480px) {
  .section { padding: 4rem 0; }
  .home__container { padding-top: 2rem; gap: 1.5rem; }
  .home__img-wrapper { width: 180px; height: 180px; }
  .home__title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
    text-align: center;
    line-height: 1.25;
  }
  .home__subtitle { font-size: 0.95rem; }
  .home__stats { flex-direction: row; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .home__cta { flex-direction: column; align-items: center; gap: 0.75rem; }
  .home__cta .btn { width: 100%; max-width: 280px; justify-content: center; }
  .stat__divider { display: none; }
  .footer__links { grid-template-columns: 1fr; }
  .clients__track { gap: 1rem; }
  .clients__card { min-width: 140px; padding: 1rem; }
}

/* ===== CLIENTS / REFERENCES ===== */
.clients {
  background: var(--bg);
  padding: 5rem 0;
  overflow: hidden;
}
.clients .section__header { margin-bottom: 3rem; }

.clients__marquee-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 3rem;
}

.clients__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.clients__track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients__card {
  min-width: 180px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--med);
  flex-shrink: 0;
  cursor: default;
  text-align: center;
}
.clients__card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.18);
  background: linear-gradient(145deg, rgba(99,102,241,0.08) 0%, rgba(6,182,212,0.05) 100%);
}
.clients__card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.clients__card-icon--green  { background: rgba(16,185,129,0.15);  color: var(--accent2); }
.clients__card-icon--blue   { background: rgba(99,102,241,0.15);  color: var(--primary-light); }
.clients__card-icon--teal   { background: rgba(6,182,212,0.15);   color: var(--accent); }
.clients__card-icon--orange { background: rgba(249,115,22,0.15);  color: #fb923c; }
.clients__card-icon--pink   { background: rgba(236,72,153,0.15);  color: #f472b6; }
.clients__card-icon--purple { background: rgba(168,85,247,0.15);  color: #c084fc; }
.clients__card-icon--indigo { background: rgba(79,70,229,0.15);   color: #818cf8; }
.clients__card-icon--red    { background: rgba(239,68,68,0.15);   color: #f87171; }

.clients__card-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.clients__card-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.clients__card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--primary-light);
}

/* ===== CLIENTS & PARTENAIRES (LIGHT SECTION) ===== */
.clients {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.clients .section__title {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clients .section__subtitle {
  color: #475569;
}

.clients .section__tag {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Featured client grid */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.clients__featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--med);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}
.clients__featured-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12);
}
.clients__featured-card .clients__card-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.clients__featured-card .clients__card-content { flex: 1; }
.clients__featured-card .clients__card-name {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #0f172a;
  font-weight: 700;
}
.clients__featured-card .clients__card-desc {
  font-size: 0.83rem;
  margin-bottom: 0.6rem;
  color: #475569;
}
.clients__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.clients__module-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
}

.clients__cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
}
.clients__cta p {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 768px) {
  .clients__grid { grid-template-columns: 1fr; }
  .clients__featured-card { flex-direction: row; }
}
@media screen and (max-width: 480px) {
  .clients__grid { gap: 1rem; }
  .clients__featured-card { flex-direction: column; }
  .clients__featured-card .clients__card-icon { margin-top: 0; }
}

/* ===== ANIMATIONS (ScrollReveal fallback) ===== */
.sr-hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--med);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
  background: #20ba5a;
}
@media screen and (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}

/* ===================================================
   MWALIMU LOGISTICS – CUSTOM STYLES & BRAND EXTENSIONS
   ===================================================*/

/* ===== BRAND NAV LOGO ===== */
.nav__logo-link,
.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav__logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(99,102,241,0.4));
}
.footer__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.25rem;
}
.btn--header {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 99px;
}
@media screen and (max-width: 768px) {
  .btn--header { display: none; }
  .nav__logo-text { font-size: 0.95rem; }
  .nav__logo-img { height: 32px; }
}

/* ===== HERO SECTION (CENTERED CONTENT & FULL-BLEED VIDEO BACKGROUND) ===== */
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 2rem;
  background: var(--bg);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: brightness(0.92) contrast(1.05);
  opacity: 0.88;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 13, 25, 0.42) 0%,
      rgba(6, 13, 25, 0.25) 40%,
      rgba(6, 13, 25, 0.55) 75%,
      rgba(6, 13, 25, 0.92) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  z-index: 1;
}

.hero__stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #34d399 50%, #ffffff 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(6, 13, 25, 0.65);       /* dark backdrop blur for max text clarity */
  border: 1px solid rgba(52, 211, 153, 0.5);
  backdrop-filter: blur(14px);
  padding: 0.45rem 1.25rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;                           /* Bright Green */
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 16px rgba(16,185,129,0.2);
  letter-spacing: 0.02em;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: blinkDot 2s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;                           /* 100% Pure White */
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.04em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(6, 13, 25, 0.95),
    0 10px 40px rgba(0, 0, 0, 0.85);
}

.hero__accent {
  color: #ffffff;                           /* 100% Pure White */
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  background-clip: initial;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #ffffff;                           /* 100% Pure White */
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
  font-weight: 600;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 4px 18px rgba(6, 13, 25, 0.95);
}

.hero__sub strong {
  color: #ffffff;
  font-weight: 700;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: rgba(7, 8, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22); /* brighter border */
  backdrop-filter: blur(10px);
  color: #e2eaff;                               /* near-white text */
  transition: all var(--fast);
  letter-spacing: 0.01em;
}

.hero__pill i {
  color: var(--accent);
  font-size: 1rem;
}

.hero__pill:hover {
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.2);
}

.hero__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all var(--fast);
  text-decoration: none;
  cursor: pointer;
}

.hero__btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%); /* Blue & Green */
  color: #ffffff;                                                 /* Pure White */
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.hero__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #059669 100%);
}

.hero__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Ticker loop */
.hero__ticker-wrap {
  width: 100%;
  max-width: 780px;
  overflow: hidden;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.hero__ticker {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  animation: tickerSlide 25s linear infinite;
  font-size: 0.85rem;
  color: #a8b8d8;                   /* brighter muted */
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero__ticker-sep {
  color: #38bdf8;                   /* bright cyan arrows */
  font-size: 1rem;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Statsbar */
.hero__statsbar {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 1.5rem;
  background: rgba(7, 8, 16, 0.82);     /* darker, crisper */
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(124,127,244,0.30);
  border-bottom: 1px solid rgba(124,127,244,0.30);
  padding: 1.4rem 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero__statsbar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stat .stat__number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(124,127,244,0.4);
}

.hero__stat-unit {
  color: #22d3ee;                       /* vivid cyan unit */
  font-size: 1.6rem;
  font-weight: 800;
}

.hero__stat p {
  font-size: 0.84rem;
  color: #b0bdd8;                       /* brighter label */
  margin-top: 0.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(124,127,244,0.25);
}

@media screen and (max-width: 768px) {
  .home {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 1.5rem;
    min-height: auto;
  }

  .hero__content {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 95%;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .hero__sub {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__pills {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    justify-content: center;
  }

  .hero__pill {
    font-size: 0.74rem;
    padding: 0.3rem 0.75rem;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
  }

  .hero__btn {
    width: 100%;
    max-width: 320px;
    font-size: 0.88rem;
    padding: 0.75rem 1.25rem;
    justify-content: center;
  }

  .hero__ticker-wrap {
    margin-top: 0.25rem;
    padding: 0.5rem 0;
  }

  .hero__statsbar {
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .hero__statsbar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
    justify-items: center;
  }

  .hero__stat-divider { display: none; }

  .hero__stat .stat__number {
    font-size: 1.6rem;
  }

  .hero__stat-unit {
    font-size: 1.25rem;
  }

  .hero__stat p {
    font-size: 0.75rem;
    margin-top: 0.2rem;
  }
}

@media screen and (max-width: 480px) {
  .hero__title {
    font-size: 1.55rem;
  }
  .hero__sub {
    font-size: 0.84rem;
  }
  .hero__eyebrow {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
  .hero__pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
  }
  .hero__stat .stat__number {
    font-size: 1.4rem;
  }
  .hero__stat-unit {
    font-size: 1.1rem;
  }
}


/* ===== TRACKING SECTION (LIGHT BACKGROUND) ===== */
.tracking {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}
.tracking .section__title {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tracking .section__subtitle {
  color: #475569;
}
.tracking .section__tag {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tracking__wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.tracking__search-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}
.tracking__input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  transition: border-color var(--fast);
}
.tracking__input-group:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.tracking__icon {
  font-size: 1.5rem;
  color: #2563eb;
}
.tracking__input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.tracking__presets {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #475569;
}
.preset-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--fast);
  font-weight: 600;
}
.preset-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Tracking Result Card */
.tracking__result-card {
  margin-top: 2rem;
  background: #ffffff;
  border: 1.5px solid #2563eb;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
  animation: fadeInDown 0.4s ease-out;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
.result__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
.result__id .label { font-size: 0.8rem; color: #475569; display: block; }
.result__id .val { font-size: 1.3rem; font-weight: 800; color: #0f172a; font-family: var(--font-display); }
.result__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Route timeline visual */
.result__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid #cbd5e1;
  margin-bottom: 1.5rem;
}
.route__point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.origin-icon { font-size: 1.8rem; color: #2563eb; }
.dest-icon { font-size: 1.8rem; color: #10b981; }
.route__label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; display: block; }
.route__city { font-size: 0.95rem; color: #0f172a; font-weight: 700; }

.route__line {
  position: relative;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
}
.route__progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: width 0.8s ease;
}
.moving-truck {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  color: var(--accent);
  background: var(--bg-card2);
  padding: 4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  box-shadow: 0 0 10px rgba(6,182,212,0.5);
}

.result__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: var(--radius-sm);
}
.detail-box .title { font-size: 0.75rem; color: #64748b; display: block; margin-bottom: 0.2rem; }
.detail-box .val { font-size: 0.88rem; font-weight: 700; color: #0f172a; }
.detail-box .val.highlight { color: #059669; }

.result__timeline {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}
.timeline__title {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e3a8a;
  font-weight: 700;
}
.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.timeline__list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #cbd5e1;
}
.timeline__list li {
  position: relative;
  display: flex;
  gap: 1rem;
}
.timeline__list li .dot {
  position: absolute;
  left: -1.5rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #94a3b8;
}
.timeline__list li.completed .dot {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.4);
}
.timeline__list li.active .dot {
  background: #2563eb;
  border-color: #1d4ed8;
  box-shadow: 0 0 10px rgba(37,99,235,0.6);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.timeline__list li .info strong { font-size: 0.88rem; color: #0f172a; display: block; }
.timeline__list li .info span { font-size: 0.78rem; color: #475569; }

@media screen and (max-width: 768px) {
  .result__route { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .route__point { justify-content: center; }
  .result__details { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 480px) {
  .tracking__input-group { flex-direction: column; padding: 1rem; }
  .tracking__input-group input { width: 100%; text-align: center; margin-bottom: 0.5rem; }
  .tracking__input-group .btn { width: 100%; justify-content: center; }
  .result__details { grid-template-columns: 1fr; }
}

/* ===== NOS VALEURS CARDS ===== */
.valeurs__container {
  margin-top: 3.5rem;
}

.valeurs__header {
  text-align: center;
  margin-bottom: 2rem;
}

.valeurs__header h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.valeurs__header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.valeur-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--med);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.valeur-card:hover {
  border-color: #34d399;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.valeur-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #34d399;
  margin-bottom: 1rem;
}

.valeur-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.valeur-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media screen and (max-width: 992px) {
  .valeurs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 576px) {
  .valeurs__grid { grid-template-columns: 1fr; }
}

/* ===== VISION & MISSION CARDS ===== */
.vision-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}
.vm-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--med);
  display: flex;
  flex-direction: column;
}
.vm-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.vm-card__img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.vm-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}
.vm-card:hover .vm-card__img {
  transform: scale(1.08);
}
.vm-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10,11,20,0.85);
  backdrop-filter: blur(10px);
  color: var(--primary-light);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vm-card__content {
  padding: 1.75rem;
}
.vm-card__content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.vm-card__content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
@media screen and (max-width: 768px) {
  .vision-mission__grid { grid-template-columns: 1fr; }
}

/* ===== FLOTTE & OPERATIONS SHOWCASE ===== */
.flotte {
  background: var(--bg);
}
.flotte__showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.flotte__main-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
.flotte__img-container {
  position: relative;
  height: 100%;
  min-height: 320px;
}
.flotte__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flotte__overlay-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10,11,20,0.85);
  backdrop-filter: blur(10px);
  color: var(--accent2);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.flotte__details {
  padding: 2.5rem;
}
.flotte__details h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.flotte__details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.flotte__features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.f-feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
}
.f-feat i { color: var(--primary-light); font-size: 1.1rem; }

.flotte__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fg-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.fg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}
.fg-card:hover img {
  transform: scale(1.1);
}
.fg-card__info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,20,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.fg-card__info h4 { font-size: 1rem; color: var(--white); }
.fg-card__info span { font-size: 0.78rem; color: var(--primary-light); }

@media screen and (max-width: 992px) {
  .flotte__main-card { grid-template-columns: 1fr; }
  .flotte__img-container { height: 260px; }
  .flotte__gallery { grid-template-columns: 1fr; }
}

/* ===== FONDATION MUHINDO SECTION (LIGHT SOFT-WHITE SECTION) ===== */
.fondation {
  background: #f8fafc;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.fondation .section__title {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fondation .section__subtitle {
  color: #475569;
}
.fondation .section__tag {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.fondation__intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.fondation__intro-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}
.fondation__intro-text p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.8;
}
.fondation__stats-pills {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.f-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1.25rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}
.f-pill i {
  font-size: 1.3rem;
  color: #059669;
}

/* Fondation Photo Grid */
.fondation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.fondation__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--med);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}
.fondation__card:hover {
  border-color: #10b981;
  transform: translateY(-6px);
  box-shadow: 0 15px 45px rgba(16, 185, 129, 0.15);
}
.fondation__img-box {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.fondation__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}
.fondation__card:hover .fondation__img-box img {
  transform: scale(1.08);
}
.fondation__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}
.fondation__content {
  padding: 1.5rem;
  flex: 1;
}
.fondation__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.fondation__content p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.65;
}

@media screen and (max-width: 992px) {
  .fondation__intro { grid-template-columns: 1fr; }
  .fondation__grid { grid-template-columns: repeat(2, 1fr); }
  .fondation__mv-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 576px) {
  .fondation__grid { grid-template-columns: 1fr; }
}

/* ===== FONDATION MUHINDO DETAILED STYLES ===== */
.fondation__quote-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.fondation__quote-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.fondation__quote-card blockquote {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
  color: #f1f5f9;
}

.fondation__quote-author {
  font-weight: 700;
  color: #34d399;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.fondation__mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.fondation__mv-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
  transition: transform var(--slow);
}

.fondation__mv-box:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
}

.fondation__mv-box h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fondation__mv-box h4 i {
  color: #10b981;
}

.fondation__mv-box p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* News Article Block */
.fondation__news-section {
  margin-top: 4rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.fondation__news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fondation__news-title {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.fondation__news-date {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.fondation__news-content {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.85;
}

.fondation__news-content p {
  margin-bottom: 1.25rem;
}

.fondation__news-quote {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #1e3a8a;
}

.fondation__news-quote-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-style: normal;
  color: #059669;
}

/* =====================================================
   FIREBASE TRACKING — ÉTATS & NOUVEAUX COMPOSANTS
   ===================================================== */

/* ── État : Chargement ── */
.tracking__state {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 1.5rem;
  animation: fadeInUp 0.4s ease;
}

.tracking__spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.tracking__spinner span {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.spinner-ring {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── État : Non trouvé ── */
.tracking__not-found {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(11, 23, 42, 0.95));
  border-color: rgba(239, 68, 68, 0.3);
}

.not-found__icon {
  font-size: 3.5rem;
  color: #ef4444;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.tracking__not-found h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ef4444;
  margin-bottom: 0.5rem;
}

.tracking__not-found p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 420px;
  margin: 0 auto 0.35rem;
}

.not-found__hint {
  color: var(--text-dim) !important;
  font-size: 0.85rem !important;
  margin-top: 0.5rem !important;
}

/* ── Carte résultats Firebase ── */
.tracking__result-firebase {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge statut dynamique */
.tracking__result-firebase .result__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.3s var(--ease);
}

.tracking__result-firebase .result__badge i {
  font-size: 1rem;
}

/* Sections internes */
.result__section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.result__section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.result__section-title i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Liste des articles */
.result__items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.result__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.result__item i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.result__item span:first-of-type {
  flex: 1;
  font-weight: 500;
}

.item__qty {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Transporteur */
.carrier__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.carrier__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}

.carrier__item > i {
  font-size: 1.35rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.carrier__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.carrier__val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

a.carrier__val:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Note de livraison */
.result__delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}

.result__delivery-note > i {
  font-size: 1.35rem;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.result__delivery-note strong {
  display: block;
  font-size: 0.82rem;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.result__delivery-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Lien Google Maps */
a.val.highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--fast);
}

a.val.highlight:hover {
  color: var(--accent2) !important;
}

/* Timeline meta (auteur + date) */
.timeline__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
  font-style: italic;
}

/* Titre des détails avec icône */
.detail-box .title i {
  margin-right: 0.3rem;
  vertical-align: middle;
  color: var(--accent);
}

/* =====================================================
   MODULE FONDATION MUHINDO — DESIGN & SUB-PAGES
   ===================================================== */

/* ── Navigation par Onglets (Sub-Tabs) ── */
.fondation__nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.fondation__nav-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem;
  border-radius: 99px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fondation__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 99px;
  cursor: pointer;
  transition: all var(--fast);
}

.fondation__tab-btn i {
  font-size: 1.15rem;
  color: var(--text-dim);
  transition: color var(--fast);
}

.fondation__tab-btn .tab-badge {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
}

.fondation__tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.fondation__tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.fondation__tab-btn.active i {
  color: var(--white);
}

.fondation__tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* ── Conteneur des Onglets ── */
.fondation__tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.fondation__tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Tab 1 : Citation & Métriques ── */
.fondation__quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(11, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
}

.fondation__quote-card blockquote {
  position: relative;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.fondation__quote-author strong {
  display: block;
  color: var(--accent2);
  font-size: 1.05rem;
}

.fondation__quote-author span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Grille de Métriques */
.fondation__metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.f-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--fast), border-color var(--fast);
}

.f-metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.metric-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Détails Présentation */
.fondation__overview-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.overview-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.overview-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.overview-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.oh-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent2);
}

.oh-item i {
  font-size: 1.15rem;
}

.overview-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.overview-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.banner-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(6, 13, 25, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Tab 2 : Nos Axes d'Action ── */
.axes__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.axes__header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.axes__header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fondation__axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.axis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--fast), box-shadow var(--fast);
}

.axis-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.axis-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.axis-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.axis-card:hover .axis-card__img-wrap img {
  transform: scale(1.08);
}

.axis-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(6px);
}

.axis-badge--blue { background: rgba(37, 99, 235, 0.85); }
.axis-badge--green { background: rgba(16, 185, 129, 0.85); }
.axis-badge--purple { background: rgba(139, 92, 246, 0.85); }
.axis-badge--orange { background: rgba(245, 158, 11, 0.85); }

.axis-card__content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.axis-card__content h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.axis-card__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.axis-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;

}

.axis-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);

}

.axis-list li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── Tab 3 : Actualités & Articles ── */
.news-hub__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.nh-title h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.nh-title p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-filter-btn:hover {
  color: var(--white);
  border-color: var(--primary-light);
}

.news-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--fast), border-color var(--fast);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.news-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;

}

.news-card__img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card.featured .news-card__img-box {
  height: 100%;
  min-height: 280px;
}

.news-card__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.news-card__cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cat--sante { background: #059669; }
.cat--education { background: #2563eb; }
.cat--entrepreneuriat { background: #7c3aed; }
.cat--communaute { background: #d97706; }

.news-card__featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}

.news-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.news-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.news-card.featured .news-card__title {
  font-size: 1.45rem;
}

.news-card__excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;

}

.btn-open-article {
  margin-top: auto;
  align-self: flex-start;
}

/* ── Tab 4 : Agir avec Nous & Formulaire ── */
.action-module__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.action-module__info {
  display: flex;
  flex-direction: column;

}

.action-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent2);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.action-module__info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.action-module__info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.action-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ao-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.ao-icon {
  width: 42px;
  height: 42px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ao-card h5 {
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.ao-card p {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

.action-contact-direct {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.action-contact-direct strong {
  color: var(--accent2);
  font-size: 1rem;
}

.action-module__form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.action-module__form-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.action-module__form-card > p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

.fondation__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fondation__form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fondation__form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.fondation__form input,
.fondation__form select,
.fondation__form textarea {
  width: 100%;
  background: #060d19;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--fast);
}

.fondation__form input:focus,
.fondation__form select:focus,
.fondation__form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
}

.fondation__form select option {
  background: #0b172a;
  color: var(--white);
}

.btn--full {
  width: 100%;
  justify-content: center;

}

/* ── Modale de Lecture d'Article ── */
.fondation-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 13, 25, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.fondation-modal__dialog {
  position: relative;
  background: #0b172a;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.fondation-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--fast);
  z-index: 10;
}

.fondation-modal__close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.fondation-modal__header {
  padding: 2rem 2rem 1rem;
}

.fondation-modal__cat {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.fondation-modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.fondation-modal__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.fondation-modal__meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fondation-modal__banner {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.fondation-modal__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fondation-modal__body {
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.fondation-modal__body p {
  margin-bottom: 1.25rem;
}

.modal-quote-box {
  background: rgba(37, 99, 235, 0.1);
  border-left: 4px solid var(--primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
}

.modal-quote-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent2);
}

.fondation-modal__footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #060d19;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .fondation__overview-details,
  .action-module__wrapper {
    grid-template-columns: 1fr;

  }
  
  .news-card.featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fondation__nav-tabs {
    border-radius: var(--radius);
    width: 100%;
  }
  
  .fondation__tab-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== FORM FEEDBACK (Contact & Fondation) ===== */
@keyframes feedbackSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form__feedback {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.5;
  margin-top: 1rem;
  animation: feedbackSlideIn .3s ease forwards;
}

.form__feedback.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.form__feedback.error {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

.form__feedback strong {
  display: block;
  margin-bottom: .25rem;
}

/* ============================================================
   TRACKING RESULT CARD – Styles complets (visibilité textes)
   ============================================================ */

/* Carte principale résultat */
.tracking__result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  color: var(--text);
}

/* ── En-tête : N° de suivi + Badge ── */
.result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.result__id {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.result__id .label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.result__id .val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: .04em;
}

/* Badge statut */
.result__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}
.result__badge.badge--transit {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.35);
}
.result__badge.badge--delivered {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent2);
  border-color: rgba(16, 185, 129, 0.35);
}
.result__badge.badge--pending {
  background: rgba(234, 179, 8, 0.13);
  color: #fbbf24;
  border-color: rgba(234, 179, 8, 0.35);
}
.result__badge.badge--cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

/* ── Trajet Origine → Destination ── */
.result__route {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card2);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.route__point {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 120px;
}

.route__point i {
  font-size: 1.5rem;
}

.origin-icon { color: var(--primary-light); }
.dest-icon   { color: var(--accent2); }

.route__label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .15rem;
}

.route__city {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

/* Barre de progression */
.route__line {
  flex: 1;
  position: relative;
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  min-width: 60px;
}

.route__progress {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 99px;
  background: var(--gradient-primary);
  transition: width .6s var(--ease);
}

.moving-truck {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  font-size: 1.3rem;
  color: var(--accent2);
  animation: truckBounce 1.5s ease-in-out infinite;
}

@keyframes truckBounce {
  0%, 100% { transform: translate(50%, -50%); }
  50%       { transform: translate(50%, -65%); }
}

/* ── Boîtes de détails rapides ── */
.result__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.detail-box .title {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.detail-box .title i {
  font-size: .95rem;
  color: var(--primary-light);
}

.detail-box .val {
  font-size: .98rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.detail-box .val.highlight {
  color: var(--accent2);
  font-weight: 700;
}

/* ── Note de livraison ── */
.result__delivery-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.result__delivery-note i {
  font-size: 1.4rem;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: .1rem;
}

.result__delivery-note strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--primary-light);
  margin-bottom: .25rem;
}

.result__delivery-note p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Section générique (articles, transporteur) ── */
.result__section {
  margin-bottom: 1.5rem;
}

.result__section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.result__section-title i { color: var(--primary-light); }

/* Liste des articles */
.result__items-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  padding: 0;
}

.result__items-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-muted);
  padding: .6rem .9rem;
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.result__items-list li::before {
  content: '▸';
  color: var(--primary-light);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ── Grille transporteur ── */
.carrier__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .85rem;
}

.carrier__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}

.carrier__item i {
  font-size: 1.5rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.carrier__label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  margin-bottom: .15rem;
}

.carrier__val {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

a.carrier__val {
  color: var(--accent2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Timeline d'acheminement ── */
.result__timeline {
  margin-top: 1.5rem;
}

.timeline__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.timeline__title i { color: var(--primary-light); }

.timeline__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Ligne verticale */
.timeline__list::before {
  content: '';
  position: absolute;
  left: .65rem;
  top: .6rem;
  bottom: .6rem;
  width: 2px;
  background: var(--border);
}

.timeline__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .75rem 0 .75rem 2.5rem;
  position: relative;
}

/* Dot */
.timeline__list li .dot {
  position: absolute;
  left: .35rem;
  top: 1rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-card);
  flex-shrink: 0;
}

.timeline__list li.completed .dot {
  background: var(--accent);
  border-color: var(--accent2);
  box-shadow: 0 0 8px rgba(16,185,129,.5);
}

.timeline__list li.active .dot {
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(37,99,235,.6);
  animation: pulseDot 1.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.5); }
  60%       { box-shadow: 0 0 0 7px rgba(37,99,235,0); }
}

/* Contenu info */
.timeline__list li .info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.timeline__list li .info strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.timeline__list li.active .info strong {
  color: var(--primary-light);
}

.timeline__list li .info span {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.timeline__list li.completed .info strong { color: var(--text-muted); }
.timeline__list li.completed .info span   { color: var(--text-dim); }

/* ── Non trouvé ── */
.tracking__not-found {
  text-align: center;
  padding: 2.5rem 1rem;
}

.not-found__icon {
  font-size: 3.5rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.tracking__not-found h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.tracking__not-found p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: .4rem;
}

.not-found__hint {
  color: var(--text-dim);
  font-size: .82rem;
}

/* ── Spinner de chargement ── */
.tracking__spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spinRing .85s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .tracking__result-card { padding: 1.25rem; }
  .result__route { flex-direction: column; align-items: flex-start; }
  .route__line   { width: 100%; height: 4px; }
  .result__details { grid-template-columns: 1fr 1fr; }
  .carrier__grid { grid-template-columns: 1fr; }
}