/* ============================================================
   HATCH MARINE CONSULTANTS — Main Stylesheet
   index.html design system
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --ocean: #0077b6;
  --ocean-dark: #023e8a;
  --ocean-deep: #03045e;
  --seafoam: #90e0ef;
  --emerald: #2d6a4f;
  --charcoal: #1a1a2e;
  --warm-white: #f8f9fa;
  --nav-height: 80px;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

#navbar.transparent {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(2, 62, 138, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(144, 224, 239, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--seafoam);
  background: rgba(144, 224, 239, 0.1);
}

.btn-nav-cta {
  color: var(--ocean-dark) !important;
  background: var(--seafoam) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
}

.btn-nav-cta:hover {
  background: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(144, 224, 239, 0.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(2, 62, 138, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(144, 224, 239, 0.2);
  }
}

/* ── Hero Slider ──────────────────────────────────────────── */
#home {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ocean-deep);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 4, 94, 0.8) 0%,
    rgba(2, 62, 138, 0.55) 50%,
    rgba(0, 119, 182, 0.25) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 7vw, 6rem) 6rem;
  max-width: 900px;
}

.slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seafoam);
  background: rgba(144, 224, 239, 0.12);
  border: 1px solid rgba(144, 224, 239, 0.35);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.slide-content h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.slide-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ocean-dark);
  background: var(--seafoam);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: all 0.25s;
}

.btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(144, 224, 239, 0.35);
}

.btn-secondary {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--seafoam);
  color: var(--seafoam);
  background: rgba(144, 224, 239, 0.08);
}

.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 7vw, 6rem);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--seafoam);
  width: 56px;
}

.slider-arrows {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-size: 1.1rem;
}

.arrow-btn:hover {
  border-color: var(--seafoam);
  background: rgba(144, 224, 239, 0.15);
  color: var(--seafoam);
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--seafoam);
  width: 0%;
  z-index: 10;
}

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--ocean-dark);
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
}

.stats-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(144, 224, 239, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--seafoam);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .stats-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}

/* ── Section Base ─────────────────────────────────────────── */
.section-pad {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.container-max {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.section-label.light {
  color: var(--seafoam);
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--charcoal);
}

.section-title.light {
  color: white;
}

.divider-ocean {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--seafoam));
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

/* ── About ────────────────────────────────────────────────── */
#about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pillar {
  padding: 1.5rem;
  background: var(--warm-white);
  border-radius: 12px;
  border-left: 3px solid var(--ocean);
}

.pillar h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #6b7280 !important;
  margin-bottom: 0 !important;
}

.about-visual {
  position: relative;
  padding-bottom: 2rem;
}

.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 0;
  left: -1rem;
  background: var(--ocean-dark);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(2, 62, 138, 0.35);
}

.about-badge-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--seafoam);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Services ─────────────────────────────────────────────── */
#services {
  background: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(144, 224, 239, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  background: rgba(0, 119, 182, 0.2);
  border-color: rgba(144, 224, 239, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: white;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seafoam);
  border: 1px solid rgba(144, 224, 239, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.emerald-pill {
  display: inline-block;
  background: rgba(45, 106, 79, 0.15);
  color: #52b788;
  border: 1px solid rgba(45, 106, 79, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

/* ── Projects ─────────────────────────────────────────────── */
#projects {
  background: var(--warm-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.project-card-top {
  background: var(--ocean-dark);
  padding: 1.5rem;
}

.project-year {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seafoam);
  opacity: 0.85;
}

.project-card-top h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin-top: 0.4rem;
  line-height: 1.3;
}

.project-card-body {
  padding: 1.5rem;
}

.project-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.project-card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b5563;
}

.project-client {
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean);
}

/* ── Team ─────────────────────────────────────────────────── */
#team {
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: var(--warm-white);
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: rgba(0, 119, 182, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  border: 2.5px solid var(--seafoam);
}

.team-card h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.team-card p {
  font-size: 0.78rem;
  color: var(--ocean);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Clients Strip ────────────────────────────────────────── */
.clients-strip {
  background: var(--ocean-deep);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.75rem;
}

.clients-scroll {
  display: flex;
  gap: 4rem;
  animation: scrollClients 28s linear infinite;
  width: max-content;
}

.clients-scroll span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  transition: color 0.3s;
}

.clients-scroll span:hover {
  color: var(--seafoam);
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-deep));
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.cta-section h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 0;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-bio {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--seafoam);
  color: var(--seafoam);
}

