:root {
  --navy: #061A4A;
  --blue: #007BFF;
  --blue-2: #18A7FF;
  --light-blue: #EAF6FF;
  --white: #FFFFFF;
  --soft: #F5F8FC;
  --text: #14244D;
  --muted: #687695;
  --line: rgba(0, 123, 255, 0.16);
  --shadow: 0 24px 70px rgba(6, 26, 74, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section-pad {
  padding: 104px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(6, 26, 74, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.18);
}

.brand strong {
  color: var(--blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-menu a {
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #005FDC);
  box-shadow: 0 14px 34px rgba(0, 123, 255, 0.28);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 123, 255, 0.22);
}

.btn-light {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(6, 26, 74, 0.18);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 123, 255, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  border-radius: 8px;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 660px;
  padding-top: 128px;
  padding-bottom: 76px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 141, 255, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(112deg, #030712 0%, #071735 45%, #0A3D62 100%);
  background-size: 100% 100%, 100% 100%;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 96px 4vw 54px;
  border: 1px solid rgba(91, 199, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 90px rgba(24, 167, 255, 0.12), 0 34px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.98));
  pointer-events: none;
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(127, 231, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 231, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  animation: gridDrift 18s linear infinite;
}

.hero-circuit-layer {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(0, 183, 255, 0.24) 18.2%, transparent 18.6% 100%),
    linear-gradient(35deg, transparent 0 62%, rgba(20, 184, 166, 0.2) 62.2%, transparent 62.6% 100%),
    linear-gradient(155deg, transparent 0 70%, rgba(251, 191, 36, 0.16) 70.2%, transparent 70.6% 100%);
  filter: drop-shadow(0 0 18px rgba(0, 123, 255, 0.4));
  pointer-events: none;
  animation: circuitShift 10s ease-in-out infinite alternate;
}

.hero-circuit-layer::before,
.hero-circuit-layer::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39C7FF;
  box-shadow:
    260px 62px 0 rgba(57, 199, 255, 0.75),
    460px 218px 0 rgba(57, 199, 255, 0.65),
    740px 118px 0 rgba(57, 199, 255, 0.8),
    930px 340px 0 rgba(57, 199, 255, 0.62),
    1110px 190px 0 rgba(57, 199, 255, 0.72);
}

.hero-circuit-layer::before {
  top: 172px;
  left: 120px;
}

.hero-circuit-layer::after {
  right: 190px;
  bottom: 145px;
}

.hero-data-panel {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 86px;
  border: 1px solid rgba(91, 199, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(20, 184, 166, 0.08)),
    rgba(3, 24, 70, 0.42);
  box-shadow: 0 0 34px rgba(0, 123, 255, 0.22), inset 0 0 22px rgba(0, 183, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: perspective(700px) rotateY(-18deg) rotateX(8deg);
  animation: techPanelPulse 4.8s ease-in-out infinite;
}

.hero-data-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(90deg, rgba(126, 210, 255, 0.65) 0 36%, transparent 36% 100%),
    linear-gradient(rgba(126, 210, 255, 0.18), rgba(126, 210, 255, 0.18));
  background-size: 100% 8px, 100% 1px;
  background-repeat: no-repeat, repeat-y;
}

.data-panel-one {
  top: 155px;
  right: 21%;
}

.data-panel-two {
  top: 285px;
  right: 9%;
  width: 120px;
  height: 74px;
  animation-delay: 0.7s;
}

.data-panel-three {
  bottom: 168px;
  right: 33%;
  width: 176px;
  height: 78px;
  animation-delay: 1.2s;
}

.hero-layout,
.split-layout,
.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-layout {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
}

.hero-copy {
  animation: heroCopyIn 0.9s ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ED2FF;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 600px;
  color: var(--white);
  font-size: 4.85rem;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #7ED2FF, #FFFFFF 45%, #34D399 82%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 28px rgba(0, 123, 255, 0.28);
}

.hero-text {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  font-weight: 600;
}

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

.hero-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero .btn-primary {
  min-height: 52px;
  padding: 0 30px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.hero-trust,
.hero-metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust {
  margin-top: 26px;
}

.hero-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-metric-strip {
  max-width: 430px;
  margin-top: 34px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-metric-strip div {
  flex: 1 1 100px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-metric-strip strong,
.hero-metric-strip span {
  display: block;
}

.hero-metric-strip strong {
  color: #7ED2FF;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
}

.hero-metric-strip span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-glow-tracker {
  position: absolute;
  inset: 10% 8%;
  border: 1px solid rgba(126, 210, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(126, 210, 255, 0.09), transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 36px rgba(126, 210, 255, 0.08);
  animation: trackerTilt 7s ease-in-out infinite;
  pointer-events: none;
}

.laptop-mockup {
  position: relative;
  width: min(610px, 100%);
  margin: 12px 0 0 auto;
  transform-origin: 50% 12%;
  transform: perspective(1100px) rotateY(-12deg) rotateX(5deg) rotateZ(-1deg);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.58));
  animation: laptopSwing 6.2s ease-in-out infinite;
}

.laptop-mockup::before {
  content: "";
  position: absolute;
  inset: 13% 6% 18%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.32);
  filter: blur(46px);
}

.hero-laptop-image {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.laptop-light {
  position: absolute;
  z-index: 3;
  right: 5%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(24, 167, 255, 0.9), transparent);
  box-shadow: 0 0 28px rgba(24, 167, 255, 0.68);
  transform: rotate(-10deg);
  pointer-events: none;
}

.light-one {
  top: 28%;
  width: 78%;
}

.light-two {
  bottom: 18%;
  width: 58%;
  animation: floatSoft 5s ease-in-out infinite 0.8s;
}

.screen {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 12px solid #071431;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(135deg, #F7FBFF, #D9ECFF);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.screen img {
  height: 332px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.96;
  transform: scale(1.01);
  animation: previewFloat 8s ease-in-out infinite;
}

.screen-scan {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 44px;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(180deg, transparent, rgba(126, 210, 255, 0.34), transparent);
  mix-blend-mode: screen;
  opacity: 0.74;
  animation: scanPreview 4.5s ease-in-out infinite;
  pointer-events: none;
}

.preview-nav {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.preview-nav span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0D8DFF;
}

.preview-dashboard {
  position: absolute;
  right: 42px;
  bottom: 44px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 16px;
  min-width: 210px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  animation: dashboardLift 5.5s ease-in-out infinite 0.35s;
}

.preview-dashboard small,
.preview-dashboard strong {
  display: block;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 54px;
}

.chart-bars span {
  width: 10px;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
  animation: barGrow 2.8s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { height: 28px; animation-delay: 0s; }
.chart-bars span:nth-child(2) { height: 42px; animation-delay: 0.18s; }
.chart-bars span:nth-child(3) { height: 34px; animation-delay: 0.36s; }
.chart-bars span:nth-child(4) { height: 54px; animation-delay: 0.54s; }

.base {
  width: 86%;
  height: 28px;
  margin: 0 auto;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(90deg, #DDE8F8, #FFFFFF, #B4C4DA);
}

.mini-panel,
.floating-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 68, 160, 0.26);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(0, 123, 255, 0.28);
  backdrop-filter: blur(14px);
}

.mini-panel {
  padding: 14px 16px;
  animation: floatSoft 5s ease-in-out infinite;
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.panel-a { top: 18px; left: -22px; }
.panel-b { right: 10px; bottom: 54px; animation-delay: 1s; }

.hero-code-card,
.hero-status-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(3, 16, 42, 0.66);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.hero-code-card {
  left: 3%;
  bottom: 24%;
  width: 176px;
  padding: 16px;
  animation: floatSoft 6.5s ease-in-out infinite 0.7s;
}

.hero-code-card span {
  display: block;
  height: 8px;
  margin: 9px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #34D399, rgba(126, 210, 255, 0.95), transparent);
}

.hero-code-card span:nth-child(2) {
  width: 70%;
  background: linear-gradient(90deg, #FBBF24, rgba(126, 210, 255, 0.86), transparent);
}

.hero-code-card span:nth-child(3) {
  width: 84%;
}

.hero-status-card {
  right: 0;
  top: 17%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  animation: floatSoft 5.7s ease-in-out infinite 1.2s;
}

.hero-status-card strong,
.hero-status-card small {
  display: block;
}

.hero-status-card small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.14), 0 0 22px rgba(52, 211, 153, 0.8);
  animation: statusPulse 2s ease-in-out infinite;
}

.floating-chip {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #AEE6FF;
}

.chip-one { top: 20%; left: 51%; animation: floatSoft 5s infinite; }
.chip-two { top: 34%; right: 7%; animation: floatSoft 6s infinite 0.6s; }
.chip-three { bottom: 20%; left: 8%; animation: floatSoft 7s infinite 1s; }

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-copy p:not(.eyebrow),
.cta-box p,
.process-step p,
.service-card p,
.insight-card p {
  color: var(--muted);
}

.about {
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.about .split-layout {
  grid-template-columns: 1fr;
  gap: 42px;
}

.about .section-copy {
  max-width: 820px;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight-card,
.service-card,
.why-card,
.process-step,
.contact-form,
.contact-cards a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(6, 26, 74, 0.08);
}

.insight-card {
  overflow: hidden;
  padding: 0 0 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.insight-card.wide {
  grid-column: auto;
}

.insight-photo {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 123, 255, 0.36);
  box-shadow: var(--shadow);
}

.insight-card:hover .insight-photo {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.insight-card h3,
.insight-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.insight-card h3 {
  margin-top: 24px;
}

[data-icon] {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: linear-gradient(135deg, var(--light-blue), var(--white));
  border: 1px solid rgba(0, 123, 255, 0.14);
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.12);
  font-style: normal;
  margin-bottom: 20px;
}

[data-icon]::before {
  content: "✦";
  font-size: 1.35rem;
}

[data-icon="web"]::before { content: "⌘"; }
[data-icon="software"]::before { content: "▣"; }
[data-icon="design"]::before { content: "◈"; }
[data-icon="ai"]::before { content: "AI"; font-size: 0.88rem; font-weight: 900; }
[data-icon="consult"]::before { content: "?"; }
[data-icon="speed"]::before { content: "↗"; }
[data-icon="brand"]::before { content: "◆"; }
[data-icon="smart"]::before { content: "◎"; }
[data-icon="time"]::before { content: "◷"; }
[data-icon="pro"]::before { content: "✓"; }
[data-icon="mobile"]::before { content: "▯"; }
[data-icon="lock"]::before { content: "▰"; }
[data-icon="value"]::before { content: "$"; }
[data-icon="support"]::before { content: "☎"; }
[data-icon="target"]::before { content: "◎"; }
[data-icon="modern"]::before { content: "✦"; }
[data-icon="chat"]::before { content: "☰"; }
[data-icon="layout"]::before { content: "▦"; }
[data-icon="build"]::before { content: "⚙"; }
[data-icon="rocket"]::before { content: "↑"; }
[data-icon="phone"]::before { content: "☎"; }
[data-icon="mail"]::before { content: "@"; }
[data-icon="globe"]::before { content: "○"; }
[data-icon="pin"]::before { content: "⌖"; }

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

.services {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 123, 255, 0.1), transparent 24%),
    var(--white);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 0 0 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--blue);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.why-card:hover,
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 123, 255, 0.36);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover > img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.service-card i,
.service-card h3,
.service-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.service-card h3 {
  margin-top: 24px;
}

.service-card i {
  margin-top: -24px;
  position: relative;
  z-index: 2;
  background: var(--white);
}

.why {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 26, 74, 0.95), rgba(0, 77, 177, 0.92)),
    var(--navy);
}

