@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --bg: #06110c;
  --bg2: #0a1c12;
  --panel: #0e2418;
  --panel2: #12321f;
  --text: #f3faef;
  --muted: #a7bcae;
  --line: rgba(202, 255, 185, 0.15);
  --lime: #b6f23b;
  --lime2: #7fd51b;
  --green: #168548;
  --green2: #0a5b31;
  --cream: #eaf6e5;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, #153b23 0, transparent 34%),
    radial-gradient(circle at 100% 20%, #10331d 0, transparent 30%), var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(182, 242, 59, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 242, 59, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  z-index: -1;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}
.container {
  width: min(1220px, 92%);
  margin: auto;
}
.topbar {
  background: #020804;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 17, 12, 0.56);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  color: var(--text);
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(182, 242, 59, 0.18));
}
.brand span {
  font-family: "Space Grotesk";
  font-size: 14px;
  line-height: 1.2;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.menu {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 13px;
  font-weight: 700;
}
.menu a {
  color: #c9d9cd;
  position: relative;
}
.menu a:not(.btn):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: 0.25s;
}
.menu a:hover {
  color: var(--lime);
}
.menu a:hover:after {
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), #74c31a);
  color: #071208;
  font-weight: 900;
  border: 1px solid var(--lime);
  box-shadow: 0 8px 28px rgba(182, 242, 59, 0.18);
  transition: 0.3s;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(182, 242, 59, 0.3);
  color: #071208;
}
.btn.outline {
  background: transparent;
  color: var(--lime);
  box-shadow: none;
}
.btn.outline:hover {
  background: rgba(182, 242, 59, 0.08);
}
.btn.alt {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green2);
}
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -240px;
  top: -180px;
  background: radial-gradient(
    circle,
    rgba(182, 242, 59, 0.22),
    transparent 68%
  );
  animation: float 9s ease-in-out infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.eyebrow:before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--lime);
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(42px, 6vw, 82px);
  margin: 0 0 25px;
}
h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  margin: 0 0 18px;
}
h3 {
  font-size: 21px;
  margin: 0 0 10px;
}
p {
  margin: 0 0 18px;
}
.lead {
  font-size: 18px;
  max-width: 680px;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}