.footer-col h5 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--seafoam);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.footer-contact strong {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--seafoam);
  text-decoration: none;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   NEW CONTACT PAGE  (newcontact.html)
   All selectors prefixed with .nc- to avoid conflicts
   ============================================================ */

/* ── Extra variables needed by contact page ─────────────────── */
:root {
  --nc-mist: #f0f5f8;
  --nc-ocean-light: #00b4d8;
  --nc-ocean-mid: #0096c7;
  --nc-ocean-deep: #003554;
  --nc-emerald: #2d6a4f;
  --nc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --nc-shadow-md:
    0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.06);
  --nc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Inner-page navbar override ─────────────────────────── */
.nc-page #navbar {
  background: rgba(2, 62, 138, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(144, 224, 239, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Utility ─────────────────────────────────────────────── */
.nc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Page Hero ───────────────────────────────────────────── */
.nc-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--charcoal);
}
.nc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("https://dev.hatch-marine.com/wp-content/uploads/2026/03/contact-banner-scaled.jpg");
  background-size: cover;
  background-position: center 60%;
}
.nc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    155deg,
    rgba(0, 20, 40, 0.98) 0%,
    rgba(0, 53, 84, 0.9) 50%,
    rgba(0, 119, 182, 0.45) 100%
  );
}
.nc-hero__content {
  position: relative;
  z-index: 2;
}
.nc-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.nc-breadcrumb a {
  color: var(--seafoam);
  transition: color 0.2s;
  text-decoration: none;
}
.nc-breadcrumb a:hover {
  color: white;
}
.nc-hero__title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.nc-hero__title span {
  background: linear-gradient(90deg, var(--seafoam), var(--nc-ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nc-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.75;
}
.nc-hero__wave {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  z-index: 2;
}

/* ── Office Strip ────────────────────────────────────────── */
.nc-office-strip {
  padding: 3.5rem 0;
}
.nc-office-grid {
  display: grid;
  background: var(--charcoal);
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 768px) {
  .nc-office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 440px) {
  .nc-office-grid {
    grid-template-columns: 1fr;
  }
}

.nc-office-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  text-align: center;
  transition: background 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.nc-office-item:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .nc-office-item:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 440px) {
  .nc-office-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nc-office-item:last-child {
    border-bottom: none;
  }
}
.nc-office-item:hover {
  background: rgba(0, 119, 182, 0.1);
}
.nc-office-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.nc-office-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--seafoam);
  margin-bottom: 0.4rem;
}
.nc-office-value {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.nc-office-value a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.nc-office-value a:hover {
  color: white;
}

/* ── Main Contact Section ────────────────────────────────── */
.nc-contact-section {
  background: var(--nc-mist);
  padding: clamp(5rem, 8vw, 8rem) 0;
}
.nc-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .nc-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Info Panel & Cards ──────────────────────────────────── */
.nc-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nc-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 119, 182, 0.1);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: all 0.3s var(--nc-ease);
}
.nc-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--nc-shadow-md);
  transform: translateX(4px);
}
.nc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.nc-card__icon--blue {
  background: rgba(0, 119, 182, 0.1);
}
.nc-card__icon--teal {
  background: rgba(0, 180, 216, 0.1);
}
.nc-card__icon--deep {
  background: rgba(0, 53, 84, 0.08);
}
.nc-card__label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.3rem;
}
.nc-card__value {
  font-size: 0.935rem;
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.45;
}
.nc-card__value a {
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s;
}
.nc-card__value a:hover {
  color: var(--ocean-dark);
}
.nc-card__sub {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.2rem;
  line-height: 1.5;
}