.why .section-heading h2,
.why .eyebrow {
  color: var(--white);
}

.why-grid {
  grid-template-columns: repeat(5, 1fr);
}

.why-card {
  min-height: 210px;
  padding: 26px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.why-card h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-card strong {
  margin-top: auto;
  color: #7ED2FF;
  font-size: 1.08rem;
  font-weight: 900;
}

.course-card span {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.courses {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 123, 255, 0.1), transparent 24%),
    linear-gradient(180deg, var(--white), var(--soft));
}

.courses-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.courses-heading h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1;
}

.courses-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.05rem;
  white-space: nowrap;
}

.courses-heading a span,
.course-footer a span {
  font-size: 1.45rem;
  line-height: 1;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.course-listing-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 58px rgba(6, 26, 74, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-listing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 123, 255, 0.36);
  box-shadow: 0 26px 72px rgba(6, 26, 74, 0.14);
}

.course-listing-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.course-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 18px 22px;
}

.course-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--light-blue);
  font-weight: 900;
}

.course-content h3 {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.22;
}

.course-meta {
  margin: 10px 0 0;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.course-content p:not(.course-meta) {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-footer strong {
  display: grid;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1;
}

.course-footer small {
  margin-bottom: 6px;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.course-footer a {
  min-width: 96px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.88rem;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-track::before {
  content: "";
  position: absolute;
  display: none;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.process-step {
  position: relative;
  overflow: hidden;
  padding: 0 0 26px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-photo {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.process-step:hover .process-photo {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.process-step > span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: -27px 24px 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(6, 26, 74, 0.2);
  position: relative;
  z-index: 2;
}

.process-step h3,
.process-step p {
  margin-left: 24px;
  margin-right: 24px;
}

.cta-section {
  padding: 0 0 104px;
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue), #045DD4);
  box-shadow: 0 30px 74px rgba(0, 123, 255, 0.28);
}

.cta-box h2,
.cta-box .eyebrow {
  color: var(--white);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.86);
}

.contact {
  background: var(--white);
}

.contact-layout {
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.contact-cards a {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 16px;
}

.contact-cards i {
  grid-row: span 2;
  margin: 0;
}

.contact-cards span {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-cards strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.map-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0, 123, 255, 0.35);
  border-radius: var(--radius);
  color: var(--navy);
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.68)),
    repeating-linear-gradient(45deg, var(--light-blue), var(--light-blue) 12px, var(--white) 12px, var(--white) 24px);
  font-weight: 800;
}

.map-placeholder i {
  margin-bottom: 8px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form .full,
.form-message {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 26, 74, 0.12);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--navy);
  background: var(--soft);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.contact-form .is-invalid {
  border-color: #D93025;
  background: #FFF7F6;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #0B7A39;
  font-weight: 800;
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #041235;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 36px;
}

.footer-brand,
.footer-brand strong {
  color: var(--white);
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin: 10px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(0, 123, 255, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 30;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatDevice {
  0%, 100% { transform: perspective(1100px) rotateY(-18deg) rotateX(7deg) rotateZ(-2deg) translateY(0); }
  50% { transform: perspective(1100px) rotateY(-15deg) rotateX(6deg) rotateZ(-2deg) translateY(-14px); }
}

@keyframes laptopSwing {
  0%, 100% {
    transform: perspective(1100px) rotateY(-12deg) rotateX(5deg) rotateZ(-1deg) translateY(0);
  }

  50% {
    transform: perspective(1100px) rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-12px);
  }
}

@keyframes techPanelPulse {
  0%, 100% {
    opacity: 0.48;
    transform: perspective(700px) rotateY(-18deg) rotateX(8deg) translateY(0);
  }

  50% {
    opacity: 0.86;
    transform: perspective(700px) rotateY(-13deg) rotateX(6deg) translateY(-10px);
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 108px 54px, 108px 54px; }
}

@keyframes circuitShift {
  0% { transform: translateX(-14px); opacity: 0.28; }
  100% { transform: translateX(14px); opacity: 0.5; }
}

@keyframes heroCopyIn {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes trackerTilt {
  0%, 100% { transform: perspective(900px) rotateY(-7deg) rotateX(4deg); }
  50% { transform: perspective(900px) rotateY(5deg) rotateX(2deg) translateY(-10px); }
}

@keyframes previewFloat {
  0%, 100% { transform: scale(1.01) translateY(0); }
  50% { transform: scale(1.025) translateY(-6px); }
}

@keyframes scanPreview {
  0% { transform: translateY(-78px); opacity: 0; }
  18%, 78% { opacity: 0.72; }
  100% { transform: translateY(320px); opacity: 0; }
}

@keyframes dashboardLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes barGrow {
  0%, 100% { transform: scaleY(0.72); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.78; }
}

@media (max-width: 1024px) {
  .hero-layout,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .course-grid,
  .why-grid,
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-data-panel {
    opacity: 0.45;
  }

  .data-panel-one {
    right: 18%;
  }

  .data-panel-two {
    right: 5%;
  }

  .hero-code-card {
    left: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-menu .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 88px 20px 48px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .laptop-mockup {
    transform: none;
    animation: mobileLaptopSwing 6s ease-in-out infinite;
  }

  .screen img {
    height: 240px;
  }

  .hero-status-card {
    right: 10px;
    top: 6px;
  }

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

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

  .section-pad {
    padding: 78px 0;
  }

  .navbar {
    min-height: 76px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-menu {
    top: 76px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero-actions,
  .cta-box,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .courses-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .courses-heading h2 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .about-card-grid,
  .card-grid,
  .course-grid,
  .why-grid,
  .process-track,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-track::before,
  .floating-chip,
  .hero-data-panel,
  .mini-panel,
  .hero-code-card,
  .hero-status-card,
  .hero-glow-tracker {
    display: none;
  }

  .hero-metric-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preview-dashboard {
    position: static;
    margin-top: 12px;
  }

  .screen img {
    height: 190px;
  }

  .contact-form {
    padding: 20px;
  }
}

@keyframes mobileLaptopSwing {
  0%, 100% {
    transform: rotateZ(-1deg) translateY(0);
  }

  50% {
    transform: rotateZ(1deg) translateY(-10px);
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.38rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Simplified hero and portfolio. */
section[id] { scroll-margin-top: 84px; }
.site-header:not(.scrolled):not(.menu-active) .brand,
.site-header:not(.scrolled):not(.menu-active) .nav-menu { color: var(--white); }
.hero.hero-simple {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: linear-gradient(120deg, #061A4A, #0A3555);
}
.hero-simple::before, .hero-simple::after { content: none; }
.hero-simple .hero-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: none;
}
.hero-simple h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
}
.hero-simple h1 span { color: #7ED2FF; background: none; text-shadow: none; }
.hero-simple .hero-text {
  max-width: 480px;
  margin: 24px auto 0;
  font-size: 1.1rem;
  font-weight: 400;
}
.hero-simple .hero-actions { justify-content: center; margin-top: 32px; }
.hero-simple .btn { min-height: 52px; padding: 0 26px; font-size: 0.94rem; text-transform: none; }
.portfolio { background: var(--soft); }
.portfolio .section-heading > p:last-child,
.portfolio-details > p:last-child { color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.portfolio-details { padding: 26px; }
.portfolio-status {
  margin: 0 0 12px;
  color: #35618B;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.portfolio-details h3 { font-size: 1.3rem; }
.portfolio-details > p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .site-header:not(.scrolled):not(.menu-active) .nav-menu { color: var(--navy); }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero.hero-simple { min-height: auto; padding: 140px 0 76px; }
}

.portfolio-link { display: block; height: 100%; }
.portfolio-preview { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.portfolio-card { transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.portfolio-card:hover, .portfolio-card:focus-within { border-color: var(--blue); box-shadow: var(--shadow); }
.portfolio-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.portfolio-visit { display: inline-flex; gap: 8px; margin-top: 20px; color: #005FDC; font-weight: 700; }
