/* ==========================================================================
   Neatwin Lanka (Pvt) Ltd - Custom styles (extends Bootstrap 5)
   ========================================================================== */

:root {
  --nw-blue: #1a6dff;
  --nw-blue-600: #0d5ae0;
  --nw-blue-700: #0847cc;
  --nw-navy: #011230;
  --nw-navy-dark: #000d20;
  --nw-navy-deep: #000f23;
  --nw-ink: #0d1424;
  --nw-body: #5b6577;
  --nw-line: #e6e9ef;
  --nw-soft: #f7f8fa;
  --nw-radius: .5rem;
}

/* ---------- Base ---------- */
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--nw-body);
  font-size: .9375rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--nw-ink);
  font-weight: 700;
  letter-spacing: -.02em;
}

a { text-decoration: none; }

.container-nw { max-width: 1240px; }

.text-blue { color: var(--nw-blue) !important; }
.bg-navy { background-color: var(--nw-navy) !important; }
.bg-soft { background-color: var(--nw-soft) !important; }

/* Small uppercase eyebrow label above section headings */
.eyebrow {
  color: var(--nw-blue);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.section-title.title-sm { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.section-pad { padding: 4rem 0; }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: .875rem;
  border-radius: .375rem;
  padding: .65rem 1.15rem;
}

.btn-nw-primary {
  background: linear-gradient(90deg, var(--nw-blue-700), var(--nw-blue));
  border: 1px solid transparent;
  color: #fff;
}
.btn-nw-primary:hover,
.btn-nw-primary:focus { background: var(--nw-blue-700); color: #fff; }

.btn-nw-outline { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-nw-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.btn-nw-light { background: #fff; color: var(--nw-ink); border: 1px solid #fff; }
.btn-nw-light:hover { background: #eef3ff; color: var(--nw-blue-700); }

/* Inline text link with trailing arrow */
.link-arrow {
  color: var(--nw-blue);
  font-weight: 600;
  font-size: .8125rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--nw-navy-dark); color: rgba(255, 255, 255, .85); font-size: .75rem; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }

/* ---------- Navbar ---------- */
.nw-navbar { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.nw-navbar .navbar-brand img { height: 44px; width: auto; }

.nw-navbar .nav-link {
  color: var(--nw-ink);
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem .9rem !important;
  position: relative;
}
.nw-navbar .nav-link:hover { color: var(--nw-blue); }
.nw-navbar .nav-link.active { color: var(--nw-blue); }
.nw-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: -.35rem;
  height: 2px;
  background: var(--nw-blue);
}

.nw-navbar .dropdown-menu {
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  box-shadow: 0 12px 30px rgba(6, 20, 48, .1);
  font-size: .875rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--nw-navy);
  overflow: hidden;
  padding: 4.5rem 0 2.25rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background: url("../images/bg/hero-cnc.png") center/cover no-repeat;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 2% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 16%;
  background: linear-gradient(90deg, var(--nw-navy) 0%, rgba(1, 18, 46, .55) 60%, rgba(1, 18, 46, 0) 100%);
  pointer-events: none;
}
.hero > .container-nw { position: relative; z-index: 2; }

.hero-eyebrow {
  color: #3d8bff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero-title .accent { color: #1a7bff; display: block; }
.hero-lead { color: rgba(255, 255, 255, .78); max-width: 34rem; line-height: 1.8; }

.hero-features { color: #fff; }
.hero-features .item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero-features .item i { font-size: 1.35rem; color: #fff; opacity: .95; }

/* Darkens the foot of the hero so the feature row stays readable over the photo */
.hero-fade {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(1, 18, 46, .95) 0%, rgba(1, 18, 46, .6) 45%, rgba(1, 18, 46, 0) 100%);
  pointer-events: none;
}

/* Blue accent stripe sitting on the hero diagonal */
.hero-stripe {
  position: absolute;
  z-index: 1;
  left: 47%;
  top: 42%;
  width: 10px;
  height: 130px;
  background: #1a6dff;
  transform: skewX(-14deg);
}

/* ---------- Stats bar ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--nw-line); }
.stat { display: flex; gap: 1rem; padding: 1.75rem 1.25rem; height: 100%; }
.stats [class*="col"] + [class*="col"] .stat { border-left: 1px solid var(--nw-line); }
.stat i { font-size: 2rem; color: var(--nw-blue); line-height: 1; }
.stat h3 { font-size: 1.0625rem; margin-bottom: .35rem; line-height: 1.25; }
.stat p { font-size: .8125rem; margin: 0; line-height: 1.6; }

/* ---------- About ---------- */
.about { background: var(--nw-soft); }
.about-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  padding: 2.5rem;
}
.about-list .bi { color: var(--nw-blue); font-size: 1.1rem; line-height: 1; }
.about-list h6 { font-size: .875rem; margin-bottom: .25rem; }
.about-list p { font-size: .8125rem; margin: 0; line-height: 1.65; }

.about-media { position: relative; border-radius: var(--nw-radius); overflow: hidden; min-height: 100%; }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute;
  right: 8%;
  bottom: 4%;
  width: 46%;
  min-width: 230px;
  min-height: 24%;
  background: #091930;
  color: #fff;
  border-radius: .4rem;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}
.about-badge i { font-size: 1.6rem; color: #fff; }
.about-badge span { font-size: .8125rem; font-weight: 600; line-height: 1.4; }

/* ---------- Services ---------- */
.title-rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--nw-line), rgba(230, 233, 239, 0));
}

.service-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  padding: 0 1rem 1.5rem;
  height: 100%;
  overflow: hidden;
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.service-card:hover {
  box-shadow: 0 16px 34px rgba(6, 20, 48, .08);
  transform: translateY(-4px);
  border-color: #cfdcfb;
}
.service-card .thumb { margin: 0 -1rem 1.15rem; }
.service-card .thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #eef0f3;
}
.service-card h3 { font-size: .9375rem; margin: 0 0 .75rem; line-height: 1.35; }
.service-card p { font-size: .8125rem; line-height: 1.65; margin-bottom: 1rem; }