/* ── Map ─────────────────────────────────────────────────── */
.nc-map {
  margin-top: 1.25rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 182, 0.1);
  box-shadow: var(--nc-shadow-sm);
}
.nc-map__placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(
    135deg,
    var(--nc-ocean-deep) 0%,
    var(--ocean) 60%,
    var(--nc-ocean-light) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: white;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.nc-map__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q10 10 20 20 Q30 30 40 20' stroke='rgba(144,224,239,0.08)' stroke-width='1' fill='none'/%3E%3C/svg%3E")
    repeat;
}
.nc-map__pin {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.nc-map__pin::after {
  content: "📍";
  font-size: 1.2rem;
  transform: rotate(45deg);
  display: block;
}
.nc-map__text {
  position: relative;
  z-index: 1;
}
.nc-map__title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.nc-map__address {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.nc-map__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: white;
  font-size: 0.78rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.nc-map__cta:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Form Panel ──────────────────────────────────────────── */
.nc-form-panel {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 119, 182, 0.1);
  box-shadow: var(--nc-shadow-sm);
}
.nc-form-panel__heading {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.nc-form-panel__sub {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── Form Layout ─────────────────────────────────────────── */
.nc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .nc-form-row {
    grid-template-columns: 1fr;
  }
}

.nc-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.nc-form-group--consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.nc-form-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #374151;
}
.nc-form-label span {
  color: var(--ocean);
  margin-left: 2px;
}

.nc-form-input,
.nc-form-select,
.nc-form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0, 119, 182, 0.15);
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: white;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.nc-form-input:focus,
.nc-form-select:focus,
.nc-form-textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}
.nc-form-input::placeholder,
.nc-form-textarea::placeholder {
  color: #c4cdd5;
}

.nc-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230077B6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.nc-form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* ── Inquiry Type Pills ──────────────────────────────────── */
.nc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.nc-pill-input {
  display: none;
}
.nc-pill-input + label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(0, 119, 182, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.2s;
  user-select: none;
}
.nc-pill-input:checked + label {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
  box-shadow: 0 3px 10px rgba(0, 119, 182, 0.3);
}
.nc-pill-input + label:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}
.nc-pill-input--climate:checked + label {
  background: var(--nc-emerald) !important;
  border-color: var(--nc-emerald) !important;
  box-shadow: 0 3px 10px rgba(45, 106, 79, 0.3) !important;
  color: white !important;
}

/* ── Consent ─────────────────────────────────────────────── */
.nc-consent-check {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--ocean);
  flex-shrink: 0;
  cursor: pointer;
}
.nc-consent-label {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
  cursor: pointer;
}
.nc-consent-label a {
  color: var(--ocean);
}

/* ── Submit Button ───────────────────────────────────────── */
.nc-form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--ocean), var(--nc-ocean-light));
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--nc-ease);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}
.nc-form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s;
}
.nc-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 119, 182, 0.45);
}
.nc-form-submit:hover::before {
  left: 100%;
}
.nc-form-submit:active {
  transform: translateY(0);
}
.nc-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Success Message ─────────────────────────────────────── */
.nc-form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.nc-form-success.show {
  display: block;
}
.nc-form-success__icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.nc-form-success h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}
.nc-form-success p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Field Error ─────────────────────────────────────────── */
.nc-form-error {
  font-size: 0.72rem;
  color: #ef4444;
  display: none;
  margin-top: 0.2rem;
}
.nc-form-error.visible {
  display: block;
}

