:root {
  --navy: #041b3f;
  --blue: #0b66d8;
  --cyan: #39b6ff;
  --ink: #06162d;
  --muted: #6a7890;
  --soft: #f3f7fc;
  --card: #ffffff;
  --line: #dce6f3;
  --shadow: 0 18px 50px rgba(4, 27, 63, 0.16);
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;

  height: 82px;
  padding: 0 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(4, 17, 42, 0.68);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  padding: 8px 14px;

  display: flex;
  align-items: center;

  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.brand img {
  background: #ffffff;
  width: 300px;
  max-height: 130px;
  object-fit: contain;
  filter: none;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  color: var(--cyan);
}

.menu-toggle {
  display: none;

  background: transparent;
  border: 0;

  color: #ffffff;
  font-size: 28px;
}

/* Buttons */
.nav-cta,
.btn {
  padding: 14px 20px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  border-radius: 8px;
  font-weight: 800;
}

.nav-cta,
.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #06459b);
  box-shadow: 0 12px 28px rgba(11, 102, 216, 0.35);
}

.ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  padding: 160px 8vw 80px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;

  overflow: hidden;
  color: #ffffff;
  background: #03152f;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg, rgba(1, 10, 25, 0.94), rgba(3, 23, 55, 0.8)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(57, 182, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 182, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;

  animation: gridMove 50s linear infinite;
}

.hero-content,
.orbit {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0;

  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.02;
}

.typed::after {
  content: "|";
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}

.hero p {
  max-width: 680px;

  color: #e6efff;
  font-size: 18px;
}

.hero-actions {
  margin-top: 32px;

  display: flex;
  gap: 18px;
}

