/* ══════════════════════════════════════════════════════════
   UHURU TECH SOLUTION LTD — Shared Stylesheet
   Palette: Red #CC1F2D · Navy #0B2150 · Blue #1756C8 · White
   Fonts: Barlow Condensed (display) · Figtree (body)
══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&family=Figtree:wght@300;400;500;600;700;800&display=swap');

:root {
  --red:        #CC1F2D;
  --red-dark:   #A51824;
  --red-light:  #FDE8EA;
  --navy:       #0B2150;
  --navy-mid:   #14336E;
  --blue:       #1756C8;
  --blue-light: #E6EEFF;
  --white:      #FFFFFF;
  --off-white:  #F7F8FC;
  --grey-100:   #F0F1F6;
  --grey-200:   #E2E4ED;
  --grey-400:   #9299B2;
  --grey-600:   #545B77;
  --black:      #080F28;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  text-transform: uppercase;
}
h1,h2,h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; line-height: 1.12; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 33, 80, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--red);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.4); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -1px;
  position: relative;
  overflow: hidden;
}
.nav-logo-icon::after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 5px;
  opacity: .7;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.nav-logo-main span { color: var(--red); }
.nav-logo-sub {
  font-size: .62rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  padding: 8px 16px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.nav-cta {
  font-family: 'Figtree', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 10px 22px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--navy);
  border-bottom: 2px solid var(--red);
  z-index: 999;
  padding: 20px 28px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 12px 16px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(255,255,255,.08); color: var(--white); }
.mobile-nav .nav-cta { margin-top: 12px; text-align: center; }

/* ── SHARED SECTIONS ────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section { padding: 96px 28px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.5px;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 18px;
}
.section-title span { color: var(--red); }

.section-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-600);
  max-width: 560px;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Figtree', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(204,31,45,.35);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(204,31,45,.4); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(11,33,80,.3);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--grey-200);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ── DIAGONAL DIVIDER ───────────────────────────────────── */
.diagonal-divider {
  width: 100%;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-200);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11,33,80,.12);
  border-color: transparent;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 28px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--blue), var(--red));
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
  max-width: 280px;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-powered { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-powered span { color: var(--red); }

/* ── PAGE HERO (interior pages) ─────────────────────────── */
.page-hero {
  min-height: 360px;
  background: var(--navy);
  padding: 140px 28px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ph-stripe {
  position: absolute;
  background: var(--red);
  opacity: .12;
  border-radius: 4px;
}
.ph-stripe-1 { width: 400px; height: 8px; top: 120px; left: -100px; transform: rotate(-8deg); }
.ph-stripe-2 { width: 600px; height: 5px; top: 200px; right: -150px; transform: rotate(-8deg); }
.ph-stripe-3 { width: 300px; height: 10px; bottom: 80px; left: 20%; transform: rotate(-8deg); }
.ph-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  background: rgba(255,255,255,.06);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(204,31,45,.3);
}
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 20px;
}
.page-hero-title span { color: var(--red); }
.page-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-top: 28px;
}
.breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--red); }

/* ── FADE UP ANIMATION ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 72px 20px; }
  .page-hero { padding: 120px 20px 60px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SHARED NAV SCRIPT HELPER ───────────────────────────── */
