:root{
  --page-bg: #f4f7f9;

  --nav-bg: rgba(8, 18, 35, 0.78);
  --blue-1: #0b2d5b;
  --blue-2: #143f7c;

  --gold-1:#fff6cc;
  --gold-2:#f6d36a;
  --gold-3:#d7b65a;
  --goldGlow: rgba(215,182,90,.75);
  --goldRing: rgba(255,223,138,.22);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--page-bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== NAVBAR ===== */
.site-nav{
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 2000;

  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Landing: nav shows only at top */
body.nav-top-only .site-nav{
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}
body.nav-top-only.at-top .site-nav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Layout push */
.wrapper{
  width:100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-top: 76px;
}
body.nav-top-only:not(.at-top) .wrapper{ padding-top: 0; }

/* Brand */
.navbar-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff !important;
  text-decoration:none;
  font-weight:900;
}

.brand-logo{
  width: clamp(42px, 2.2vw + 34px, 64px);
  height: clamp(42px, 2.2vw + 34px, 64px);
  border-radius: clamp(14px, 1vw + 10px, 18px);
  object-fit: contain;

  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  padding: clamp(6px, .6vw + 4px, 10px);
}



/* Nav links */
.nav-link{
  color: rgba(255,255,255,.85) !important;
  font-weight:800;
  text-decoration:none;
}
.nav-link:hover{ color:#fff !important; }

/* CTA button with gold glow + sweep */
.nav-cta{
  border:0 !important;
  outline:none !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
  color:#fff !important;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2)) !important;
  box-shadow:
    0 14px 40px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 0 0 1px rgba(255,255,255,.16);
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .20s ease, filter .20s ease;
}

.nav-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 260px at 50% -40%, rgba(255,255,255,.26), rgba(255,255,255,0));
  opacity:.9;
  pointer-events:none;
}
.nav-cta::after{
  content:"";
  position:absolute;
  top:-40%;
  bottom:-40%;
  left:-120%;
  width:65%;
  background: linear-gradient(90deg, rgba(215,182,90,0), rgba(255,223,138,.55), rgba(215,182,90,0));
  transform: skewX(-18deg);
  opacity:0;
  pointer-events:none;
}
.nav-cta:hover{
  filter: brightness(1.06);
  box-shadow:
    0 18px 52px rgba(0,0,0,.34),
    0 0 36px var(--goldGlow),
    0 0 0 6px var(--goldRing),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 0 0 1px rgba(255,255,255,.18);
}
.nav-cta:hover::after,
.nav-cta:focus-visible::after{
  opacity:1;
  animation: goldSweep 950ms ease-out both;
}
.nav-cta:active{ transform: scale(.985); }
@keyframes goldSweep{
  0%{ left:-120%; opacity:0; }
  10%{ opacity:1; }
  100%{ left:140%; opacity:0; }
}

/* ===== Landing pages images ===== */
.page{ position: relative; width:100%; }
.page img{ display:block; width:100%; height:auto; }

/* ===== Modal with watermark ===== */
.lead-modal-dialog{ --bs-modal-width: min(820px, 94vw); }
.lead-modal{
  border-radius: 22px;
  overflow:hidden;
  position:relative;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 26px 90px rgba(0,0,0,.30);
}
.lead-modal::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background: url("../img/logo.png") center / 440px no-repeat;
  opacity:.16;
  filter:saturate(.95) contrast(1.05);
}
.lead-modal::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(900px 500px at 25% 15%, rgba(255,255,255,.92), rgba(255,255,255,.45)),
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.45));
}
.lead-modal > *{ position:relative; z-index:1; }

.lead-modal__header{
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2)) !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 18px 16px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
}

.lead-title-center{
  width:100%;
  text-align:center;
  margin:0 auto;
  padding: 4px 0 2px;
  font-size: clamp(22px, 1.6vw + 18px, 34px);
  font-weight: 900;
  letter-spacing:.3px;
}
.lead-title-gold{
  position:relative;
  display:inline-block;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:
    0 0 10px rgba(215,182,90,.45),
    0 0 22px rgba(215,182,90,.28),
    0 0 36px rgba(215,182,90,.18);
}
.lead-title-gold::after{
  content:"";
  position:absolute;
  top:-40%;
  bottom:-40%;
  left:-120%;
  width:60%;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0));
  transform: skewX(-18deg);
  opacity:0;
}
#leadModal.show .lead-title-gold::after{
  animation: titleGoldShine 1200ms ease-out both;
  opacity:1;
}
@keyframes titleGoldShine{
  0%{ left:-120%; opacity:0; }
  10%{ opacity:1; }
  100%{ left:140%; opacity:0; }
}

