/* ==========================================================================
   Nirag Infotech — homepage redesign layer
   File: wp-content/themes/narang-new/assets/css/redesign.css
   Loaded on the front page only, AFTER motion.css. Pairs with redesign.js.

   - Footer is not touched.
   - Theme classes that are known (hero chips, hire cards, testimonials,
     service cards) are styled directly, so they render without waiting for JS.
   - Section-level work (backgrounds, CTA band, eyebrows, stat badge) uses
     .nr-* classes that redesign.js adds after finding each section by its
     class or heading text.
   - motion.css owns ::before/::after on .serach-forhire, .blog-content,
     .img-blog and .inner-slide; this file leaves those pseudo-elements alone
     and uses injected elements instead.
   ========================================================================== */

:root {
  --nr-navy: #0b1c46;
  --nr-navy-2: #11265c;
  --nr-indigo: #303399;
  --nr-blue: #016ecc;
  --nr-cyan: #2aabe1;
  --nr-sky: #19d2fe;
  --nr-ink: #14213d;
  --nr-muted: #55617c;
  --nr-mist: #f2f7fc;
  --nr-line: rgba(11, 28, 70, .1);
  --nr-ease: cubic-bezier(.16, 1, .3, 1);
  --nr-serif: "Frank Ruhl Libre", Georgia, serif;
  --nr-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

@keyframes nr-draw   { from { stroke-dashoffset: 1; } }
@keyframes nr-blink  { 50% { opacity: 0; } }
@keyframes nr-spin   { to { --nr-angle: 360deg; } }
@keyframes nr-turn   { to { rotate: 1turn; } }
@keyframes nr-drift  { to { translate: 4% 6%; scale: 1.08; } }
@keyframes nr-cue    { 0% { opacity: 0; translate: 0 -3px; } 35% { opacity: 1; } 80%, 100% { opacity: 0; translate: 0 9px; } }
@keyframes nr-in     { from { opacity: 0; } }


/* --------------------------------------------------------------------------
   0. Shared — section hosts, decor layers, eyebrows, type
   -------------------------------------------------------------------------- */
.nr-host { isolation: isolate; }

/* Decor sits under the dot canvas (z -1) and under all content */
.nr-decor {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  animation: nr-in 1.2s var(--nr-ease) both;
}

html .nr-s h2 { text-wrap: balance; }
html .nr-s p  { text-wrap: pretty; }

/* Eyebrow above section headings: small caps label with a leading rule */
html .nr-s .nr-eyebrow {
  display: inline-block;
  padding-left: 32px;
  background: linear-gradient(currentColor, currentColor) 0 54% / 22px 1.5px no-repeat;
  font-family: var(--nr-sans) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Blueprint grid used on the dark sections */
.nr-grid-dark {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 20%, transparent 78%);
}


/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.nr-decor--hero .nr-glow {
  position: absolute;
  border-radius: 50%;
}
.nr-decor--hero .nr-glow--a {           /* lifts the headline zone */
  left: 50%;
  top: 8%;
  width: min(62vw, 900px);
  aspect-ratio: 1.6;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
}
.nr-decor--hero .nr-glow--b {
  left: -12%;
  top: -24%;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(25, 210, 254, .26), rgba(25, 210, 254, 0));
}
.nr-decor--hero .nr-glow--c {
  right: -14%;
  bottom: -30%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(48, 51, 153, .18), rgba(48, 51, 153, 0));
}

html .home-banner-wrapper h1.banner-hdng,
html .nr-s--hero h1 {
  color: var(--nr-navy);
  letter-spacing: -.012em;
  line-height: 1.16;
  text-wrap: balance;
}