/* ── Privacy note ────────────────────────────────────────── */
.nc-form-privacy {
  font-size: 0.75rem;
  color: #b0bec5;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}
.nc-form-privacy a {
  color: var(--ocean);
}

/* ============================================================
   ABOUT PAGE  (na- prefix — avoids all existing class conflicts)
   ============================================================ */

/* ── Force solid navbar on about page ─────────────────────── */
.na-page #navbar {
  background: var(--ocean-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* ── Container ────────────────────────────────────────────── */
.na-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Page Hero ────────────────────────────────────────────── */
.na-hero {
  background: var(--charcoal);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.na-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(0, 20, 40, 0.97) 0%, rgba(0, 53, 84, 0.88) 45%, rgba(0, 119, 182, 0.5) 100%);
  z-index: 1;
}
.na-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/1209978/pexels-photo-1209978.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.na-hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}
.na-hero__content {
  position: relative;
  z-index: 2;
}
.na-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}
.na-hero__breadcrumb a {
  color: var(--seafoam);
  transition: color 0.2s;
  text-decoration: none;
}
.na-hero__breadcrumb a:hover {
  color: white;
}
.na-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.na-hero__title span {
  background: linear-gradient(90deg, var(--seafoam), var(--nc-ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.na-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  line-height: 1.75;
}
.na-hero__wave {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  z-index: 2;
}

/* ── Philosophy Section ───────────────────────────────────── */
.na-philosophy {
  background: white;
  padding: clamp(5rem, 8vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.na-philosophy::after {
  content: '"';
  position: absolute;
  top: -2rem;
  right: 5%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(0, 119, 182, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.na-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .na-philosophy__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.na-philosophy__quote {
  position: relative;
  padding-left: 2rem;
}
.na-philosophy__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ocean), var(--seafoam));
  border-radius: 4px;
}
.na-philosophy__quote-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.na-philosophy__quote-text em {
  font-style: normal;
  background: linear-gradient(90deg, var(--ocean), var(--nc-ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.na-philosophy__body {
  color: #5a6a7a;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.na-philosophy__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 500px) {
  .na-philosophy__pillars {
    grid-template-columns: 1fr;
  }
}

/* Philosophy image block */
.na-philosophy__image-wrap {
  width: 100%;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--nc-ocean-deep), var(--ocean), var(--nc-ocean-light));
}
.na-philosophy__image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.na-philosophy__image-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.na-philosophy__stat-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-width: 140px;
}
.na-philosophy__stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
}
.na-philosophy__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-top: 0.25rem;
}
.na-philosophy__hq-tag {
  position: absolute;
  top: 1.5rem;
  left: -1.5rem;
  background: var(--ocean);
  color: white;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  box-shadow: var(--nc-shadow-md);
}
.na-philosophy__hq-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 0.2rem;
}
.na-philosophy__hq-city {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Pillar Cards ─────────────────────────────────────────── */
.na-pillar-card {
  padding: 1.5rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--nc-ease), box-shadow 0.3s;
}
.na-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nc-shadow-md);
}
.na-pillar-card--innovation {
  background: linear-gradient(135deg, rgba(0, 53, 84, 0.06), rgba(0, 119, 182, 0.04));
  border: 1px solid rgba(0, 119, 182, 0.15);
}
.na-pillar-card--sustainability {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.07), rgba(82, 183, 136, 0.04));
  border: 1px solid rgba(45, 106, 79, 0.2);
}
.na-pillar-card--resilience {
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.06), rgba(144, 224, 239, 0.04));
  border: 1px solid rgba(0, 150, 199, 0.15);
}
.na-pillar-card--excellence {
  background: linear-gradient(135deg, rgba(0, 53, 84, 0.06), rgba(0, 53, 84, 0.03));
  border: 1px solid rgba(0, 53, 84, 0.12);
}
.na-pillar-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.na-pillar-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.na-pillar-card--innovation .na-pillar-card__title  { color: var(--ocean); }
.na-pillar-card--sustainability .na-pillar-card__title { color: var(--nc-emerald); }
.na-pillar-card--resilience .na-pillar-card__title  { color: #0096c7; }
.na-pillar-card--excellence .na-pillar-card__title  { color: var(--nc-ocean-deep); }
.na-pillar-card__text {
  font-size: 0.835rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ── Stats Band ───────────────────────────────────────────── */
.na-stats-band {
  background: var(--charcoal);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.na-stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 119, 182, 0.15) 0%, transparent 40%, rgba(0, 119, 182, 0.1) 100%);
}
.na-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .na-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.na-stat-block {
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s;
}
.na-stat-block:hover {
  background: rgba(0, 119, 182, 0.1);
}
.na-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--seafoam), white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.na-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.na-stat-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}

/* ── Vision / History ─────────────────────────────────────── */
.na-vision {
  background: var(--nc-mist);
  padding: clamp(5rem, 8vw, 8rem) 0;
}
.na-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .na-vision__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.na-vision__history p {
  color: #5a6a7a;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Timeline */
.na-timeline {
  margin-top: 2.5rem;
  position: relative;
  padding-left: 2rem;
}
.na-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--ocean), var(--seafoam), rgba(144, 224, 239, 0.2));
  border-radius: 2px;
}
.na-timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}
.na-timeline-item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ocean);
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
}
.na-timeline-item__year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.3rem;
}
.na-timeline-item__text {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.6;
}