.hero-art {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(
    145deg,
    rgba(20, 70, 38, 0.8),
    rgba(5, 19, 11, 0.75)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(182, 242, 59, 0.3);
  border-radius: 26px;
  animation: spin 38s linear infinite;
}
.hero-art:after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(182, 242, 59, 0.22),
    transparent 68%
  );
  animation: pulse 5s ease-in-out infinite;
}
.hero-art img {
  width: 72%;
  max-width: 390px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  animation: float 7s ease-in-out infinite;
}
.badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(234, 246, 229, 0.96);
  color: #0b2916;
  padding: 12px 16px;
  border-radius: 13px;
  font-weight: 900;
  font-size: 12px;
  z-index: 3;
}
.hero-chip {
  position: absolute;
  right: 22px;
  top: 22px;
  background: rgba(182, 242, 59, 0.12);
  border: 1px solid rgba(182, 242, 59, 0.35);
  color: var(--lime);
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  z-index: 3;
}
section {
  padding: 100px 0;
}
.section-head {
  max-width: 1100px;
  margin-bottom: 42px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.muted {
  color: var(--muted);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 29px;
  background: linear-gradient(
    160deg,
    rgba(18, 50, 31, 0.92),
    rgba(8, 24, 15, 0.92)
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: 0.35s;
}
.card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(182, 242, 59, 0.08),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.8s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(182, 242, 59, 0.45);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}
.card:hover:before {
  transform: translateX(100%);
}
.card p {
  color: var(--muted);
}
.card .btn {
  margin-top: 12px;
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(182, 242, 59, 0.1);
  border: 1px solid rgba(182, 242, 59, 0.22);
  color: var(--lime);
  font-size: 25px;
  margin-bottom: 20px;
}
.number {
  font-family: "Space Grotesk";
  font-size: 44px;
  font-weight: 900;
  color: var(--lime);
  margin-bottom: 8px;
}
.soft {
  background: rgba(10, 32, 19, 0.68);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.visual {
  position: relative;
  background: linear-gradient(145deg, #163f26, #081a10);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 45px;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.visual:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(182, 242, 59, 0.2);
  border-radius: 22px;
}
.visual img {
  max-width: 80%;
  max-height: 330px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.4));
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.checklist li {
  margin: 14px 0;
  padding-left: 32px;
  position: relative;
  color: #d5e6d8;
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 900;
}
.strip {
  padding: 48px 0;
  background: linear-gradient(100deg, #123e24, #0a2114);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.strip h2 {
  font-size: 40px !important;
  color: #fff !important;
  margin: 0;
}
.page-hero {
  position: relative;
  padding: 85px 0;
  background: linear-gradient(
    120deg,
    rgba(16, 55, 31, 0.95),
    rgba(6, 17, 12, 0.9)
  );
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -260px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid rgba(182, 242, 59, 0.18);
  box-shadow:
    0 0 0 40px rgba(182, 242, 59, 0.03),
    0 0 0 80px rgba(182, 242, 59, 0.02);
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 0 0 15px;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-card {
  padding: 0;
}
.service-card .service-top {
  padding: 30px 30px 15px;
}
.service-card .service-bottom {
  background: rgba(182, 242, 59, 0.08);
  padding: 17px 30px;
  font-weight: 900;
  color: var(--lime);
  border-top: 1px solid var(--line);
}
.project {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #113e24, #07180e);
  color: white;
  padding: 29px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  transition: 0.35s;
}
.project:hover {
  transform: translateY(-8px);
  border-color: rgba(182, 242, 59, 0.5);
}
.project:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(182, 242, 59, 0.13);
  border-radius: 50%;
  right: -100px;
  top: -100px;
}
.project h3,
.project p,
.project .tag {
  position: relative;
  z-index: 1;
}
.project h3 {
  color: white;
}
.project p {
  color: #bdd5c3;
}
.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(182, 242, 59, 0.12);
  border: 1px solid rgba(182, 242, 59, 0.2);
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  margin: 3px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
.table th,
.table td {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table th {
  background: rgba(182, 242, 59, 0.08);
  color: var(--lime);
}
.table td {
  color: #c5d8ca;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
}
.faq details p {
  margin-top: 15px;
  color: var(--muted);
}
form {
  display: grid;
  gap: 15px;
}
label {
  font-weight: 800;
  font-size: 13px;
  color: #d8e9db;
}
input,
textarea,
select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #07170d;
  color: var(--text);
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(182, 242, 59, 0.35);
  border-color: var(--lime);
}
textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin: 24px 0;
}
.contact-item .icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 18px;
}
.footer {
  background: #020a05;
  color: #b9d0bf;
  padding: 65px 0 20px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer h3 {
  color: white;
  font-size: 16px;
}
.footer a {
  display: block;
  color: #b9d0bf;
  margin: 9px 0;
  font-size: 13px;
}
.footer a:hover {
  color: var(--lime);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.notice {
  padding: 17px 20px;
  background: rgba(182, 242, 59, 0.08);
  border-left: 4px solid var(--lime);
  border-radius: 12px;
  color: #d8ead8;
}
.mobile-note {
  display: none;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 45px;
}
.metric {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 37, 22, 0.65);
}
.metric strong {
  display: block;
  font: 900 38px "Space Grotesk";
  color: var(--lime);
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: rgba(182, 242, 59, 0.04);
}
.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 30s linear infinite;
  color: #d4e9d6 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track span {
  color: var(--lime) !important;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  z-index: 9999;

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

  background: #25d366 !important;
  color: #fff !important;
  border-radius: 50%;
  text-decoration: none;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition:
    width 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-cta svg {
  width: 31px;
  height: 31px;
  fill: #fff;
}

.floating-cta span {
  display: none;
  color: #fff !important;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  margin-left: 9px;
}

.floating-cta:hover {
  width: 132px;
  border-radius: 30px;
  transform: translateY(-4px);
}

.floating-cta:hover span {
  display: inline-block;
}

@media (max-width: 767px) {
  .floating-cta {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .floating-cta svg {
    width: 29px;
    height: 29px;
  }

  .floating-cta:hover {
    width: 54px;
    border-radius: 50%;
    transform: none;
  }

  .floating-cta:hover span {
    display: none;
  }
}
.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #123b23;
  color: var(--lime);
  border: 1px solid var(--line);
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 1000px) {
  .menu {
    gap: 10px;
    font-size: 11px;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 75px 0;
  }
  .hero-art {
    min-height: 350px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 620px) {
  .topbar .container {
    flex-direction: column;
    gap: 0;
  }
  .nav-inner {
    gap: 8px;
  }
  .brand img {
    width: 43px;
    height: 43px;
  }
  .brand span {
    font-size: 11px;
  }
  .menu {
    display: none;
  }
  .mobile-note {
    display: block;
    font-size: 12px;
    color: var(--muted);
  }
  .grid-3,
  .grid-4,
  .metrics {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 42px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    min-height: 280px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .strip h2 {
    font-size: 28px;
  }
}
/* Visual enhancement layer */
:root {
  --lime: #b8ff38;
  --acid: #8cff00;
  --ink: #030906;
  --glass: rgba(7, 22, 14, 0.74);
}
body {
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(102, 255, 0, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 60%,
      rgba(20, 100, 58, 0.18),
      transparent 35%
    ),
    var(--bg);
}
.hero-photo {
  min-height: 720px;
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 9, 6, 0.98) 0%,
      rgba(2, 9, 6, 0.85) 34%,
      rgba(2, 9, 6, 0.25) 70%,
      rgba(2, 9, 6, 0.65) 100%
    ),
    url("assets/hero-rope-access.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      transparent 0 35%,
      rgba(184, 255, 56, 0.12) 35.2%,
      transparent 50%
    ),
    linear-gradient(0deg, rgba(2, 9, 6, 0.5), transparent 40%);
  pointer-events: none;
  z-index: -1;
}
.hero-photo .hero-grid {
  min-height: 620px;
}
.hero-copy {
  margin-top: 100px;
}
.hero-copy h1 {
  font-size: clamp(58px, 8vw, 112px);
  text-transform: uppercase;
  letter-spacing: -0.07em;
  text-shadow: 0 8px 40px #000;
}
.hero-copy h1 span {
  color: var(--lime);
}
.hero-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: #d5f5d6;
  font-size: 12px;
}
.hero-mini span {
  padding: 8px 12px;
  border: 1px solid rgba(184, 255, 56, 0.25);
  border-radius: 999px;
  background: rgba(2, 9, 6, 0.35);
}
.hero-side {
  display: flex;
  justify-content: flex-end;
}
.glass-panel {
  max-width: 350px;
  padding: 30px;
  border: 1px solid rgba(184, 255, 56, 0.35);
  border-radius: 24px;
  background: linear-gradient(
    150deg,
    rgba(5, 21, 12, 0.78),
    rgba(3, 9, 6, 0.5)
  );
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  animation: float 8s ease-in-out infinite;
}
.panel-kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--lime);
  font-weight: 900;
}
.glass-panel h3 {
  font-size: 31px;
  margin: 16px 0;
}
.glass-panel h3 strong {
  color: var(--lime);
}
.mini-stat {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(184, 255, 56, 0.16);
  font-size: 12px;
}
.mini-stat b {
  color: var(--lime);
  font-size: 20px;
}
.stats-band {
  padding: 0;
  background: #06110b;
  border-top: 1px solid rgba(184, 255, 56, 0.18);
  border-bottom: 1px solid rgba(184, 255, 56, 0.18);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats > div {
  padding: 25px 20px;
  border-right: 1px solid rgba(184, 255, 56, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats b {
  font-size: 32px;
  color: var(--lime);
  font-family: "Space Grotesk";
}
.stats span {
  font-size: 12px;
  color: #b5ccb9;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}
.feature-card {
  min-height: 440px;
  border: 1px solid rgba(184, 255, 56, 0.2);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: 0.45s;
  display: flex;
  align-items: flex-end;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--lime);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}
.photo-one {
  background-image: url("assets/services/mining-service.png");
}
.photo-two {
  background-image:
    linear-gradient(120deg, rgba(3, 9, 6, 0.12), rgba(3, 9, 6, 0.22)),
    url("assets/services/civil-service.png");
  background-position: center;
}
.photo-three {
  background-image:
    linear-gradient(120deg, rgba(3, 9, 6, 0.14), rgba(3, 9, 6, 0.24)),
    url("assets/services/transporting-service.png");
  background-position: center;
}
.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(2, 9, 6, 0.98),
    rgba(2, 9, 6, 0.05) 80%
  );
}
.feature-content {
  position: relative;
  padding: 28px;
  z-index: 1;
}
.feature-content h3 {
  font-size: 30px;
}
.feature-content p {
  color: #c5ddc9;
}
.feature-content a {
  color: var(--lime);
  font-weight: 900;
  font-size: 12px;
}
.dark-split {
  background: linear-gradient(120deg, #07180e, #020805);
  border-top: 1px solid rgba(184, 255, 56, 0.12);
  border-bottom: 1px solid rgba(184, 255, 56, 0.12);
}
.image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(184, 255, 56, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  transform: rotate(1.5deg);
}
.image-frame img {
  width: 100%;
  display: block;
  min-height: 390px;
  object-fit: cover;
}
.image-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 99px;
  background: rgba(2, 9, 6, 0.75);
  border: 1px solid rgba(184, 255, 56, 0.3);
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline > div {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(18, 50, 31, 0.75),
    rgba(4, 16, 9, 0.8)
  );
  transition: 0.3s;
}
.timeline > div:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
}
.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: #06110c;
  font-weight: 900;
  margin-bottom: 22px;
}
.timeline p {
  color: var(--muted);
  font-size: 14px;
}
.visual-band {
  background: linear-gradient(
    100deg,
    #dff6d9 0%,
    #c8edbc 40%,
    #e9f7e4 100%
  ) !important;
  color: #082011;
  overflow: hidden;
}
.visual-band .eyebrow {
  color: #157a35;
}
.visual-band h2 {
  color: #082011;
}
.visual-band p {
  max-width: 600px;
  color: #31583b;
}
.visual-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.pill-row span {
  padding: 8px 12px;
  border: 1px solid rgba(8, 32, 17, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.collage {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(12, 53, 25, 0.2);
  transform: rotate(-2deg);
}
.collage img {
  display: block;
  width: 100%;
  filter: saturate(0.95);
}
.lift {
  transition: 0.35s;
}
.lift:hover {
  transform: translateY(-9px) scale(1.01);
}
.quote-section {
  padding-top: 20px;
}
.quote-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 50px;
  border: 1px solid rgba(184, 255, 56, 0.35);
  border-radius: 30px;
  background: linear-gradient(120deg, #174d2a, #0a2415);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.quote-card h2 {
  max-width: 650px;
}
.quote-card p {
  color: #c8e0cc;
}
.btn.alt {
  color: #09200f;
  background: #efffe9;
  width: 300px;
}
@media (max-width: 900px) {
  .hero-photo {
    background-position: 60% center;
  }
  .hero-side {
    justify-content: flex-start;
  }
  .feature-grid,
  .visual-band-inner {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 360px;
  }
  .timeline,
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div {
    border-bottom: 1px solid rgba(184, 255, 56, 0.15);
  }
  .quote-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy h1 {
    font-size: 62px;
  }
}
@media (max-width: 600px) {
  .hero-photo {
    padding: 70px 0;
  }
  .hero-photo .hero-grid {
    min-height: auto;
  }
  .glass-panel {
    max-width: none;
  }
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .image-frame img {
    min-height: 250px;
  }
  .quote-card {
    padding: 30px;
  }
  .feature-content h3 {
    font-size: 25px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease var(--delay),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Interactive visual system */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropbtn {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 8px;
}
.nav-dropmenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(184, 255, 56, 0.25);
  border-radius: 16px;
  background: rgba(4, 17, 10, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropmenu,
.nav-dropdown:focus-within .nav-dropmenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-dropmenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
}
.nav-dropmenu a:hover {
  background: rgba(184, 255, 56, 0.13);
  color: var(--lime);
}
.mobile-menu {
  display: none;
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
}
.immersive-gallery {
  padding: 110px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 255, 56, 0.1), transparent 40%),
    #030b06;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(184, 255, 56, 0.2);
  border-radius: 22px;
  background: #07180e;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.45s,
    border-color 0.45s;
}
.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(5) {
  transform: translateY(28px);
}
.gallery-grid figure:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--lime);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
  transition:
    transform 0.7s,
    filter 0.7s;
}
.gallery-grid figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.35);
}
.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 18px 18px;
  background: linear-gradient(transparent, rgba(2, 9, 6, 0.95));
  font-weight: 800;
  font-size: 13px;
}
.page-hero {
  background-image:
    linear-gradient(90deg, rgba(2, 9, 6, 0.96), rgba(2, 9, 6, 0.55)),
    url("assets/hero-industrial.png");
  background-size: cover;
  background-position: center;
}
.card,
.feature-card,
.timeline > div {
  position: relative;
  overflow: hidden;
}
.card:after {
  content: "";
  position: absolute;
  inset: auto -30% -70% -30%;
  height: 130px;
  background: radial-gradient(
    ellipse,
    rgba(184, 255, 56, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
.section-head h2 {
  text-wrap: balance;
}
.eyebrow {
  animation: tracking 5s ease-in-out infinite alternate;
}
@keyframes tracking {
  from {
    letter-spacing: 0.16em;
  }
  to {
    letter-spacing: 0.28em;
  }
}
@media (max-width: 1000px) {
  .menu {
    gap: 8px;
  }
  .nav-dropbtn {
    padding: 8px 5px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .mobile-menu {
    display: block;
  }
  .nav .menu {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(5) {
    transform: none;
  }
  .gallery-grid figure {
    min-height: 250px;
  }
}

/* 2026 visual mega-menu and interaction upgrade */
.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 12px);
  width: min(920px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(184, 255, 56, 0.28);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(5, 20, 12, 0.98),
    rgba(2, 8, 5, 0.98)
  );
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 100;
  backdrop-filter: blur(22px);
}
.mega-parent:hover .mega-menu,
.mega-parent:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-intro {
  padding: 6px;
}
.mega-intro h3 {
  font-size: 28px;
  margin: 12px 0;
}
.mega-intro p {
  color: #b8d4bd;
  font-size: 13px;
  line-height: 1.7;
}
.mega-intro img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 12px;
  border: 1px solid rgba(184, 255, 56, 0.2);
}
.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}
.mega-links a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid rgba(184, 255, 56, 0.12);
  background: rgba(184, 255, 56, 0.035);
  transition: 0.25s;
}
.mega-links a:hover {
  transform: translateY(-4px);
  background: rgba(184, 255, 56, 0.12);
  border-color: rgba(184, 255, 56, 0.5);
}
.mega-links b {
  font-size: 13px;
  color: #efffe9;
}
.mega-links small {
  font-size: 11px;
  color: #91b59a;
  line-height: 1.45;
}
.service-links .mega-all {
  grid-column: 1/-1;
  color: var(--lime);
  font-weight: 900;
  text-align: center;
}
.six-features {
  grid-template-columns: repeat(3, 1fr);
}
.photo-four {
  background-image:
    linear-gradient(120deg, rgba(3, 9, 6, 0.1), rgba(3, 9, 6, 0.2)),
    url("assets/panel-4.jpg");
}
.photo-five {
  background-image:
    linear-gradient(120deg, rgba(3, 9, 6, 0.1), rgba(3, 9, 6, 0.2)),
    url("assets/panel-5.jpg");
}
.photo-six {
  background-image:
    linear-gradient(120deg, rgba(3, 9, 6, 0.1), rgba(3, 9, 6, 0.2)),
    url("assets/panel-6.jpg");
}
.six-features .feature-card {
  min-height: 390px;
}
.page-gallery {
  padding: 100px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(184, 255, 56, 0.1), transparent 35%),
    #030b06;
}
.page-gallery .gallery-grid figure {
  min-height: 300px;
}
.page-gallery .gallery-grid img {
  min-height: 300px;
}
.team-hero img,
.team-photo img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(184, 255, 56, 0.3);
}
form {
  padding: 30px;
  border: 1px solid rgba(184, 255, 56, 0.3);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(15, 42, 25, 0.85),
    rgba(3, 12, 7, 0.95)
  );
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}
form input,
form textarea,
form select {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(184, 255, 56, 0.25) !important;
  color: #efffe9 !important;
  border-radius: 12px !important;
  padding: 14px !important;
  transition: 0.25s !important;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none !important;
  border-color: var(--lime) !important;
  box-shadow: 0 0 0 4px rgba(184, 255, 56, 0.1) !important;
  transform: translateY(-2px);
}
form label {
  color: #cce7d0;
  font-size: 12px;
  font-weight: 800;
}
form .btn {
  box-shadow:
    0 0 0 1px rgba(184, 255, 56, 0.2),
    0 10px 30px rgba(100, 255, 0, 0.12);
}
@media (max-width: 1000px) {
  .mega-menu {
    width: min(700px, calc(100vw - 30px));
  }
  .six-features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .mega-menu {
    position: fixed;
    top: 70px;
    left: 15px;
    right: 15px;
    width: auto;
    transform: translateY(12px);
    grid-template-columns: 1fr;
    max-height: 80vh;
    overflow: auto;
  }
  .mega-parent:hover .mega-menu,
  .mega-parent:focus-within .mega-menu {
    transform: none;
  }
  .mega-links {
    grid-template-columns: 1fr;
  }
  .six-features {
    grid-template-columns: 1fr;
  }
  .team-hero img,
  .team-photo img {
    min-height: 280px;
  }
}

.cursor-glow {
  position: fixed;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(184, 255, 56, 0.09),
    transparent 70%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
}
@media (max-width: 700px) {
  .cursor-glow {
    display: none;
  }
}

