:root {
  --brand: #0b3bad;
  --brand-deep: #072670;
  --navy: #07152b;
  --bg-slate: #f8fafc;
  --ink: #0a1220;
  --muted: #5a6b82;
  --paper: #ffffff;
  --mist: #eef2f8;
  --accent: #d90d0d;
  --accent-hover: #b30a0a;
  --line: rgba(10, 18, 32, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.02;
}

p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .25s;
}

a:hover {
  color: var(--accent);
}

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

@property --r {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --ca {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes np-iris {
  from { --r: 0%; }
  to { --r: 150%; }
}

@keyframes np-loadfade {
  0%, 55% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes np-markpop {
  0% { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); }
  45% { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: scale(1.04); filter: blur(2px); }
}

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

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

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

@keyframes np-grid {
  to { background-position: 60px 60px; }
}

@keyframes np-sheen {
  0% { transform: translateX(-120%) skewX(-18deg); }
  60%, 100% { transform: translateX(240%) skewX(-18deg); }
}

@keyframes np-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes np-btnbob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes np-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes np-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.15), 0 0 0 0 rgba(217,13,13,.6); }
  50% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.15), 0 0 0 14px rgba(217,13,13,0); }
}

@keyframes np-ping {
  from { transform: scale(1); opacity: .9; }
  to { transform: scale(2.8); opacity: 0; }
}

#np-hero-form input::placeholder,
#np-modal input::placeholder,
#np-modal textarea::placeholder {
  color: #64748b;
}

#np-hero-form option,
#np-modal option {
  color: #0f172a;
  background: #fff;
}

@keyframes np-bub {
  0% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 36px)) scale(.2); }
}

/* ================= Header & Hamburger Menu Styles ================= */
#np-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.05);
}

#np-links a {
  color: #334155;
  font-weight: 700;
  transition: color 0.2s ease;
  text-decoration: none;
}

#np-links a:hover {
  color: var(--brand);
}

#np-links a.nav-cta {
  color: #ffffff !important;
  background: linear-gradient(180deg, #d90d0d, #b30a0a);
  padding: 11px 22px;
  border-radius: 100px;
  box-shadow: 0 6px 16px -4px rgba(217, 13, 13, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#np-links a.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(217, 13, 13, 0.75);
}

#np-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1005;
}

#np-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--brand-deep);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease, background-color 0.35s ease;
  border-radius: 4px;
}

#np-hamburger.active span {
  background-color: var(--brand-deep) !important;
}

#np-hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

#np-hamburger.active span:nth-child(2) {
  opacity: 0;
}

#np-hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Overlay Menu Drawer */
#np-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 255, 0.99));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 80px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(.2,.8,.2,1), visibility 0.4s ease;
}

#np-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

#np-mobile-menu a.mobile-link {
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.25s, transform 0.25s;
  text-decoration: none;
}

#np-mobile-menu a.mobile-link:hover {
  color: var(--brand);
  transform: scale(1.04);
}

#np-mobile-menu a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(180deg, #d90d0d, #b30a0a);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px rgba(217, 13, 13, .65);
  text-decoration: none;
  margin-top: 6px;
}

#np-mobile-menu a.phone-btn,
#np-mobile-menu a.email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  padding: 12px 24px;
  border-radius: 100px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#np-mobile-menu a.phone-btn:hover,
#np-mobile-menu a.email-btn:hover {
  background: #dbeafe;
  transform: translateY(-2px);
}

/* ================= Kinetic Marquee Text Strip ================= */
@keyframes np-marquee-anim {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

#np-marq.np-marquee-active {
  display: flex;
  width: max-content;
  animation: np-marquee-anim 28s linear infinite;
  will-change: transform;
}

#np-marq.np-marquee-active:hover {
  animation-play-state: paused;
}

/* ================= Media Queries ================= */
@media (max-width: 1020px) {
  #np-hero-content {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
  }
  #np-hero-form {
    justify-self: stretch !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
  #np-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #np-about-grid, #np-why-grid, #np-contact-grid, #np-faq-grid {
    grid-template-columns: 1fr !important;
  }
  #np-why-card {
    position: static !important;
  }
  #np-process {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #np-proc-track {
    display: none !important;
  }
  #np-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #np-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #np-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 900px) {
  #np-links {
    display: none !important;
  }
  #np-hamburger {
    display: flex !important;
  }
  #np-toast {
    display: none !important;
  }
  #np-hero-cta-buttons {
    display: flex !important;
  }
}

@media (max-width: 700px) {
  #np-services-grid, #np-process, #np-gallery {
    grid-template-columns: 1fr !important;
  }
  #np-footer-grid {
    grid-template-columns: 1fr !important;
  }
  #np-topbar {
    display: none !important;
  }
  #np-scrollhint {
    display: none !important;
  }
}

/* Custom Header Logo Styling & Alignment */
#np-logo-img {
  height: 95px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* Transition sticky navbar on scroll into a compact row */
#np-nav.solid {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px clamp(18px, 5vw, 64px) !important;
}

#np-nav.solid #np-logo-img {
  height: 50px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Layout: Centered logo in mobile header with hamburger button on right */
@media (max-width: 900px) {
  #np-nav, #np-nav.solid {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    padding: 12px clamp(18px, 5vw, 64px) !important;
  }
  #np-logo-img, #np-nav.solid #np-logo-img {
    height: 60px !important;
    max-width: 180px !important;
    border-radius: 12px !important;
  }
  #np-hamburger {
    position: absolute !important;
    right: clamp(18px, 5vw, 64px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  #np-hero-content {
    padding-top: 130px !important;
  }
  #np-hero-content h1 span {
    white-space: normal !important;
  }
}