/* "Nirag Infotech" in the headline */
.nr-grad {
  background: linear-gradient(100deg, var(--nr-indigo) 0%, var(--nr-blue) 55%, var(--nr-cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Hand-drawn underline under "Impossible" */
.nr-scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.nr-scribble svg {
  position: absolute;
  left: -3%;
  bottom: -.24em;
  width: 106%;
  height: .42em;
  overflow: visible;
  pointer-events: none;
}
.nr-scribble path {
  fill: none;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

html .home-banner-wrapper .home-content-wrap p {
  max-width: 62ch;
  margin-inline: auto;
  color: #4a587a;
}

/* Feature chips: frosted tiles */
html .home-banner-wrapper ul.banner-icon-list > li {
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
          backdrop-filter: blur(10px) saturate(1.25);
  box-shadow: 0 1px 0 rgba(11, 28, 70, .04), 0 18px 36px -28px rgba(11, 28, 70, .5);
  transition: background-color .4s var(--nr-ease), border-color .4s var(--nr-ease),
              box-shadow .4s var(--nr-ease), translate .5s var(--nr-ease);
}
html .home-banner-wrapper ul.banner-icon-list > li:hover {
  border-color: rgba(42, 171, 225, .45);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 rgba(11, 28, 70, .04), 0 24px 44px -26px rgba(11, 28, 70, .5);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .home-banner-wrapper ul.banner-icon-list > li:hover { translate: 0 -4px; }
}

html .home-banner-wrapper a.tell-btn {
  box-shadow: 0 16px 32px -16px rgba(48, 51, 153, .65);
}
html .home-banner-wrapper a.tell-btn i { border-radius: 50%; }

/* Scroll cue */
.nr-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  width: 22px;
  height: 34px;
  translate: -50% 0;
  border: 1.5px solid rgba(11, 28, 70, .32);
  border-radius: 12px;
  pointer-events: none;
}
.nr-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--nr-indigo);
}
@media (max-width: 1023px), (max-height: 680px) {
  .nr-cue { display: none; }
}


/* --------------------------------------------------------------------------
   2. Marquee band (injected after the hero)
   -------------------------------------------------------------------------- */
.nr-marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(42, 171, 225, .16), transparent 70%),
    var(--nr-navy);
  color: #fff;
}
/* words fade out into the band at both edges */
.nr-marquee::before,
.nr-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 9%;
  pointer-events: none;
}
.nr-marquee::before { left: 0;  background: linear-gradient(90deg, var(--nr-navy), rgba(11, 28, 70, 0)); }
.nr-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--nr-navy), rgba(11, 28, 70, 0)); }
.nr-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.nr-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
html .nr-marquee__item {
  padding-inline: clamp(18px, 2.2vw, 34px);
  font-family: var(--nr-serif) !important;
  font-size: clamp(22px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  color: #fff;
}
html .nr-marquee__item--o {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .6);
}
.nr-marquee__sep {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--nr-sky), var(--nr-cyan));
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}


/* --------------------------------------------------------------------------
   3. "For hire" — illustration + search-result cards
   -------------------------------------------------------------------------- */
.nr-decor--hire {
  background-image:
    linear-gradient(rgba(11, 28, 70, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 70, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 10%, transparent 75%);
}

/* Cards in a row share one height */
html .row > :has(> .serach-forhire),
html .row > :has(> .blog-content-wrap) {
  display: flex;
  flex-direction: column;
}
html .row > * > .serach-forhire { flex: 1; }

html .serach-forhire {
  border: 1px solid var(--nr-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 28, 70, .03), 0 24px 46px -34px rgba(11, 28, 70, .45);
  transition: transform .5s var(--nr-ease), box-shadow .5s var(--nr-ease), border-color .4s var(--nr-ease);
}
html .serach-forhire:hover { border-color: rgba(42, 171, 225, .35); }

/* motion.css draws a gradient rule under the card; keep it inside the rounded corners */
html .serach-forhire::after {
  left: 22px;
  right: 22px;
  bottom: 0;
  border-radius: 3px 3px 0 0;
}

/* The query line looks like a real search field */
html .serach-forhire .nr-pill {
  margin-bottom: 0 !important;   /* the result line sits under it instead */
  border: 1px solid rgba(11, 28, 70, .13);
  border-radius: 12px;
  background: #f5f8fc;
  box-shadow: inset 0 1px 2px rgba(11, 28, 70, .05);
  transition: border-color .3s var(--nr-ease), box-shadow .3s var(--nr-ease), background-color .3s var(--nr-ease);
}
html .serach-forhire:hover .nr-pill {
  border-color: rgba(42, 171, 225, .6);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 171, 225, .12);
}