/* Header polish applied to the original Mega Visual design */
.topbar {
  background: #dcebe0;
  color: #31523c;
  border-bottom-color: rgba(10, 65, 35, 0.15);
}
.nav {
  background: rgba(224, 239, 227, 0.96);
  border-bottom: 1px solid rgba(10, 65, 35, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.brand {
  color: #103d25;
}
.brand small {
  color: #3f7d20;
}
.menu a {
  color: #214c34;
}
.menu a:hover {
  color: #126b35;
}
.nav-dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1.2;
  min-height: 38px;
  color: #214c34;
}
.nav-dropbtn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 1;
  transform: translateY(0);
  transition: transform 0.25s ease;
}
.mega-parent:hover .nav-dropbtn span,
.mega-parent:focus-within .nav-dropbtn span,
.mega-parent.open .nav-dropbtn span {
  transform: rotate(180deg);
}
.mega-menu {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}
.mobile-menu {
  color: #123d25;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(10, 65, 35, 0.25);
}
.menu a.active,
.menu a[aria-current="page"] {
  color: #126b35 !important;
}
.menu a.active:after,
.menu a[aria-current="page"]:after {
  width: 100%;
}
.nav-dropdown.active-parent > .nav-dropbtn {
  color: #126b35;
}
.nav-dropdown.active-parent > .nav-dropbtn:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: var(--lime2);
}
@media (max-width: 1000px) {
  .nav {
    background: rgba(224, 239, 227, 0.98);
  }
  .menu {
    background: #e0efe3 !important;
  }
  .menu a {
    color: #214c34;
  }
  .nav-dropbtn {
    color: #214c34;
  }
}

/* Final visual refinement: translucent header + rotating hero slider */
.topbar {
  background: rgba(2, 9, 6, 0.96) !important;
  color: #b9d8bf !important;
  border-bottom: 1px solid rgba(184, 255, 56, 0.16) !important;
}
.nav {
  background: rgba(8, 22, 14, 0.72) !important;
  border-bottom: 1px solid rgba(184, 255, 56, 0.18) !important;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(18px);
}
.brand {
  color: #efffe9 !important;
}
.brand small {
  color: #b8ff38 !important;
}
.menu a {
  color: #e2f4e5 !important;
}
.menu a:hover,
.nav-dropbtn:hover,
.menu a.active,
.menu a[aria-current="page"] {
  color: var(--lime) !important;
}
.nav-dropbtn {
  color: #e2f4e5 !important;
}
.mobile-menu {
  color: #efffe9 !important;
  background: rgba(8, 22, 14, 0.55) !important;
  border-color: rgba(184, 255, 56, 0.3) !important;
}
.hero-photo {
  background-image: none !important;
  position: relative;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #020906;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s ease,
    transform 7s ease;
  display: block;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(2, 9, 6, 0.98) 0%,
    rgba(2, 9, 6, 0.78) 36%,
    rgba(2, 9, 6, 0.25) 72%,
    rgba(2, 9, 6, 0.62) 100%
  );
  pointer-events: none;
}
.slider-controls {
  position: absolute;
  right: 5%;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}
.slider-controls button {
  border: 1px solid rgba(184, 255, 56, 0.45);
  background: rgba(2, 9, 6, 0.6);
  color: #efffe9;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s;
  backdrop-filter: blur(10px);
}
.slider-controls button:hover,
.slider-controls button.is-active {
  background: var(--lime);
  color: #06110c;
  border-color: var(--lime);
  transform: translateY(-2px);
}
.slider-dots {
  display: flex;
  gap: 7px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  min-width: 9px;
  padding: 0;
  border: 0;
  background: rgba(239, 255, 233, 0.45);
}
.slider-dots button.is-active {
  background: var(--lime);
  transform: none;
}
@media (max-width: 700px) {
  .slider-controls {
    right: 20px;
    bottom: 20px;
  }
  .hero-slide {
    background-position: 62% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
  .eyebrow {
    animation: none;
  }
}

/* Bootstrap integration + mobile navigation refinement */
.nav-dropbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1;
  vertical-align: middle;
  min-height: 42px;
  padding: 10px 8px !important;
}
.nav-dropbtn .chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 0.25s ease;
  flex: 0 0 auto;
  margin: 0 !important;
}
.mega-parent:hover .nav-dropbtn .chevron,
.mega-parent:focus-within .nav-dropbtn .chevron,
.mega-parent.open .nav-dropbtn .chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 23px;
  line-height: 1;
  padding: 0 !important;
  position: relative;
  z-index: 120;
}
@media (max-width: 700px) {
  .nav-inner {
    position: relative;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .nav .menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 14px !important;
    background: rgba(6, 17, 12, 0.98) !important;
    border: 1px solid rgba(184, 255, 56, 0.25);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
  }
  .nav .menu.mobile-open {
    display: flex !important;
  }
  .nav .menu > a,
  .nav .menu .nav-dropbtn {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    padding: 13px 14px !important;
    border-radius: 10px;
    color: #e2f4e5 !important;
  }
  .nav .menu > a:hover,
  .nav .menu .nav-dropbtn:hover {
    background: rgba(184, 255, 56, 0.1);
  }
  .nav-dropdown {
    display: block !important;
    width: 100%;
  }
  .nav-dropdown .mega-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    max-height: none !important;
    transform: none !important;
    margin: 4px 0 8px !important;
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    border-radius: 15px !important;
    background: rgba(13, 40, 23, 0.98) !important;
    box-shadow: none !important;
  }
  .nav-dropdown.open > .mega-menu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav-dropdown .mega-links {
    grid-template-columns: 1fr !important;
  }
  .nav-dropdown .mega-intro img {
    height: 130px;
  }
  .nav-dropdown .mega-intro h3 {
    font-size: 23px;
  }
  .nav-dropdown .nav-dropbtn .chevron {
    margin-right: 3px !important;
  }
}
@media (min-width: 701px) {
  .nav-dropdown.open > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}
/* Visual life + layout polish */
html,
body {
  min-height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > footer {
  margin-top: auto;
  width: 100%;
}
/* Keep the mega menu distinct from the page background */
.mega-menu {
  background: linear-gradient(
    145deg,
    rgba(24, 68, 42, 0.985),
    rgba(10, 35, 22, 0.985)
  ) !important;
  border-color: rgba(184, 255, 56, 0.42) !important;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(184, 255, 56, 0.06) !important;
}
.mega-intro {
  background: rgba(2, 12, 7, 0.16);
  border-radius: 18px;
  padding: 18px !important;
}
.mega-links a {
  background: rgba(3, 18, 10, 0.28) !important;
  border-color: rgba(184, 255, 56, 0.22) !important;
}
.mega-links a:hover {
  background: rgba(184, 255, 56, 0.16) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
@media (max-width: 700px) {
  .nav-dropdown .mega-menu {
    background: linear-gradient(
      145deg,
      rgba(24, 68, 42, 0.99),
      rgba(10, 35, 22, 0.99)
    ) !important;
    border: 1px solid rgba(184, 255, 56, 0.35) !important;
  }
  .mega-intro {
    padding: 12px !important;
  }
}
/* Alive, premium motion */
@keyframes ghShimmer {
  0% {
    background-position: -220% 0;
  }
  100% {
    background-position: 220% 0;
  }
}
@keyframes ghFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}
@keyframes ghGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(184, 255, 56, 0);
  }
  50% {
    box-shadow: 0 0 34px rgba(184, 255, 56, 0.14);
  }
}
@keyframes ghLine {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}
@keyframes ghSpinSlow {
  to {
    transform: rotate(360deg);
  }
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 75%
  );
  background-size: 220% 100%;
  transform: translateX(-100%);
}
.btn:hover:before {
  animation: ghShimmer 0.9s ease;
}
.card,
.project,
.visual,
.feature-card,
.metric {
  animation: ghGlow 7s ease-in-out infinite;
}
.card:nth-child(2n),
.project:nth-child(2n),
.feature-card:nth-child(2n) {
  animation-delay: 1.3s;
}
.card .icon,
.feature-card .icon {
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}
.card:hover .icon,
.feature-card:hover .icon {
  transform: rotate(-8deg) scale(1.12);
  background: rgba(184, 255, 56, 0.2);
}
.gallery-grid figure {
  overflow: hidden;
  position: relative;
}
.gallery-grid figure img {
  transition:
    transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 0.8s ease;
}
.gallery-grid figure:hover img {
  transform: scale(1.09);
  filter: saturate(1.18) contrast(1.06);
}
.gallery-grid figure:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(184, 255, 56, 0.14),
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
}
.gallery-grid figure:hover:after {
  transform: translateX(120%);
}
.section-head .eyebrow:before {
  animation: ghLine 1.2s ease both;
}
.hero-photo .hero-slide {
  will-change: opacity, transform;
}
.hero-photo .hero-content,
.hero-photo .hero-grid {
  animation: ghFloat 9s ease-in-out infinite;
}
.floating-cta {
  animation:
    ghFloat 4.5s ease-in-out infinite,
    ghGlow 5s ease-in-out infinite;
}
.to-top {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.to-top:hover {
  transform: translateY(-5px) rotate(-8deg);
}
/* subtle moving ambient light */
body:after {
  content: "";
  position: fixed;
  inset: -30%;
  pointer-events: none;
  z-index: -1;
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent,
    rgba(184, 255, 56, 0.035),
    transparent 28%,
    rgba(40, 160, 90, 0.03),
    transparent 55%
  );
  animation: ghSpinSlow 55s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Final responsive navigation repair: keep the premium layout intact at tablet widths */
@media (max-width: 1100px) {
  .nav-inner {
    gap: 14px;
    padding: 11px 0;
  }
  .brand {
    flex: 0 0 auto;
    min-width: 0;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand span {
    font-size: 12px;
  }
  .brand small {
    font-size: 8px;
  }
  .mobile-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
  }
  .nav .menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 4% !important;
    right: 4% !important;
    width: auto !important;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 14px !important;
    background: rgba(6, 17, 12, 0.98) !important;
    border: 1px solid rgba(184, 255, 56, 0.25);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
  }
  .nav .menu.mobile-open {
    display: flex !important;
  }
  .nav .menu > a,
  .nav .menu .nav-dropbtn {
    width: 100%;
    text-align: left;
    justify-content: space-between;
    padding: 13px 14px !important;
    border-radius: 10px;
    color: #123b29 !important;
  }
  .nav .menu > a:hover,
  .nav .menu .nav-dropbtn:hover {
    background: rgba(184, 255, 56, 0.1);
  }
  .nav-dropdown {
    display: block !important;
    width: 100%;
  }
  .nav-dropdown .mega-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    max-height: none !important;
    transform: none !important;
    margin: 4px 0 8px !important;
    grid-template-columns: 1fr !important;
    padding: 14px !important;
    border-radius: 15px !important;
    background: linear-gradient(
      145deg,
      rgba(24, 68, 42, 0.99),
      rgba(10, 35, 22, 0.99)
    ) !important;
    box-shadow: none !important;
  }
  .nav-dropdown.open > .mega-menu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav-dropdown .mega-links {
    grid-template-columns: 1fr !important;
  }
  .nav-dropdown .mega-intro img {
    height: 130px;
    object-fit: cover;
  }
  .nav-dropdown .mega-intro h3 {
    font-size: 23px;
  }
  .nav-dropdown .nav-dropbtn .chevron {
    margin-right: 3px !important;
  }
}
@media (min-width: 1101px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Vertically centered, crisp chevrons at every breakpoint */
.nav-dropbtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  vertical-align: middle !important;
}
.nav-dropbtn .chevron {
  position: relative;
  top: 0 !important;
  transform: rotate(45deg) !important;
  translate: 0 0 !important;
}
.mega-parent.open > .nav-dropbtn .chevron,
.mega-parent:focus-within > .nav-dropbtn .chevron {
  transform: rotate(225deg) !important;
}