/* Excellence Panel */
.na-excellence-panel {
  background: linear-gradient(135deg, var(--nc-ocean-deep) 0%, var(--ocean) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.na-excellence-panel::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(144, 224, 239, 0.08);
}
.na-excellence-panel::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
}
.na-excellence-panel h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.na-excellence-panel > p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.na-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}
.na-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}
.na-checklist-item:hover {
  background: rgba(255, 255, 255, 0.12);
}
.na-checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(144, 224, 239, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.na-checklist-icon svg {
  width: 11px;
  height: 11px;
  color: var(--seafoam);
}
.na-checklist-text {
  font-size: 0.855rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.na-checklist-text strong {
  display: block;
  font-weight: 700;
  color: white;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

/* ── Partners Section ─────────────────────────────────────── */
.na-partners {
  background: white;
  padding: 5rem 0;
}
.na-section-header--center {
  text-align: center;
}
.na-display-md {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.na-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--seafoam));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.na-divider--center {
  margin-left: auto;
  margin-right: auto;
}
.na-partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .na-partners__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .na-partners__grid {
    grid-template-columns: 1fr;
  }
}
.na-partner-card {
  padding: 2rem;
  border: 1px solid rgba(0, 119, 182, 0.1);
  border-radius: 14px;
  transition: all 0.3s var(--nc-ease);
}
.na-partner-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--nc-shadow-md);
  transform: translateY(-3px);
}
.na-partner-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}
.na-partner-card__desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ── CTA Band ─────────────────────────────────────────────── */
.na-cta-band {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--ocean-dark) 60%, var(--ocean) 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.na-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 119, 182, 0.2), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(144, 224, 239, 0.08), transparent 60%);
}
.na-cta-band__content {
  position: relative;
  z-index: 1;
}
.na-cta-band__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.na-cta-band__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.na-cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.na-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: white;
  color: var(--ocean);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.na-btn-white:hover {
  background: var(--seafoam);
  color: var(--nc-ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.na-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.na-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ============================================================
   PROJECTS PAGE  (np- prefix — avoids all existing class conflicts)
   ============================================================ */

/* ── Force solid navbar on projects page ──────────────────── */
.np-page #navbar {
  background: var(--ocean-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* ── Container ────────────────────────────────────────────── */
.np-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Page Hero ────────────────────────────────────────────── */
.np-hero {
  position: relative;
  padding: 11rem 0 5rem;
  background: var(--charcoal);
  overflow: hidden;
}
.np-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--nc-ocean-deep) 50%, rgba(0, 119, 182, 0.3) 100%);
  z-index: 0;
}
.np-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(0, 180, 216, 0.12) 0%, transparent 60%);
}
.np-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(144, 224, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 224, 239, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.np-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.np-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.0;
  margin: 0.75rem 0 1.25rem;
}
.np-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--seafoam), var(--nc-ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.np-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  line-height: 1.8;
}

/* ── Filter Bar ───────────────────────────────────────────── */
.np-filter-section {
  background: white;
  border-bottom: 1px solid rgba(0, 119, 182, 0.08);
  position: sticky;
  top: 80px;
  z-index: 100;
}
.np-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 0;
}
.np-filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 119, 182, 0.15);
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s;
}
.np-filter-btn:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  background: rgba(0, 119, 182, 0.04);
}
.np-filter-btn.active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

/* ── Projects Grid ────────────────────────────────────────── */
.np-projects-section {
  background: white;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.np-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .np-projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .np-projects-grid { grid-template-columns: 1fr; }
}

/* ── Project Card ─────────────────────────────────────────── */
.np-project-card {
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s var(--nc-ease);
  background: white;
  cursor: pointer;
}
.np-project-card:hover {
  border-color: var(--ocean);
  box-shadow: var(--nc-shadow-md);
  transform: translateY(-5px);
}
.np-project-card__visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.np-project-card__visual--ports {
  background: linear-gradient(135deg, var(--nc-ocean-deep), var(--ocean));
}
.np-project-card__visual--modeling {
  background: linear-gradient(135deg, #003d66, var(--nc-ocean-light));
}
.np-project-card__visual--flood {
  background: linear-gradient(135deg, #002b40, #0096c7);
}
.np-project-card__flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--seafoam);
  backdrop-filter: blur(8px);
}
.np-project-card__year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.np-project-card__icon {
  font-size: 3rem;
  opacity: 0.4;
  transition: transform 0.3s, opacity 0.3s;
}
.np-project-card:hover .np-project-card__icon {
  transform: scale(1.15);
  opacity: 0.65;
}
.np-project-card__body {
  padding: 1.5rem;
}
.np-project-card__client {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}
.np-project-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.np-project-card__desc {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.65;
}
.np-project-card__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.78rem;
}

