/* =========================================================
   NGIS — MAIN STYLESHEET
   Structure:
   1. Variables & Reset
   2. Typography
   3. Layout helpers
   4. Buttons
   5. Preloader
   6. Navbar
   7. Hero (home)
   8. Fast-forward decorative animation
   9. Scroll reveal system
   10. About preview / Services preview / CTA (home)
   11. Page hero (inner pages)
   12. About page
   13. Services page
   14. Contact page
   15. Footer
   16. Utilities
   ========================================================= */

/* ---------- 1. VARIABLES & RESET ---------- */
:root{
  --navy: #071A33;
  --navy-light: #0F2A4A;
  --navy-soft: #12335c;
  --orange: #F58220;
  --orange-dark: #d96c10;
  --white: #FFFFFF;
  --bg-light: #F5F7FA;
  --ink: #1B2733;
  --ink-muted: #5B6B7C;
  --border-soft: rgba(7, 26, 51, 0.08);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --nav-height: 88px;
  --nav-height-scrolled: 68px;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

ul{ list-style: none; margin: 0; padding: 0; }

button{ font-family: inherit; }

.container-ngis{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  
}

section{ position: relative; }

/* ---------- 2. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section-heading{
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  max-width: 640px;
}

.section-sub{
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  max-width: 560px;
  margin-top: 16px;
}

.hero-heading{
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  color: var(--white);
  max-width: 900px;
}

.text-orange{ color: var(--orange); }
.text-navy{ color: var(--navy); }
.text-muted{ color: var(--ink-muted); }

/* ---------- 3. LAYOUT HELPERS ---------- */
.py-section{ padding: clamp(64px, 9vw, 140px) 0; }
.bg-light{ background: var(--bg-light); }
.bg-navy{ background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3{ color: var(--white); }

.row-flex{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}
.col-half{ flex: 1 1 460px; min-width: 0; }

/* ---------- 4. BUTTONS ---------- */
.btn-ngis{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: color .45s var(--ease-soft), border-color .45s var(--ease-soft), transform .3s var(--ease-soft);
  white-space: nowrap;
}

.btn-primary{
  background: var(--orange);
  color: var(--white);
  isolation: isolate;
}
.btn-primary::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateX(-101%);
  transition: transform .5s var(--ease-premium);
  z-index: -1;
}
.btn-primary:hover::before{ transform: translateX(0); }
.btn-primary:hover{ transform: translateY(-2px); }

.btn-primary .btn-track{
  position: relative;
  width: 34px;
  height: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.btn-primary .btn-track .dot{
  position: absolute;
  top: 50%;
  left: -12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transform: translateY(-50%);
  transition: left .55s var(--ease-premium);
}
.btn-primary:hover .btn-track .dot{ left: 26px; }

.btn-outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover{
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-outline-navy{
  background: transparent;
  color: var(--navy);
  border-color: var(--border-soft);
}
.btn-outline-navy:hover{
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}
.link-arrow svg{ transition: transform .35s var(--ease-premium); }
.link-arrow:hover svg{ transform: translateX(6px); }
.link-arrow:hover{ color: var(--orange); }

/* ---------- 5. PRELOADER ---------- */
/* /* =========================================
   PAGE PRELOADER
========================================= */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000000;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

/* Loader finished */
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Loader content */
.loader-content {
  width: 180px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Your animated GIF */
.loader-mark {
  width: 120px;
  height: 120px;

  object-fit: contain;
  display: block;
}

/* Loading bar */
.loader-bar {
  width: 140px;
  height: 3px;

  margin-top: 25px;

  background: rgba(7, 26, 51, 0.12);

  overflow: hidden;
  border-radius: 10px;
}

/* Moving orange progress */
.loader-bar span {
  display: block;

  width: 0;
  height: 100%;

  background: #f58220;

  animation: loaderProgress 2.2s ease-in-out forwards;
}

@keyframes loaderProgress {
  0% {
    width: 0%;
  }

  40% {
    width: 45%;
  }

  75% {
    width: 78%;
  }

  100% {
    width: 100%;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .loader-content {
    width: 150px;
  }

  .loader-mark {
    width: 95px;
    height: 95px;
  }

  .loader-bar {
    width: 120px;
    margin-top: 20px;
  }

}
/* ---------- 6. NAVBAR ---------- */

.ngis-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    height: var(--nav-height);

    background: var(--white);

    display: flex;
    align-items: center;

    /* Only animate movement and shadow */
    transform: translateY(0);

    transition:
        transform 0.45s var(--ease-soft),
        box-shadow 0.4s var(--ease-soft);
}


/* ---------- NAVBAR HIDDEN ON SCROLL DOWN ---------- */

.ngis-navbar.navbar-hidden {
    transform: translateY(-100%);
}


/* ---------- NAVBAR VISIBLE ON SCROLL UP ---------- */

.ngis-navbar.navbar-visible {
    transform: translateY(0);
}


/* ---------- NAVBAR INNER ---------- */

.ngis-navbar .nav-inner {
    width: 100%;
    max-width: var(--container-max);

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------- LOGO ---------- */

.nav-logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

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

    display: block;
    object-fit: contain;

    /* Logo does NOT shrink */
    transition: none;
}


/* ---------- NAVIGATION LINKS ---------- */

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    position: relative;

    font-weight: 600;
    font-size: 0.98rem;

    color: var(--navy);

    padding: 6px 0;

    text-decoration: none;
}


/* Orange underline */

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition:
        width 0.35s var(--ease-premium);
}


.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.nav-links a.active {
    color: var(--orange);
}


/* ---------- NAV RIGHT ---------- */

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}


/* ---------- MOBILE TOGGLE ---------- */

.nav-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;

    cursor: pointer;

    position: relative;
    z-index: 1100;
}