/* More animated, cinematic hero slider */
.hero-photo .hero-slides {
  isolation: isolate;
}
.hero-photo .hero-slide {
  animation: none;
  will-change: opacity, transform, background-position;
  filter: saturate(1.04) contrast(1.03);
}
.hero-photo .hero-slide.is-active {
  animation: ghHeroKenBurns 7.2s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}
.hero-photo .hero-overlay {
  animation: ghOverlayPulse 7.2s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-photo .hero-copy,
.hero-photo .hero-side {
  animation: ghHeroContentIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-photo .hero-side {
  animation-delay: 0.16s;
}
.hero-photo .slider-controls:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), rgba(184, 255, 56, 0.08));
  transform-origin: left;
  animation: ghSliderProgress 6.5s linear infinite;
}
.hero-photo .slider-controls {
  position: absolute;
}
.hero-photo .slider-controls button {
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.hero-photo .slider-controls button:hover {
  box-shadow: 0 0 24px rgba(184, 255, 56, 0.28);
}
@keyframes ghHeroKenBurns {
  0% {
    opacity: 0;
    transform: scale(1.13);
    background-position: 52% 50%;
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    background-position: 48% 46%;
  }
}
@keyframes ghOverlayPulse {
  0% {
    opacity: 0.82;
  }
  100% {
    opacity: 1;
  }
}
@keyframes ghHeroContentIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ghSliderProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-slide,
  .hero-photo .hero-overlay,
  .hero-photo .hero-copy,
  .hero-photo .hero-side,
  .hero-photo .slider-controls:before {
    animation: none !important;
  }
}

/* Ultra-smooth, cinematic slider refinement */
.hero-photo .hero-slides {
  overflow: hidden;
  background: #020906;
  perspective: 1200px;
}
.hero-photo .hero-slide {
  opacity: 0 !important;
  transform: scale(1.12) translate3d(1.5%, 0, 0);
  filter: saturate(0.92) brightness(0.78) blur(1px);
  transition:
    opacity 1.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.35s ease;
  background-position: 52% 50%;
}
.hero-photo .hero-slide.is-active {
  opacity: 1 !important;
  transform: scale(1) translate3d(0, 0, 0);
  filter: saturate(1.12) brightness(1) blur(0);
  animation: ghSlideEnter 8s cubic-bezier(0.16, 1, 0.3, 1) both;
  z-index: 2;
}
.hero-photo .hero-slide.is-leaving {
  opacity: 1 !important;
  transform: scale(1.025) translate3d(-1.2%, 0, 0);
  filter: saturate(1) brightness(0.9) blur(1px);
  z-index: 1;
  transition:
    opacity 1.25s ease,
    transform 1.4s ease,
    filter 1.25s ease;
}
.hero-photo .hero-slides:after {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 72% 38%,
      rgba(184, 255, 56, 0.1),
      transparent 30%
    ),
    linear-gradient(
      115deg,
      transparent 35%,
      rgba(255, 255, 255, 0.07) 48%,
      transparent 60%
    );
  mix-blend-mode: screen;
  animation: ghLightSweep 11s ease-in-out infinite;
}
.hero-photo .hero-overlay {
  transition: opacity 1.2s ease;
  animation: ghOverlayPulse 8s ease-in-out infinite alternate;
}
.hero-photo .hero-copy,
.hero-photo .hero-side {
  will-change: transform, opacity;
  animation: ghHeroContentIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-photo .hero-copy {
  animation-delay: 0.12s;
}
.hero-photo .hero-side {
  animation-delay: 0.28s;
}
.hero-photo .slider-progress {
  display: block;
  position: absolute;
  left: 0;
  bottom: -12px;
  height: 2px;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), rgba(184, 255, 56, 0.1));
  transform-origin: left;
  opacity: 0.9;
}
.hero-photo .slider-progress.run {
  animation: ghSliderProgress 6.5s linear both;
}
.hero-photo .slider-controls:before {
  display: none;
}
@keyframes ghSlideEnter {
  0% {
    opacity: 0;
    transform: scale(1.12) translate3d(2%, 1%, 0);
    filter: brightness(0.72) saturate(0.8) blur(2px);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    filter: brightness(1) saturate(1.12) blur(0);
  }
}
@keyframes ghLightSweep {
  0%,
  58% {
    transform: translateX(-18%) rotate(0deg);
    opacity: 0;
  }
  70% {
    opacity: 0.5;
  }
  92%,
  100% {
    transform: translateX(18%) rotate(2deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-slides:after,
  .hero-photo .hero-slide,
  .hero-photo .hero-copy,
  .hero-photo .hero-side {
    animation: none !important;
    transition: none !important;
  }
}
/* Final visual system: page-specific sliders, motion and resilient layout */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > footer,
.footer {
  margin-top: auto;
}
.inner-slider {
  position: relative;
  min-height: 520px;
  margin: 30px 0 0;
  overflow: hidden;
  background: #07150d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.inner-slides,
.inner-slide {
  position: absolute;
  inset: 0;
}
.inner-slide {
  margin: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.4s ease,
    transform 8s ease;
  will-change: opacity, transform;
}
.inner-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.inner-slider-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 13, 8, 0.95),
      rgba(3, 13, 8, 0.48) 52%,
      rgba(3, 13, 8, 0.18)
    ),
    linear-gradient(0deg, rgba(3, 13, 8, 0.8), transparent 60%);
  pointer-events: none;
}
.inner-slider-caption {
  position: relative;
  z-index: 2;
  min-height: 520px;
  width: min(1220px, 92%);
  margin: auto;
  padding: 110px 45% 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.inner-slider-caption h2 {
  max-width: 620px;
}
.inner-slider-caption p {
  max-width: 560px;
  color: var(--muted);
}
.inner-slide figcaption {
  position: absolute;
  right: 7%;
  bottom: 45px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: white;
  opacity: 0.9;
}
.inner-slide figcaption span {
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.inner-slide figcaption b {
  font-size: 18px;
}
.inner-slider-controls {
  position: absolute;
  z-index: 4;
  left: 4%;
  right: 4%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.inner-slider-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(235, 255, 230, 0.35);
  border-radius: 50%;
  background: rgba(5, 18, 10, 0.5);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.inner-slider-controls button:hover {
  background: var(--lime);
  color: #071208;
  transform: translateY(-3px);
}
.inner-progress {
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}
.inner-progress:after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
}
.inner-progress.run:after {
  animation: sliderProgress 7s linear forwards;
}
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 85% 25%,
    rgba(182, 242, 59, 0.13),
    transparent 28%
  );
  animation: ambientPulse 9s ease-in-out infinite;
}
.card,
.visual,
.gallery-grid figure,
.metric {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
.card:hover,
.visual:hover,
.gallery-grid figure:hover,
.metric:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  border-color: rgba(182, 242, 59, 0.35);
}
.hero-slide {
  animation: heroBreath 12s ease-in-out infinite;
}
.hero-slide.is-leaving {
  animation: none;
}
.cursor-glow {
  mix-blend-mode: screen;
  filter: blur(20px);
  opacity: 0.6;
}
.reveal {
  transition-delay: var(--delay, 0ms);
}
@keyframes sliderProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
@keyframes heroBreath {
  0%,
  100% {
    filter: saturate(1) brightness(0.9);
  }
  50% {
    filter: saturate(1.15) brightness(1.05);
  }
}
@media (max-width: 900px) {
  .inner-slider,
  .inner-slider-caption {
    min-height: 480px;
  }
  .inner-slider-caption {
    padding: 80px 8% 110px;
  }
  .inner-slider-caption h2 {
    font-size: clamp(30px, 6vw, 48px);
  }
  .inner-slider-shade {
    background:
      linear-gradient(90deg, rgba(3, 13, 8, 0.9), rgba(3, 13, 8, 0.38)),
      linear-gradient(0deg, rgba(3, 13, 8, 0.85), transparent 70%);
  }
  .inner-slide figcaption {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Page-specific visual heroes: one unique hero image per page === */
.page-hero {
  isolation: isolate;
  min-height: 390px;
  display: flex;
  align-items: center;
  background-color: #07160d !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 9, 6, 0.97) 0%,
      rgba(2, 9, 6, 0.82) 38%,
      rgba(2, 9, 6, 0.42) 72%,
      rgba(2, 9, 6, 0.72) 100%
    ),
    linear-gradient(0deg, rgba(2, 9, 6, 0.35), transparent);
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: auto -140px -230px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(184, 255, 56, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(184, 255, 56, 0.035),
    0 0 0 74px rgba(184, 255, 56, 0.02);
  animation: heroOrbit 24s linear infinite;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  animation: pageHeroIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.page-hero h1 {
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  max-width: 950px;
}
.page-hero .lead {
  max-width: 760px;
}
body[data-page="about"] .page-hero {
  background-image: url("assets/page-heroes/hero-about.png") !important;
}
body[data-page="who-we-are"] .page-hero {
  background-image: url("assets/page-heroes/hero-who-we-are.png") !important;
}
body[data-page="services"] .page-hero {
  background-image: url("assets/page-heroes/hero-services.png") !important;
}
body[data-page="projects"] .page-hero {
  background-image: url("assets/page-heroes/hero-projects.png") !important;
}
body[data-page="safety"] .page-hero {
  background-image: url("assets/page-heroes/hero-safety.png") !important;
}
body[data-page="sustainability"] .page-hero {
  background-image: url("assets/page-heroes/hero-sustainability.png") !important;
}
body[data-page="team"] .page-hero {
  background-image: url("assets/page-heroes/hero-team.png") !important;
}
body[data-page="careers"] .page-hero {
  background-image: url("assets/page-heroes/hero-careers.png") !important;
}
body[data-page="contact"] .page-hero {
  background-image: url("assets/page-heroes/hero-contact.png") !important;
}
body[data-page="privacy"] .page-hero {
  background-image: url("assets/page-heroes/privacy-hero.png") !important;
}
body[data-page="terms"] .page-hero {
  background-image: url("assets/page-heroes/terms-hero.png") !important;
}

/* Service-specific hero imagery */
body[data-page="mining"] .page-hero {
  background-image: url("assets/page-heroes/hero-mining.png") !important;
}
body[data-page="civil"] .page-hero {
  background-image: url("assets/page-heroes/hero-civil.png") !important;
}
body[data-page="transporting"] .page-hero {
  background-image: url("assets/page-heroes/hero-transporting.png") !important;
}

body[data-page="manpower-supply"] .page-hero {
  background-image: url("assets/page-heroes/hero-manpower.png") !important;
}

body[data-page="inspection-maintenance"] .page-hero {
  background-image: url("assets/page-heroes/hero-inspection.png") !important;
}

body[data-page="fabrication-services"] .page-hero {
  background-image: url("assets/page-heroes/hero-fabrication.png") !important;
}
/* Livelier, but restrained, motion across content */
.card,
.project,
.visual,
.metric,
.gallery-grid figure,
.feature-card,
.contact-item {
  will-change: transform;
}
.card:hover,
.project:hover,
.gallery-grid figure:hover,
.feature-card:hover {
  animation: microLift 0.55s ease both;
}
.section-head .eyebrow {
  animation: eyebrowPulse 4s ease-in-out infinite alternate;
}
.marquee-track {
  animation: marquee 28s linear infinite;
}
@keyframes pageHeroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroOrbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes microLift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-7px);
  }
}
@keyframes eyebrowPulse {
  from {
    opacity: 0.72;
    filter: brightness(0.9);
  }
  to {
    opacity: 1;
    filter: brightness(1.35);
  }
}
@media (max-width: 900px) {
  .page-hero {
    min-height: 350px;
    padding: 72px 0;
  }
  .page-hero:after {
    width: 350px;
    height: 350px;
    right: -220px;
    bottom: -190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero:after,
  .section-head .eyebrow,
  .marquee-track,
  .card:hover,
  .project:hover,
  .gallery-grid figure:hover,
  .feature-card:hover {
    animation: none !important;
  }
}

/* Final navigation and layout stabilization */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropbtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  line-height: 1 !important;
  min-height: 40px;
  padding: 8px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #c9d9cd !important;
  font: inherit !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.nav-dropbtn .chevron {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  transform-origin: center !important;
  margin: -4px 0 0 2px !important;
  flex: 0 0 8px !important;
  transition: transform 0.25s ease !important;
}
.nav-dropdown.open > .nav-dropbtn .chevron,
.nav-dropdown:focus-within > .nav-dropbtn .chevron {
  transform: rotate(225deg) !important;
  margin-top: 4px !important;
}
.mega-menu {
  top: calc(100% + 12px) !important;
  left: 0 !important;
  right: auto !important;
  transform: translateY(12px) !important;
  z-index: 1000 !important;
  max-width: calc(100vw - 30px) !important;
}
.nav-dropdown:nth-of-type(2) > .mega-menu {
  left: auto !important;
  right: 0 !important;
  transform: translateY(12px) !important;
}
.mega-parent:hover > .mega-menu,
.mega-parent:focus-within > .mega-menu,
.mega-parent.open > .mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.nav-dropdown .mega-menu {
  pointer-events: none !important;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.open .mega-menu {
  pointer-events: auto !important;
}
@media (min-width: 1101px) {
  .nav .menu {
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .nav-dropdown .mega-menu {
    position: absolute !important;
  }
  .nav-dropdown:nth-of-type(2) > .mega-menu {
    right: 0 !important;
    left: auto !important;
  }
}
@media (max-width: 1100px) {
  .nav-inner {
    position: relative;
    flex-wrap: wrap !important;
  }
  .mobile-menu {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
  }
  .nav .menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 16px !important;
    background: rgba(8, 28, 17, 0.98) !important;
    border: 1px solid rgba(184, 255, 56, 0.28) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    z-index: 999 !important;
  }
  .nav .menu.mobile-open {
    display: flex !important;
  }
  .nav .menu > a,
  .nav .menu .nav-dropdown {
    width: 100% !important;
  }
  .nav .menu > a {
    padding: 12px 10px !important;
  }
  .nav-dropbtn {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 12px 10px !important;
    min-height: 44px !important;
  }
  .nav-dropdown {
    display: block !important;
  }
  .nav-dropdown .mega-menu,
  .nav-dropdown:nth-of-type(2) > .mega-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 4px 0 8px !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown.open > .mega-menu {
    display: grid !important;
  }
  .nav-dropdown .mega-links {
    grid-template-columns: 1fr !important;
  }
}
.page-hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
img {
  height: auto;
  max-width: 100%;
}
.gallery-grid img,
.page-gallery img {
  object-fit: contain !important;
  background: #06150c !important;
}

/* Final refinement: layered page surfaces + precisely anchored mega menus */
body:not(.home-page) {
  background:
    radial-gradient(ellipse at 8% 6%, rgba(44, 116, 70, 0.24), transparent 30%),
    radial-gradient(
      ellipse at 92% 28%,
      rgba(115, 183, 40, 0.1),
      transparent 26%
    ),
    linear-gradient(180deg, #07150d 0%, #0a2115 38%, #06110c 72%, #030b06 100%);
}
body:not(.home-page) main > section:nth-of-type(odd) {
  background: linear-gradient(
    115deg,
    rgba(17, 57, 34, 0.72),
    rgba(5, 19, 11, 0.34)
  );
  border-top: 1px solid rgba(184, 255, 56, 0.055);
  border-bottom: 1px solid rgba(184, 255, 56, 0.045);
}
body:not(.home-page) main > section:nth-of-type(even) {
  background: linear-gradient(
    115deg,
    rgba(3, 13, 8, 0.25),
    rgba(19, 64, 37, 0.42)
  );
}
body:not(.home-page) .page-hero {
  background-color: transparent !important;
}
body:not(.home-page) .card,
body:not(.home-page) .visual,
body:not(.home-page) .project {
  background: linear-gradient(
    145deg,
    rgba(23, 67, 41, 0.94),
    rgba(5, 20, 12, 0.96)
  );
}

/* Desktop mega menus open directly beneath their triggering menu item */
@media (min-width: 1101px) {
  .nav-dropdown {
    position: relative;
  }
  .nav-dropdown .mega-menu {
    left: 0 !important;
    top: calc(100% + 14px) !important;
    transform: translateY(12px) !important;
    margin: 0 !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  .nav-dropdown:last-of-type .mega-menu {
    left: auto !important;
    right: 0 !important;
  }
}

/* Mobile mega menus stay inside the expanded navigation panel */
@media (max-width: 1100px) {
  .nav .menu {
    z-index: 110;
  }
  .nav-dropdown .mega-menu,
  .nav-dropdown.open > .mega-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
    margin: 5px 0 8px !important;
  }
}

/* FINAL VIEWPORT-SAFE DESKTOP MEGA MENU FIX */
@media (min-width: 1101px) {
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 100px) !important;
    left: var(--mega-left, 16px) !important;
    right: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    transform: translateY(10px) !important;
    transform-origin: top center !important;
    z-index: 2000 !important;
  }
  .nav-dropdown > .mega-menu:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 20px;
    display: block;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu {
    transform: translateY(0) !important;
  }
}

/* FINAL STABLE MEGA MENU OVERRIDE
   Desktop: hover-only, fixed to the viewport center, below the header.
   Mobile/tablet: click-to-open inside the mobile navigation. */
@media (min-width: 1101px) {
  .nav {
    position: relative;
    z-index: 3000;
  }
  .nav-inner {
    position: relative;
    z-index: 3001;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 150px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 150px) - 18px) !important;
    overflow: auto !important;
    margin: 0 !important;
    transform: translate(-50%, 12px) !important;
    transform-origin: top center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 4000 !important;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease !important;
  }
  .nav-dropdown > .mega-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    right: 0 !important;
    height: 24px !important;
    display: block !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
  /* Disable click-open styling on desktop; hover remains the source of truth. */
  .nav-dropdown.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}
