:root {
  --navy: #071b3a;
  --blue: #0d47a1;
  --bright-blue: #1e88ff;
  --sky: #eaf4ff;
  --white: #ffffff;
  --text: #1d2733;
  --muted: #687789;
  --line: rgba(7, 27, 58, 0.12);
  --shadow: 0 24px 70px rgba(7, 27, 58, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  max-width: 1180px;
  margin: auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--white); background: linear-gradient(135deg, var(--navy), var(--bright-blue));
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.28);
}
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; color: var(--navy); }
.nav-button { padding: 12px 18px; border-radius: 999px; background: var(--navy); color: var(--white); }
.menu-toggle { display: none; border: 0; background: none; font-size: 28px; color: var(--navy); }

.hero {
  min-height: 100vh;
  padding: 150px 22px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 44px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 45%, #eaf4ff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(30,136,255,0.2), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(7,27,58,0.14), transparent 32%);
}
.hero-content, .hero-card { position: relative; z-index: 1; max-width: 1180px; }
.hero-content { justify-self: end; max-width: 640px; }
.eyebrow { color: var(--bright-blue); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: 0.95; margin: 16px 0 22px; color: var(--navy); letter-spacing: -0.06em; }
.hero-text { font-size: 20px; color: var(--muted); line-height: 1.65; max-width: 590px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.primary-btn, .secondary-btn { padding: 16px 24px; border-radius: 999px; font-weight: 800; }
.primary-btn { background: linear-gradient(135deg, var(--blue), var(--bright-blue)); color: var(--white); box-shadow: 0 18px 40px rgba(30,136,255,0.28); }
.secondary-btn { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.hero-card {
  justify-self: start;
  width: min(430px, 100%);
  min-height: 520px;
  border-radius: 38px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--white);
  box-shadow: var(--shadow);
  background:
    linear-gradient(to top, rgba(7,27,58,0.92), rgba(7,27,58,0.1)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80') center/cover;
}
.hero-card span { font-weight: 700; opacity: 0.9; }
.hero-card strong { font-size: 28px; line-height: 1.2; margin-top: 12px; }

.stats {
  max-width: 1120px;
  margin: -42px auto 70px;
  position: relative;
  z-index: 5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stats div { padding: 10px 18px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 30px; color: var(--navy); }
.stats span { color: var(--muted); font-weight: 600; }

.section { max-width: 1180px; margin: auto; padding: 70px 22px; }
.section-heading { max-width: 700px; margin-bottom: 34px; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 10px 0 18px; color: var(--navy); letter-spacing: -0.04em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); transition: 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
h3 { color: var(--navy); font-size: 22px; margin-top: 0; }
p { line-height: 1.65; }
.card p, .feature p, .about p, .contact p, .steps p { color: var(--muted); }

.feature {
  max-width: 1180px;
  margin: 40px auto;
  padding: 60px 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.text-link { display: inline-block; margin-top: 14px; color: var(--bright-blue); font-weight: 800; }
.project-panel { background: var(--navy); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.project-image { height: 350px; background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=80') center/cover; }
.project-details { padding: 30px; color: var(--white); }
.project-details h3 { color: var(--white); }
.project-details p { color: rgba(255,255,255,0.72); }

.soft { background: var(--sky); max-width: none; }
.soft .section-heading, .steps { max-width: 1180px; margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps div { background: var(--white); border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 18px; }

.about { padding: 90px 22px; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.about-card { max-width: 820px; margin: auto; background: rgba(255,255,255,0.94); border-radius: 34px; padding: 48px; box-shadow: var(--shadow); }

.contact {
  max-width: 1180px;
  margin: auto;
  padding: 80px 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-form { display: grid; gap: 14px; }
input, textarea {
  width: 100%; padding: 17px 18px; border-radius: 18px;
  border: 1px solid var(--line); font: inherit; outline: none;
}
input:focus, textarea:focus { border-color: var(--bright-blue); box-shadow: 0 0 0 4px rgba(30,136,255,0.12); }
button[type="submit"] { cursor: pointer; border: 0; padding: 17px 22px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; font-size: 16px; }

footer { text-align: center; padding: 34px 22px; background: var(--navy); color: rgba(255,255,255,0.78); }
footer p { margin: 6px 0; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 80px; left: 16px; right: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 20px; flex-direction: column; box-shadow: var(--shadow); }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero, .feature, .contact { grid-template-columns: 1fr; }
  .hero-content, .hero-card { justify-self: center; }
  .stats, .grid, .steps { grid-template-columns: 1fr 1fr; margin-left: 18px; margin-right: 18px; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .stats, .grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-card { min-height: 420px; }
  .about-card { padding: 32px; }
}