.nav-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    background: var(--navy);

    margin: 6px auto;

    transition:
        transform 0.35s var(--ease-soft),
        opacity 0.25s var(--ease-soft);
}


/* ---------- MOBILE X ANIMATION ---------- */

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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



/* mobile-menu CSS. */
.mobile-menu{
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(340px, 82vw);
  background: var(--navy);
  z-index: 1050;
  padding: 110px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transform: translateX(100%);
  transition: transform .5s var(--ease-premium);
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu a{
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease-soft), transform .4s var(--ease-soft);
}
.mobile-menu.open a{ opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1){ transition-delay: .08s; }
.mobile-menu.open a:nth-child(2){ transition-delay: .14s; }
.mobile-menu.open a:nth-child(3){ transition-delay: .2s; }
.mobile-menu.open a:nth-child(4){ transition-delay: .26s; }
.mobile-menu .btn-ngis{
  margin-top: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease-soft) .32s, transform .4s var(--ease-soft) .32s;
}
.mobile-menu.open .btn-ngis{ opacity: 1; transform: translateY(0); }

.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(7,26,51,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-soft), visibility .4s var(--ease-soft);
}
.nav-overlay.open{ opacity: 1; visibility: visible; }



/* ---------- 7. HERO ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;

  display: flex;
  align-items: center;

  overflow: hidden;
  background: var(--navy);
}


/* ========================================
   HERO IMAGE SLIDER
======================================== */

.hero-media {
  position: absolute;
  inset: 0;

  z-index: 0;

  overflow: hidden;
}


/* All Hero images */

.hero-media .hero-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transform: scale(1.06);

  transition:
    opacity 1.2s ease-in-out,
    transform 6s ease-out;

  pointer-events: none;
}


/* Active Hero image */

.hero-media .hero-slide.active {
  opacity: 1;

  transform: scale(1);
}


