:root {
  --navy: #0d4a8b;
  --navy-deep: #062848;
  --crimson: #c0182a;
  --maroon: #6b0f1a;
  --sky: #2196f3;
  --ink: #071424;
  --muted: #58708a;
  --surface: rgba(255, 255, 255, 0.92);
  --line: rgba(13, 74, 139, 0.18);
  --shadow: 0 24px 70px rgba(4, 28, 53, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
   
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f6fbff;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}


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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(6, 40, 72, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.navbar.scrolled {
  background: rgba(6, 40, 72, 0.94);
  box-shadow: 0 18px 48px rgba(4, 22, 40, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(190px, 24vw, 200px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--navy-deep);
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar.scrolled .nav-links a {
  color: #ffffff;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(33, 150, 243, 0.13);
  outline: none;
}

.nav-links .nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, var(--crimson), var(--maroon));
  box-shadow: 0 12px 26px rgba(192, 24, 42, 0.28);
}

.navbar.scrolled .nav-links .nav-cta {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

.section {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  padding: 112px 0;
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 144px;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 18%, rgba(33, 150, 243, 0.42), transparent 30%),
    linear-gradient(135deg, #041c35 0%, var(--navy) 48%, #07233f 100%);
}

.hero::after,
.services::after,
.why::after,
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 17, 34, 0.18), rgba(3, 17, 34, 0.34));
  pointer-events: none;
}

.layer-grid {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
}

.layer-orbit {
  opacity: 0.65;
  background:
    radial-gradient(circle at 76% 44%, transparent 0 90px, rgba(255, 255, 255, 0.18) 91px 92px, transparent 93px),
    radial-gradient(circle at 72% 44%, transparent 0 170px, rgba(33, 150, 243, 0.18) 171px 172px, transparent 173px),
    linear-gradient(120deg, transparent 48%, rgba(255, 255, 255, 0.12) 49%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9bd5ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  font-family: 'Barlow Condensed', sans-serif;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-description {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--crimson), var(--maroon));
  box-shadow: 0 18px 34px rgba(192, 24, 42, 0.3);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.tech-sphere {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 29%),
    radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.18), transparent 62%);
  box-shadow: inset 0 0 70px rgba(33, 150, 243, 0.22), 0 30px 80px rgba(0, 0, 0, 0.24);
  animation: float 6s ease-in-out infinite;
}

.tech-sphere img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.25));
}

.node {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(33, 150, 243, 0.22), 0 0 28px rgba(255, 255, 255, 0.8);
  animation: pulse 2.5s ease-in-out infinite;
}

.n1 { top: 16%; left: 26%; }
.n2 { top: 28%; right: 15%; animation-delay: 0.4s; }
.n3 { bottom: 20%; left: 18%; animation-delay: 0.8s; }
.n4 { right: 25%; bottom: 14%; animation-delay: 1.2s; }

.trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform-origin: left center;
  animation: scan 3.4s linear infinite;
}

.t1 { top: 31%; left: 28%; width: 190px; transform: rotate(18deg); }
.t2 { top: 60%; left: 22%; width: 230px; transform: rotate(-18deg); animation-delay: 0.7s; }
.t3 { top: 44%; left: 38%; width: 150px; transform: rotate(82deg); animation-delay: 1.1s; }

.about {
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.94), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(33, 150, 243, 0.18), rgba(192, 24, 42, 0.1));
}

.layer-code {
  opacity: 0.62;
  background:
    linear-gradient(120deg, transparent 0 20%, rgba(13, 74, 139, 0.08) 21% 22%, transparent 23% 100%),
    repeating-linear-gradient(90deg, rgba(13, 74, 139, 0.08) 0 1px, transparent 1px 56px);
}

.split-layout,
.contact-layout,
.why-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.section-copy p:not(.eyebrow),
.section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.snapdragon-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.snapdragon-mark img {
  position: relative;
  z-index: 2;
  width: min(230px, 58vw);
  filter: drop-shadow(0 24px 42px rgba(13, 74, 139, 0.24));
}

.snapdragon-mark span {
  position: absolute;
  border: 1px solid rgba(13, 74, 139, 0.2);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.snapdragon-mark span:nth-child(2) {
  width: 310px;
  aspect-ratio: 1;
}

.snapdragon-mark span:nth-child(3) {
  width: 390px;
  aspect-ratio: 1;
  border-color: rgba(192, 24, 42, 0.18);
  animation-direction: reverse;
}

.snapdragon-mark span:nth-child(4) {
  width: 470px;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(33, 150, 243, 0.24);
}

.services {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 40, 72, 0.97), rgba(13, 74, 139, 0.93)),
    #0d4a8b;
}

