:root {
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #dbe3ee;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --navy: #0b1f3a;
  --blue: #1556a8;
  --cyan: #08b6d9;
  --amber: #f59e0b;
  --green: #10b981;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--soft);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 238, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.header-cta {
  border-radius: 8px;
  padding: 10px 13px;
  color: #1f2a3d;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: #eef5ff;
  color: var(--blue);
}

.nav-links a.is-active {
  box-shadow: inset 0 -3px 0 var(--blue);
}

.header-cta {
  background: var(--navy);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 77px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.96), rgba(21, 86, 168, 0.88)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  line-height: 1.06;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.25rem, 4.2vw, 4.15rem);
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.category-line {
  max-width: 620px;
  margin: 18px 0 0;
  color: #eff6ff;
  font-size: clamp(0.86rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: #111827;
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.32);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-secondary.dark {
  border-color: var(--line);
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin-top: 44px;
}

.stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 1.45rem;
}

.stats span {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-slider {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  background: #071224;
}

.slider-track {
  display: flex;
  width: 300%;
  height: 100%;
  min-height: inherit;
  animation: automationSlider 12s infinite;
}

.slide {
  position: relative;
  flex: 0 0 33.333%;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 36, 0.02), rgba(7, 18, 36, 0.78)),
    linear-gradient(90deg, rgba(7, 18, 36, 0.34), transparent 58%);
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.slide figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 470px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(3, 10, 24, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.slide figcaption span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide figcaption strong {
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.45;
}

.slider-dots {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 28px);
  gap: 8px;
}

.slider-dots span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  animation: sliderDot 15s infinite;
}

.slider-dots span:nth-child(2) {
  animation-delay: 5s;
}

.slider-dots span:nth-child(3) {
  animation-delay: 10s;
}

@keyframes automationSlider {
  0%,
  28% {
    transform: translateX(0);
  }

  33%,
  61% {
    transform: translateX(-33.333%);
  }

  66%,
  94% {
    transform: translateX(-66.666%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes sliderDot {
  0%,
  28% {
    background: var(--amber);
  }

  33%,
  100% {
    background: rgba(255, 255, 255, 0.45);
  }
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading p:not(.eyebrow),
.about-list p,
.contact-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 340px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #e7f7fb;
  color: var(--blue);
  font-weight: 800;
}

.service-card h3 {
  margin: 24px 0 12px;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.service-list li::marker {
  color: var(--blue);
}

.projects {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.project-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 8px 0 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.industries {
  background: #eef5ff;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.industry-grid span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 16px;
  border: 1px solid #c7dbf4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  background: var(--navy);
  color: #fff;
}

.about-list {
  display: grid;
  gap: 16px;
}

.about-list p {
  margin: 0;
  padding: 22px;
  border-left: 4px solid var(--cyan);
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.contact-card,
.contact-details {
  border-radius: 8px;
}

.contact-card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--soft);
}

.contact-card p {
  max-width: 650px;
}

.contact-details {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--ink);
  color: #fff;
}

.contact-details p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbeafe;
  line-height: 1.7;
}

.contact-details p:last-child {
  border-bottom: 0;
}

.contact-details strong {
  display: block;
  color: #fff;
}

.contact-details a {
  text-decoration: none;
}

footer {
  padding: 20px clamp(18px, 5vw, 72px);
  background: #081426;
  color: #cbd5e1;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 1000px) {
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 420px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .stats,
  .service-grid,
  .project-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 360px;
  }
}

@media (max-width: 460px) {
  .brand {
    align-items: center;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .slide figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 18px;
  }

  .slider-dots {
    right: 16px;
    top: 16px;
  }
}