/* Geo badges */
.np-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}
.np-geo-badge--india    { background: #fff3cd; color: #856404; }
.np-geo-badge--uae      { background: #d4edda; color: #155724; }
.np-geo-badge--oman     { background: #cce5ff; color: #004085; }
.np-geo-badge--global   { background: #e2d9f3; color: #4a235a; }
.np-geo-badge--india2   { background: #fde8e8; color: #92400e; }

/* ── Project Modal ────────────────────────────────────────── */
.np-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--nc-ease);
}
.np-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.np-modal-box {
  background: white;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--nc-ease);
  box-shadow: 0 20px 60px rgba(0, 53, 84, 0.3);
}
.np-modal-overlay.active .np-modal-box {
  transform: translateY(0) scale(1);
}
.np-modal-header {
  background: linear-gradient(135deg, var(--nc-ocean-deep), var(--ocean));
  padding: 2rem 2.5rem;
  border-radius: 16px 16px 0 0;
  position: relative;
  color: white;
}
.np-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.np-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.np-modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.75rem;
}
.np-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}
.np-modal-body {
  padding: 2rem 2.5rem;
}
.np-modal-section {
  margin-bottom: 1.75rem;
}
.np-modal-section:last-child {
  margin-bottom: 0;
}
.np-modal-section__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}
.np-modal-section__label--outcome {
  color: var(--nc-emerald);
}
.np-modal-section__text {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .np-modal-header,
  .np-modal-body { padding: 1.5rem; }
  .np-modal-title { font-size: 1.1rem; }
}

/* ── CTA Band ─────────────────────────────────────────────── */
.np-cta-band {
  background: linear-gradient(135deg, var(--nc-ocean-deep) 0%, var(--ocean) 60%, var(--nc-ocean-light) 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.np-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 119, 182, 0.2), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(144, 224, 239, 0.08), transparent 60%);
}
.np-cta-band__content {
  position: relative;
  z-index: 1;
}
.np-cta-band__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.np-cta-band__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.np-cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.np-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: white;
  color: var(--ocean);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.np-btn-white:hover {
  background: var(--seafoam);
  color: var(--nc-ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.np-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.np-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ── Empty state ──────────────────────────────────────────── */
.np-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: #9ca3af;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE (ns-)
   newservices.html — matches services.html design
   ═══════════════════════════════════════════════════════════ */

/* ── Container ──────────────────────────────────────────────── */
.ns-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Page hero ──────────────────────────────────────────────── */
.ns-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.ns-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #03045E 0%, #023E8A 50%, #0077B6 100%);
}
.ns-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(144,224,239,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144,224,239,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ns-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.ns-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90E0EF;
  margin-bottom: 0.75rem;
}
.ns-display-lg {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.ns-display-lg em {
  font-style: italic;
  color: #90E0EF;
}
.ns-hero__content > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ── Section base ───────────────────────────────────────────── */
.ns-section {
  padding: 6rem 0;
  background: white;
}
.ns-section--dark {
  background: #03045E;
  color: white;
}
.ns-section--mist {
  background: #F0F5F8;
}

/* ── Service grid ───────────────────────────────────────────── */
.ns-svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .ns-svc-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Icon row ───────────────────────────────────────────────── */
.ns-icon-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.ns-svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ns-svc-icon--ocean { background: rgba(0,119,182,0.12); }
.ns-svc-icon--model { background: rgba(144,224,239,0.15); }
.ns-svc-icon--water { background: rgba(0,180,216,0.12); }
.ns-svc-icon--eco   { background: rgba(45,106,79,0.12); }

.ns-svc-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0077B6;
  margin-bottom: 0.25rem;
}
.ns-section--dark .ns-svc-number { color: #90E0EF; }

.ns-svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: #03045E;
  margin: 0;
}
.ns-svc-title--dark { color: white; }

/* ── Divider ────────────────────────────────────────────────── */
.ns-divider {
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, #0077B6, #90E0EF);
  border-radius: 2px;
  margin: 1.25rem 0;
}
.ns-divider--center { margin: 1.25rem auto; }

/* ── Description ────────────────────────────────────────────── */
.ns-svc-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 1.5rem;
}
.ns-svc-desc--dark { color: rgba(255,255,255,0.75); }

/* ── Badges ─────────────────────────────────────────────────── */
.ns-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.ns-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.ns-badge--ocean {
  background: rgba(0,119,182,0.1);
  color: #0077B6;
  border: 1px solid rgba(0,119,182,0.2);
}
.ns-badge--dark {
  background: rgba(144,224,239,0.12);
  color: #90E0EF;
  border: 1px solid rgba(144,224,239,0.25);
}