.layer-mesh {
  opacity: 0.46;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.17) 49% 50%, transparent 51%),
    linear-gradient(45deg, transparent 0 48%, rgba(33, 150, 243, 0.28) 49% 50%, transparent 51%);
  background-size: 140px 140px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.services .section-heading p,
.why .section-copy p,
.contact .section-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.98), rgba(192, 24, 42, 0.9));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
  animation: iconMove 2.6s ease-in-out infinite;
}

.icon-consult::before { width: 28px; height: 4px; box-shadow: 0 9px #fff, 0 -9px #fff; }
.icon-consult::after { width: 6px; height: 6px; border-radius: 50%; left: 18px; box-shadow: 13px -9px #fff, 6px 9px #fff; }
.icon-managed::before { width: 28px; height: 28px; border: 4px solid #fff; border-radius: 50%; background: transparent; }
.icon-managed::after { width: 4px; height: 15px; transform: translateY(-12px); }
.icon-design::before { width: 10px; height: 30px; border-radius: 8px; transform: rotate(35deg); }
.icon-design::after { width: 18px; height: 10px; border-radius: 0 0 9px 9px; transform: translate(8px, 12px) rotate(35deg); }
.icon-web::before { width: 32px; height: 24px; border: 4px solid #fff; border-radius: 5px; background: transparent; }
.icon-web::after { width: 20px; height: 4px; transform: translateY(-6px); box-shadow: -4px 9px #fff; }
.icon-app::before { width: 24px; height: 34px; border: 4px solid #fff; border-radius: 7px; background: transparent; }
.icon-app::after { width: 8px; height: 3px; transform: translateY(12px); border-radius: 4px; }
.icon-app::iot { width: 24px; height: 34px; border: 4px solid #fff; border-radius: 7px; background: transparent; }
.icon-app::iot { width: 8px; height: 3px; transform: translateY(12px); border-radius: 4px; }
.icon-seo::before { width: 25px; height: 25px; border: 4px solid #fff; border-radius: 50%; background: transparent; }
.icon-seo::after { width: 16px; height: 4px; transform: translate(12px, 13px) rotate(45deg); }
.icon-cctv::before { width: 32px; height: 18px; border-radius: 5px 5px 11px 11px; transform: rotate(-12deg); }
.icon-cctv::after { width: 5px; height: 18px; transform: translate(-8px, 17px); box-shadow: 13px 7px #fff; }

.why {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 16, 31, 0.96), rgba(8, 58, 110, 0.92)),
    #062848;
}

.layer-future {
  opacity: 0.72;
  background:
    radial-gradient(circle at 18% 72%, rgba(192, 24, 42, 0.25), transparent 26%),
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.11) 21%, transparent 22% 52%, rgba(33, 150, 243, 0.18) 53%, transparent 54%);
}

.why-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
}

.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-left: 4px solid var(--sky);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.advantage strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.advantage span {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 74, 139, 0.95), rgba(107, 15, 26, 0.88)),
    #0d4a8b;
}

.layer-contact {
  opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, 0.12) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 59px 60px);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
}

.contact .btn {
  margin-top: 28px;
}

.contact-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.contact-panel dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

.contact-panel dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer {
  padding: 34px 0;
  background: #03111f;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer img {
  width: 220px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ffffff;
}

.footer p,
.footer span {
  margin: 0;
  font-size: 0.95rem;
}

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

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes scan {
  0% { opacity: 0.1; filter: brightness(0.8); }
  50% { opacity: 1; filter: brightness(1.5); }
  100% { opacity: 0.1; filter: brightness(0.8); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes iconMove {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
  50% { filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.9)); }
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .navbar {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .brand {
    width: min(230px, calc(100% - 64px));
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(6, 40, 72, 0.97);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
    transform: translateY(-16px) scale(0.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .navbar.scrolled .nav-links a {
    color: #ffffff;
  }

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

  .hero-visual {
    order: -1;
  }

  .tech-sphere {
    width: min(340px, 76vw);
  }

  .section {
    min-height: auto;
    padding: 94px 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 118px;
  }

  .snapdragon-mark {
    min-height: 300px;
  }

  .snapdragon-mark span:nth-child(2) { width: 220px; }
  .snapdragon-mark span:nth-child(3) { width: 280px; }
  .snapdragon-mark span:nth-child(4) { width: 330px; }

  .advantage {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

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

  .service-card {
    min-height: 210px;
  }

  .hero-actions,
  .hero-actions .btn,
  .contact .btn {
    width: 100%;
  }

  .btn {
    min-height: 50px;
  }

  .footer-inner {
    width: min(100% - 28px, 1180px);
  }
}

@media (max-width: 390px) {
  .navbar {
    padding: 10px;
  }

  .brand {
    width: 186px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .contact-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .parallax {
    background-attachment: scroll;
  }
}