.lead-modal__body{ padding: 22px; }
.lead-form-wrap{ transition: opacity 240ms ease, transform 240ms ease; }
.lead-form-wrap.is-faded{ opacity:0; transform: translateY(6px); }

.lead-form{
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 38px rgba(0,0,0,.10);
}

/* Inputs */
.form-control{
  border-radius: 14px;
  border-color: rgba(0,0,0,.16);
  background: rgba(255,255,255,.96);
}
.form-control:focus{
  border-color: rgba(11,45,91,.55);
  box-shadow: 0 0 0 .25rem rgba(11,45,91,.12);
}
.form-floating > label{ color: rgba(0,0,0,.65); }

/* Submit */
.lead-submit{
  border-radius: 18px;
  font-weight: 900;
  border:0;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color:#fff !important;
  box-shadow: 0 10px 24px rgba(11,45,91,.25);
  position:relative;
  overflow:hidden;
}
.lead-submit:hover{
  filter: brightness(1.05);
  box-shadow:
    0 14px 38px rgba(11,45,91,.28),
    0 0 24px rgba(215,182,90,.18);
}

/* ===== Careers page (bigger + grouped) ===== */
.careers-shell{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 26px;
}
.careers-hero{
  text-align:center;
  margin: 0 auto 18px;
  padding: 20px 14px 8px;
}
.hero-logo{
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.hero-title{
  font-weight: 950;
  color: var(--blue-1);
  margin: 0 0 6px;
  letter-spacing: .2px;
}
.hero-subtitle{
  margin: 0;
  color: rgba(0,0,0,.62);
  line-height: 1.9;
}

.counter-pill{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  margin-top: 12px;
}
.counter-pill strong{
  font-size: 22px;
  color: var(--blue-1);
}
.counter-pill span{
  color: rgba(0,0,0,.58);
  font-weight: 700;
  font-size: 13px;
}

.career-card{
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 26px 90px rgba(0,0,0,.16);
  background: rgba(255,255,255,.90);
}
.career-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background: url("../img/logo.png") center / 520px no-repeat;
  opacity: .10;
  filter: saturate(.95) contrast(1.05);
}
.career-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(900px 500px at 25% 15%, rgba(255,255,255,.92), rgba(255,255,255,.42)),
    linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.42));
}
.career-card > *{ position:relative; z-index:1; }

