:root {
  --brand: #0284c7;
  --brand-deep: #0369a1;
  --navy: #0c4a6e;
  --ink: #082f49;
  --muted: #475569;
  --paper: #ffffff;
  --mist: #f0f9ff;
  --accent: #38bdf8;
  --line: rgba(8, 47, 73, .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,.5), 0 0 0 0 rgba(255,255,255,.5); }
  50% { box-shadow: 0 12px 30px -8px rgba(0,0,0,.5), 0 0 0 14px rgba(255,255,255,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: #8fa4c4;
}

#np-hero-form option,
#np-modal option {
  color: #0a1220;
  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); }
}

/* ================= 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.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease, background-color 0.35s ease;
  border-radius: 2px;
}

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

#np-hamburger.active span {
  background-color: #fff !important; /* Always white when overlay menu is active */
}

#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(12, 74, 110, 0.98), rgba(8, 47, 73, 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.4s cubic-bezier(.2,.8,.2,1), visibility 0.4s 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.25s, transform 0.25s;
}

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

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

/* ================= 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-albums-grid {
    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: 880px) {
  #np-links {
    display: none !important;
  }
  #np-hamburger {
    display: flex;
  }
  #np-toast {
    display: none !important;
  }
  /* Hide the 2 CTA Buttons in Mobile Hero Section */
  #np-hero-cta-buttons {
    display: none !important;
  }
}

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

/* ==========================================================================
   Project Albums Gallery & Lightbox Styles
   ========================================================================== */
.np-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.np-album-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 60, 92, 0.7), rgba(8, 47, 73, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 50px -22px rgba(0, 0, 0, 0.65);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.np-album-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px -20px rgba(53, 189, 234, 0.45);
  border-color: rgba(56, 189, 248, 0.55);
}

.np-album-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #061e30;
}

.np-album-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.np-album-card:hover .np-album-thumb-wrap img {
  transform: scale(1.08);
}

.np-album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.1) 0%, rgba(8, 47, 73, 0.4) 60%, rgba(8, 47, 73, 0.85) 100%);
  pointer-events: none;
}

.np-album-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8, 47, 73, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 6px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.np-album-badge svg {
  color: var(--accent);
}

.np-album-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #dff6ff;
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.np-album-content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.np-album-title {
  font-family: 'Archivo', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.np-album-loc {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9fb2ce;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 6px;
}

.np-album-loc svg {
  color: var(--accent);
  flex-shrink: 0;
}

.np-album-btn {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.np-album-card:hover .np-album-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #082f49;
  font-weight: 800;
  transform: translateY(-1px);
}

/* Album Modal */
#np-album-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3.5vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

#np-album-modal.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

#np-album-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 34, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#np-album-modal-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #093452 0%, #062338 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(26px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#np-album-modal.active #np-album-modal-card {
  transform: translateY(0) scale(1);
}

.np-album-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  background: rgba(6, 30, 48, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  z-index: 10;
}

.np-album-modal-title-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.np-album-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.np-album-modal-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.np-album-modal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.np-album-select-dropdown {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  max-width: 260px;
}

.np-album-select-dropdown option {
  background: #082f49;
  color: #fff;
}

.np-modal-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #c7d3e8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.np-modal-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.05);
}

.np-album-modal-body {
  padding: 26px 28px 34px;
  overflow-y: auto;
  max-height: calc(100vh - 180px);
}

.np-album-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.np-album-photo-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #041a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.np-album-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.np-album-photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -12px rgba(53, 189, 234, 0.5);
  border-color: var(--accent);
}

.np-album-photo-item:hover img {
  transform: scale(1.06);
}

.np-photo-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 73, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.np-photo-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #082f49;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: scale(0.85);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.np-album-photo-item:hover .np-photo-zoom-overlay {
  opacity: 1;
}

.np-album-photo-item:hover .np-photo-zoom-icon {
  transform: scale(1);
}

/* Lightbox Modal */
#np-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2900;
  background: rgba(2, 12, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#np-lightbox.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.np-lightbox-top {
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  z-index: 20;
}

.np-lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.np-lightbox-project-name {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.np-lightbox-counter {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.np-lightbox-main {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 170px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-lightbox-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#np-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.np-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.np-lightbox-nav-btn:hover {
  background: var(--accent);
  color: #082f49;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.np-lightbox-prev {
  left: 12px;
}

.np-lightbox-next {
  right: 12px;
}

.np-lightbox-bottom {
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #8fa4c4;
  font-size: 13px;
  font-weight: 500;
  z-index: 20;
}

@media (max-width: 600px) {
  .np-lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .np-lightbox-prev {
    left: 4px;
  }
  .np-lightbox-next {
    right: 4px;
  }
  .np-album-modal-head {
    padding: 16px 18px;
  }
  .np-album-modal-body {
    padding: 18px 16px 24px;
  }
  .np-album-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