@media (max-width: 1100px) {
  .nav-dropdown > .mega-menu {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* FINAL STABLE MEGA MENU OVERRIDE
   Desktop: fixed to the viewport, centered and below the header.
   Mobile: stays inside the collapsible navigation. */
@media (min-width: 1101px) {
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 100px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 100px) - 18px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    transform: translate(-50%, 10px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 2000 !important;
    margin: 0 !important;
  }
  .nav-dropdown > .mega-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
  /* A generous invisible bridge prevents accidental closing during cursor travel. */
  .nav-dropdown > .mega-menu:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -18px !important;
    height: 18px !important;
    background: transparent !important;
    border: 0 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 1100px) {
  .nav-dropdown > .mega-menu {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* === FINAL CLEAN NAVIGATION OVERRIDE === */
@media (min-width: 1101px) {
  .nav {
    position: relative !important;
    z-index: 5000 !important;
  }
  .nav-inner {
    position: relative !important;
    z-index: 5001 !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 138px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(920px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    max-height: calc(100vh - var(--mega-top, 138px) - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    margin: 0 !important;
    padding: 24px !important;
    transform: translate(-50%, 10px) !important;
    transform-origin: top center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 6000 !important;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease !important;
  }
  .nav-dropdown > .mega-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .nav-dropdown > .mega-menu::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -24px !important;
    height: 28px !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
  .nav-dropdown > .nav-dropbtn {
    position: relative !important;
  }
  .nav-dropdown.active-parent > .nav-dropbtn:after {
    bottom: -1px !important;
  }
}
@media (max-width: 1100px) {
  .nav-dropdown > .mega-menu,
  .nav-dropdown.open > .mega-menu {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    margin: 5px 0 8px !important;
  }
}

/* FINAL STICKY HEADER + ZERO-GAP MEGA MENU PATCH */
:root {
  --header-sticky-height: 0px;
}
@media (min-width: 1101px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    isolation: isolate !important;
  }
  .nav-inner {
    position: relative !important;
    z-index: 5001 !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 0px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 12px) !important;
    margin: 0 !important;
    transform: translate(-50%, 0) !important;
    transform-origin: top center !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 6000 !important;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  /* Keep a continuous hover path without creating a visible gap. */
  .nav-dropdown > .mega-menu:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -22px !important;
    height: 22px !important;
    background: transparent !important;
    border: 0 !important;
    pointer-events: auto !important;
  }
}
@media (max-width: 1100px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
  }
  .nav-dropdown > .mega-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
}

/* FINAL MEGA MENU ALIGNMENT PATCH — viewport-safe and trigger-aware */
@media (min-width: 1101px) {
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 120px) !important;
    left: var(--mega-left, 16px) !important;
    right: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - var(--mega-top, 120px) - 16px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    transform: translateY(8px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 10000 !important;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease !important;
  }
  .nav-dropdown > .mega-menu,
  .nav-dropdown > .mega-menu * {
    min-width: 0;
  }
  .nav-dropdown > .mega-menu .mega-links {
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .nav-dropdown > .mega-menu .mega-links a {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }
  .nav-dropdown > .mega-menu .mega-intro {
    min-width: 0 !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  /* Invisible bridge removes the gap without visually touching the header. */
  .nav-dropdown > .mega-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -14px !important;
    left: 0 !important;
    right: 0 !important;
    height: 15px !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
}
@media (max-width: 1100px) {
  .nav-dropdown > .mega-menu {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* FINAL PATCH: tight, stable desktop mega menu + no header gap */
@media (min-width: 1101px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 0px) !important;
    left: var(--mega-left, 16px) !important;
    right: auto !important;
    bottom: auto !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 8px) !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown > .mega-menu::before {
    display: none !important;
  }
}
@media (max-width: 1100px) {
  .nav-dropdown > .mega-menu {
    margin: 0 !important;
  }
}

/* FINAL OVERRIDE: single centered mega menu, flush with sticky header */
@media (min-width: 1101px) {
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 0px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(1120px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    transform: translate(-50%, 0) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 12px) !important;
    z-index: 10000 !important;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease !important;
  }
  /* Do not let Bootstrap/CSS hover rules independently open both menus. */
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav-dropdown > .mega-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown > .mega-menu::before {
    display: none !important;
  }
}

/* Production navigation reset: one authoritative mega-menu rule set. */
@media (min-width: 1101px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    isolation: isolate !important;
  }
  .nav-inner {
    position: relative !important;
    z-index: 5001 !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 0px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: min(1040px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 8px) !important;
    overflow: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease !important;
  }
  .nav-dropdown > .mega-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav-dropdown > .mega-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown > .mega-menu:before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: transparent !important;
  }
}
@media (max-width: 1100px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
  }
  .nav-dropdown > .mega-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
  }
}