/* ── Callout ────────────────────────────────────────────────── */
.ns-callout {
  background: rgba(0,119,182,0.06);
  border-left: 3px solid #0077B6;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.ns-callout__head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0077B6;
  margin-bottom: 0.5rem;
}
.ns-callout__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #374151;
  margin: 0;
}

/* ── Sub-cards (Coastal & Marine) ───────────────────────────── */
.ns-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 480px) {
  .ns-sub-grid { grid-template-columns: 1fr; }
}
.ns-sub-card {
  background: #F8FBFE;
  border: 1px solid rgba(0,119,182,0.12);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ns-sub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,119,182,0.12);
}
.ns-sub-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.ns-sub-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #03045E;
  margin: 0 0 0.5rem;
}
.ns-sub-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* ── Model stack (Numerical Modelling) ──────────────────────── */
.ns-model-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ns-model-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(144,224,239,0.15);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: background 0.2s, border-color 0.2s;
}
.ns-model-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(144,224,239,0.3);
}
.ns-model-item--alert { border-color: rgba(239,68,68,0.3); }
.ns-model-item--alert:hover { border-color: rgba(239,68,68,0.5); }
.ns-mi-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(144,224,239,0.12);
}
.ns-mi-icon--alert { background: rgba(239,68,68,0.12); }
.ns-mi-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.3rem;
}
.ns-mi-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ── Stat row (Numerical Modelling) ─────────────────────────── */
.ns-stat-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
}
.ns-stat-box {
  background: rgba(144,224,239,0.1);
  border: 1px solid rgba(144,224,239,0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 100px;
}
.ns-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #90E0EF;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.ns-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── Checklist (Water Resources) ────────────────────────────── */
.ns-cap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ns-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #F8FBFE;
  border-radius: 8px;
  border: 1px solid rgba(0,119,182,0.08);
}
.ns-cap-check {
  width: 18px;
  height: 18px;
  color: #0077B6;
  flex-shrink: 0;
  margin-top: 2px;
}
.ns-cap-item span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #374151;
}
.ns-cap-item strong { color: #03045E; }

/* ── Section header center (Climate Change) ─────────────────── */
.ns-section-header--center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.ns-display-md {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #03045E;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.ns-section-header--center > p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4B5563;
  margin: 0;
}

/* ── Climate grid ───────────────────────────────────────────── */
.ns-climate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .ns-climate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .ns-climate-grid { grid-template-columns: 1fr; }
}
.ns-climate-card {
  background: white;
  border: 1px solid rgba(0,119,182,0.1);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ns-climate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,119,182,0.1);
}
.ns-cc-badge {
  display: inline-block;
  background: rgba(0,119,182,0.08);
  color: #0077B6;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.ns-cc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #03045E;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.ns-cc-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6B7280;
  margin: 0;
}

/* ── CTA Band ───────────────────────────────────────────────── */
.ns-cta-band {
  background: linear-gradient(135deg, #03045E 0%, #0077B6 100%);
  padding: 5rem 0;
  text-align: center;
}
.ns-cta-band__content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.ns-cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
}
.ns-cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 2rem;
}
.ns-cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ns-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: white;
  color: #03045E;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.ns-btn-white:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.ns-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.ns-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ============================================================
   WORDPRESS THEME ADDITIONS
   Team Grid, Project Modal, Admin-bar offset, WP overrides
   ============================================================ */

/* ── Team Grid ────────────────────────────────────────────── */
.hm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.hm-team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}

.hm-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,119,182,.15);
}

.hm-team-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hm-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-team-photo-placeholder {
  font-size: 4rem;
  opacity: .4;
}

.hm-team-card__info {
  padding: 1.5rem;
}

.hm-team-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: .25rem;
}

.hm-team-card__role {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .75rem;
}

.hm-team-card__bio {
  font-size: .92rem;
  line-height: 1.7;
  color: #6b7280;
}

/* ── Project Modal ────────────────────────────────────────── */
.np-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,4,94,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.np-modal.active {
  display: flex;
}

.np-modal__inner {
  background: white;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}

.np-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--warm-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.np-modal__close:hover {
  background: var(--ocean);
  color: white;
}

.np-modal__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: .75rem 0 1rem;
  line-height: 1.1;
}

.np-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
  font-size: .85rem;
  color: #6b7280;
}

.np-modal__section {
  margin-bottom: 1.25rem;
}

.np-modal__section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .4rem;
}

.np-modal__section p {
  font-size: .95rem;
  line-height: 1.75;
  color: #4a5568;
}