/* ========================================
   HERO OVERLAY
======================================== */

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(7, 26, 51, 0.78) 0%,
      rgba(7, 26, 51, 0.62) 45%,
      rgba(7, 26, 51, 0.92) 100%
    );

  z-index: 1;
}


/* ========================================
   FILM GRAIN
======================================== */

.hero-grain {
  position: absolute;
  inset: -20px;

  z-index: 1;

  pointer-events: none;

  opacity: 0.05;

  mix-blend-mode: overlay;

  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");

  background-size: 220px 220px;
}


/* ========================================
   ORBIT
======================================== */

.hero-orbit {
  position: absolute;

  z-index: 1;

  top: 12%;
  right: 6%;

  width: 220px;
  height: 220px;

  border: 1px solid rgba(245, 130, 32, 0.35);

  border-radius: 50%;

  pointer-events: none;

  animation: heroOrbit 26s linear infinite;
}


.hero-orbit::before {
  content: "";

  position: absolute;

  top: -4px;
  left: 50%;

  width: 8px;
  height: 8px;

  margin-left: -4px;

  background: var(--orange);

  border-radius: 50%;
}


@keyframes heroOrbit {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


/* ========================================
   CURTAIN REVEAL
======================================== */

.hero-curtain {
  position: absolute;
  inset: 0;

  z-index: 5;

  display: flex;

  pointer-events: none;
}


.hero-curtain span {
  flex: 1 1 50%;

  background: var(--navy);

  transition:
    transform 1s var(--ease-premium);
}


.hero-curtain span:first-child {
  transform-origin: left;
}


.hero-curtain span:last-child {
  transform-origin: right;
}


.hero-play .hero-curtain span:first-child {
  transform: translateX(-100%);
}


.hero-play .hero-curtain span:last-child {
  transform: translateX(100%);
}


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {
  position: relative;

  z-index: 3;

  width: 100%;

  max-width: var(--container-max);

  margin: 0 auto;

  padding: 0 24px;
}


.hero-eyebrow {
  color: var(--white);

  opacity: 0;

  transform: translateY(16px);
}


.hero-eyebrow::before {
  background: var(--orange);
}


.hero-heading .line {
  display: block;

  overflow: hidden;
}


.hero-heading .line span {
  display: inline-block;

  transform: translateY(110%);
}


.hero-desc {
  color: rgba(255, 255, 255, 0.8);

  font-size: clamp(1rem, 1.3vw, 1.2rem);

  max-width: 540px;

  margin-top: 26px;

  opacity: 0;

  transform: translateY(16px);
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;

  margin-top: 40px;
}


.hero-actions .btn-ngis {
  opacity: 0;

  transform: translateY(16px);
}


/* ========================================
   HERO ENTRANCE ANIMATION
======================================== */

.hero-play .hero-eyebrow {
  transition:
    opacity .7s var(--ease-premium) .2s,
    transform .7s var(--ease-premium) .2s;

  opacity: 1;

  transform: translateY(0);
}


.hero-play .hero-heading .line span {
  transition:
    transform .9s var(--ease-premium);
}


.hero-play .hero-heading .line:nth-child(1) span {
  transition-delay: .38s;

  transform: translateY(0);
}


.hero-play .hero-heading .line:nth-child(2) span {
  transition-delay: .5s;

  transform: translateY(0);
}


.hero-play .hero-desc {
  transition:
    opacity .7s var(--ease-premium) .68s,
    transform .7s var(--ease-premium) .68s;

  opacity: 1;

  transform: translateY(0);
}


.hero-play .hero-actions .btn-ngis {
  transition:
    opacity .6s var(--ease-premium),
    transform .6s var(--ease-premium);

  opacity: 1;

  transform: translateY(0);
}


.hero-play .hero-actions .btn-ngis:nth-child(1) {
  transition-delay: .82s;
}


.hero-play .hero-actions .btn-ngis:nth-child(2) {
  transition-delay: .92s;
}


/* ========================================
   HERO SCROLL BUTTON
======================================== */

.hero-scroll {
  position: absolute;

  left: 50%;
  bottom: 34px;

  transform: translateX(-50%);

  z-index: 3;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.82rem;

  font-weight: 600;

  cursor: pointer;

  background: none;

  border: none;

  opacity: 0;

  transition:
    opacity .8s var(--ease-soft) 1.1s;
}


.hero-play .hero-scroll {
  opacity: 1;
}


.hero-scroll .arrow {
  width: 1px;

  height: 28px;

  background:
    linear-gradient(
      var(--orange),
      transparent
    );

  position: relative;

  animation:
    scrollPulse 1.8s ease-in-out infinite;
}


@keyframes scrollPulse {

  0%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

  .hero {
    min-height: 680px;
  }

  .hero-media .hero-slide {
    transform: scale(1.04);
  }

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

  .hero-orbit {
    width: 150px;
    height: 150px;

    top: 10%;
    right: -50px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-actions {
    gap: 12px;
  }

}

/* ---------- 8. FAST-FORWARD DECORATIVE ANIMATION ---------- */
.ff-layer{
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.ff-line{
  position: absolute;
  height: 1px;
  width: 22%;
  right: -30%;
  background: linear-gradient(90deg, transparent, var(--orange) 60%, transparent);
  opacity: 0.55;
  animation: ffMove linear infinite;
}
@keyframes ffMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-160vw); }
}

