/* =========================================================
   Shivam Soft Tech Pvt Ltd — Corporate Site
   Design System / Global Styles
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #070d1a;
  --navy-800: #0a1428;
  --navy-700: #0e1b38;
  --navy-600: #13234a;
  --surface:  #0f1c39;
  --surface-2:#13254c;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text:     #eef3fb;
  --text-soft:#aebbd4;
  --text-mut: #7a89a6;

  /* Accents */
  --accent:   #ff6a3d;   /* engineering amber — primary CTA/brand */
  --accent-2: #ffa14a;
  --tech:     #38c6f0;   /* technical cyan — terrain / water / roads */
  --tech-2:   #5b8bff;

  --grad-brand: linear-gradient(120deg, #ff6a3d 0%, #ffa14a 100%);
  --grad-tech:  linear-gradient(120deg, #38c6f0 0%, #5b8bff 100%);
  --grad-hero:  radial-gradient(1200px 600px at 15% -10%, rgba(91,139,255,0.22), transparent 60%),
                radial-gradient(1000px 700px at 100% 0%, rgba(255,106,61,0.16), transparent 55%),
                linear-gradient(180deg, #0a1428 0%, #070d1a 100%);

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 12px 34px -14px rgba(0, 0, 0, 0.5);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text { color: var(--accent); }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tech-text {
  background: var(--grad-tech);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(120, 40, 10, 0.35);
  box-shadow: 0 10px 30px -8px rgba(255, 106, 61, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(255, 106, 61, 0.75); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 15, 30, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 40px; height: 40px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav-cta { margin-left: 10px; }
/* Top-right nav "Request a Demo" button — force crisp, high-contrast white text */
.nav-cta .btn-primary {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(90, 25, 5, 0.55);
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  color: var(--text);
}
.nav-toggle span {
  display: block; height: 2px; width: 24px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 110px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 500px at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 500px at 70% 30%, #000 0%, transparent 75%);
  opacity: 0.6;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,106,61,0.18);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--text-mut);
  display: flex; align-items: center; gap: 10px;
}

/* Hero visual — terrain / contour panel */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(19,37,76,0.9), rgba(10,20,40,0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.hero-visual .glow {
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 30% 20%, rgba(56,198,240,0.22), transparent 60%);
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(8,15,30,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.hero-chip .ic {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--grad-tech); color: #04121f;
}
.hero-chip.c1 { top: 22px; left: 22px; }
.hero-chip.c2 { bottom: 22px; right: 22px; }
.hero-chip.c3 { bottom: 90px; left: 26px; }

/* ---------- Marquee / trusted strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  padding: 26px 0;
}
.strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.strip p { margin: 0; color: var(--text-mut); font-size: 14px; font-weight: 500; }
.strip-logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; opacity: 0.85; }
.strip-logos span {
  font-family: var(--font-head);
  font-weight: 600; font-size: 16px; color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--text-soft); font-size: 1.08rem; margin-top: 12px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.stat .num {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .lbl { color: var(--text-soft); margin-top: 10px; font-size: 14.5px; }

/* ---------- Feature / Solution cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(10,20,40,0.6));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(280px 180px at var(--mx, 50%) 0%, rgba(56,198,240,0.12), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.card:hover::after { opacity: 1; }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: rgba(56,198,240,0.12);
  border: 1px solid rgba(56,198,240,0.28);
  color: var(--tech);
}
.card.amber .ic {
  background: rgba(255,106,61,0.12);
  border-color: rgba(255,106,61,0.3);
  color: var(--accent);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--text-soft); font-size: 15px; margin: 0; }
.card .more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--tech);
}
.card .more svg { width: 16px; height: 16px; transition: transform 0.25s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.rev .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(19,37,76,0.8), rgba(10,20,40,0.9));
  box-shadow: var(--shadow-soft);
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
}
.split-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center; margin-top: 2px;
  background: rgba(255,106,61,0.14); color: var(--accent);
}
.check-list b { color: var(--text); display: block; font-weight: 600; }

/* ---------- Industries ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ind {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.ind:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.ind .ic { color: var(--tech); margin-bottom: 14px; }
.ind .ic svg { width: 30px; height: 30px; }
.ind h4 { font-size: 1.05rem; margin-bottom: 6px; }
.ind p { font-size: 13.5px; color: var(--text-mut); margin: 0; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 20px; }
.step .n {
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 0.8;
}
.step h4 { margin-top: 12px; font-size: 1.15rem; }
.step p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
  background: var(--grad-brand);
  color: #1a0d06;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(90deg, transparent 1px, transparent 63px, rgba(0,0,0,0.04) 64px);
  background-size: auto, 64px 64px;
}
.cta-band .inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: #180b04; }
.cta-band p { margin: 8px 0 0; color: #4a2a17; font-weight: 500; max-width: 520px; }
.cta-band .btn-dark {
  background: #0a1428; color: #fff;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,0.6);
}
.cta-band .btn-dark:hover { background: #070d1a; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  padding: 72px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand { margin-bottom: 18px; }
.footer-about p { color: var(--text-mut); font-size: 14.5px; max-width: 320px; }
.footer h5 {
  font-family: var(--font-head);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mut); margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-soft); font-size: 14.5px; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: all 0.25s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
  color: var(--text-mut); font-size: 13.5px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-mut); }
.footer-bottom a:hover { color: var(--text-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 150px 0 70px;
  background: var(--grad-hero);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-soft); font-size: 1.12rem; max-width: 620px; }
.breadcrumb { font-size: 13.5px; color: var(--text-mut); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info .info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,106,61,0.12); color: var(--accent);
  border: 1px solid rgba(255,106,61,0.28);
}
.contact-info h4 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-info p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.form {
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--text-mut); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #4ade80; }

/* ---------- Values / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.value .ic { color: var(--accent); margin-bottom: 16px; }
.value .ic svg { width: 30px; height: 30px; }
.value h4 { font-size: 1.15rem; }
.value p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .stats, .cards, .ind-grid, .steps, .value-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 28px;
    background: rgba(8,15,30,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.4s var(--ease);
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .stats, .cards, .ind-grid, .steps, .value-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