/* Production services showcase */
.services-showcase {
  padding: 92px 0;
  background: linear-gradient(
    135deg,
    rgba(13, 48, 31, 0.96),
    rgba(5, 25, 16, 0.98) 58%,
    rgba(24, 65, 36, 0.9)
  );
  border-top: 1px solid rgba(157, 255, 34, 0.18);
  border-bottom: 1px solid rgba(157, 255, 34, 0.18);
}
.services-showcase .feature-card {
  overflow: hidden;
  border: 1px solid rgba(157, 255, 34, 0.24);
  border-radius: 24px;
  background: linear-gradient(
    160deg,
    rgba(18, 55, 35, 0.95),
    rgba(5, 28, 18, 0.95)
  );
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.services-showcase .feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(157, 255, 34, 0.7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.services-showcase .feature-card > img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  object-position: center;
}
.services-showcase .feature-card h3 {
  margin: 12px 0;
  font-size: 1.35rem;
}
.services-showcase .feature-card p {
  color: #a9c1b0;
  line-height: 1.75;
}
.services-showcase .text-link {
  color: #b0ff26;
  font-weight: 700;
  text-decoration: none;
}
.services-showcase .metric {
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(157, 255, 34, 0.2);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.14);
}
.services-showcase .metric p {
  margin: 12px 0 0;
  color: #9bb6a3;
  font-size: 0.94rem;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .services-showcase {
    padding: 64px 0;
  }
  .services-showcase .feature-card > img {
    height: 220px;
  }
}

/* FINAL AUTHORITATIVE MEGA-MENU FIX
   Desktop: one JS-controlled, centered panel flush beneath the sticky header.
   Mobile/tablet rules remain click-controlled and in-flow. */