/* ---------- 9. SCROLL REVEAL SYSTEM ---------- */
.reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-scale, .reveal-image{
  opacity: 1;
  transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium), clip-path .9s var(--ease-premium);
}
.js-reveal-ready .reveal{ opacity: 0; }
.js-reveal-ready .reveal-up{ opacity: 0; transform: translateY(42px); }
.js-reveal-ready .reveal-down{ opacity: 0; transform: translateY(-42px); }
.js-reveal-ready .reveal-left{ opacity: 0; transform: translateX(-52px); }
.js-reveal-ready .reveal-right{ opacity: 0; transform: translateX(52px); }
.js-reveal-ready .reveal-scale{ opacity: 0; transform: scale(0.92); }
.js-reveal-ready .reveal-image{
  opacity: 0;
  transform: scale(1.08);
  clip-path: inset(6% 6% 6% 6% round 4px);
}
.in-view{
  opacity: 1 !important;
  transform: translate(0,0) scale(1) !important;
  clip-path: inset(0% round 4px) !important;
}

/* ---------- 10. HOME SECTIONS ---------- */
.about-preview .media-frame{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.about-preview .media-frame img{ width: 100%; height: 560px; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.about-preview .media-frame:hover img{ transform: scale(1.05); }
.about-preview .media-frame::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 70px; height: 6px;
  background: var(--orange);
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 38px 30px;
  transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium), border-color .45s var(--ease-premium);
}
.service-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(7,26,51,0.12);
  border-color: transparent;
}
.service-card .icon-wrap{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,130,32,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform .5s var(--ease-premium), background .4s var(--ease-soft);
}
.service-card:hover .icon-wrap{ transform: rotate(-8deg) scale(1.08); background: var(--orange); }
.service-card .icon-wrap svg{ stroke: var(--orange); transition: stroke .4s var(--ease-soft); }
.service-card:hover .icon-wrap svg{ stroke: var(--white); }
.service-card h3{ font-size: 1.25rem; margin-bottom: 12px; }
.service-card p{ color: var(--ink-muted); font-size: 0.96rem; margin-bottom: 20px; }

.section-head-row{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.cta-section{
  position: relative;
  overflow: hidden;
  text-align: left;
}
.cta-section::before{
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,32,0.25), transparent 70%);
}
.cta-section .cta-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.cta-section h2{ max-width: 560px; }
.cta-section p{ color: rgba(255,255,255,0.72); margin-top: 14px; max-width: 460px; }

