/* ==========================================================================
   Nexus HR — Design System
   Palette + type derived from the brand logo (navy / gold / teal).
   Signature motif: the gold "verification" check + monospace audit labels.
   ========================================================================== */

/* ------- Fonts ------- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ------- Tokens ------- */
:root {
  /*--navy-900: #081633;
  --navy-800: #0b1e45;
  --navy-700: #0f2a5c;
  --navy-600: #163a76;
  --steel:    #2e5a8f;*/

  --navy-900: #102F6A;
  --navy-800: #194184;
  --navy-700: #2A5AA5;
  --navy-600: #4A79C7;
  --steel:    #709FDD;

  --gold:      #c9a24b;
  --gold-soft: #e4c87f;
  --gold-deep: #a9843a;

  --teal:      #34b3a0;
  --teal-deep: #1f8f7f;

  --ink:    #0c1526;
  --slate:  #48536a;
  --muted:  #6b7488;
  --paper:  #f5f7fa;
  --paper-2:#eef1f6;
  --line:   #e2e7f0;
  --white:  #ffffff;

  --ff-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ff-mono: 'Space Mono', ui-monospace, monospace;

  --shadow-sm: 0 2px 10px rgba(8, 22, 51, .06);
  --shadow-md: 0 18px 44px -20px rgba(8, 22, 51, .28);
  --shadow-lg: 0 40px 80px -30px rgba(8, 22, 51, .45);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------- Base ------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--ff-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container-x { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

/* ------- Type helpers ------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }

.display-xl { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
.display-lg { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--slate); line-height: 1.7; }
.text-gold { color: var(--gold-deep); }
.text-teal { color: var(--teal-deep); }
.font-mono { font-family: var(--ff-mono); }

/* ------- Section rhythm ------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-800); color: #d9e2f2; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.centered { margin-inline: auto; text-align: center; }

/* ------- Buttons ------- */
.btn-nx {
  --bg: var(--gold);
  --fg: var(--navy-900);
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  box-shadow: 0 10px 24px -12px rgba(201, 162, 75, .8);
}
.btn-nx i { transition: transform .3s var(--ease); }
.btn-nx:hover { transform: translateY(-2px); color: var(--navy-900); box-shadow: 0 16px 30px -12px rgba(201, 162, 75, .9); }
.btn-nx:hover i { transform: translateX(4px); }
.btn-nx:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

.btn-nx.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-nx.ghost:hover { border-color: var(--navy-700); color: var(--navy-800); background: var(--paper); }
.btn-nx.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn-nx.on-dark:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-nx.teal { --bg: var(--teal); --fg: #04201c; box-shadow: 0 10px 24px -12px rgba(52,179,160,.8); }
.btn-nx.teal:hover { color: #04201c; }

/* ==========================================================================
   TOP BAR + NAV
   ========================================================================== */
/*.topbar {
  background: var(--navy-900);
  color: #aebbd4;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container-x { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #c3cfe6; }
.topbar a:hover { color: var(--gold-soft); }
.topbar ul { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-socials { gap: .9rem; }
.topbar .tb-socials a { font-size: .95rem; }
@media (max-width: 600px) { .topbar .tb-hours, .topbar .tb-socials { display: none; } }*/

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
    background: var(--navy-900);
    color: #aebbd4;
    font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar .container-x{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    min-height:42px;
    flex-wrap:wrap;

    /* Reserve space for floating logo */
    padding-left:180px;
}

.topbar a{
    color:#c3cfe6;
}

.topbar a:hover{
    color:var(--gold-soft);
}

.topbar ul{
    display:flex;
    gap:1.4rem;
    flex-wrap:wrap;
    align-items:center;
    margin:0;
}

.topbar li{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
}

.topbar .tb-socials{
    gap:.9rem;
}

.topbar .tb-socials a{
    font-size:.95rem;
}

/* Tablet */
@media (max-width:991px){

    .topbar .container-x{
        padding-left:110px;
    }

}

/* Mobile */
@media (max-width:600px){

    .topbar .container-x{
        padding-left:90px;
    }

    .topbar .tb-hours,
    .topbar .tb-socials{
        display:none;
    }

}

.nav-nx .container-x{
    padding-left:180px;
}

@media (max-width:991px){
    .nav-nx .container-x{
        padding-left:110px;
    }
}

@media (max-width:600px){
    .nav-nx .container-x{
        padding-left:90px;
    }
}

.nav-nx {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s;
}
.nav-nx.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.nav-nx .navbar-brand img { height: 58px; width: auto; border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(8, 22, 51, .45); }
.nav-nx .nav-link {
  font-weight: 500; font-size: .92rem; letter-spacing: .01em; color: var(--slate);
  padding: .6rem .9rem !important; position: relative;
}
.nav-nx .nav-link:hover, .nav-nx .nav-link.active { color: var(--navy-800); }
.nav-nx .nav-link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-nx .dropdown-menu {
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: .5rem; margin-top: .6rem; min-width: 290px;
}
.nav-nx .dropdown-item {
  border-radius: 9px; padding: .6rem .8rem; font-size: .9rem; color: var(--slate); font-weight: 500;
  white-space: normal; display: flex; gap: .6rem; align-items: flex-start;
}
.nav-nx .dropdown-item i { color: var(--gold-deep); margin-top: .18rem; }
.nav-nx .dropdown-item:hover { background: var(--paper); color: var(--navy-800); }
.navbar-toggler { border: 1px solid var(--line); padding: .4rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201,162,75,.3); }
@media (max-width: 991.98px) {
  .nav-nx .navbar-collapse { padding: .5rem 0 1rem; border-top: 1px solid var(--line); margin-top: .5rem; }
  .nav-nx .nav-link.active::after { display: none; }
  .nav-nx .nav-cta { margin-top: .6rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 82% -8%, rgba(52,179,160,.16), transparent 60%),
    radial-gradient(760px 480px at 8% 108%, rgba(201,162,75,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: #dfe7f5;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent); mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent);
  pointer-events: none;
}
.hero .container-x { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-soft); position: relative; white-space: nowrap; }
.hero .lead { color: #c0cbe0; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; line-height: 1; }
.hero-stats .num .plus { color: var(--gold-soft); }
.hero-stats .lbl { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #93a3c4; margin-top: .5rem; }

/* Signature: audit verification card */
.audit-card {
  background: linear-gradient(180deg, rgba(255,255,255,.99), #fff);
  border-radius: 20px; padding: 1.6rem 1.6rem 1.8rem; color: var(--ink);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.audit-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.audit-card .ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; padding-top: .3rem; }
.audit-card .ac-tag { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.audit-card .ac-title { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; margin: .15rem 0 0; }
.audit-card .ac-badge { font-family: var(--ff-mono); font-weight: 700; font-size: .74rem; color: var(--teal-deep); background: rgba(52,179,160,.12); border: 1px solid rgba(52,179,160,.3); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.audit-item { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-top: 1px dashed var(--line); }
.audit-item:first-of-type { border-top: 0; }
.audit-item .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; font-size: .8rem; box-shadow: 0 4px 10px -3px rgba(201,162,75,.6); }
.audit-item .txt { font-size: .93rem; font-weight: 500; color: var(--slate); }
.audit-item .txt b { color: var(--ink); font-weight: 600; }
.audit-progress { margin-top: 1.3rem; }
.audit-progress .bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.audit-progress .bar span { display: block; height: 100%; width: 82%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.audit-progress .meta { display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .55rem; }

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(700px 380px at 88% 10%, rgba(52,179,160,.16), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #d7e0f1; padding-block: clamp(3rem, 6vw, 4.6rem); position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .crumb { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #93a3c4; display: flex; gap: .55rem; align-items: center; }
.page-hero .crumb a:hover { color: var(--gold-soft); }
.page-hero .crumb .sep { color: var(--gold); }

/* ==========================================================================
   CLIENT MARQUEE
   ========================================================================== */
.marquee { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; padding-block: 1.6rem; }
.marquee .cap { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.1rem; }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 26s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.about-media .img-sub { position: absolute; right: -6%; bottom: -10%; width: 46%; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-md); object-fit: cover; }
.exp-badge {
  position: absolute; left: -4%; top: 8%; background: var(--navy-800); color: #fff;
  border-radius: 16px; padding: 1rem 1.2rem; text-align: center; box-shadow: var(--shadow-md);
}
.exp-badge .n { font-family: var(--ff-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--gold-soft); }
.exp-badge .t { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #b9c6e0; margin-top: .35rem; }
@media (max-width: 575px) { .about-media .img-sub { position: static; width: 100%; margin-top: 1rem; } .exp-badge { position: static; display: inline-block; margin-bottom: 1rem; } }

/* Pill tabs (promise / vision / mission) */
.pvm-tabs { display: flex; gap: .5rem; background: var(--paper); padding: .35rem; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 1.3rem; flex-wrap: wrap; }
.pvm-tabs button {
  flex: 1; border: 0; background: transparent; font-family: var(--ff-body); font-weight: 600; font-size: .9rem;
  color: var(--slate); padding: .6rem .9rem; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.pvm-tabs button.active { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.pvm-panel { display: none; }
.pvm-panel.active { display: block; animation: fade-up .4s var(--ease); }

/* value ticks */
.tick-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .4rem 0; color: var(--slate); }
.tick-list li i { color: var(--gold-deep); margin-top: .18rem; }
.tick-list.on-dark li { color: #c4cfe4; }
.tick-list.on-dark li i { color: var(--gold-soft); }

/* ==========================================================================
   60-DAY PROGRAM (signature band)
   ========================================================================== */
.program { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #dbe4f4; position: relative; overflow: hidden; }
.program::before { content: ""; position: absolute; right: -8%; top: -30%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.22), transparent 65%); }
.program .steps { counter-reset: step; display: grid; gap: 1rem; }
.prog-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1.1rem 1.3rem;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.prog-step:hover { border-color: rgba(201,162,75,.45); background: rgba(255,255,255,.06); transform: translateX(4px); }
.prog-step .idx { counter-increment: step; font-family: var(--ff-mono); font-weight: 700; color: var(--navy-900); background: var(--gold-soft); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: .95rem; }
.prog-step .idx::before { content: counter(step, decimal-leading-zero); }
.prog-step h4 { color: #fff; margin: .1rem 0 .25rem; font-size: 1.08rem; }
.prog-step p { margin: 0; color: #a9b7d4; font-size: .92rem; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; background: linear-gradient(150deg, rgba(201,162,75,.16), rgba(52,179,160,.14)); color: var(--navy-800); }
.svc-card .num { position: absolute; right: 1.3rem; top: 1.2rem; font-family: var(--ff-mono); font-size: .78rem; color: var(--line); font-weight: 700; }
.svc-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.svc-card p { color: var(--muted); font-size: .93rem; margin-bottom: 1.2rem; flex: 1; }
.svc-card .more { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.svc-card .more i { transition: transform .3s var(--ease); }
.svc-card:hover .more i { transform: translateX(4px); }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.ind-grid { display: flex; flex-wrap: wrap; gap: .8rem; }
.ind-chip {
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04);
  color: #d7e0f1; font-weight: 500; font-size: .95rem; transition: all .28s var(--ease);
}
.ind-chip i { color: var(--gold-soft); }
.ind-chip:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-3px); }
.ind-chip:hover i { color: var(--navy-900); }

/* ==========================================================================
   STAT STRIP / WHY
   ========================================================================== */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.stat-cell { text-align: center; padding: 1.4rem .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.stat-cell .n { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy-800); line-height: 1; }
.stat-cell .n .u { color: var(--gold-deep); }
.stat-cell .l { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .55rem; }
@media (max-width: 767px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, rgba(201,162,75,.16), rgba(52,179,160,.14)); color: var(--navy-800); display: grid; place-items: center; font-size: 1.2rem; }
.why-item h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.why-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: var(--navy-900); border-radius: 24px; padding: clamp(2.2rem, 5vw, 3.4rem); position: relative; overflow: hidden; }
.cta-band::after { content: "\2713"; position: absolute; right: -1rem; bottom: -3rem; font-size: 16rem; font-family: var(--ff-display); color: rgba(255,255,255,.14); line-height: 1; font-weight: 800; }
.cta-band h2 { color: var(--navy-900); position: relative; z-index: 2; }
.cta-band p { color: rgba(8,22,51,.8); position: relative; z-index: 2; }
.cta-band .btn-nx { position: relative; z-index: 2; }
.cta-band .btn-nx { background: var(--navy-900); color: #fff; box-shadow: 0 14px 30px -14px rgba(8,22,51,.6); }
.cta-band .btn-nx:hover { color: #fff; }
.cta-band .btn-nx.ghost { background: transparent; color: var(--navy-900); border-color: rgba(8,22,51,.35); }
.cta-band .btn-nx.ghost:hover { background: rgba(8,22,51,.08); color: var(--navy-900); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.form-label-x { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 700; margin-bottom: .4rem; display: block; }
.form-control-x, .form-select-x {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  font-family: var(--ff-body); font-size: .96rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control-x::placeholder { color: #9aa3b5; }
.form-control-x:focus, .form-select-x:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201,162,75,.14); }
textarea.form-control-x { resize: vertical; min-height: 140px; }

.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.info-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.info-tile .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--gold-soft); display: grid; place-items: center; font-size: 1.25rem; }
.info-tile h4 { font-size: 1rem; margin-bottom: .2rem; }
.info-tile p, .info-tile a { color: var(--muted); font-size: .92rem; margin: 0; word-break: break-word; }
.info-tile a:hover { color: var(--gold-deep); }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ==========================================================================
   SERVICE DETAIL
   ========================================================================== */
.svc-side { position: sticky; top: 96px; }
.svc-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.svc-nav a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--slate); transition: all .25s var(--ease); }
.svc-nav a:last-child { border-bottom: 0; }
.svc-nav a i { color: var(--line); transition: transform .3s, color .3s; }
.svc-nav a:hover, .svc-nav a.active { background: var(--navy-800); color: #fff; }
.svc-nav a:hover i, .svc-nav a.active i { color: var(--gold-soft); transform: translateX(3px); }
.svc-help { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius); padding: 1.8rem; margin-top: 1.3rem; }
.svc-help h4 { color: #fff; }
.svc-help p { color: #b3c0dc; font-size: .92rem; }

.detail-body h2 { margin-top: 2rem; }
.detail-body h2:first-child { margin-top: 0; }
.detail-lead-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; margin-bottom: 2rem; }
.feature-box { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.feature-box i { color: var(--gold-deep); font-size: 1.3rem; margin-top: .1rem; }
.feature-box h5 { font-size: 1rem; margin-bottom: .25rem; }
.feature-box p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-900); color: #a9b6d2; padding-top: clamp(3.5rem, 6vw, 5rem); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.footer h5 { color: #fff; font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.3rem; }
.footer a { color: #a9b6d2; }
.footer a:hover { color: var(--gold-soft); }
.footer .f-brand img { height: 78px; margin-bottom: 1.1rem; border-radius: 14px; }
.footer .f-brand p { font-size: .92rem; color: #94a3c2; /*max-width: 32ch;*/ }
.footer .f-links li { margin-bottom: .7rem; }
.footer .f-links a { display: inline-flex; align-items: center; gap: .5rem; font-size: .93rem; }
.footer .f-links a::before { content: "\F285"; font-family: "bootstrap-icons"; color: var(--gold); font-size: .7rem; }
.footer .f-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; align-items: flex-start; }
.footer .f-contact li i { color: var(--gold-soft); margin-top: .2rem; }
.f-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.f-socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #cdd8ef; transition: all .28s var(--ease); }
.f-socials a:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-block: 1.4rem; font-size: .84rem; color: #8493b4; }
.footer-bottom .container-x { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track { animation: none; } }

/* ------- Back to top ------- */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s var(--ease); z-index: 1020; box-shadow: var(--shadow-md); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--navy-900); }

/* ------- Helpers ------- */
.divider-dot { color: var(--gold); }
.bg-navy { background: var(--navy-800); }
.rounded-nx { border-radius: var(--radius); }

/******floating  logo **************/
/* Floating logo overlapping topbar + navbar */
.floating-logo{
    position: fixed;
    top: 6px;
    left: 35px;
    z-index: 5000;
    pointer-events: none;
    animation: logoFloat 3.5s ease-in-out infinite;
}

.floating-logo img{
    width: 145px;
    height: auto;

    border-radius: 10px;

    box-shadow:
        0 12px 24px rgba(8,22,51,.18),
        0 24px 50px rgba(8,22,51,.12);

    transition: all .35s ease;
}

.floating-logo img:hover{
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 18px 40px rgba(8,22,51,.25),
        0 0 25px rgba(201,162,75,.25);
}

/* Gentle floating animation */
@keyframes logoFloat{
    0%,100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-6px);
    }
}

/* Tablet */
@media (max-width: 991px){
    .floating-logo{
        top: 6px;
        left: 55px;
    }

    .floating-logo img{
        width: 105px;
    }
}

/* Mobile */
@media (max-width: 600px){
    .floating-logo{
        top: 5px;
        left: 12px;
    }

    .floating-logo img{
        width: 78px;
    }
}


@media (max-width: 991.98px) {

    .nav-nx .container-x{
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .navbar-toggler{
        margin-left: auto;
    }

    .navbar-collapse{
        width: 100%;
    }

}

.topbar .container-x{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    min-height:42px;
    flex-wrap:nowrap;

    /* Reserve space for logo */
    padding-left:160px;
}

/* Large laptop */
@media (max-width:1400px){

    .floating-logo img{
        width:130px;
    }

    .topbar .container-x{
        padding-left:145px;
    }

}

/* Laptop */
@media (max-width:1200px){

    .floating-logo img{
        width:115px;
    }

    .topbar .container-x{
        padding-left:125px;
    }

}

/* ===========================
   RESPONSIVE HEADER
   =========================== */

/* Tablets */
@media (max-width:991.98px){

    /* Smaller floating logo */
    .floating-logo{
        top: 6px;
        left: 10px;
    }

    .floating-logo img{
        width: 90px;
    }

    /* Less reserved space */
    .topbar .container-x{
        padding-left:105px;
        min-height:40px;
    }

    .nav-nx .container-x{
        padding-left:0;
        justify-content:flex-end;
    }

    /* Hide less important items */
    .topbar .tb-hours{
        display:none;
    }

    .topbar ul{
        gap:.8rem;
    }

    .topbar{
        font-size:.75rem;
    }

    .navbar-toggler{
        margin-left:auto;
    }
}

/* Phones */
@media (max-width:576px){

    .floating-logo{
        top:6px;
        left:10px;
    }

    .floating-logo img{
        width:85px;
    }

    /* Push content further right */
    .topbar .container-x{
        padding-left:105px;
    }

    .nav-nx .container-x{
        padding-left:0;
        justify-content:flex-end;
    }

    .topbar .tb-hours,
    .topbar .tb-socials{
        display:none;
    }
}


.hero-feature-stack{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.feature-card{
    background:#fff;
    border-radius:28px;
    padding:32px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    position:relative;
    overflow:hidden;
}

.feature-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,#d3a63c,#38c6b4);
}

.feature-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.feature-tag{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:3px;
    color:#7b88a8;
    margin-bottom:8px;
}

.feature-card h3{
    font-size:1.4rem;
    margin:0;
    color:#18284a;
}

.feature-icon{
    width:68px;
    height:68px;
    border-radius:18px;
    background:#f3c64f;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:#173d82;
}

.feature-card p{
    font-size: .93rem;
    font-weight: 500;
    color: var(--slate);
    line-height:1.8;
    margin:20px 0 25px;
}

.feature-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 24px;
    background:#d4a93d;
    color:#173d82;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
}

.feature-btn:hover{
    background:#173d82;
    color:#fff;
}


.ind-chip-featured{
    background:#d4a93d;
    color:#173d82;
    border-color:#d4a93d;
    font-weight:700;
    transform:scale(1.08);
    box-shadow:0 12px 30px rgba(212,169,61,.35);
}

.ind-chip-featured i{
    color:#173d82;
}

.ind-chip-featured:hover{
    transform:scale(1.12) translateY(-2px);
}


.alert{
    border-radius:12px;
    padding:15px 20px;
    font-size:15px;
    border:none;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.alert-success{
    background:#e8f7ee;
    color:#0f5132;
}

.alert-danger{
    background:#fdeaea;
    color:#842029;
}

.alert-warning{
    background:#fff3cd;
    color:#664d03;
}

.mega-dropdown{
    position: static;
}

.mega-menu{
    width:850px;
    max-width:95vw;
    padding:22px;
    border:0;
    border-radius:18px;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
    left:50% !important;
    transform:translateX(-50%);
}

.mega-menu .dropdown-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    white-space:normal;
    padding:.65rem .75rem;
    border-radius:8px;
    line-height:1.5;
}

.mega-menu .dropdown-item i{
    color:#c89d3d;
    margin-top:3px;
    flex-shrink:0;
}

.mega-menu .dropdown-item:hover{
    background:#f8f9fb;
}

@media(max-width:991px){

    .mega-menu{
        width:100%;
        transform:none;
        left:0 !important;
    }

    .mega-menu .border-start{
        border-left:none!important;
        padding-left:0!important;
        margin-top:15px;
    }
}

/* =========================================================
   NEXUS HR - SERVICES SECTION
   ========================================================= */

#services {
    background: #f5f7fa;
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Section heading */
#services .section-head {
    margin-bottom: 45px;
}

#services .section-head .eyebrow {
    color: #c99b3b;
}

#services .section-head .display-lg {
    color: #0b1730;
}

#services .section-head .lead {
    color: #5d6b82;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

#services .svc-grid {
    gap: 24px;
}

#services .svc-card {
    background: #123f82;
    border: 1px solid #123f82;
    border-radius: 16px;
    padding: 30px 26px;
    min-height: 300px;

    display: flex;
    flex-direction: column;

    box-shadow: 0 10px 25px rgba(18, 63, 130, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Number */
#services .svc-card .num {
    color: rgba(255, 255, 255, 0.50);
    font-weight: 600;
}


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

#services .svc-card .ico {
    width: 54px;
    height: 54px;

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

    background: #ffffff;
    border-radius: 14px;

    margin-bottom: 20px;
}

#services .svc-card .ico i {
    color: #123f82;
    font-size: 23px;
}


/* =========================================================
   TITLE
   ========================================================= */

#services .svc-card h3 {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
}


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

#services .svc-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 22px;
}


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

#services .svc-card .more {
    color: #e0b34f;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 12px;

    margin-top: auto;
}

#services .svc-card .more i {
    color: #e0b34f;
    margin-left: 5px;
}


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

#services .svc-card:hover {
    background: #0e3673;
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(18, 63, 130, 0.20);
}


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

@media (max-width: 767px) {

    #services {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    #services .section-head {
        margin-bottom: 30px;
    }

    #services .svc-card {
        min-height: 280px;
        padding: 25px 22px;
    }

}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 75px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
    z-index: 9999;
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-4px);
}