:root {
  --brand: #dc2626;
  --brand-deep: #b91c1c;
  --navy: #0b192e;
  --ink: #0f172a;
  --muted: #475569;
  --paper: #ffffff;
  --mist: #f1f5f9;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --line: rgba(15, 23, 42, .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 .2s ease;
}

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%, 70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes np-markpop {
  0% { opacity: 0; transform: translateY(6px) scale(.98); filter: blur(2px); }
  60% { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: scale(1.02); filter: blur(1px); }
}

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

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

@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(4px); }
}

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

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

@keyframes np-pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.5), 0 0 0 0 rgba(37,99,235,.5); }
  50% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.5), 0 0 0 12px rgba(37,99,235,0); }
}

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

#np-hero-form input::placeholder,
#np-modal input::placeholder,
#np-modal textarea::placeholder {
  color: #94a3b8;
}

#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% - 30px)) scale(.2); }
}

/* ================= Hamburger Menu Styles ================= */
#np-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1005;
}

#np-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  border-radius: 2px;
}

#np-nav.solid #np-hamburger span {
  background-color: var(--navy);
}

#np-hamburger.active span {
  background-color: #fff !important;
}

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

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

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

/* Mobile Overlay Menu */
#np-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, rgba(11, 25, 46, 0.98), rgba(15, 23, 42, 0.99));
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

#np-mobile-menu a {
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.2s, transform 0.2s;
}

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

#np-mobile-menu a.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 26px -8px rgba(37, 99, 235, .6);
}

/* Service Card Hover Styling */
[data-card] {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

[data-card]:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
}

/* ================= Media Queries ================= */
@media (max-width: 1020px) {
  #np-hero-content {
    grid-template-columns: 1fr !important;
    gap: 40px !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-gallery [data-col]:nth-child(3) {
    display: none !important;
  }
  #np-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #np-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

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

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

#np-hero-slides picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  #np-hero-slides img {
    object-position: 75% center !important;
  }
}