/* ---------- 11. INNER PAGE HERO ---------- */
.page-hero{
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--navy);
}
.page-hero img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35;
}
.page-hero .hero-overlay{
  background: linear-gradient(180deg, rgba(7,26,51,0.55) 0%, rgba(7,26,51,0.95) 100%);
}
.page-hero-content{
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container-max);
  margin: 0 auto;
  padding: 70px 24px 64px;
}
.page-hero h1{ color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .section-sub{ color: rgba(255,255,255,0.75); }

/* ---------- 12. ABOUT PAGE ---------- */
.story-track{
  border-left: 2px solid var(--border-soft);
  margin-top: 50px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.story-item{ position: relative; }
.story-item::before{
  content: "";
  position: absolute;
  left: -41px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--border-soft);
}
.story-item .story-year{ color: var(--orange); font-weight: 700; font-family: var(--font-display); }
.story-item h4{ margin: 6px 0 8px; font-size: 1.15rem; }
.story-item p{ color: var(--ink-muted); max-width: 560px; }

.values-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.value-card{
  background: var(--white);
  border-radius: 8px;
  padding: 32px 26px;
  border-top: 3px solid var(--orange);
  box-shadow: 0 12px 30px rgba(7,26,51,0.06);
  transition: transform .4s var(--ease-premium);
}
.value-card:hover{ transform: translateY(-6px); }
.value-card h4{ font-size: 1.1rem; margin-bottom: 10px; }
.value-card p{ color: var(--ink-muted); font-size: 0.94rem; }

.stats-strip{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: left;
}
.stat-item .stat-number{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-item .stat-label{ color: var(--ink-muted); margin-top: 6px; font-size: 0.95rem; }


.orange-heading {
    color: var(--orange);
}

/* ---------- 13. SERVICES PAGE ---------- */
.service-detail{
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
  border-bottom: 1px solid var(--border-soft);
}
.service-detail:last-of-type{ border-bottom: none; }
.service-detail.reverse{ flex-direction: row-reverse; }
.service-detail .media-col{ flex: 1 1 440px; min-width: 0; }
.service-detail .text-col{ flex: 1 1 420px; min-width: 0; }
.service-detail .media-frame{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.service-detail .media-frame img{
  width: 100%; height: 400px; object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.service-detail:hover .media-frame img{ transform: scale(1.06); }
.service-number{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .06em;
}
.service-detail h3{ font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 14px 0 18px; }
.service-detail p{ color: var(--ink-muted); margin-bottom: 26px; max-width: 480px; }




/* ---------- 14. CONTACT PAGE ---------- */
.contact-info-list{
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 40px;
}
.contact-info-item{
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-info-item .icon-wrap{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(245,130,32,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-wrap svg{ stroke: var(--orange); }
.contact-info-item h4{ font-size: 1.02rem; margin-bottom: 4px; }
.contact-info-item p{ color: var(--ink-muted); margin: 0; font-size: 0.95rem; }

.contact-form-wrap{
  background: var(--white);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 24px 60px rgba(7,26,51,0.08);
}
.form-row{ display: flex; gap: 20px; flex-wrap: wrap; }
.form-group{ flex: 1 1 220px; margin-bottom: 22px; }
.form-group label{
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group .req{ color: var(--orange); }
.form-control{
  width: 100%;
  border: 1.5px solid var(--border-soft);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-light);
  transition: border-color .3s var(--ease-soft), background .3s var(--ease-soft);
}
.form-control:focus{
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.form-control.is-invalid{ border-color: #d64545; }
.invalid-feedback{
  display: none;
  color: #d64545;
  font-size: 0.82rem;
  margin-top: 6px;
}
.form-control.is-invalid + .invalid-feedback{ display: block; }
textarea.form-control{ resize: vertical; min-height: 130px; }

.form-submit{ width: 100%; justify-content: center; margin-top: 6px; }
.form-submit .spinner{
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.form-submit.is-loading .spinner{ display: inline-block; }
.form-submit.is-loading .btn-label{ opacity: 0.7; }
@keyframes spin{ to{ transform: rotate(360deg); } }

.form-status{
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}
.form-status.show{ display: block; animation: statusIn .4s var(--ease-premium); }
.form-status.success{ background: rgba(52,168,83,0.1); color: #1e7e34; border: 1px solid rgba(52,168,83,0.25); }
.form-status.error{ background: rgba(214,69,69,0.1); color: #a12626; border: 1px solid rgba(214,69,69,0.25); }
@keyframes statusIn{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: translateY(0); } }

.map-frame{
  margin-top: 60px;
  border-radius: 10px;
  overflow: hidden;
  height: 420px;
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--ink-muted);
  text-align: center;
  padding: 20px;
}
.map-placeholder svg{ stroke: var(--orange); }

/* ---------- 15. FOOTER ---------- */

.ngis-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* ---------- FOOTER LOGO ---------- */

.footer-brand img {
  height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
}


/* ---------- FOOTER DESCRIPTION ---------- */

.footer-brand p {
  max-width: 320px;
  font-size: 0.94rem;
  line-height: 1.7;
}


/* ---------- SOCIAL ICONS ---------- */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background .3s var(--ease-soft),
    border-color .3s var(--ease-soft),
    transform .3s var(--ease-soft);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}


/* ---------- FOOTER COLUMNS ---------- */

.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 22px;
  font-family: var(--font-display);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-size: 0.94rem;

  transition:
    color .3s var(--ease-soft),
    padding-left .3s var(--ease-soft);
}

.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}


/* ---------- CONTACT ---------- */

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 0.94rem;
  margin: 0 0 12px;
}


/* ---------- FOOTER BOTTOM ---------- */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem;
}


/* ---------- PAGE TRANSITIONS ---------- */

body {
  opacity: 1;
  transition: opacity .32s var(--ease-soft);
}

body.page-fade-out {
  opacity: 0;
}


/* ---------- 16. UTILITIES ---------- */

.overflow-hidden {
  overflow: hidden;
}

.mt-0 {
  margin-top: 0 !important;
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal-ready .reveal,
  .js-reveal-ready .reveal-up,
  .js-reveal-ready .reveal-down,
  .js-reveal-ready .reveal-left,
  .js-reveal-ready .reveal-right,
  .js-reveal-ready .reveal-scale,
  .js-reveal-ready .reveal-image {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero-eyebrow,
  .hero-desc,
  .hero-actions .btn-ngis,
  .hero-heading .line span {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media video,
  .hero-media img {
    animation: none !important;
  }

  .hero-orbit {
    animation: none !important;
  }

  .hero-curtain span:first-child {
    transform: translateX(-100%) !important;
  }

  .hero-curtain span:last-child {
    transform: translateX(100%) !important;
  }
}


/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

  .hero-orbit {
    width: 130px;
    height: 130px;
    right: 4%;
    top: 10%;
  }

  /* Footer logo on mobile */
  .footer-brand img {
    height: 52px;
    max-width: 200px;
  }

}



/* ========================================
   SERVICES GRID
======================================== */

.services-grid {
    display: none !important;

    grid-template-columns: repeat(3, 1fr) !important;

    column-gap: 32px !important;
    row-gap: 32px !important;

    width: 100%;
    max-width: 1220px;

    margin: 56px auto 0;

    box-sizing: border-box;
    cursor: pointer;
}


.services-grid .reveal-up {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-grid .reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SERVICE CARD - SQUARE IMAGE
======================================== */
/* 
.service-card {
    position: relative;

    width: 100% !important;
    aspect-ratio: 1 / 1 !important;

    height: auto !important;

    min-width: 0 !important;
    max-width: none !important;

    overflow: hidden;

    padding: 0 !important;

    border-radius: 10px;

    background: #071a33;

    box-sizing: border-box;
} */

/* ========================================
   CARD IMAGE
======================================== */

.service-card > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1);

    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   DARK IMAGE OVERLAY
======================================== */

.service-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 25px;

    background:
        linear-gradient(
            to top,
            rgba(7, 26, 51, 0.98) 0%,
            rgba(7, 26, 51, 0.80) 45%,
            rgba(7, 26, 51, 0.08) 100%
        );

    opacity: 0;

    transition:
        opacity 0.65s ease;
}


/* ========================================
   SERVICE CONTENT
======================================== */

.service-content {
    width: 100%;

    color: #ffffff;

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.6s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ========================================
   SERVICE NUMBER
======================================== */

.service-number {
    display: block;

    color: #f58220;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


/* ========================================
   SERVICE ICON
======================================== */

.service-content .icon-wrap {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    background: #f58220;

    color: #ffffff;

    border-radius: 50%;

    transition:
        transform 0.5s ease;
}


/* ========================================
   SERVICE HEADING
======================================== */

.service-content h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.2;
}


/* ========================================
   SERVICE DESCRIPTION
======================================== */

.service-content p {
    margin: 0 0 15px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 13px;
    line-height: 1.5;
}


/* ========================================
   LEARN MORE
======================================== */

.service-content .link-arrow {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


/* ========================================
   ARROW
======================================== */

.service-content .link-arrow svg {
    transition:
        transform 0.4s ease;
}


/* ========================================
   DESKTOP HOVER
======================================== */

@media (min-width: 769px) {

    .service-card:hover {
        transform: translateY(-7px);

        box-shadow:
            0 22px 45px rgba(7, 26, 51, 0.20);
    }

    .service-card:hover > img {
        transform: scale(1.07);
    }

    .service-card:hover .service-overlay {
        opacity: 1;
    }

    .service-card:hover .service-content {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover .icon-wrap {
        transform: translateY(-4px);
    }

    .service-card:hover .link-arrow svg {
        transform: translateX(6px);
    }
}


/* ========================================
   CLICK / ACTIVE STATE
======================================== */

.service-card.active > img {
    transform: scale(1.07);
}

.service-card.active .service-overlay {
    opacity: 1;
}

.service-card.active .service-content {
    opacity: 1;
    transform: translateY(0);
}

.service-card.active .icon-wrap {
    transform: translateY(-4px);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 280px);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-card {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

}

 .service-description {
    margin-top: 25px;
    max-width: 1100px;
    line-height: 1.7;
} 







/* ========================================
   SERVICE BULLET LIST
======================================== */

.service-list {
  margin: 24px 0 30px;
  padding-left: 24px;

  list-style-type: disc !important;

  color: var(--navy);
}

.service-list li {
  display: list-item !important;

  margin-bottom: 10px;

  padding-left: 5px;

  font-size: 1rem;
  line-height: 1.5;

  list-style-type: disc !important;
}

/* Orange bullet */
.service-list li::marker {
  color: var(--orange);
  font-size: 0.85em;
}








/* =========================================
   SERVICES - SCROLL REVEAL EFFECT
   ========================================= */

/* .services-grid .service-card {
    opacity: 0;
    transform: translateY(80px) scale(0.94);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
} */

/* Card becomes visible */
/* .services-grid .service-card.service-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
} */

/* Stagger timing */
/* .services-grid .service-card:nth-child(1) {
    transition-delay: 0s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.12s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.24s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.36s;
}

.services-grid .service-card:nth-child(5) {
    transition-delay: 0.48s;
}

.services-grid .service-card:nth-child(6) {
    transition-delay: 0.60s;
}

.services-grid .service-card:nth-child(7) {
    transition-delay: 0.72s;
}

.services-grid .service-card:nth-child(8) {
    transition-delay: 0.84s;
}

.services-grid .service-card:nth-child(9) {
    transition-delay: 0.96s;
} */