.nr-q__rest { color: transparent; }
.nr-caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin: 0 1px -.16em;
  background: var(--nr-blue);
  opacity: 0;
}
.nr-typing .nr-caret,
.serach-forhire:hover .nr-caret { opacity: 1; animation: nr-blink 1s steps(1) infinite; }

/* Result line, matching the search-result artwork above */
html .nr-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-family: var(--nr-sans) !important;
  font-size: 12px;
  line-height: 1.3;
  color: var(--nr-ink);
}
/* the theme's `* { font-family }` rule would otherwise hit these injected spans */
html .nr-crumb * { font-family: var(--nr-sans) !important; }
html .nr-q, html .nr-q * { font-family: inherit !important; }

.nr-crumb__fav {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nr-cyan), var(--nr-indigo));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.nr-crumb__path { color: var(--nr-muted); }

html .serach-forhire p {
  color: var(--nr-muted);
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   4. About (navy)
   -------------------------------------------------------------------------- */
.nr-decor--about .nr-glow {
  position: absolute;
  border-radius: 50%;
}
.nr-decor--about .nr-glow--a {
  left: -10%;
  top: -30%;
  width: min(60vw, 820px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(42, 171, 225, .2), transparent);
}
.nr-decor--about .nr-glow--b {
  right: -18%;
  bottom: -40%;
  width: min(60vw, 820px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(48, 51, 153, .45), transparent);
}

html .nr-s--about h2 { color: #fff; }
html .nr-s--about p  { color: rgba(255, 255, 255, .74); }
html .nr-s--about .nr-eyebrow { color: var(--nr-sky); }

html .nr-s--about img.nr-about-img {
  border-radius: 18px;
  box-shadow: -18px 18px 0 -2px rgba(42, 171, 225, .16), 0 34px 60px -30px rgba(0, 0, 0, .65);
}

/* "With 10 years of experience…" becomes a stat card */
html .nr-s--about .nr-caption {
  display: flow-root;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  text-align: left;
}
.nr-stat {
  float: left;
  display: flex;
  flex-direction: column;
  margin: 2px 18px 2px 0;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, .16);
  font-style: normal;
  line-height: 1;
}
html .nr-stat__num {
  font-family: var(--nr-serif) !important;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 10%, var(--nr-sky) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html .nr-stat__label {
  margin-top: 6px;
  font-family: var(--nr-sans) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}


/* --------------------------------------------------------------------------
   5. Testimonials
   -------------------------------------------------------------------------- */
.nr-decor--work .nr-mark {
  position: absolute;
  left: 4%;
  top: 28px;
  font-family: var(--nr-serif);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 700;
  line-height: .8;
  color: rgba(42, 171, 225, .09);
}

/* Equal-height slides */
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-stage { display: flex; }
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-item  { display: flex; }
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-item > * { flex: 1; min-width: 0; }
/* room for the hover lift and shadow inside the clipped stage */
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-stage-outer {
  padding-block: 14px 34px;
  margin-block: -14px -34px;
}

html .inner-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* theme centres it, which misaligns the quote icons */
  height: 100%;
  border: 1px solid var(--nr-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 1px 0 rgba(11, 28, 70, .03), 0 26px 50px -38px rgba(11, 28, 70, .5);
  padding: clamp(24px, 2.4vw, 34px);
}
html .inner-slide p {
  font-style: normal;
  line-height: 1.75;
  color: #44506b;
}
html .inner-slide .nr-quote-ico {
  width: 30px !important;
  height: auto;
  margin: 0 auto 18px 0;   /* aligned with the quote text */
  opacity: .9;
}
html .inner-slide .nr-author {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--nr-line);
}
html .inner-slide .nr-author img {
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(42, 171, 225, .45);
}
.nr-avatar {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nr-cyan), var(--nr-indigo));
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(42, 171, 225, .45);
  color: #fff;
  vertical-align: middle;
}
.nr-avatar svg { width: 20px; height: 20px; }