/* ---------- Products ---------- */
.product figure { margin: 0; }
.product img {
  width: 100%;
  aspect-ratio: 1 / .95;
  object-fit: cover;
  border-radius: .35rem;
  background: #eef0f3;
  display: block;
}
.product figcaption {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--nw-ink);
  margin-top: .75rem;
  line-height: 1.4;
}

/* ---------- Capabilities ---------- */
.capabilities { background: var(--nw-navy-dark); color: #fff; }
.capabilities h2 { color: #fff; }
.capabilities p { color: rgba(255, 255, 255, .72); font-size: .875rem; line-height: 1.75; }
.capabilities .eyebrow { color: #3d8bff; }
/* Left edge lines up with the page container, gallery bleeds toward the right */
.cap-wrap {
  padding-left: max(1rem, calc((100vw - 1240px) / 2 + .75rem));
  padding-right: 2.5rem;
}
.cap-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- Group of companies ---------- */
.company-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.company-card:hover { box-shadow: 0 16px 34px rgba(6, 20, 48, .08); transform: translateY(-4px); }
.company-card.is-featured { border-color: var(--nw-blue); }
.company-logo { height: 96px; width: auto; object-fit: contain; margin-bottom: 1.5rem; }
.company-card h3 { font-size: 1.0625rem; line-height: 1.35; margin-bottom: .85rem; }
.company-card .role { font-size: .8125rem; font-weight: 700; color: var(--nw-ink); line-height: 1.5; margin-bottom: .6rem; }
.company-card .desc { font-size: .8125rem; line-height: 1.65; margin-bottom: 1.25rem; }

/* ---------- Why choose us ---------- */
.why-item { display: flex; gap: .6rem; padding: 0 .7rem; height: 100%; }
.why-list .col + .col .why-item { border-left: 1px solid var(--nw-line); }
.why-item i { font-size: 1.4rem; color: var(--nw-blue); line-height: 1; }
.why-item h6 { font-size: .75rem; margin-bottom: .3rem; }
.why-item p { font-size: .75rem; line-height: 1.6; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: linear-gradient(90deg, var(--nw-navy) 0%, #0b2044 55%, #0a1c3c 100%);
  color: #fff;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0 0 0 45%;
  background: url("../images/bg/gal-4.png") center/cover no-repeat;
  opacity: .1;
}
.cta > .container-nw { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.cta p { color: rgba(255, 255, 255, .8); font-size: .875rem; margin: 0; }
.cta-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: .6rem;
  background: linear-gradient(135deg, var(--nw-blue), var(--nw-blue-700));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
}

/* ---------- Footer ---------- */
.footer { background: var(--nw-navy-deep); color: rgba(255, 255, 255, .68); font-size: .8125rem; }
.footer h5 { color: #fff; font-size: .9375rem; margin-bottom: 1.15rem; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li + li { margin-top: .6rem; }
.footer .brand img { height: 38px; width: auto; }
.footer .socials a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: .3rem;
  background: rgba(255, 255, 255, .07);
  color: #fff;
}
.footer .socials a:hover { background: var(--nw-blue); }
.footer .contact-item { display: flex; gap: .7rem; align-items: flex-start; }
.footer .contact-item i { color: #fff; opacity: .85; margin-top: .15rem; }

.footer-bottom {
  background: var(--nw-navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 2rem; }
  .hero::before { width: 100%; opacity: .22; clip-path: none; }
  .hero::after,
  .hero-stripe { display: none; }
  .stats [class*="col"] + [class*="col"] .stat,
  .why-list .col + .col .why-item { border-left: 0; }
  .cap-wrap { padding-left: 1rem; padding-right: 1rem; }
  .about-card { padding: 1.75rem; }
  .about-media { min-height: 300px; }
  .nw-navbar .nav-link.active::after { display: none; }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 2.75rem 0; }
  .cap-img { height: 150px; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero (dark band with diagonal photo on the right) ---------- */
.page-hero {
  position: relative;
  background: var(--nw-navy);
  overflow: hidden;
  padding: 3.5rem 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 2% 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 16%;
  background: linear-gradient(90deg, var(--nw-navy) 0%, rgba(1, 18, 46, .55) 60%, rgba(1, 18, 46, 0) 100%);
}
.page-hero > .container-nw { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #3d8bff; }
.page-hero h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.page-hero h1 .accent { color: #1a7bff; display: block; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 32rem; line-height: 1.8; }

/* Compact feature row used on the single-service hero */
.hero-mini { display: flex; flex-wrap: wrap; gap: 1.75rem; color: #fff; }
.hero-mini .item { display: flex; align-items: center; gap: .55rem; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.hero-mini .item i { font-size: 1.15rem; }

/* ---------- Breadcrumb / title band ---------- */
.page-bar {
  position: relative;
  background: #061a3a;
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.page-bar .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.45); margin: 0 0 .35rem; font-size: .75rem; }
.page-bar .breadcrumb a { color: #3d8bff; }
.page-bar .breadcrumb-item + .breadcrumb-item::before { content: ">"; color: rgba(255, 255, 255, .45); }
.page-bar .breadcrumb-item.active { color: rgba(255, 255, 255, .75); }
.page-bar h2 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin-bottom: .3rem; }
.page-bar p { color: rgba(255, 255, 255, .7); font-size: .8125rem; margin: 0; }
.page-bar .watermark { height: 42px; width: auto; opacity: .95; }

/* ---------- Filter chips + search ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--nw-line);
  background: #fff;
  color: var(--nw-ink);
  border-radius: .375rem;
  padding: .5rem .85rem;
  font-size: .8125rem;
  font-weight: 600;
  transition: all .2s ease;
}
.chip:hover { border-color: var(--nw-blue); color: var(--nw-blue); }
.chip.active { background: var(--nw-blue-700); border-color: var(--nw-blue-700); color: #fff; }
.search-box { position: relative; min-width: 230px; }
.search-box .form-control { border-color: var(--nw-line); font-size: .8125rem; padding: .55rem .95rem; border-radius: .375rem; }
.search-box .form-control:focus { box-shadow: none; border-color: var(--nw-blue); }
.search-box i { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); color: var(--nw-body); font-size: .9rem; }

/* ---------- Service tile (image card) ---------- */
.svc-tile {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.svc-tile:hover { box-shadow: 0 18px 36px rgba(6, 20, 48, .1); transform: translateY(-4px); }
.svc-tile .thumb { position: relative; }
.svc-tile .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.svc-tile .body { padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-tile h3 { font-size: .9375rem; line-height: 1.35; margin-bottom: .6rem; }
.svc-tile p { font-size: .8125rem; line-height: 1.65; margin-bottom: 1rem; }
.svc-tile .link-arrow { margin-top: auto; }

/* ---------- Dark "why choose us" strip ---------- */
.why-strip {
  background: var(--nw-navy);
  border-radius: var(--nw-radius);
  color: #fff;
  padding: 1.5rem 1.25rem;
}
.why-strip .lead-label { color: #3d8bff; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.why-strip .item { display: flex; gap: .7rem; padding: 0 .75rem; height: 100%; }
.why-strip .col + .col .item { border-left: 1px solid rgba(255, 255, 255, .12); }
.why-strip i { font-size: 1.35rem; color: #4d93ff; line-height: 1; }
.why-strip h6 { color: #fff; font-size: .75rem; margin-bottom: .25rem; }
.why-strip p { color: rgba(255, 255, 255, .68); font-size: .6875rem; line-height: 1.55; margin: 0; }

/* ---------- Mission / vision cards ---------- */
.mv-card {
  position: relative;
  background: linear-gradient(135deg, #041b3f 0%, #061a3a 60%, #0a2350 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--nw-radius);
  padding: 1.75rem;
  color: #fff;
  height: 100%;
  display: flex;
  gap: 1.25rem;
}
.mv-card .icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: .6rem;
  background: rgba(26, 109, 255, .15);
  border: 1px solid rgba(77, 147, 255, .35);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #4d93ff;
}
.mv-card .eyebrow { color: #4d93ff; }
.mv-card p { color: rgba(255, 255, 255, .85); font-size: .875rem; line-height: 1.75; margin: 0; }

/* ---------- About: organization mosaic ---------- */
.org-grid { display: grid; gap: .6rem; grid-template-columns: repeat(4, 1fr); }
.org-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: .35rem; display: block; }
.org-grid .a { grid-column: span 2; grid-row: span 2; aspect-ratio: 16 / 9; }
.org-grid .b { grid-column: span 2; aspect-ratio: 16 / 7; }
.org-grid .c { grid-column: span 2; aspect-ratio: 16 / 6; }
.org-grid .d,
.org-grid .e { aspect-ratio: 16 / 9; }
.org-grid .f { grid-column: span 2; aspect-ratio: 16 / 6; }

/* ---------- Gallery tiles ---------- */
.gallery-tile {
  position: relative;
  display: block;
  border-radius: .4rem;
  overflow: hidden;
  height: 100%;
  background: #0b1220;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem .9rem .8rem;
  background: linear-gradient(0deg, rgba(4, 10, 22, .92) 15%, rgba(4, 10, 22, 0) 100%);
  color: #fff;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.gallery-tile .cap i { font-size: 1rem; opacity: .85; margin-top: .1rem; }
.gallery-tile .cap strong { display: block; font-size: .8125rem; font-weight: 700; line-height: 1.3; }
.gallery-tile .cap span { font-size: .6875rem; color: rgba(255, 255, 255, .75); line-height: 1.4; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; grid-auto-rows: 132px; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; position: relative; }
.process .step { text-align: center; position: relative; padding: 0 .5rem; }
.process .step .dot {
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--nw-blue);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}
.process .step::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  border-top: 1px dashed #c9d6ee;
  z-index: 1;
}
.process .step:last-child::after { display: none; }
.process .num { color: var(--nw-blue); font-size: .75rem; font-weight: 700; margin-bottom: .35rem; }
.process h6 { font-size: .8125rem; margin-bottom: .5rem; }
.process p { font-size: .75rem; line-height: 1.6; margin: 0; }

/* ---------- Spec items (single service capabilities) ---------- */
.spec { display: flex; gap: .75rem; align-items: flex-start; padding: .35rem 0; }
.spec .ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: .4rem;
  background: #eaf1ff;
  color: var(--nw-blue);
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.spec h6 { font-size: .75rem; margin-bottom: .15rem; }
.spec p { font-size: .75rem; margin: 0; line-height: 1.5; }
.panel {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  padding: 1.75rem;
}

/* ---------- Contact ---------- */
.form-label-sm { font-size: .8125rem; }
.contact-form .form-control {
  border-color: var(--nw-line);
  border-radius: .375rem;
  font-size: .8125rem;
  padding: .7rem .9rem;
}
.contact-form .form-control:focus { border-color: var(--nw-blue); box-shadow: 0 0 0 .2rem rgba(26, 109, 255, .12); }
.info-tile { display: flex; gap: 1rem; padding: 1.15rem .5rem; height: 100%; }
.info-tile .ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: .5rem;
  background: #eaf1ff;
  color: var(--nw-blue);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
.info-tile h6 { font-size: .8125rem; margin-bottom: .35rem; }
.info-tile p { font-size: .8125rem; line-height: 1.6; margin: 0; }
.info-grid .col-sm-6 { border-bottom: 1px solid var(--nw-line); }
.info-grid .col-sm-6:nth-child(odd) { border-right: 1px solid var(--nw-line); }
.info-grid .col-sm-6:nth-last-child(-n+2) { border-bottom: 0; }
.map-card { background: #fff; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); overflow: hidden; }
.map-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.person-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  overflow: hidden;
  display: flex;
  gap: 1.25rem;
  height: 100%;
}
.person-card img { width: 130px; flex: 0 0 130px; object-fit: cover; display: block; }
.person-card .body { padding: 1.25rem 1.25rem 1.25rem 0; }
.person-card h5 { font-size: 1rem; margin-bottom: .25rem; }
.person-card .role { color: var(--nw-blue); font-size: .8125rem; font-weight: 600; margin-bottom: .85rem; }
.person-card .row-line { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; margin-bottom: .4rem; }
.person-card .row-line i { color: var(--nw-body); }

/* ---------- Product tiles (products page) ---------- */
.prod-tile {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: var(--nw-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}
.prod-tile:hover { box-shadow: 0 18px 36px rgba(6, 20, 48, .1); transform: translateY(-4px); }
.prod-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #eef0f3; }
.prod-tile .body { padding: 1.1rem 1.15rem 1.35rem; }
.prod-tile h3 { font-size: .9375rem; margin-bottom: .5rem; }
.prod-tile p { font-size: .8125rem; line-height: 1.6; margin: 0; }

/* ---------- Responsive (inner pages) ---------- */
@media (max-width: 991.98px) {
  .page-hero::before { width: 100%; opacity: .2; clip-path: none; }
  .page-hero::after { display: none; }
  .why-strip .col + .col .item { border-left: 0; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .process .step::after { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid .a, .org-grid .b, .org-grid .c, .org-grid .f { grid-column: span 2; grid-row: auto; }
  .info-grid .col-sm-6:nth-child(odd) { border-right: 0; }
}
@media (max-width: 575.98px) {
  .process { grid-template-columns: 1fr; }
  .person-card { flex-direction: column; }
  .person-card img { width: 100%; flex: none; height: 200px; }
  .person-card .body { padding: 0 1.25rem 1.25rem; }
}

/* Per-page hero photos (paths resolve against this stylesheet) */
.hero-services::before { background-image: url("../images/bg/sv-hero.png"); }
.hero-about::before { background-image: url("../images/bg/hero-cnc.png"); }
.hero-projects::before { background-image: url("../images/bg/pj-hero.png"); }
.hero-service::before { background-image: var(--hero-bg); }
.hero-contact::before { background-image: url("../images/bg/ct-hero.png"); }
.hero-products::before { background-image: url("../images/bg/sv-custom-molded.png"); }

/* =========================================
   Pinterest Masonry Gallery
   ========================================= */

.pin-gallery {
    width: 100%;

    column-count: 4;
    column-gap: 20px;
}


/* =========================================
   Gallery Item
   ========================================= */

.pin-gallery__item {
    display: block;

    width: 100%;
    margin: 0 0 20px;

    color: inherit;
    text-decoration: none;

    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;

    overflow: hidden;
}

.pin-gallery__image-wrap {
    position: relative;

    display: block;
    width: 100%;

    overflow: hidden;

    border-radius: 14px;
    background-color: #f3f3f3;

    transform: translateZ(0);
}


/* =========================================
   Image
   ========================================= */

.pin-gallery__image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    vertical-align: middle;

    transition: transform 0.5s ease;
}

.pin-gallery__item:hover .pin-gallery__image {
    transform: scale(1.035);
}


/* =========================================
   Overlay
   ========================================= */

.pin-gallery__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.30) 42%,
        rgba(0, 0, 0, 0) 72%
    );

    opacity: 0.65;

    transition: opacity 0.3s ease;
}

.pin-gallery__item:hover .pin-gallery__overlay {
    opacity: 1;
}


/* =========================================
   Caption
   ========================================= */

.pin-gallery__caption {
    display: flex;
    align-items: center;

    width: 100%;
    min-width: 0;
    gap: 10px;

    color: #fff;

    transform: translateY(8px);

    transition: transform 0.3s ease;
}

.pin-gallery__item:hover .pin-gallery__caption {
    transform: translateY(0);
}

.pin-gallery__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pin-gallery__icon i {
    font-size: 17px;
}

.pin-gallery__text {
    display: block;

    min-width: 0;
    overflow: hidden;
}

.pin-gallery__text strong {
    display: block;

    overflow: hidden;

    color: #fff;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.pin-gallery__text small {
    display: block;

    margin-top: 3px;
    overflow: hidden;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    line-height: 1.35;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================
   Empty Gallery
   ========================================= */

.pin-gallery-empty {
    padding: 70px 20px;

    text-align: center;

    border: 1px solid #e8e8e8;
    border-radius: 14px;

    background: #f8f8f8;
}

.pin-gallery-empty i {
    display: block;

    margin-bottom: 16px;

    color: #999;

    font-size: 42px;
}

.pin-gallery-empty h3 {
    margin-bottom: 8px;
}

.pin-gallery-empty p {
    margin: 0;

    color: #777;
}


/* =========================================
   Large Tablet
   ========================================= */

@media (max-width: 1199.98px) {
    .pin-gallery {
        column-count: 3;
        column-gap: 18px;
    }

    .pin-gallery__item {
        margin-bottom: 18px;
    }
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 991.98px) {
    .pin-gallery {
        column-count: 2;
        column-gap: 16px;
    }

    .pin-gallery__item {
        margin-bottom: 16px;
    }
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 575.98px) {
    .pin-gallery {
        column-count: 2;
        column-gap: 10px;
    }

    .pin-gallery__item {
        margin-bottom: 10px;
    }

    .pin-gallery__image-wrap {
        border-radius: 9px;
    }

    .pin-gallery__overlay {
        padding: 10px;

        opacity: 0.8;
    }

    .pin-gallery__caption {
        gap: 7px;

        transform: none;
    }

    .pin-gallery__icon {
        flex-basis: 30px;

        width: 30px;
        height: 30px;
    }

    .pin-gallery__icon i {
        font-size: 14px;
    }

    .pin-gallery__text strong {
        font-size: 12px;
    }

    .pin-gallery__text small {
        font-size: 10px;
    }
}


/* =========================================
   Very Small Mobile
   ========================================= */

@media (max-width: 360px) {
    .pin-gallery {
        column-count: 1;
    }
}