:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --text: #172633;
  --muted: #607284;
  --primary: #0057b8;
  --primary-dark: #0f2533;
  --accent: #ffb400;
  --border: #d9e2ea;
  --shadow: 0 16px 40px rgba(15, 37, 51, 0.10);
  --radius: 22px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 226, 234, 0.8);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: #314456;
}

.nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(0, 87, 184, 0.24), transparent 34%),
              linear-gradient(135deg, #0f2533 0%, #153d56 58%, #0f2533 100%);
  color: #fff;
}

/* To use a hero image, place it in assets/hero.jpg and uncomment this block. */
/*
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
*/

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,37,51,0.95), rgba(15,37,51,0.55));
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 52px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8bc1ff;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 720px;
  margin: 0;
  color: #d7e4ef;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #102536;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(255, 180, 0, 0.22);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
}

.button.secondary.dark {
  color: var(--primary-dark);
  border-color: var(--border);
  background: #fff;
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

.status-row span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #41e68a;
  box-shadow: 0 0 0 8px rgba(65, 230, 138, 0.12);
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: #e3edf5;
}

.hero-card li + li {
  margin-top: 10px;
}

.section {
  padding: 92px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.split h2,
.cta-box h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
}

.section-heading p,
.split p,
.cta-box p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 37, 51, 0.06);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #eef5fb;
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
}

.step strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}

.step span {
  font-weight: 700;
}

.slider-wrapper {
  position: relative;
}

.projects-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
}

.projects-slider::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 330px;
  scroll-snap-align: start;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 37, 51, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #dce7ef;
}

.project-card-body {
  padding: 22px;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #eef5fb;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

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

.slider-btn {
  position: absolute;
  top: 42%;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 37, 51, 0.12);
}

.slider-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

.prev {
  left: -18px;
}

.next {
  right: -18px;
}

.project-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--primary-dark);
  color: #fff;
}

.project-summary h3 {
  margin-bottom: 8px;
}

.project-summary p {
  max-width: 720px;
  margin: 0;
  color: #c9d8e4;
}

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

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border-radius: calc(var(--radius) + 6px);
  background: #eef5fb;
  border: 1px solid var(--border);
}

.footer {
  color: #d7dde4;
  background: #0f1720;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
}

.footer-company p {
  max-width: 340px;
  color: #aab6c2;
}

.footer-column h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li,
.footer-column p {
  margin: 0 0 10px;
  color: #aab6c2;
}

.footer a {
  color: #d7dde4;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 42px;
  padding-top: 20px;
  color: #8b98a7;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav {
    gap: 14px;
    font-size: 0.88rem;
  }

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

  .hero-grid {
    gap: 30px;
  }

  .hero-card {
    max-width: 560px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    height: 44px;
  }

  .nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 54px 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .project-card {
    flex-basis: 86%;
  }

  .slider-btn {
    display: none;
  }

  .cta-section {
    padding-bottom: 66px;
  }

  .cta-box,
  .project-summary {
    padding: 28px;
  }
}