/* Arrows (the theme positions them either side of the dots — size left as is) */
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-nav button:is(.owl-prev, .owl-next) {
  color: var(--nr-navy) !important;
  transition: color .3s var(--nr-ease), translate .4s var(--nr-ease);
}
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-nav button:is(.owl-prev, .owl-next):hover { color: var(--nr-cyan) !important; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html :is(.home-slider, .nr-s--work .owl-carousel) .owl-nav button.owl-prev:hover { translate: -4px 0; }
  html :is(.home-slider, .nr-s--work .owl-carousel) .owl-nav button.owl-next:hover { translate: 4px 0; }
}
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px;
  border-radius: 99px;
  background: rgba(11, 28, 70, .18);
  transition: width .45s var(--nr-ease), background-color .3s var(--nr-ease);
}
html :is(.home-slider, .nr-s--work .owl-carousel) .owl-dots .owl-dot.active span {
  width: 26px;
  background: linear-gradient(90deg, var(--nr-cyan), var(--nr-indigo));
}


/* --------------------------------------------------------------------------
   6. SEO CTA band — a gradient panel bridging the white and navy sections
   -------------------------------------------------------------------------- */
html .nr-s--band.nr-bridge {
  padding-block: 0 !important;   /* the panel is the section now; neighbours keep their own spacing */
  background: linear-gradient(180deg,
    var(--nr-prev, #fff) 0 var(--nr-split, 50%),
    var(--nr-next, var(--nr-navy)) var(--nr-split, 50%) 100%) !important;
}
html .nr-clear-bg {
  background: transparent !important;
  box-shadow: none !important;
}

html .nr-band__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 72px);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 68px) clamp(26px, 5vw, 76px);
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(25, 210, 254, .28), transparent 60%),
    linear-gradient(118deg, #1f2780 0%, var(--nr-indigo) 32%, var(--nr-blue) 74%, #1aa6df 100%);
  box-shadow: 0 44px 90px -44px rgba(11, 28, 70, .75);
  color: #fff;
  text-align: left !important;   /* overrides Bootstrap .text-center */
}
html .nr-band__panel.nr-band__panel--row { margin-inline: 0; }
html .nr-band__panel::before,
html .nr-band__panel::after { display: none; }   /* old clearfix/decor would become grid cells */

html .nr-band__panel > .nr-band__copy { grid-column: 1; }
html .nr-band__panel > .nr-band__cta  { grid-column: 2; grid-row: 1 / span 4; justify-self: end; margin: 0 !important; }
/* live site wraps the link in <button class="conact-us"> with a fixed 28px height */
html .nr-band__panel > button.nr-band__cta {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  line-height: normal;
}

/* `body .nr-s--band` out-ranks the theme's `section.online-marketing.color-bg h6/h2 { … !important }` */
html body .nr-s--band .nr-band__panel :is(h1, h2, h3, h4, h5, h6, p),
html body .nr-s--band .nr-band__panel h2 * {
  color: #fff !important;
  text-align: left !important;
}
html .nr-band__panel h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.14;
  letter-spacing: -.01em;
  text-wrap: balance;
}
html body .nr-s--band .nr-band__panel .nr-eyebrow {
  justify-self: start;
  width: fit-content;
  margin: 0 0 14px !important;
  color: rgba(255, 255, 255, .78) !important;
}

/* Radar sweep over concentric rings, right side of the panel */
.nr-radar {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -10%;
  width: min(60vw, 600px);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 38px, rgba(255, 255, 255, .09) 38px 39px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
          mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}
.nr-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 290deg, rgba(25, 210, 254, .32) 352deg, rgba(255, 255, 255, .5) 359deg, transparent 360deg);
}

/* Button: white pill with a light beam running round its edge */
html a.nr-band__btn,
html button.nr-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 26px;
  border: 2px solid transparent !important;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--nr-angle), rgba(255, 255, 255, .25) 0deg, var(--nr-sky) 70deg, var(--nr-indigo) 150deg, rgba(255, 255, 255, .25) 220deg) border-box !important;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55);
  color: var(--nr-navy) !important;
  font-family: var(--nr-sans) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: translate .45s var(--nr-ease), box-shadow .4s var(--nr-ease);
}
html .nr-band__btn:hover {
  box-shadow: 0 26px 48px -20px rgba(0, 0, 0, .6);
}
.nr-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--nr-navy);
  color: #fff;
  transition: background-color .3s var(--nr-ease);
}
.nr-arrow svg { width: 14px; height: 14px; transition: translate .4s var(--nr-ease); }
.nr-band__btn:hover .nr-arrow { background: var(--nr-blue); }