/* ── Admin bar offset ─────────────────────────────────────── */
body.admin-bar #navbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar #navbar { top: 46px; } }

/* ── Custom Logo ─────────────────────────────────────────── */
.custom-logo-link { display: inline-block; }
.custom-logo-link img { height: 44px; width: auto; }

/* ── Contact form error notice ────────────────────────────── */
.nc-form-error-notice {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

/* ── Geo badges (projects) ───────────────────────────────── */
.np-geo-badge--uae    { background: rgba(0,119,182,.12); color: var(--ocean); }
.np-geo-badge--oman   { background: rgba(45,106,79,.12); color: var(--emerald); }
.np-geo-badge--global { background: rgba(3,4,94,.1);    color: var(--ocean-deep); }

/* ── About page hero bg ───────────────────────────────────── */
.na-hero__bg {
  background-image: url('https://dev.hatch-marine.com/wp-content/uploads/2026/03/Fig-1-scaled.jpg');
}

/* ── Services page hero bg ────────────────────────────────── */
.ns-hero__bg {
  background-image: url('https://dev.hatch-marine.com/wp-content/uploads/2026/03/Fig-2-scaled.jpg');
}

/* ── Projects page hero bg ────────────────────────────────── */
.np-hero__bg {
  background-image: url('https://dev.hatch-marine.com/wp-content/uploads/2026/03/Fig-3a-scaled.jpg');
}

/* ── Contact page hero bg ─────────────────────────────────── */
.nc-hero__bg {
  background-image: url('https://dev.hatch-marine.com/wp-content/uploads/2026/03/Fig-4-scaled.jpg');
}

/* ── WP Nav menu overrides ────────────────────────────────── */
.nav-links .menu-item a,
.nav-links > li > a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .5rem .875rem;
  border-radius: 6px;
  transition: all .2s;
  display: block;
}

.nav-links .menu-item a:hover,
.nav-links .current-menu-item > a {
  color: var(--seafoam);
  background: rgba(144,224,239,.1);
}

/* ── Screen reader only ───────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── AOS fallback for clients-scroll ─────────────────────── */
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients-scroll {
  display: flex;
  animation: clientsScroll 30s linear infinite;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE IMPROVEMENTS
   Hamburger animation + mobile layout enhancements
   ============================================================ */

/* ── Hamburger → X animation ────────────────────────────── */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav: full-width links + CTA button ──────────── */
@media (max-width: 900px) {
  .nav-links.open {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav-links.open > li {
    width: 100%;
  }

  .nav-links.open > li > a,
  .nav-links.open .menu-item > a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .nav-links.open .btn-nav-cta {
    display: block !important;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem !important;
  }
}

/* ── About: philosophy image block ──────────────────────── */
@media (max-width: 900px) {
  .na-philosophy__image-wrap {
    height: 320px;
  }
  .na-philosophy__stat-card {
    bottom: 1rem;
    right: 1rem;
  }
  .na-philosophy__hq-tag {
    top: 1rem;
    left: 1rem;
  }
}
@media (max-width: 500px) {
  .na-philosophy__image-wrap {
    height: 220px;
  }
}

/* ── Services: stat row wrap on small screens ───────────── */
@media (max-width: 480px) {
  .ns-stat-row {
    flex-wrap: wrap;
  }
  .ns-stat-box {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
  }
}

/* ── Projects: filter bar horizontal scroll on mobile ───── */
@media (max-width: 560px) {
  .np-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .np-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .np-filter-btn {
    flex-shrink: 0;
  }
}

/* ── Projects modal: compact on small screens ───────────── */
@media (max-width: 480px) {
  .np-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .np-modal__inner {
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }
  .np-modal__title {
    font-size: 1.4rem;
  }
}

/* ── Contact: form panel padding on mobile ──────────────── */
@media (max-width: 480px) {
  .nc-form-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
}

/* ── Hero slider: controls on small screens ─────────────── */
@media (max-width: 480px) {
  .slide-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 7rem;
  }
}

/* ── CTA action buttons: stack on very small screens ────── */
@media (max-width: 400px) {
  .na-cta-band__actions,
  .np-cta-band__actions,
  .ns-cta-band__actions {
    flex-direction: column;
    align-items: center;
  }
  .na-btn-white, .na-btn-ghost,
  .np-btn-white, .np-btn-ghost,
  .ns-btn-white, .ns-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