@media (min-width: 1101px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    isolation: isolate !important;
  }
  .nav-inner {
    position: relative !important;
    z-index: 5001 !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top, 0px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(1040px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - var(--mega-top, 0px) - 8px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease !important;
  }
  /* Hover alone must not independently open a second panel. */
  .nav-dropdown:hover > .mega-menu,
  .nav-dropdown:focus-within > .mega-menu,
  .nav-dropdown.open > .mega-menu,
  .nav-dropdown > .mega-menu.menu-hover-open {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav-dropdown > .mega-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-dropdown > .mega-menu.is-open:before {
    display: none !important;
  }
}

/* FINAL PRODUCTION PATCH: centered, flush, single mega menu + header motion */
@media (min-width: 1101px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 9000 !important;
  }
  .nav-dropdown > .mega-menu {
    position: fixed !important;
    top: var(--mega-top) !important;
    left: var(--mega-left) !important;
    width: var(--mega-width) !important;
    max-width: var(--mega-width) !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    max-height: calc(100vh - var(--mega-top) - 12px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease !important;
  }
  .nav-dropdown > .mega-menu.is-open {
    transform: translateY(0) !important;
  }
  .nav-dropdown > .mega-menu:not(.is-open) {
    transform: translateY(-8px) !important;
  }
  .nav-dropdown > .mega-menu.is-open .mega-intro,
  .nav-dropdown > .mega-menu.is-open .mega-links {
    animation: megaContentIn 0.32s ease both;
  }
}
@keyframes megaContentIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav.nav-scrolled {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  background: rgba(4, 18, 11, 0.96) !important;
}
.nav.nav-enter {
  animation: headerEnter 0.5s ease both;
}
@keyframes headerEnter {
  from {
    opacity: 0.72;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav.nav-enter,
  .nav-dropdown > .mega-menu,
  .nav-dropdown > .mega-menu.is-open .mega-intro,
  .nav-dropdown > .mega-menu.is-open .mega-links {
    animation: none !important;
    transition: none !important;
  }
}

.seo-service-area {
  padding: clamp(2rem, 5vw, 5rem) 0;
  color: var(--text, #edf6ed);
}
.seo-service-area h2 {
  max-width: 900px;
}
.seo-service-area p {
  max-width: 900px;
  color: var(--muted, #a6bcae);
  line-height: 1.8;
}

/* Scroll-aware production header motion */
.nav {
  will-change: transform, background-color, box-shadow;
  transition:
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}
.nav.nav-scroll-down:not(.menu-lock) {
  transform: translateY(-100%);
}
.nav.nav-scroll-up {
  transform: translateY(0);
}
.nav.nav-scrolled .nav-inner {
  transition:
    min-height 0.28s ease,
    padding 0.28s ease;
}
.nav.nav-scrolled .nav-inner {
  min-height: 72px;
}
@media (max-width: 1100px) {
  .nav.nav-scroll-down:not(.menu-lock) {
    transform: translateY(-100%);
  }
  .nav.nav-scrolled .nav-inner {
    min-height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav.nav-scrolled .nav-inner {
    transition: none !important;
  }
  .nav.nav-scroll-down,
  .nav.nav-scroll-up {
    transform: none !important;
  }
}

/* Subtle dark glass header — preserves the original green industrial theme */
.nav {
  background: rgba(8, 22, 14, 0.84) !important;
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  border-bottom: 1px solid rgba(184, 255, 56, 0.14) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16) !important;
}
.nav.nav-scrolled {
  background: rgba(4, 18, 11, 0.93) !important;
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}

/* Subtle extra transparency: preserve the original dark green theme */
.nav:not(.nav-scrolled) {
  background: rgba(8, 22, 14, 0.34) !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.7) 100%
  ) !important;

  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  border-bottom-color: rgba(42, 42, 41, 0.005) !important;
  border-bottom: none !important;
}

/* Logo size enhancement */
.brand img {
  width: 68px;
  height: 68px;
}
.brand span {
  font-size: 16px;
  letter-spacing: 0.08em;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.22em;
}
@media (max-width: 1100px) {
  .brand img {
    width: 62px;
    height: 62px;
  }
  .brand span {
    font-size: 16px;
  }
  .brand small {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand span {
    font-size: 13px;
  }
  .brand small {
    font-size: 8px;
  }
}

/* Refined homepage service-area callout */
.seo-service-area {
  position: relative;
  isolation: isolate;
  margin-top: clamp(36px, 6vw, 84px);
  margin-bottom: clamp(36px, 6vw, 84px);
  padding: clamp(30px, 5vw, 64px) clamp(24px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(166, 218, 93, 0.28);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(18, 54, 35, 0.98),
    rgba(8, 23, 14, 0.96) 62%,
    rgba(37, 83, 48, 0.94)
  );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.seo-service-area::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -130px;
  top: -150px;
  border-radius: 50%;
  background: rgba(174, 226, 91, 0.16);
  filter: blur(12px);
}
.seo-service-area::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -80px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(174, 226, 91, 0.18);
  box-shadow:
    0 0 0 28px rgba(174, 226, 91, 0.035),
    0 0 0 56px rgba(174, 226, 91, 0.025);
}
.seo-service-area h2 {
  max-width: 850px;
  margin: 0 0 20px;
  color: #f5f9ef;
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.seo-service-area h2::before {
  content: "INDUSTRIAL ACCESS / ENGINEERING";
  display: block;
  margin-bottom: 15px;
  color: #b8e96c;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.seo-service-area p {
  max-width: 900px;
  margin: 0;
  color: rgba(241, 247, 237, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.9;
}
.seo-service-area p::first-line {
  color: #fff;
}
@media (max-width: 700px) {
  .seo-service-area {
    border-radius: 20px;
    padding: 30px 22px;
  }
  .seo-service-area h2 {
    letter-spacing: -0.025em;
  }
  .seo-service-area p {
    line-height: 1.75;
  }
}

/* ==========================================================
   GREEN HAMMER — SIGNATURE LIGHT INDUSTRIAL THEME
   White + soft neutral sections + deep forest green + lime.
   Layout, content structure and functionality are preserved.
   ========================================================== */
:root {
  --bg: #f7f9f7;
  --bg2: #eef4ef;
  --panel: #fff;
  --panel2: #f1f6f2;
  --text: #14231b;
  --muted: #607067;
  --line: #dfe9e2;
  --lime: #8fe83b;
  --lime2: #63bd22;
  --green: #08733d;
  --green2: #034d2a;
  --cream: #f4faef;
  --shadow: 0 18px 55px rgba(15, 53, 31, 0.1);
  --radius: 22px;
}
body {
  background:
    radial-gradient(circle at 0 0, rgba(143, 232, 59, 0.1), transparent 28%),
    radial-gradient(
      circle at 100% 12%,
      rgba(8, 115, 61, 0.06),
      transparent 30%
    ),
    #f7f9f7;
  color: var(--text);
}
body:before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(8, 115, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 115, 61, 0.035) 1px, transparent 1px);
}
.topbar {
  background: #073b25;
  color: #d8e9dd;
  border-bottom-color: rgba(143, 232, 59, 0.2);
}
.nav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(8, 77, 42, 0.1);
  box-shadow: 0 5px 25px rgba(8, 77, 42, 0.06);
}
.brand {
  color: #123b29;
}
.brand img {
  filter: drop-shadow(0 6px 15px rgba(8, 115, 61, 0.12));
}
.brand small {
  color: var(--green);
}
.menu a {
  color: #25362d;
}
.menu a:hover {
  color: var(--green);
}
.menu a:not(.btn):after {
  background: var(--green);
}
.menu a.active:not(.btn):after,
.nav-dropdown.active > a:not(.btn):after {
  width: 100%;
  left: 0;
  transform: none;
}
.menu a.active:not(.btn),
.nav-dropdown.active > a:not(.btn) {
  color: var(--green);
}
.btn {
  background: linear-gradient(135deg, #0b6840, #07542f);
  color: #fff;
  border-color: #0b6840;
  box-shadow: 0 9px 25px rgba(5, 83, 46, 0.18);
}
.btn:hover {
  color: #fff;
  box-shadow: 0 14px 35px rgba(5, 83, 46, 0.24);
}
.btn.outline {
  color: var(--green2);
  border-color: var(--green);
}
.btn.outline:hover {
  background: rgba(8, 115, 61, 0.06);
  color: var(--green2);
}
.btn.alt {
  background: #eff9e9;
  border-color: #d9edcf;
  color: var(--green2);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #10251a;
}
.lead,
.muted {
  color: var(--muted);
}
.eyebrow {
  color: var(--green);
}
.eyebrow:before {
  background: var(--lime2);
}
.hero-photo {
  min-height: 650px;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 19, 12, 0.96) 0%,
      rgba(3, 19, 12, 0.78) 34%,
      rgba(3, 19, 12, 0.22) 70%,
      rgba(3, 19, 12, 0.3) 100%
    ),
    url("assets/services/mining-service.png");
  background-size: cover;
  background-position: center;
}
.hero-photo:before {
  background:
    linear-gradient(
      125deg,
      transparent 0 35%,
      rgba(143, 232, 59, 0.12) 35.2%,
      transparent 50%
    ),
    linear-gradient(0deg, rgba(3, 19, 12, 0.42), transparent 42%);
}
.hero-copy h1 {
  color: #fff;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.45);
}
.hero-copy h1 span {
  color: var(--lime);
}
.hero-mini {
  color: #edf8ef;
}
.hero-mini span {
  border-color: rgba(143, 232, 59, 0.35);
  background: rgba(3, 19, 12, 0.28);
}
.glass-panel {
  border-color: rgba(143, 232, 59, 0.38);
  background: linear-gradient(
    150deg,
    rgba(4, 30, 18, 0.74),
    rgba(3, 19, 12, 0.48)
  );
}
.panel-kicker,
.glass-panel h3 strong {
  color: var(--lime);
}
.stats-band {
  background: #fff;
  color: #244034;
  border-top: 1px solid #e5ede7;
  border-bottom: 1px solid #e5ede7;
}
.stats-band > * {
  color: inherit;
}
.section-head h2 {
  color: #10251a;
}
.section-head h2 span {
  color: var(--green);
}
.card,
.service-card,
.feature-card,
.metric {
  background: #fff;
  border-color: #dfe9e2;
  box-shadow: 0 12px 35px rgba(12, 55, 31, 0.07);
}
.card:before {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(143, 232, 59, 0.1),
    transparent
  );
}
.card:hover,
.feature-card:hover {
  border-color: rgba(8, 115, 61, 0.35);
  box-shadow: 0 20px 50px rgba(12, 55, 31, 0.12);
}
.card p,
.feature-card p,
.services-showcase .feature-card p {
  color: #607067;
}
.icon {
  background: rgba(143, 232, 59, 0.13);
  border-color: rgba(8, 115, 61, 0.18);
  color: var(--green);
}
.number,
.metric strong {
  color: var(--green);
}
.soft {
  background: #eef5ef;
}
.visual {
  background: linear-gradient(145deg, #edf6ef, #dfece2);
  border-color: #d6e4d9;
}
.visual:before {
  border-color: rgba(8, 115, 61, 0.14);
}
.checklist li {
  color: #4e6257;
}
.checklist li:before {
  color: var(--green);
}
.dark-split {
  background:
    radial-gradient(
      circle at 0 100%,
      rgba(143, 232, 59, 0.13),
      transparent 30%
    ),
    linear-gradient(120deg, #063c24, #032719 58%, #07512f);
  border-top-color: rgba(143, 232, 59, 0.16);
  border-bottom-color: rgba(143, 232, 59, 0.16);
  color: #edf8ef;
}
.dark-split h1,
.dark-split h2,
.dark-split h3,
.services-showcase h1,
.services-showcase h2,
.services-showcase h3,
.quote-card h1,
.quote-card h2,
.quote-card h3,
.strip h1,
.strip h2,
.strip h3 {
  color: #fff;
}
.dark-split p,
.quote-card p {
  color: #d4e4d9;
}
.dark-split .visual {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(143, 232, 59, 0.2);
}
.visual-band {
  background: #eef4ef;
  border-top: 1px solid #dfe9e2;
  border-bottom: 1px solid #dfe9e2;
}
.visual-band h1,
.visual-band h2,
.visual-band h3 {
  color: #10251a;
}
.visual-band p {
  color: #5f7067;
}
.services-showcase {
  background: linear-gradient(135deg, #073c25, #03291b 58%, #07522f);
  border-top-color: rgba(143, 232, 59, 0.18);
  border-bottom-color: rgba(143, 232, 59, 0.18);
  color: #edf8ef;
}
.services-showcase .feature-card {
  background: #fff;
  border-color: rgba(143, 232, 59, 0.3);
}
.services-showcase .feature-card h3 {
  color: #10251a;
}
.services-showcase .metric {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(143, 232, 59, 0.18);
  background-color: #fff;
}
.services-showcase .metric p {
  color: #333;
}
.services-showcase .text-link {
  color: #76d934;
}
.feature-shade {
  background: linear-gradient(
    0deg,
    rgba(3, 19, 12, 0.82),
    rgba(3, 19, 12, 0.03) 80%
  );
}
.feature-content h3 {
  color: #fff;
}
.feature-content p {
  color: #d7e6db;
}
.feature-content a {
  color: var(--lime);
}
.quote-section {
  background: #f7f9f7;
}
.quote-card {
  background: linear-gradient(120deg, #0a5b36, #063b24);
  border-color: rgba(143, 232, 59, 0.3);
  box-shadow: 0 25px 65px rgba(4, 55, 31, 0.16);
  color: #edf8ef;
}
.quote-card p {
  color: #d6e8dc;
}
.page-hero {
  background:
    radial-gradient(
      circle at 100% 10%,
      rgba(143, 232, 59, 0.18),
      transparent 28%
    ),
    linear-gradient(120deg, #073d26, #032719 72%);
  border-bottom-color: rgba(143, 232, 59, 0.18);
}
.page-hero h1 {
  color: #fff;
}
.breadcrumbs {
  color: #c8d9ce;
}
.page-hero .lead {
  color: #d4e3d9;
}
.project {
  background: linear-gradient(145deg, #0b5634, #06311f);
  border-color: rgba(143, 232, 59, 0.2);
}
.project p {
  color: #c8ddd0;
}
.tag {
  background: rgba(143, 232, 59, 0.12);
  border-color: rgba(143, 232, 59, 0.2);
  color: #82df3c;
}
.table-wrap {
  border-color: #dfe9e2;
}
.table th,
.table td {
  border-bottom-color: #e4ece6;
}
.table th {
  background: #edf6ee;
  color: var(--green);
}
.table td {
  color: #4f6358;
}
.faq details {
  border-bottom-color: #dfe9e2;
}
.faq summary {
  color: #172b20;
}
.notice {
  background: #edf7ea;
  border-left-color: var(--green);
  color: #42594c;
}
.metric span {
  color: #63756b;
}
.marquee {
  background: #edf5ef;
  border-color: #dfe9e2;
}
.marquee-track {
  color: #53675c;
}
.marquee-track span {
  color: var(--green);
}
.footer {
  background: #032419;
  color: #b9d0c1;
  border-top-color: rgba(143, 232, 59, 0.18);
}
.footer h3 {
  color: #fff;
}
.footer a {
  color: #b9d0c1;
}
.footer a:hover {
  color: var(--lime);
}
.footer-bottom {
  border-top-color: rgba(143, 232, 59, 0.14);
}
input,
select,
textarea {
  background: #fff;
  color: #1b2d23;
  border-color: #d5e2d8;
}
input::placeholder,
textarea::placeholder {
  color: #8a9990;
}
.nav.scrolled,
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(5, 55, 31, 0.09);
}
@media (max-width: 1100px) {
  .nav {
    background: rgba(255, 255, 255, 0.96);
  }
}

/* ==========================================================
   GREEN HAMMER — SITE-WIDE SIGNATURE THEME CONSISTENCY
   Reference: Green Hammer homepage visual direction.
   Applies the same white / forest-green / lime language across
   every page without changing the page structure or components.
   ========================================================== */
:root {
  --paper: #fff;
  --surface: #fff;
  --surface-soft: #f1f6f2;
  --forest: #063c24;
  --forest-deep: #032719;
  --accent-lime: #8fe83b;
}
html,
body {
  background-color: #f7f9f7;
}
main {
  background-color: transparent;
  margin-top: -70px;
}
section {
  background-color: transparent;
}
.footer {
  background: #032419 !important;
}
.page-hero {
  background:
    radial-gradient(
      circle at 100% 10%,
      rgba(143, 232, 59, 0.18),
      transparent 28%
    ),
    linear-gradient(120deg, #073d26, #032719 72%) !important;
}
.nav {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #25362d;
}
.nav.scrolled,
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
}
.card,
.service-card,
.feature-card,
.metric,
.table-wrap,
.quote-form,
.form-card {
  background: #fff;
}
input,
select,
textarea {
  background: #fff;
  color: #172b20;
}

/* ==========================================================
   FINAL HEADER — PURE WHITE REFERENCE DESIGN
   The header is intentionally fully white at all times.
   ========================================================== */
.nav,
.nav.scrolled,
.nav.is-scrolled {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(6, 60, 36, 0.1) !important;
  box-shadow: 0 5px 24px rgba(8, 77, 42, 0.06) !important;
}
.nav .brand,
.nav .brand span,
.nav .brand small,
.nav .menu a,
.nav .nav-dropbtn {
  color: #123b29 !important;
}
.nav .brand small,
.nav .menu a:hover,
.nav .nav-dropbtn:hover,
.nav .menu a.active,
.nav .menu a[aria-current="page"],
.nav .nav-dropdown.active-parent > .nav-dropbtn {
  color: #08733d !important;
}
.nav .menu a:not(.btn):after {
  background: #63bd22 !important;
}
.nav .nav-dropdown.active-parent > .nav-dropbtn:after {
  background: #63bd22 !important;
}
.nav .btn {
  color: #fff !important;
}
.mobile-menu {
  color: #123b29 !important;
  background: #ffffff !important;
  border-color: rgba(6, 60, 36, 0.16) !important;
}
@media (max-width: 1100px) {
  .nav,
  .nav.scrolled,
  .nav.is-scrolled {
    background: #ffffff !important;
  }
  .nav .menu {
    background: #ffffff !important;
  }
}

/* Team member photo cards */
.team-member-photo {
  width: 100%;
  height: 230px;
  margin: -1px -1px 22px;
  width: calc(100% + 2px);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #eef5ef;
}
.team-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}
.grid-3 .card:hover .team-member-photo img {
  transform: scale(1.035);
}
body[data-page="team"] .grid-3 .card {
  overflow: hidden;
}
@media (max-width: 700px) {
  .team-member-photo {
    height: 250px;
  }
}

/* ==========================================================
   FINAL HOMEPAGE + SERVICES REFINEMENTS
   ========================================================== */
.three-service-cards .feature-card {
  min-height: 430px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.three-service-cards .photo-one {
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 18, 10, 0.04) 18%,
      rgba(3, 13, 8, 0.92) 100%
    ),
    url("assets/services/mining-service.png");
}
.three-service-cards .photo-two {
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 18, 10, 0.04) 18%,
      rgba(3, 13, 8, 0.92) 100%
    ),
    url("assets/services/civil-service.png");
}
.three-service-cards .photo-three {
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 18, 10, 0.04) 18%,
      rgba(3, 13, 8, 0.92) 100%
    ),
    url("assets/services/transporting-service.png");
}
.three-service-cards .feature-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.three-service-cards .feature-content h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  margin: 0.55rem 0 0.45rem;
}
.three-service-cards .feature-content p {
  max-width: 31rem;
  margin-bottom: 1rem;
}
.three-service-cards .service-icon {
  background: rgba(143, 232, 59, 0.95);
  color: #06371f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 200px;
  display: none;
}