.career-card__header{
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.career-card__body{
  padding: 20px;
}

.section-title{
  font-weight: 900;
  color: rgba(0,0,0,.78);
  margin: 6px 0 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.section-title small{
  font-weight: 700;
  color: rgba(0,0,0,.55);
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .form-grid{
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }
  .span-2{ grid-column: 1 / -1; }
}

.file-box{
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(11,45,91,.22);
  background: rgba(11,45,91,.03);
}

.footer-note{
  text-align:center;
  color: rgba(0,0,0,.55);
  padding: 18px 12px 30px;
  font-size: 13px;
}

.modal-backdrop.show{ opacity: .45; }

/* Gold glow on hover for ALL submit buttons */
.lead-submit:hover{
  filter: brightness(1.06);
  box-shadow:
    0 16px 42px rgba(11,45,91,.30),
    0 0 34px rgba(215,182,90,.70),
    0 0 0 6px rgba(255,223,138,.22) !important;
}

/* Bigger, wider, responsive CTA pills (Register + Careers) */
.nav-cta.nav-cta--wide{
  padding: clamp(10px, .8vw + 8px, 16px) clamp(16px, 1.4vw + 14px, 28px) !important;
  font-size: clamp(15px, .7vw + 12px, 20px) !important;
  min-width: clamp(140px, 18vw, 220px);
  text-align: center;
}

/* On small screens, keep them nice and not too wide */
@media (max-width: 576px){
  .nav-cta.nav-cta--wide{
    min-width: 42vw;
  }
}

/* =========================================
   Responsive brand name next to logo
   ========================================= */

.navbar-brand span{
  font-weight: 950;
  letter-spacing: .4px;
  line-height: 1.1;

  /* Responsive font size */
  font-size: clamp(16px, 1.2vw + 14px, 26px);

  /* Slight optical alignment */
  margin-top: 2px;

  /* Improve readability on dark nav */
  color: #ffffff;
}

/* On very small screens, slightly reduce size */
@media (max-width: 420px){
  .navbar-brand span{
    font-size: 16px;
  }
}

/* =========================================
   Survey typography improvements
   ========================================= */

/* Titles of survey sections */
.section-title{
  font-size: clamp(18px, 1.2vw + 16px, 24px);
  font-weight: 900;
  margin-bottom: 12px;
}

/* Question text */
.file-box > div:first-child{
  font-size: clamp(16px, 1vw + 14px, 20px);
  font-weight: 800;
  line-height: 1.8;
}

/* Labels inside form-floating */
.form-floating > label{
  font-size: 14px;
  font-weight: 700;
}

/* Inputs & textarea text */
.form-control{
  font-size: 16px;
  font-weight: 600;
}

/* =========================================
   Survey choices (Likert) styling
   ========================================= */

.lead-chip{
  border-radius: 999px;
  padding: 10px 18px;

  font-size: 15px;
  font-weight: 800;

  color: var(--blue-1);
  background: rgba(11,45,91,.06);
  border: 2px solid rgba(11,45,91,.25);

  transition: all .18s ease;
}

/* Hover (feedback) */
.lead-chip:hover{
  transform: translateY(-1px);
  background: rgba(11,45,91,.10);
  box-shadow: 0 6px 16px rgba(11,45,91,.18);
}

/* Selected = strong blue highlight */
.btn-check:checked + .lead-chip{
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color: #ffffff;
  border-color: var(--blue-1);

  box-shadow:
    0 8px 24px rgba(11,45,91,.35),
    0 0 0 4px rgba(11,45,91,.20);
}

/* Improve spacing between questions */
.file-box{
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 16px;
}

/* Space between options rows */
.file-box .d-flex{
  margin-top: 8px;
}

.lead-submit{
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .3px;
}

.lead-submit:hover{
  filter: brightness(1.08);
  box-shadow:
    0 16px 42px rgba(11,45,91,.35),
    0 0 0 6px rgba(11,45,91,.25);
}

/* =========================================================
   FORCE selected survey option to turn BLUE (FINAL FIX)
   ========================================================= */

/* Base style (unselected) */
.lead-chip{
  background-color: rgba(11,45,91,.06) !important;
  color: var(--blue-1) !important;
  border: 2px solid rgba(11,45,91,.30) !important;
  font-weight: 800;
  transition: all .15s ease;
}

/* Hover feedback */
.lead-chip:hover{
  background-color: rgba(11,45,91,.12) !important;
}

/* ✅ SELECTED STATE — THIS IS THE KEY */
input.btn-check:checked + label.lead-chip{
  background-color: var(--blue-1) !important;
  color: #ffffff !important;
  border-color: var(--blue-1) !important;

  box-shadow:
    0 8px 24px rgba(11,45,91,.45),
    0 0 0 4px rgba(11,45,91,.25) !important;
}

/* Remove Bootstrap focus ring interference */
input.btn-check:focus + label.lead-chip,
input.btn-check:active + label.lead-chip{
  box-shadow:
    0 8px 24px rgba(11,45,91,.45),
    0 0 0 4px rgba(11,45,91,.25) !important;
}

/* =========================================================
   SURVEY: Force selected choice to turn BLUE (final override)
   ========================================================= */

/* Make chips larger + bolder */
label.lead-chip.btn{
  font-size: 16px !important;
  font-weight: 900 !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;

  background: rgba(11,45,91,.06) !important;
  color: var(--blue-1) !important;
  border: 2px solid rgba(11,45,91,.30) !important;

  transition: all .15s ease;
}

/* Hover */
label.lead-chip.btn:hover{
  background: rgba(11,45,91,.12) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11,45,91,.18);
}

/* ✅ Selected state (this is what you want) */
input.btn-check:checked + label.lead-chip.btn{
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2)) !important;
  color: #fff !important;
  border-color: var(--blue-1) !important;

  box-shadow:
    0 10px 26px rgba(11,45,91,.38),
    0 0 0 4px rgba(11,45,91,.22) !important;
}

/* Fix any bootstrap focus ring overriding selection */
input.btn-check:focus + label.lead-chip.btn{
  box-shadow:
    0 10px 26px rgba(11,45,91,.38),
    0 0 0 4px rgba(11,45,91,.22) !important;
}


/* =================================================
   Mobile navbar responsiveness (vertical phones)
   ================================================= */

/* Allow wrapping instead of overflow */
.site-nav .d-flex{
  flex-wrap: wrap;
}

/* Mobile: stack nav CTA buttons nicely */
@media (max-width: 576px){
  .site-nav .d-flex{
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
  }

  .nav-cta.nav-cta--wide{
    width: 100%;
    max-width: 420px;
    text-align: center;

    font-size: 16px;
    padding: 12px 16px;
  }
}