/* Orbit Graphic */
.orbit {
  width: 480px;
  height: 480px;
  margin: auto;

  border: 1px solid rgba(57, 182, 255, 0.4);
  border-radius: 50%;

  animation: float 6s ease-in-out infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 70px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.orbit::after {
  inset: 135px;
}

.orbit-center {
  position: absolute;
  inset: 160px;

  display: grid;
  place-items: center;

  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(57, 182, 255, 0.5);
}

.orbit-center img {
  width: 165px;
  filter: none;
}

.orbit span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 112px;
  height: 112px;
  margin: -56px;

  display: grid;
  place-items: center;

  text-align: center;
  font-size: 30px;

  background: rgba(8, 63, 130, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: var(--shadow);

  transform:
    rotate(calc(var(--i) * 60deg))
    translate(240px)
    rotate(calc(var(--i) * -60deg));
}

.orbit b {
  display: block;
  font-size: 12px;
}

/* Quick Strip */
.quick-strip {
  position: relative;
  z-index: 3;

  width: 92%;
  margin: -46px auto 0;
  padding: 26px 18px;

  display: grid;
  grid-template-columns: repeat(6, 1fr);

  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quick-strip article {
  display: grid;
  place-items: center;

  text-align: center;
  color: var(--navy);
  font-size: 27px;

  border-right: 1px solid var(--line);
}

.quick-strip article:last-child {
  border-right: 0;
}

.quick-strip b {
  margin-top: 6px;
  font-size: 13px;
}

/* Sections */
.dark-section {
  padding: 80px 6vw;

  color: #ffffff;
  text-align: center;

  background: linear-gradient(135deg, #03152f, #052b66);
}

.dark-section h2,
.solutions h2,
.industries h2,
.services h2 {
  margin: 6px 0 30px;
  font-size: 34px;
}

/* Stats */
.stats {
  max-width: 1150px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.stats div {
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.stats strong {
  display: block;
  font-size: 34px;
}

.stats span {
  display: block;
  color: #d7e8ff;
}

/* Split Sections */
.split,
.store {
  padding: 90px 7vw;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;

  background: #ffffff;
}

.media-card {
  position: relative;

  min-height: 480px;
  overflow: hidden;

  border-radius: 24px;
  box-shadow: var(--shadow);
}

.media-card img,
.product-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card span {
  position: absolute;
  left: 24px;
  bottom: 24px;

  padding: 16px 22px;

  color: var(--navy);
  font-weight: 900;

  background: #ffffff;
  border-radius: 12px;
}

.copy h2 {
  margin: 12px 0;

  font-size: 44px;
  line-height: 1.1;
}

/* Lists */
.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;

  color: var(--blue);
  font-weight: 900;
}

/* Cards */
.solutions,
.services,
.industries,
.partners {
  padding: 80px 7vw;

  text-align: center;
  background: linear-gradient(#f7fbff, #edf4fb);
}

.cards,
.service-grid {
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card,
.service-grid article {
  overflow: hidden;

  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(4, 27, 63, 0.1);

  transition: 0.25s;
}

.card:hover,
.service-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card h3,
.service-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
}

.card a {
  color: var(--blue);
  font-weight: 900;
}

.service-grid article {
  padding: 28px;
}

/* Video Band */
.video-band {
  position: relative;

  min-height: 430px;
  overflow: hidden;

  display: grid;
  place-items: center;

  color: #ffffff;
  text-align: center;
  background: #03152f;
}

.video-band video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0.42;
}

.video-band div {
  position: relative;
  max-width: 850px;
  padding: 40px;
}

.video-band h2 {
  font-size: 44px;
  line-height: 1.15;
}

/* Industries and Logos */
.industry-strip,
.logo-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(4, 27, 63, 0.08);
}

.industry-strip span,
.logo-row b,
.logo-row div {
  min-height: 82px;
  padding: 22px;

  display: grid;
  place-items: center;

  color: var(--navy);
  font-weight: 900;

  border-right: 1px solid var(--line);
}

/* Visual industry cards */
.industry-strip {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  padding: 14px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.78);
}

.industry-tile {
  min-height: 180px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  border: 1px solid #dce8f6;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(4, 27, 63, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(4, 27, 63, 0.15);
}

.industry-tile .industry-icon {
  width: 64px;
  min-height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  background: linear-gradient(135deg, #e6f3ff, #d9eaff);
  border: 1px solid #c6def7;
  border-radius: 18px;
}

.industry-tile h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
}

.industry-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.partners .logo-row {
  grid-template-columns: repeat(6, 1fr);
  font-size: 26px;
}

.partner-logos div {
  background: #ffffff;
}

.partner-logos img {
  max-width: 150px;
  max-height: 62px;
  width: auto;
  height: auto;

  object-fit: contain;
  filter: none;

  transition: 0.25s;
}

.partner-logos div:hover img {
  transform: scale(1.06);
}

/* Product Slider */
.product-slider {
  height: 430px;

  display: flex;
  gap: 14px;

  overflow: hidden;
  border-radius: 22px;
}

.product-slider img {
  min-width: 72%;
  border-radius: 22px;

  animation: slide 12s infinite;
}

/* Consultation */
.consultation {
  padding: 100px 7vw;

  background:
    linear-gradient(rgba(3, 21, 47, 0.82), rgba(3, 21, 47, 0.82)),
    url("https://images.unsplash.com/photo-1580878117103-8758e6e896f1?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.contact-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;

  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* Forms */
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px;

  font: inherit;

  border: 1px solid var(--line);
  border-radius: 10px;
}

textarea {
  grid-column: 1 / -1;
  min-height: 130px;
}

form button {
  border: 0;
  cursor: pointer;
}

#formMsg {
  grid-column: 1 / -1;
  font-weight: 800;
}

/* Location */
.location {
  padding: 90px 7vw;

  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(3, 21, 47, 0.88), rgba(4, 56, 120, 0.52)),
    url("../img/naomi-house-bowker-road-maseru.png") center / cover;
}

.location h2 {
  font-size: 42px;
}

.location .btn {
  margin-top: 18px;
}

/* Footer */
footer {
  padding: 45px 7vw;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;

  color: #cfe2ff;
  background: #031226;
}

footer img {
  width: 220px;
  padding: 10px 14px;

  background: #ffffff;
  border-radius: 12px;
  filter: none;
}

footer a {
  display: block;
  margin: 8px 0;
  color: #cfe2ff;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes gridMove {
  to {
    background-position: 42px 42px;
  }
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

@keyframes slide {
  0%,
  26% {
    transform: translateX(0);
  }

  33%,
  60% {
    transform: translateX(-74%);
  }

  66%,
  92% {
    transform: translateX(-148%);
  }
}

/* Tablet */
@media (max-width: 1000px) {
  .nav {
    position: absolute;
    top: 82px;
    right: 20px;

    display: none;
    flex-direction: column;

    padding: 24px;

    background: #031226;
    border-radius: 16px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .quick-strip,
  .cards,
  .service-grid,
  .product-grid,
  .stats,
  .industry-strip,
  .logo-row,
  footer {
    grid-template-columns: 1fr 1fr;
  }

  .orbit {
    display: none;
  }

  form {
    grid-template-columns: 1fr;
  }
}

/* Store / Product Catalog */
.store-section {
  padding: 80px 7vw;

  text-align: center;
  background: #ffffff;
}

.store-intro {
  max-width: 720px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.store-intro a {
  color: var(--blue);
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;

  text-align: left;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stock-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
  padding: 4px 10px;

  font-size: 12px;
  font-weight: 800;
  color: var(--navy);

  background: var(--soft);
  border-radius: 999px;
}

.stock-badge.stock-in-stock {
  color: #0a7a3d;
  background: #e4f8ec;
}

.stock-badge.stock-out-of-stock {
  color: #a11212;
  background: #fbe6e6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.product-price {
  font-weight: 900;
  color: var(--navy);
}

.add-to-quote-btn {
  padding: 10px 16px;
  font-size: 13px;
}

.add-to-quote-btn.added {
  background: #0a7a3d;
}

/* Cart nav toggle */
.cart-toggle {
  position: relative;

  padding: 10px 16px;

  color: #ffffff;
  font: inherit;
  font-weight: 700;
  font-size: 14px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
}

.cart-count {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;

  color: var(--navy);
  font-size: 12px;

  background: var(--cyan);
  border-radius: 999px;
}

/* Cart panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;

  display: none;
  background: rgba(3, 21, 47, 0.55);
}

.cart-overlay.open {
  display: block;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  width: 380px;
  max-width: 92vw;
  padding: 26px;

  display: flex;
  flex-direction: column;

  overflow-y: auto;

  background: #ffffff;
  box-shadow: var(--shadow);

  visibility: hidden;
  pointer-events: none;
  transform: translateX(110%);
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.cart-panel.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cart-panel-header h3 {
  margin: 0;
  color: var(--navy);
}

.cart-close {
  background: transparent;
  border: 0;
  font-size: 18px;
  cursor: pointer;
}

.cart-empty {
  color: var(--muted);
}

.cart-empty a {
  color: var(--blue);
  font-weight: 800;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;

  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item-name {
  font-weight: 800;
  color: var(--navy);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  width: 26px;
  height: 26px;

  color: var(--navy);
  font-weight: 900;

  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.cart-item-remove {
  color: #a11212;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;

  border-top: 1px solid var(--line);
}

.cart-field input,
.cart-field textarea {
  width: 100%;
}

.cart-field textarea {
  min-height: 80px;
}

.cart-submit {
  width: 100%;
  padding: 14px;
}

#cartFormMsg {
  font-weight: 800;
  color: var(--navy);
}

/* Industries banner */
.industries-banner {
  max-width: 1000px;
  margin: 0 auto 30px;

  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.industries-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}


@media (max-width: 620px) {
  .brand {
    padding: 6px 10px;
  }

  .brand img {
    width: 180px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .quick-strip,
  .cards,
  .service-grid,
  .product-grid,
  .stats,
  .industry-strip,
  .logo-row,
  footer {
    grid-template-columns: 1fr;
  }

  .copy h2,
  .video-band h2 {
    font-size: 34px;
  }
}
