:root {
  --mediaid-green: #138a5b;
  --mediaid-green-dark: #063f34;
  --mediaid-blue: #0f5f86;
  --mediaid-ink: #142420;
  --mediaid-muted: #60706b;
  --mediaid-soft: #eef7f4;
  --mediaid-line: #dce9e5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  color: var(--mediaid-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

.top-strip {
  background: var(--mediaid-green-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  padding: 0.45rem 0;
  z-index: 1040;
}

.top-strip .container {
  align-items: center;
}

.top-strip a {
  color: inherit;
  text-decoration: none;
}

.top-strip a:hover {
  color: #fff;
}

.navbar {
  background: rgb(255 255 255);
  border-bottom: 1px solid rgba(20, 36, 32, 0.08);
  backdrop-filter: blur(18px);
  min-height: 72px;
  top: 34px;
  transition: box-shadow 220ms ease, background-color 220ms ease;
  z-index: 1035;
}

.navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 40px rgba(14, 47, 39, 0.1);
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  padding-bottom: 0;
  padding-top: 0;
}

.site-logo {
  display: block;
  height: 68px;
  object-fit: contain;
  width: auto;
  border-radius: 5px;
}

.navbar-nav {
  gap: 0.1rem;
}

.nav-link {
  border-bottom: 2px solid transparent;
  color: var(--mediaid-ink);
  font-size: 0.94rem;
  font-weight: 700;
  padding-left: 0.62rem !important;
  padding-right: 0.62rem !important;
  position: relative;
}

.nav-link::after {
  transition: transform 180ms ease;
}

.nav-link.active,
.nav-link:hover {
  border-bottom-color: var(--mediaid-blue);
  color: var(--mediaid-blue);
}

.dropdown:hover > .nav-link,
.dropdown .nav-link.show {
  border-bottom-color: var(--mediaid-blue);
  color: var(--mediaid-blue);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(15, 95, 134, 0.08);
  border-left-color: var(--mediaid-blue);
  color: var(--mediaid-blue);
  transform: translateX(3px);
}

.dropdown-menu {
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(14, 47, 39, 0.12);
  min-width: 250px;
  padding: 0.65rem;
}

.dropdown-item {
  border-left: 3px solid transparent;
  border-radius: 6px;
  font-weight: 650;
  padding: 0.55rem 0.75rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropdown-header {
  color: var(--mediaid-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-success {
  --bs-btn-bg: var(--mediaid-green);
  --bs-btn-border-color: var(--mediaid-green);
  --bs-btn-hover-bg: #0d7049;
  --bs-btn-hover-border-color: #0d7049;
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  min-height: 100vh;
}

.hero .carousel-item {
  overflow: hidden;
  position: relative;
}

.hero-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transform: none;
  width: 100%;
}

.hero-media.hero-illustration {
  height: 64%;
  inset: 18% 4% auto auto;
  object-fit: contain;
  width: min(44%, 700px);
}

.carousel-item.active .hero-media.hero-illustration,
.slide-treatment .hero-media.hero-illustration,
.slide-recycle .hero-media.hero-illustration {
  animation: none;
  filter: none;
  transform: none;
}

@media (max-width: 767.98px) {
  .hero-content .row {
    align-items: flex-start !important;
    padding-top: 24px !important;
  }

  .hero-media.hero-illustration {
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: 0.42;
    width: 100%;
  }
}

.carousel-item.active .hero-media {
  animation: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 29, 24, 0.82), rgba(4, 29, 24, 0.48) 44%, rgba(4, 29, 24, 0.1)),
    linear-gradient(0deg, rgba(4, 29, 24, 0.38), rgba(4, 29, 24, 0.08));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  margin-left: 0;
  margin-right: auto;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.carousel-item.active .eyebrow,
.carousel-item.active h1,
.carousel-item.active .lead,
.carousel-item.active .btn {
  animation: slideTextUp 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.carousel-item.active h1 {
  animation-delay: 80ms;
}

.carousel-item.active .lead {
  animation-delay: 160ms;
}

.carousel-item.active .btn {
  animation-delay: 240ms;
}

.slide-treatment .hero-media {
  filter: saturate(0.92) hue-rotate(12deg);
  transform: scale(1.03);
}

.slide-recycle .hero-media {
  filter: saturate(1.1) hue-rotate(-8deg);
  transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  width: 7%;
}

.hero-controls {
  display: contents;
}

.hero-indicators {
  align-items: center;
  bottom: 1.7rem;
  display: flex;
  gap: 0.55rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-indicators button {
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 999px;
  height: 8px;
  padding: 0;
  transition: background-color 180ms ease, width 180ms ease;
  width: 8px;
}

.hero-indicators button.active {
  background: #9df0c6;
  width: 26px;
}

.eyebrow,
.section-kicker {
  color: var(--mediaid-green);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: #9df0c6;
}

.section-pad {
  padding: 92px 0;
}

.intro-band,
.process-section {
  background: var(--mediaid-soft);
}

.stat-tile,
.service-card,
.compliance-panel,
.contact-form {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
}

.stat-tile {
  min-height: 132px;
  padding: 1.25rem;
}

.stat-tile strong {
  color: var(--mediaid-green-dark);
  display: block;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.stat-tile span {
  color: var(--mediaid-muted);
  display: block;
  margin-top: 0.8rem;
}

.about-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 62%, var(--mediaid-soft) 62%, var(--mediaid-soft) 100%);
}

.about-section h2 {
  max-width: 620px;
}

.about-checks {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.about-checks span {
  align-items: center;
  color: var(--mediaid-green-dark);
  display: flex;
  font-weight: 750;
  gap: 0.65rem;
}

.about-checks i {
  color: var(--mediaid-green);
  font-size: 1.2rem;
}

.motion-card {
  background: #061f1a;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(6, 63, 52, 0.22);
  overflow: hidden;
  padding: 0.8rem;
}

.motion-screen {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 20% 18%, rgba(91, 220, 157, 0.22), transparent 28%),
    radial-gradient(circle at 80% 78%, rgba(15, 95, 134, 0.26), transparent 32%),
    linear-gradient(135deg, #082d26, #0b4438);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.motion-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  position: absolute;
}

.motion-route {
  background: linear-gradient(90deg, transparent, rgba(157, 240, 198, 0.95), transparent);
  height: 3px;
  left: 16%;
  position: absolute;
  right: 16%;
  top: 52%;
}

.motion-route::after {
  animation: routeMove 2.8s linear infinite;
  background: #9df0c6;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(157, 240, 198, 0.95);
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  top: -4px;
  width: 12px;
}

.motion-unit {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--mediaid-green-dark);
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  padding: 1rem;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 118px;
}

.motion-unit i {
  color: var(--mediaid-green);
  font-size: 1.7rem;
}

.motion-unit strong {
  font-size: 0.88rem;
}

.unit-left {
  animation: floatUnit 4s ease-in-out infinite;
  left: 20%;
  top: 52%;
}

.unit-center {
  animation: floatUnit 4s ease-in-out 0.6s infinite;
  left: 50%;
  top: 52%;
}

.unit-right {
  animation: floatUnit 4s ease-in-out 1.2s infinite;
  left: 80%;
  top: 52%;
}

.motion-orbit {
  align-items: center;
  border: 1px dashed rgba(157, 240, 198, 0.45);
  border-radius: 999px;
  display: flex;
  height: 148px;
  justify-content: center;
  position: absolute;
  width: 148px;
}

.motion-orbit span {
  align-items: center;
  background: #9df0c6;
  border-radius: 999px;
  color: #063f34;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.orbit-one {
  animation: orbitSpin 8s linear infinite;
  left: -42px;
  top: -34px;
}

.orbit-two {
  animation: orbitSpin 10s linear reverse infinite;
  bottom: -48px;
  right: -32px;
}

.motion-pulse {
  animation: pulseGlow 2.4s ease-in-out infinite;
  background: rgba(157, 240, 198, 0.16);
  border: 1px solid rgba(157, 240, 198, 0.26);
  border-radius: 999px;
  height: 160px;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 160px;
}

.motion-caption {
  align-items: center;
  background: rgba(6, 31, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
  display: inline-flex;
  font-size: 0.86rem;
  gap: 0.65rem;
  left: 18px;
  padding: 0.55rem 0.85rem;
  position: absolute;
}

.play-dot {
  align-items: center;
  background: var(--mediaid-green);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.service-card {
  padding: 1.5rem;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-banner {
  overflow: hidden;
  padding: 0 0 1.5rem;
}

.service-banner-image {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.service-banner h3,
.service-banner p {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.service-banner h3 {
  margin-top: 1.25rem;
}

.service-banner-body {
  padding: 1.5rem;
}

.service-banner-body h3,
.service-banner-body p {
  margin-left: 0;
  margin-right: 0;
}

.service-facts {
  color: var(--mediaid-muted);
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.text-link {
  color: var(--mediaid-green-dark);
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  text-decoration: none;
}

.text-link:hover {
  color: var(--mediaid-green);
}

.group-principle {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-left: 5px solid var(--mediaid-green);
  border-radius: 8px;
  padding: 2rem;
}

.group-principle h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

.ethos-band {
  align-items: end;
  background: var(--mediaid-green-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 2rem;
}

.ethos-band .section-kicker {
  color: #9df0c6;
}

.ethos-band h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
}

.ethos-band p {
  color: rgba(255, 255, 255, 0.78);
}

.why-point {
  padding-top: 1.6rem;
}

.capacity-card {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  height: 100%;
  padding: 1.6rem;
}

.capacity-card strong {
  color: var(--mediaid-green-dark);
  display: block;
  font-size: 2.4rem;
  font-weight: 850;
  line-height: 1.1;
  margin: 0.7rem 0;
}

.project-callout {
  background: var(--mediaid-green-dark);
  color: #fff;
}

.project-callout-inner {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 2.5rem;
}

.project-callout .section-kicker {
  color: #9df0c6;
}

.project-callout h1,
.project-callout h2 {
  font-size: 2rem;
  font-weight: 800;
}

.project-callout p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.project-callout .project-subtitle {
  color: #9df0c6;
  font-size: 1.15rem;
  font-weight: 750;
}

.project-callout-action {
  align-items: flex-start;
  display: grid;
  gap: 1rem;
}

.project-status {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  text-transform: uppercase;
  width: max-content;
}

.infrastructure-card {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  overflow: hidden;
}

.infrastructure-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.infrastructure-card > div {
  padding: 1.35rem;
}

.infrastructure-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.infrastructure-card p:last-child {
  color: var(--mediaid-muted);
  margin: 0;
}

.recognition-note {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  padding: 2.5rem;
}

.recognition-note > i {
  color: var(--mediaid-green);
  font-size: 2.5rem;
}

.leadership-message {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  line-height: 1.75;
  padding: 2rem;
}

.leadership-message blockquote {
  border-left: 4px solid var(--mediaid-green);
  color: var(--mediaid-green-dark);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
}

.service-card:hover {
  border-color: rgba(19, 138, 91, 0.42);
  box-shadow: 0 18px 36px rgba(14, 47, 39, 0.09);
  transform: translateY(-4px);
}

.service-card:hover i,
.panel-row:hover i {
  transform: rotate(-4deg) scale(1.05);
}

.service-card i,
.panel-row i {
  align-items: center;
  background: #e7f5ef;
  border-radius: 8px;
  color: var(--mediaid-green);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.45rem;
  height: 48px;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease;
  width: 48px;
}

.service-card h3,
.timeline-item h3,
.panel-row h3,
.bio-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 1.2rem 0 0.65rem;
}

.service-card p,
.timeline-item p,
.panel-row p,
.bio-card p {
  color: var(--mediaid-muted);
  margin: 0;
}

.biomedical-section {
  background:
    linear-gradient(135deg, rgba(6, 63, 52, 0.96), rgba(15, 95, 134, 0.88)),
    var(--mediaid-green-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.biomedical-section::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.55;
  position: absolute;
}

.biomedical-section .container {
  position: relative;
  z-index: 1;
}

.biomedical-section .section-kicker {
  color: #9df0c6;
}

.biomedical-section .text-secondary {
  color: rgba(255, 255, 255, 0.76) !important;
}

.bio-flow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.bio-flow::before {
  animation: bioScan 3.4s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(157, 240, 198, 0.34), transparent);
  content: "";
  height: 100%;
  left: -35%;
  position: absolute;
  top: 0;
  width: 35%;
}

.bio-flow-step {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: var(--mediaid-green-dark);
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  min-height: 148px;
  padding: 1rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.bio-flow-step i {
  align-items: center;
  background: var(--mediaid-soft);
  border-radius: 999px;
  color: var(--mediaid-green);
  display: inline-flex;
  font-size: 1.75rem;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.bio-flow-step span {
  font-weight: 800;
}

.bio-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  color: var(--mediaid-ink);
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bio-card:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.14);
  transform: translateY(-5px);
}

.bio-card span {
  align-items: center;
  background: var(--mediaid-green-dark);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.animated-media-section {
  background: #f8fbfa;
}

.loop-card {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(14, 47, 39, 0.07);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.loop-card:hover {
  box-shadow: 0 24px 54px rgba(14, 47, 39, 0.12);
  transform: translateY(-5px);
}

.loop-stage {
  background:
    radial-gradient(circle at 18% 20%, rgba(157, 240, 198, 0.34), transparent 28%),
    linear-gradient(135deg, #082d26, #0f5f86);
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.loop-copy {
  padding: 1.35rem;
}

.loop-copy span {
  color: var(--mediaid-green);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.loop-copy h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.loop-copy p {
  color: var(--mediaid-muted);
  margin-bottom: 0;
}

.loop-road {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 54px;
  height: 8px;
  left: 28px;
  position: absolute;
  right: 28px;
}

.loop-bin,
.loop-truck {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  position: absolute;
}

.loop-bin {
  animation: binPulse 2.2s ease-in-out infinite;
  background: #9df0c6;
  color: var(--mediaid-green-dark);
  height: 52px;
  top: 62px;
  width: 52px;
}

.bin-one {
  left: 42px;
}

.bin-two {
  animation-delay: 0.55s;
  right: 44px;
}

.loop-truck {
  animation: truckDrive 4.6s ease-in-out infinite;
  background: #fff;
  bottom: 68px;
  color: var(--mediaid-green);
  font-size: 2.2rem;
  height: 68px;
  left: 28px;
  width: 92px;
}

.water-tank {
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  bottom: 42px;
  height: 128px;
  left: 50%;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  width: 190px;
}

.water-wave {
  animation: waveMove 4s linear infinite;
  background: rgba(157, 240, 198, 0.78);
  border-radius: 42%;
  height: 150px;
  left: -30px;
  position: absolute;
  top: 58px;
  width: 250px;
}

.wave-two {
  animation-delay: -1.6s;
  background: rgba(255, 255, 255, 0.42);
  top: 68px;
}

.bubble {
  animation: bubbleRise 3.2s ease-in infinite;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  bottom: 46px;
  height: 12px;
  left: 35%;
  position: absolute;
  width: 12px;
}

.bubble-two {
  animation-delay: 0.9s;
  left: 52%;
}

.bubble-three {
  animation-delay: 1.7s;
  left: 64%;
}

.water-icon {
  animation: floatWaterIcon 2.8s ease-in-out infinite;
  color: #9df0c6;
  font-size: 3rem;
  left: 50%;
  position: absolute;
  top: 34px;
  transform: translateX(-50%);
}

.doc-sheet {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 0.8rem;
  left: 50%;
  padding: 1.25rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
}

.doc-sheet span {
  background: #dbeae6;
  border-radius: 999px;
  display: block;
  height: 10px;
}

.doc-sheet span:nth-child(2) {
  width: 74%;
}

.doc-sheet span:nth-child(3) {
  width: 56%;
}

.doc-sheet i {
  color: var(--mediaid-green);
  font-size: 2rem;
  justify-self: end;
}

.scan-line {
  animation: scanDoc 2.2s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, #9df0c6, transparent);
  height: 4px;
  left: 18%;
  position: absolute;
  right: 18%;
  top: 28%;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  align-items: start;
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 64px 1fr;
  padding: 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.timeline-item:hover {
  box-shadow: 0 16px 34px rgba(14, 47, 39, 0.08);
  transform: translateX(4px);
}

.timeline-item span {
  align-items: center;
  background: var(--mediaid-green-dark);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.timeline-item h3 {
  margin-top: 0;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.coverage-tags span {
  background: var(--mediaid-soft);
  border: 1px solid var(--mediaid-line);
  border-radius: 999px;
  color: var(--mediaid-green-dark);
  font-weight: 750;
  padding: 0.55rem 0.9rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.coverage-tags span:hover {
  background: var(--mediaid-green);
  color: #fff;
  transform: translateY(-2px);
}

.sustainable-section {
  background: var(--mediaid-soft);
}

.sustainable-practices-list {
  background: #fff;
  border: 1px solid var(--mediaid-line);
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
}

.sustainable-practices-list article {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
}

.sustainable-practices-list article + article {
  border-top: 1px solid var(--mediaid-line);
}

.sustainable-practices-list i {
  color: var(--mediaid-green);
  flex: 0 0 auto;
  font-size: 1.45rem;
}

.sustainable-practices-list h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.sustainable-practices-list p {
  color: var(--mediaid-muted);
  margin: 0;
}

.compliance-panel {
  padding: 1.5rem;
}

.panel-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
}

.panel-row + .panel-row {
  border-top: 1px solid var(--mediaid-line);
}

.panel-row h3 {
  margin-top: 0;
}

.contact-section {
  background: var(--mediaid-green-dark);
  color: #fff;
}

.contact-section .section-kicker {
  color: #9df0c6;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: grid;
  gap: 0.85rem;
}

.contact-lines a,
.contact-lines span {
  color: #fff;
  display: inline-flex;
  gap: 0.75rem;
  text-decoration: none;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form .form-label {
  color: var(--mediaid-ink);
  font-weight: 700;
}

.form-control,
.form-select {
  border-color: var(--mediaid-line);
  border-radius: 8px;
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mediaid-green);
  box-shadow: 0 0 0 0.2rem rgba(19, 138, 91, 0.16);
}

.form-note {
  color: var(--mediaid-green-dark);
  font-weight: 700;
}

.site-footer {
  background: #071b17;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.35rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo {
  background: #fff;
  border-radius: 8px;
  display: block;
  height: auto;
  margin-bottom: 1.1rem;
  max-width: 210px;
  padding: 0.65rem;
  width: 100%;
}

.site-footer p {
  max-width: 460px;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.social-links {
  grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
  gap: 0.9rem 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideTextUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@keyframes routeMove {
  from {
    left: 0;
  }

  to {
    left: calc(100% - 12px);
  }
}

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

  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}

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

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.34;
    transform: translate(-50%, -50%) scale(0.86);
  }

  50% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes bioScan {
  to {
    left: 100%;
  }
}

@keyframes truckDrive {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(calc(100% + 96px));
  }
}

@keyframes binPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes waveMove {
  to {
    transform: translateX(36px) rotate(360deg);
  }
}

@keyframes bubbleRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-126px) scale(1.1);
  }
}

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

  50% {
    transform: translate(-50%, -9px);
  }
}

@keyframes scanDoc {
  0%,
  100% {
    top: 28%;
    opacity: 0.25;
  }

  50% {
    top: 72%;
    opacity: 1;
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown .dropdown-menu:hover,
  .navbar .dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .navbar .dropdown-menu {
    display: block;
    left: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 78px;
  }

  .top-strip {
    position: static;
    text-align: center;
  }

  .navbar {
    position: sticky !important;
    top: 0;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .site-logo {
    height: 54px;
  }

  .nav-link {
    padding-bottom: 0.72rem !important;
    padding-top: 0.72rem !important;
  }

  .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0.25rem 0 0.65rem 0.65rem;
  }

  .hero-content .row {
    padding-top: 34px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 29, 24, 0.84), rgba(4, 29, 24, 0.52));
  }

  .section-pad {
    padding: 72px 0;
  }

  .bio-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .ethos-band,
  .project-callout-inner {
    grid-template-columns: 1fr;
  }

  .project-callout-action {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .group-principle,
  .ethos-band,
  .project-callout-inner,
  .leadership-message,
  .recognition-note {
    padding: 1.25rem;
  }

  .ethos-band h2,
  .project-callout h1,
  .project-callout h2 {
    font-size: 1.45rem;
  }

  .hero-indicators {
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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

@media (max-width: 575.98px) {
  .hero .display-4 {
    font-size: 2.3rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .motion-screen {
    min-height: 380px;
  }

  .motion-route {
    height: 58%;
    left: 50%;
    right: auto;
    top: 20%;
    width: 3px;
  }

  .motion-route::after {
    animation-name: routeMoveVertical;
    left: -4px;
    top: 0;
  }

  .motion-unit {
    left: 50%;
    width: 132px;
  }

  .unit-left {
    top: 24%;
  }

  .unit-center {
    top: 52%;
  }

  .unit-right {
    top: 80%;
  }

  .motion-caption {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .bio-flow {
    grid-template-columns: 1fr;
  }

  .bio-flow-step {
    min-height: 118px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .panel-row {
    flex-direction: column;
  }
}

@keyframes routeMoveVertical {
  from {
    top: 0;
  }

  to {
    top: calc(100% - 12px);
  }
}

/* Refreshed visual system: strong typography, quiet surfaces, and original service artwork. */
:root { --mediaid-soft: #f3f6ef; --mediaid-green: #127b59; --mediaid-ink: #153d32; }
body { background: #fffefa; }
h1, h2, h3 { letter-spacing: -.035em; }
p { line-height: 1.75; }
.section-kicker { letter-spacing: .16em; font-size: .7rem; }
.section-pad h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.15; }
.service-card h3, .infrastructure-card h3 { letter-spacing: -.025em; }
.nav-link { font-size: .82rem; padding-inline: .5rem !important; }
.navbar .container { max-width: 1320px; }
.navbar { min-height: 82px; }
.site-logo { height: 70px; }
.dropdown-menu { border-radius: 14px; padding: .75rem; }
.dropdown-item { font-size: .85rem; white-space: normal; }
.dropdown-header { font-size: .65rem; }
a:focus-visible, button:focus-visible { outline: 3px solid #e2af56; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 2000; background: #fff; color: #063f34; padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.hero { background: #103f33; min-height: 0; padding-top: 116px; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 670px; }
.hero .carousel-item { background: radial-gradient(ellipse at 12% 0%, #28634e 0%, #123f33 55%, #0d322a 100%); }
.hero-content .row.min-vh-100 { min-height: 670px !important; padding-top: 65px !important; padding-bottom: 140px !important; }
.hero-content h1 { font-size: clamp(2.8rem, 4.15vw, 4rem); line-height: 1.08; letter-spacing: -.055em; }
.hero-content h1 em { color: #b9dfb2; font-style: normal; }
.hero-content .lead { font-size: 1.05rem; max-width: 490px; line-height: 1.8; }
.hero .eyebrow { color: #b9dfb2; font-size: .68rem; letter-spacing: .18em; }
.hero-media.hero-illustration { width: 43%; height: 74%; top: 4%; right: 3%; object-fit: contain; opacity: 1; border-radius: 24px; }
.hero-overlay { background: none; pointer-events: none; }
.hero .btn { font-size: .88rem; padding: .9rem 1.2rem; border-radius: 7px; }
.hero .btn-success { background: #c0e7b6; border-color: #c0e7b6; color: #103f33; }
.hero .btn-success:hover { background: #e0f6d5; }
.hero .btn-outline-light { border-color: #ffffff50; }
.hero-indicators { bottom: 26px; width: min(1110px, 82%); gap: 18px; }
.hero-indicators button { display: flex; flex: 1; align-items: flex-start; gap: 10px; width: auto; height: auto; min-height: 53px; text-align: left; padding: 14px 0 0; border-top: 2px solid #ffffff38; border-radius: 0; color: #ffffffa8; background: transparent; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.hero-indicators button.active { width: auto; color: #d5efcb; background: transparent; border-color: #c0e7b6; }
.slide-number { font-size: .65rem; opacity: .6; }
.hero-controls .carousel-control-prev, .hero-controls .carousel-control-next { width: 38px; height: 38px; top: auto; bottom: 35px; border: 1px solid #ffffff50; border-radius: 50%; }
.hero-controls .carousel-control-prev { left: 18px; }
.hero-controls .carousel-control-next { right: 18px; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 16px; height: 16px; }
.hero-pause { position: absolute; right: 30px; top: 25px; z-index: 4; background: #ffffff15; border: 1px solid #ffffff45; border-radius: 50%; width: 36px; height: 36px; color: #fff; }
.impact-strip { border-bottom: 1px solid #dce5d7; background: #f3f6ef; }
.impact-strip .container { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; align-items: center; padding-block: 30px; }
.impact-strip .container > div { border-right: 1px solid #d3dfd2; padding-left: 24px; }
.impact-strip strong { display: block; font-size: 1.65rem; letter-spacing: -.05em; }
.impact-strip span { color: #68796c; font-size: .75rem; }
.impact-strip a { color: #153d32; text-align: right; font-size: .85rem; font-weight: 700; text-decoration: none; }
.impact-strip i { display: inline-block; margin-left: 14px; }
.about-section { background: #fffefa; }
.about-section img { box-shadow: none !important; }
.service-card, .infrastructure-card, .group-principle { border-radius: 16px; overflow: hidden; box-shadow: none; }
.service-card { border: 1px solid #dce5d7; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #153d3210; }
.service-banner-image { height: 235px; object-fit: cover; transition: transform .5s; }
.service-banner:hover .service-banner-image { transform: scale(1.025); }
.service-banner-body { padding: 26px; }
.service-banner-body h3 { font-size: 1.35rem; }
.service-banner-body p { font-size: .9rem; }
.infrastructure-card img { object-fit: cover; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-button { background: transparent; border: 1px solid #cddace; border-radius: 99px; padding: 10px 20px; color: #325648; font-size: .82rem; font-weight: 650; transition: background .2s, color .2s; }
.filter-button:hover { background: #e1eadc; }
.filter-button.active { background: #153d32; color: #fff; border-color: #153d32; }
[hidden] { display: none !important; }
.founder-monogram { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e6eedf; color: #17563c; border-radius: 20px; font-family: Georgia, serif; font-size: 7rem; }
.founder-monogram span { font: 600 .6rem system-ui; letter-spacing: .1em; margin-top: 20px; }
.gallery-notice { background: #f3f6ef; border: 1px solid #dce5d7; border-radius: 16px; display: flex; align-items: center; gap: 24px; padding: 26px; margin-bottom: 35px; }
.gallery-notice > i { font-size: 2rem; }
.gallery-notice p { font-size: .9rem; color: #607065; }
.gallery-card { display: block; overflow: hidden; height: 100%; border: 1px solid #dce5d7; border-radius: 16px; color: inherit; text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #153d3212; }
.gallery-image { position: relative; }
.gallery-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-image span { position: absolute; bottom: 12px; left: 12px; padding: 5px 10px; font-size: .65rem; background: #ffffffdd; border-radius: 99px; }
.gallery-card h2 { font-size: 1.1rem; }
.gallery-card h2 i { float: right; }
.gallery-card p { font-size: .88rem; }
.back-to-top { position: fixed; bottom: 20px; right: 20px; z-index: 1000; width: 42px; height: 42px; border: 1px solid #cad9ca; border-radius: 50%; color: #153d32; background: #fff; box-shadow: 0 5px 20px #153d3215; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .dropdown-menu:not(.show) { display: none; }
  .navbar .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
  .navbar-collapse { max-height: calc(100dvh - 125px); overflow-y: auto; }
  .nav-link { padding-block: .7rem !important; }
}
@media (min-width: 1200px) {
  .hero-content .col-lg-7 { width: 54%; }
}
@media (max-width: 991.98px) {
  .top-strip .container { flex-direction: row !important; justify-content: center !important; }
  .top-strip span { display: none; }
  .top-strip { font-size: .7rem; }
  .navbar { min-height: 74px; }
  .hero { padding-top: 0; }
  .hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 700px; }
  .hero-content .row.min-vh-100 { min-height: 700px !important; align-items: flex-start !important; padding-top: 45px !important; }
  .hero-content .col-lg-7 { width: 60%; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-media.hero-illustration { width: 37%; right: 2%; top: 8%; height: 65%; opacity: 1; }
  .hero-indicators { width: 80%; gap: 10px; }
  .hero-indicators button { font-size: .65rem; }
  .slide-number { display: none; }
  main[style] { padding-top: 0 !important; }
  .navbar-collapse { max-height: calc(100dvh - 90px); overflow-y: auto; }
}
@media (max-width: 767.98px) {
  .hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 890px; }
  .hero-content .row.min-vh-100 { min-height: 890px !important; padding-top: 35px !important; padding-bottom: 410px !important; }
  .hero-content .col-lg-7 { width: 100%; }
  .hero-content h1, .hero .display-4 { font-size: clamp(2.2rem, 7vw, 3rem); max-width: 580px; }
  .hero-content .lead { font-size: .93rem; margin-bottom: 18px !important; }
  .hero-media.hero-illustration { top: auto; bottom: 122px; right: 10%; height: 280px; width: 80%; object-fit: contain; }
  .hero-indicators { width: calc(100% - 32px); bottom: 18px; }
  .hero-indicators button { min-height: 65px; font-size: .6rem; gap: 0; }
  .hero .btn { padding: .75rem .85rem; font-size: .78rem; }
  .hero-pause { top: 14px; right: 12px; width: 30px; height: 30px; }
  .hero-controls .carousel-control-prev, .hero-controls .carousel-control-next { display: flex; bottom: 240px; }
  .impact-strip .container { grid-template-columns: repeat(3, 1fr); padding-block: 22px; }
  .impact-strip .container > div { padding-left: 12px; }
  .impact-strip strong { font-size: 1.25rem; }
  .impact-strip span { font-size: .62rem; }
  .impact-strip a { grid-column: 1/-1; text-align: center; margin-top: 22px; }
  .section-pad { padding: 60px 0; }
  .filter-button { font-size: .75rem; padding: 8px 12px; }
}
.hero-media.hero-photo { width: 43%; height: 70%; inset: 5% 3% auto auto; object-fit: cover; border-radius: 24px; }
.gallery-card { width: 100%; padding: 0; text-align: left; font: inherit; }
.photo-dialog { width: min(1050px, 94vw); max-height: 94dvh; padding: 38px 20px 12px; border: 0; border-radius: 16px; background: #fffefa; }
.photo-dialog::backdrop { background: #07271be8; }
.photo-dialog img { display: block; max-width: 100%; max-height: 75dvh; object-fit: contain; margin: auto; }
.photo-dialog p { text-align: center; margin: 12px 0 0; }
.photo-close { position: absolute; right: 8px; top: 0; background: transparent; border: 0; font-size: 1.7rem; padding: 0 10px; color: #153d32; }
@media (max-width: 991.98px) and (min-width: 768px) { .hero-media.hero-photo { width: 37%; right: 2%; top: 8%; height: 65%; } }
@media (max-width: 767.98px) { .hero-media.hero-photo { top: auto; bottom: 122px; right: 10%; width: 80%; height: 280px; } }
.hero-media.hero-illustration, .hero-media.hero-photo { left: auto; }
@media (max-width: 767.98px) {
  .hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 780px; }
  .hero-content .row.min-vh-100 { min-height: 780px !important; padding-bottom: 370px !important; }
  .hero-media.hero-illustration, .hero-media.hero-photo { bottom: 110px; }
}
@media (max-width: 359.98px) {
  .hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 830px; }
  .hero-content .row.min-vh-100 { min-height: 830px !important; }
  .hero .eyebrow { max-width: 245px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content .col-lg-7 { width: 50%; }
  .hero-content h1 { font-size: 2.65rem; }
  .hero-media.hero-illustration, .hero-media.hero-photo { width: 42%; }
}
@media (max-width: 359.98px) {
  .hero .carousel, .hero .carousel-inner, .hero .carousel-item { min-height: 890px; }
  .hero-content .row.min-vh-100 { min-height: 890px !important; }
  .hero-media.hero-illustration, .hero-media.hero-photo { height: 245px; }
}
/* Horizontal client-approved Mediaid Group logo, exported directly from the supplied PDF. */
.navbar .site-logo { width:220px; height:auto!important; max-width:calc(100vw - 125px); max-height:60px; object-fit:contain; border-radius:0; }
.site-footer .footer-logo { max-width:255px; height:auto; }
@media(max-width:575.98px) { .navbar .site-logo { width:190px; } }