@media (max-width: 767px) {
  html .nr-band__panel { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  html .nr-band__panel > .nr-band__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 24px !important; }
  .nr-radar { right: -40%; width: 110vw; }
}


/* --------------------------------------------------------------------------
   7. Our Leading Services (navy) — one card per service, numbered, linked
   -------------------------------------------------------------------------- */
.nr-decor--services .nr-glow {
  position: absolute;
  left: 50%;
  top: -35%;
  width: min(90vw, 1100px);
  aspect-ratio: 2;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 171, 225, .16), transparent);
}
html .nr-s--services h2 { color: #fff; }

html .blog-content-wrap {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .015) 100%);
  transition: transform .5s var(--nr-ease), border-color .4s var(--nr-ease), box-shadow .5s var(--nr-ease);
}
html .blog-content-wrap:hover {
  border-color: rgba(25, 210, 254, .45);
  box-shadow: 0 34px 60px -32px rgba(0, 0, 0, .75), 0 0 0 1px rgba(25, 210, 254, .12);
}
html .blog-content-wrap .img-blog {
  margin: 0 !important;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
html .blog-content-wrap .img-blog img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html .blog-content-wrap .blog-content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
}
html .blog-content-wrap.nr-has-link .blog-content { padding-bottom: 6px; }
html .blog-content-wrap .blog-content :is(h4, h5, h6) {
  margin: 0 0 10px;
  padding-right: 40px;
  color: #fff;
  font-family: var(--nr-sans) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html .blog-content-wrap .blog-content p {
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.7;
}
html .nr-idx {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--nr-sans) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .38);
  transition: color .3s var(--nr-ease);
}
.blog-content-wrap:hover .nr-idx { color: var(--nr-sky); }

html a.nr-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 12px 24px 24px;
  color: var(--nr-sky);
  font-family: var(--nr-sans) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}
html a.nr-card-link:hover { color: #fff; }
/* whole card is the hit area */
.nr-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.nr-card-link svg { width: 14px; height: 14px; transition: translate .4s var(--nr-ease); }
.nr-card-link:focus-visible { outline: none; }
.nr-card-link:focus-visible::after { outline: 2px solid var(--nr-sky); outline-offset: -2px; border-radius: 20px; }


/* --------------------------------------------------------------------------
   8. Career band (only when it sits outside the footer)
   -------------------------------------------------------------------------- */
html .nr-s--career p { max-width: 80ch; }
html .nr-s--career .nr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  box-shadow: 0 14px 28px -16px rgba(48, 51, 153, .6);
}


/* --------------------------------------------------------------------------
   9. Motion — all of it behind prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .nr-decor--hero .nr-glow--b,
  .nr-decor--hero .nr-glow--c { animation: nr-drift 16s ease-in-out infinite alternate; }
  .nr-decor--hero .nr-glow--c { animation-duration: 21s; animation-direction: alternate-reverse; }

  .nr-scribble path            { animation: nr-draw 1.1s var(--nr-ease) 1.1s both; }
  .nr-scribble path:last-child { animation-delay: 1.4s; }

  .nr-cue::before { animation: nr-cue 1.9s var(--nr-ease) infinite; }

  .nr-radar::before      { animation: nr-turn 6s linear infinite; }
  html .nr-band__btn     { animation: nr-spin 3.6s linear infinite; }
  html .nr-band__btn:hover .nr-arrow svg,
  .blog-content-wrap:hover .nr-card-link svg { translate: 3px 0; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .nr-band__btn:hover { translate: 0 -2px; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-decor { animation: none; }
  .nr-caret { display: none; }
}

@media print {
  .nr-decor, .nr-marquee, .nr-cue, .nr-radar { display: none !important; }
}