.signature-presence {
  position: relative;
  overflow: hidden;
}
.signature-presence:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 30%,
      rgba(143, 232, 59, 0.13),
      transparent 34%
    ),
    radial-gradient(circle at 88% 70%, rgba(8, 115, 61, 0.22), transparent 35%);
  pointer-events: none;
}
.signature-presence .split {
  position: relative;
  z-index: 1;
  gap: 56px;
}
.signature-presence .presence-copy {
  max-width: 680px;
}
.signature-presence .presence-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 10px 0 20px;
}
.signature-presence .presence-copy .muted {
  color: rgba(241, 247, 237, 0.82);
  font-size: 1.06rem;
  line-height: 1.85;
}
.presence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.presence-tags span {
  border: 1px solid rgba(143, 232, 59, 0.25);
  background: rgba(255, 255, 255, 0.055);
  color: #eff9ef;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.services-six-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-list-card {
  overflow: hidden;
  padding: 0 !important;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}
.service-list-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.service-list-body {
  padding: 25px 25px 27px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-list-body .eyebrow {
  margin-bottom: 8px;
}
.service-list-body h3 {
  margin: 0 0 10px;
  color: #10251a;
}
.service-list-body p {
  color: #607067;
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-list-body a {
  margin-top: auto;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}
.service-list-card:hover > img {
  transform: scale(1.035);
}
.service-list-card > img {
  transition: transform 0.5s ease;
}

.client-marquee {
  background: #f1f7f2;
  border-top: 1px solid #dfe9e2;
  border-bottom: 1px solid #dfe9e2;
  padding: 42px 0;
  overflow: hidden;
}
.client-marquee-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}
.client-marquee-head p {
  max-width: 560px;
  margin: 0;
  color: #63756b;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
}
.client-logo-window {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.client-logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: clientLogoMarquee 32s linear infinite;
}
.client-logo-tile {
  width: 210px;
  height: 105px;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(15, 53, 31, 0.06);
}
.client-logo-tile img {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 78px;
}
.client-logo-tile span {
  color: #173326;
  font-weight: 850;
  font-size: 0.78rem;
  line-height: 1.25;
}
.client-logo-track:hover {
  animation-play-state: paused;
}
@keyframes clientLogoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  .services-six-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-marquee-head {
    display: block;
  }
  .client-marquee-head p {
    text-align: left;
    margin-top: 8px;
  }
}
@media (max-width: 600px) {
  .services-six-grid {
    grid-template-columns: 1fr;
  }
  .three-service-cards .feature-card {
    min-height: 390px;
  }
  .signature-presence .split {
    gap: 28px;
  }
  .client-logo-tile {
    width: 190px;
  }
  .client-logo-track {
    gap: 12px;
  }
}

/* HOME CORE SERVICE CARD IMAGES — explicit image layer for reliable rendering */
.three-service-cards .feature-card {
  position: relative;
  overflow: hidden;
}
.three-service-cards .feature-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.55s ease;
}
.three-service-cards .feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(3, 13, 8, 0.02) 15%,
    rgba(3, 13, 8, 0.9) 100%
  );
  pointer-events: none;
}
.three-service-cards .feature-content {
  position: relative;
  z-index: 2;
}
.three-service-cards .feature-card:hover .feature-card-image {
  transform: scale(1.045);
}

/* FINAL FIXES: service-card image coverage, quote button text and PHP forms */
.three-service-cards .feature-card {
  height: 440px;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}
.three-service-cards .feature-card-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
}
.three-service-cards .feature-shade {
  z-index: 1 !important;
}
.three-service-cards .feature-content {
  position: relative;
  z-index: 2;
}
.nav .btn,
.nav .btn:hover,
.nav .btn:focus,
.nav .btn:active,
.nav .btn:visited,
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited {
  color: #fff !important;
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-message {
  padding: 13px 15px;
  border-radius: 12px;
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 650;
}
.form-message.success {
  background: #eaf8df;
  border: 1px solid #b9df92;
  color: #245d22;
}
.form-message.error {
  background: #fff0ef;
  border: 1px solid #efb5ae;
  color: #8b2820;
}
@media (max-width: 600px) {
  .three-service-cards .feature-card {
    height: 390px;
    min-height: 390px;
  }
}

/* ===== Green Hammer Living UI: motion + performance layer ===== */
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
.nav {
  will-change: transform, background-color, box-shadow;
  transition:
    transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.nav.nav-enter {
  animation: ghNavEnter 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes ghNavEnter {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.nav .brand img {
  transition: transform 0.35s ease;
}
.nav .brand:hover img {
  transform: rotate(-2deg) scale(1.035);
}
.nav .menu > a:not(.btn),
.nav .nav-dropbtn {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.nav .menu > a:not(.btn):hover,
.nav .nav-dropbtn:hover {
  transform: translateY(-1px);
}
.nav .btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.nav .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 77, 42, 0.24);
}
.hero-photo {
  isolation: isolate;
}
.hero-photo .hero-slides {
  overflow: hidden;
}
.hero-photo .hero-slide {
  transform: scale(1.035);
  transition: transform 8s ease;
}
.hero-photo .hero-slide.is-active {
  transform: scale(1);
}
.hero-copy {
  animation: ghHeroCopy 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}
@keyframes ghHeroCopy {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.actions .btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(3, 77, 42, 0.2);
}
.feature-grid.three-service-cards {
  perspective: 1100px;
}
.three-service-cards .feature-card {
  will-change: transform;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.three-service-cards .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(3, 45, 24, 0.2);
}
.three-service-cards .service-icon {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.three-service-cards .feature-card:hover .service-icon {
  transform: translateY(-4px) rotate(4deg);
  box-shadow: 0 14px 32px rgba(143, 232, 59, 0.25);
}
.three-service-cards .feature-content a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    gap 0.25s ease,
    color 0.25s ease;
}
.three-service-cards .feature-card:hover .feature-content a {
  gap: 9px;
}
.signature-presence {
  isolation: isolate;
}
.signature-presence:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -180px;
  border: 1px solid rgba(143, 232, 59, 0.14);
  border-radius: 50%;
  animation: ghOrbit 14s linear infinite;
  pointer-events: none;
}
@keyframes ghOrbit {
  to {
    transform: rotate(360deg);
  }
}
.presence-tags span {
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.presence-tags span:hover {
  transform: translateY(-3px);
  background: rgba(143, 232, 59, 0.1);
  border-color: rgba(143, 232, 59, 0.45);
}
.timeline > div,
.grid-3 .card,
.services-six-grid .service-list-card,
.project,
.metric,
.visual {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}
.timeline > div:hover,
.grid-3 .card:hover,
.services-six-grid .service-list-card:hover,
.project:hover,
.metric:hover,
.visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 53, 31, 0.13);
}
.eyebrow {
  transition: letter-spacing 0.3s ease;
}
.eyebrow:hover {
  letter-spacing: 0.14em;
}
.quote-card {
  position: relative;
  overflow: hidden;
}
.quote-card:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(143, 232, 59, 0.12);
  animation: ghFloat 7s ease-in-out infinite;
}
@keyframes ghFloat {
  50% {
    transform: translate(-12px, -18px);
  }
}
.client-logo-track {
  will-change: transform;
}
img {
  content-visibility: auto;
}
.hero img,
.nav img {
  content-visibility: visible;
}
@media (hover: none) {
  .three-service-cards .feature-card:hover,
  .timeline > div:hover,
  .grid-3 .card:hover,
  .services-six-grid .service-list-card:hover,
  .project:hover,
  .metric:hover,
  .visual:hover {
    transform: none;
    box-shadow: none;
  }
  .nav .menu > a:not(.btn):hover,
  .nav .nav-dropbtn:hover {
    transform: none;
  }
}
@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy {
    animation-duration: 0.65s;
  }
  .three-service-cards .feature-card {
    transform: none !important;
  }
  .signature-presence:after {
    width: 280px;
    height: 280px;
    right: -170px;
    top: -140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav.nav-enter,
  .hero-copy,
  .signature-presence:after,
  .quote-card:after {
    animation: none !important;
  }
  .hero-photo .hero-slide {
    transform: none !important;
  }
  .three-service-cards .feature-card,
  .timeline > div,
  .grid-3 .card,
  .services-six-grid .service-list-card,
  .project,
  .metric,
  .visual {
    transition: none !important;
  }
  .three-service-cards .feature-card:hover,
  .timeline > div:hover,
  .grid-3 .card:hover,
  .services-six-grid .service-list-card:hover,
  .project:hover,
  .metric:hover,
  .visual:hover {
    transform: none;
  }
}
.orgchart {
  text-align: center;
  padding-top: 70px;
}

.orgchart img {
  max-width: 75%;
}

/* Final hero image visibility + synchronized copy transition */
.hero-photo .hero-slides {
  z-index: 0 !important;
  position: absolute !important;
  inset: 0 !important;
}
.hero-photo .hero-slide {
  z-index: 0 !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-color: #020906 !important;
}
.hero-photo .hero-slide.is-active {
  z-index: 2 !important;
}
.hero-photo .hero-slide.is-leaving {
  z-index: 1 !important;
}
.hero-photo .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}
.hero-photo .hero-grid {
  position: relative !important;
  z-index: 3 !important;
}
.hero-photo .slider-controls {
  z-index: 5 !important;
}
.hero-photo .hero-copy {
  transition:
    opacity 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-photo .hero-copy.hero-copy-out {
  opacity: 0.12;
  transform: translateY(12px);
}
.hero-photo .hero-copy.hero-copy-switch {
  animation: ghHeroCopySwitch 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ghHeroCopySwitch {
  0% {
    opacity: 0.2;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-copy,
  .hero-photo .hero-copy.hero-copy-switch {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
