:root {
  --navy: #0B1F3A;
  --green: #16A34A;
  --green-hover: #15803D;
  --slate: #5B6470;
  --off-white: #F8FAFC;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --ink: #122033;
  --soft-green: #EAF8EF;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.11);
  --deep-shadow: 0 28px 80px rgba(11, 31, 58, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
}

.brand img,
.brand-fallback {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 23px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  max-width: 270px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  position: relative;
  padding: 11px 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--green-hover);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.hero-slider {
  position: relative;
  min-height: 680px;
  background: var(--navy);
  overflow: hidden;
}

.slide {
  min-height: 680px;
  display: none;
  align-items: center;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.92), rgba(11, 31, 58, 0.62), rgba(11, 31, 58, 0.2)),
    var(--slide-image) center / cover no-repeat;
  isolation: isolate;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: -1;
}

.slide.active {
  display: flex;
  animation: heroFade 800ms ease;
}

.hero-content {
  padding: 110px 0 130px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 520ms ease;
}

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

.btn:hover::after {
  transform: translateX(120%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--green-hover));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.28);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 42px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: transparent;
  cursor: pointer;
}

.slider-controls button.active {
  background: var(--green);
}

.section {
  padding: 92px 0;
  background: var(--white);
}

.intro-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(22, 163, 74, 0.08), transparent 32%),
    var(--white);
}

.light-band {
  background: var(--off-white);
}

.page-hero {
  padding: 108px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.7)),
    url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=85') center / cover no-repeat;
}

.about-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1581092162384-8987c1d64718?auto=format&fit=crop&w=1800&q=85');
}

.services-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=85');
}

.project-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1581093458791-9d42ccf9a718?auto=format&fit=crop&w=1800&q=85');
}

.sector-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=85');
}

.qhse-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1581092795360-fd1ca04f0952?auto=format&fit=crop&w=1800&q=85');
}

.careers-hero,
.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 31, 58, 0.95), rgba(11, 31, 58, 0.68)),
    url('https://images.unsplash.com/photo-1581092335397-9583eb92d232?auto=format&fit=crop&w=1800&q=85');
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

p {
  color: var(--slate);
}

.intro-grid,
.content-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid rgba(22, 163, 74, 0.34);
  border-radius: 14px;
  z-index: 0;
}

.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--deep-shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-hover);
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.sector-card,
.highlight-panel {
  position: relative;
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(11, 31, 58, 0.07);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.sector-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--navy));
  opacity: 0.85;
}

.service-card:hover,
.sector-card:hover {
  transform: translateY(-7px);
  border-color: rgba(22, 163, 74, 0.45);
  box-shadow: var(--shadow);
}

.fixed-image-band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
  linear-gradient(90deg, rgba(11, 31, 58, 0.9), rgba(11, 31, 58, 0.55)),
  url('assets/images/fixed-img.png') center center / cover no-repeat;
    
}

.fixed-image-content {
  display: grid;
  grid-template-columns: minmax(0, 720px);
}

.fixed-image-content h2 {
  color: var(--white);
}

.fixed-image-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.sector-showcase {
  display: grid;
  gap: 8px;
}

.sector-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sector-tile {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-radius: 14px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.08), rgba(11, 31, 58, 0.88)),
    var(--tile-image) center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.sector-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(22, 163, 74, 0.22));
  opacity: 0;
  transition: opacity 220ms ease;
}

.sector-tile span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 900;
}

.sector-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--deep-shadow);
}

.sector-tile:hover::after {
  opacity: 1;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.94), rgba(234, 248, 239, 0.82)),
    var(--white);
}

.cta-inner {
  grid-template-columns: 1fr auto;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-list {
  display: grid;
  gap: 24px;
}

.project-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--off-white);
}

.project-card span {
  color: var(--green);
  font-weight: 900;
}

.check-list {
  padding-left: 18px;
  color: var(--slate);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px;
  font: inherit;
  background: var(--off-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(22, 163, 74, 0.16);
  background: var(--white);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 36px;
  padding: 62px 0;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 18px;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes heroFade {
  from {
    opacity: 0.78;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .intro-grid,
  .content-grid,
  .cta-inner,
  .footer-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.four,
  .sector-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fixed-image-band {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand img,
  .brand-fallback {
    width: 48px;
    height: 48px;
  }

  .hero-slider,
  .slide {
    min-height: 610px;
  }

  .hero-content {
    padding: 82px 0 112px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-content p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  h2 {
    font-size: 30px;
  }

  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .sector-image-grid {
    grid-template-columns: 1fr;
  }

  .sector-tile {
    min-height: 230px;
  }

  .cta-inner {
    padding: 28px;
  }
}
