:root {
  --ink: #12202a;
  --muted: #60707b;
  --deep: #092536;
  --blue: #0e68a8;
  --teal: #0a948f;
  --gold: #d3a62b;
  --line: #dbe7ea;
  --paper: #fbfcfb;
  --mist: #edf5f3;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(9, 37, 54, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.container,
.hero-grid,
.hero-card,
.split,
.content-grid,
.gallery,
.cta-box {
  min-width: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: rgba(7, 27, 42, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(7, 27, 42, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
}

.logo {
  width: 166px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.dropdown {
  position: relative;
  max-width: 100%;
}

.dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.dropdown:hover > a::after,
.dropdown:focus-within > a::after,
.dropdown.is-open > a::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(760px, calc(100vw - 40px));
  margin: 0;
  padding: 16px;
  list-style: none;
  border: 1px solid rgba(14, 104, 168, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-content::before {
  content: "Services";
  grid-column: 1 / -1;
  padding: 2px 4px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.is-open .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-title {
  display: none;
}

.dropdown-link {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fbfb;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.35;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  color: var(--blue);
  border-color: rgba(14, 104, 168, 0.16);
  background: var(--mist);
  outline: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(64px, 7vw, 96px) 0;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 27, 42, 0.96) 0%, rgba(7, 27, 42, 0.86) 52%, rgba(7, 27, 42, 0.58) 100%),
    var(--hero-image, url("../images/view1.jpg")) center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22px clamp(20px, 4vw, 56px);
  z-index: -1;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.56fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8fe0df;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.75vw, 3.8rem);
  line-height: 1.06;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
}

.hero-card {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 27, 42, 0.56);
  box-shadow: 0 20px 44px rgba(3, 18, 28, 0.2);
  backdrop-filter: blur(12px);
}

.hero-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(64px, 7vw, 96px) 0;
}

.intro-section {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.section-title {
  margin: 0;
  color: var(--deep);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  box-shadow: 0 10px 30px rgba(9, 37, 54, 0.06);
}

.content-grid .service-card:nth-child(3n + 1) {
  background: #f1f8f8;
}

.content-grid .service-card:nth-child(4n) {
  border-color: rgba(14, 104, 168, 0.22);
}

.feature-section .content-grid .service-card:nth-child(3n + 1) {
  background: rgba(255, 255, 255, 0.08);
}

.service-card h2,
.service-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 1.18rem;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.gallery-section {
  padding: clamp(42px, 6vw, 70px) 0;
  background: var(--mist);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  justify-content: center;
}

.gallery:has(img:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(260px, 420px));
}

.gallery:has(img:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(220px, 360px));
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(9, 37, 54, 0.1);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(9, 37, 54, 0.11);
}

.feature-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 37, 54, 0.96), rgba(9, 37, 54, 0.86)),
    url("../images/Infrastructure2.jpg") center / cover;
}

.feature-section .section-title {
  color: var(--white);
}

.feature-section .lead,
.feature-section .service-list li {
  color: rgba(255, 255, 255, 0.78);
}

.feature-section .service-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.feature-section .service-card h2,
.feature-section .service-card h3 {
  color: var(--white);
}

.feature-section .service-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 8px;
  color: var(--white);
  background: var(--deep);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.cta-box p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--deep);
  background: var(--white);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  color: var(--blue);
  background: var(--mist);
  outline: none;
}

.site-footer {
  padding: 28px 0;
  color: var(--white);
  background: #061f33;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 850;
}

.footer-content a {
  color: var(--white);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .dropdown-content {
    left: 0;
    right: auto;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero::before {
    inset: 22px;
  }

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

  .content-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery:has(img:nth-child(2):last-child),
  .gallery:has(img:nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .navbar {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    padding: 10px 14px;
    overflow-x: clip;
  }

  .logo {
    width: 136px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links > li > a {
    max-width: 100%;
    padding: 0 9px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .dropdown-content {
    position: static;
    display: none;
    flex-basis: 100%;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 12px;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content,
  .dropdown.is-open .dropdown-content {
    display: grid;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    padding: 58px 0;
    background:
      linear-gradient(180deg, rgba(9, 37, 54, 0.92), rgba(9, 37, 54, 0.7)),
      var(--hero-image, url("../images/view1.jpg")) center / cover;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-card {
    padding: 20px;
  }

  .content-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery:has(img:nth-child(2):last-child),
  .gallery:has(img:nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 22px;
  }

  .button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
  }
}
