/* ============================================================
   NorthStar AI Innovations — brand palette from official logo
   Gold:  #E8B923 (bright) / #C99A1E (deep)
   Navy:  #1E3A8A (primary) / #14275E (deep)
   ============================================================ */
:root {
  --gold: #e8b923;
  --gold-deep: #c99a1e;
  --gold-soft: #fdf6e3;
  --navy: #1e3a8a;
  --navy-deep: #14275e;
  --navy-ink: #0d1b40;
  --white: #ffffff;
  --gray: #5b6478;
  --gray-light: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(20, 39, 94, 0.12);
  --font-head: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy-ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.text-gold { color: var(--gold); }
.section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-align: center;
}
.btn--sm { padding: 9px 22px; font-size: 0.85rem; }
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  box-shadow: 0 6px 24px rgba(232, 185, 35, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(232, 185, 35, 0.5); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(13, 27, 64, 0.1);
  padding: 8px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 10px; }

/* The logo's wordmark is navy, so it is only legible once the bar goes white.
   Over the navy hero we show the gold compass + light CSS wordmark instead. */
.nav__brand-light { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.nav__logo { display: none; height: 44px; width: auto; }
.nav--scrolled .nav__brand-light { display: none; }
.nav--scrolled .nav__logo { display: block; }
.nav__star { width: 40px; height: 40px; animation: spin 40s linear infinite; }
.nav__wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  transition: color 0.3s ease;
}
.nav--scrolled .nav__wordmark { color: var(--navy); }
.nav__wordmark strong { color: var(--gold); display: inline; }
.nav__wordmark small { font-weight: 500; font-size: 0.62rem; letter-spacing: 0.35em; opacity: 0.85; }
.nav__wordmark--light { color: var(--white) !important; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}
.nav--scrolled .nav__links a:not(.btn) { color: var(--navy-ink); }
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--gold); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(1200px 800px at 75% 20%, #2a4cb0 0%, var(--navy) 40%, var(--navy-deep) 75%, var(--navy-ink) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 130px 0 120px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  top: 10%; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}
.hero__compass { position: absolute; color: rgba(232, 185, 35, 0.1); }
.hero__compass--slow { width: 560px; height: 560px; top: -140px; left: -160px; animation: spin 90s linear infinite; }
.hero__compass--small { width: 220px; height: 220px; bottom: 8%; right: -60px; animation: spin 60s linear infinite reverse; }
.hero__particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232, 185, 35, 0.12);
  border: 1px solid rgba(232, 185, 35, 0.35);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__sub { font-size: 1.15rem; color: rgba(255, 255, 255, 0.85); max-width: 540px; margin: 22px 0 34px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 46px; margin-top: 52px; flex-wrap: wrap; }
.stat { display: block; }
.stat__num, .stat__plus { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat__label { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }

/* hero compass visual */
.hero__visual { display: flex; justify-content: center; }
.compass-ring {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 185, 35, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(232, 185, 35, 0.12) inset, 0 0 60px rgba(232, 185, 35, 0.08);
}
.compass-main {
  width: 62%;
  color: var(--gold);
  filter: drop-shadow(0 0 24px rgba(232, 185, 35, 0.45));
  animation: compass-settle 7s ease-in-out infinite;
}
.compass-orbit { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(232, 185, 35, 0.8);
}
.orbit-dot--1 { top: -5px; left: calc(50% - 5px); }
.orbit-dot--2 { bottom: 12%; left: 6%; width: 7px; height: 7px; opacity: 0.7; }
.orbit-dot--3 { top: 30%; right: -4px; width: 6px; height: 6px; opacity: 0.5; }
.cardinal {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.cardinal--n { top: 8px; left: 50%; transform: translateX(-50%); color: var(--gold); }
.cardinal--s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.cardinal--e { right: 12px; top: 50%; transform: translateY(-50%); }
.cardinal--w { left: 12px; top: 50%; transform: translateY(-50%); }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; }

/* ---------- Section heads ---------- */
.section__head { text-align: center; max-width: 640px; margin: 0 auto 58px; }
.section__head p { color: var(--gray); margin-top: 14px; font-size: 1.05rem; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section__eyebrow--light { color: var(--gold); }

/* ---------- Vision statement band ---------- */
.vision { padding: 84px 0; background: var(--white); }
.vision__statement {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--navy-deep);
  max-width: 860px;
  margin: 0 auto;
}

.section__sub--light { color: rgba(255, 255, 255, 0.78) !important; }
.why__lead { color: var(--gray); margin-top: 14px; font-size: 1.05rem; max-width: 480px; }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid #e8ecf5;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.card__icon svg { width: 34px; height: 34px; transition: transform 0.6s ease; }
.card:hover .card__icon svg { transform: rotate(180deg); }
.card h3 { margin-bottom: 10px; color: var(--navy-deep); }
.card p { color: var(--gray); font-size: 0.95rem; }
.card__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-deep);
  transition: transform 0.25s ease;
}
.card__link:hover { transform: translateX(5px); }

/* ---------- Process ---------- */
.process {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-ink) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.process h2 { color: var(--white); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.steps__line {
  position: absolute;
  top: 30px; left: 8%; right: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}
.steps__line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transition: width 1.6s ease;
  box-shadow: 0 0 12px rgba(232, 185, 35, 0.6);
}
.step { text-align: center; position: relative; }
.step__badge {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-ink);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.step:hover .step__badge { background: var(--gold); color: var(--navy-deep); transform: scale(1.12); }
.step h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why__card-stack { display: flex; flex-direction: column; gap: 18px; }
.mini-card {
  background: var(--white);
  border: 1px solid #e8ecf5;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bob 5s ease-in-out infinite;
}
.mini-card--1 { margin-right: 12%; }
.mini-card--2 { margin-left: 10%; animation-delay: 1.2s; }
.mini-card--3 { margin-right: 6%; animation-delay: 2.4s; }
.mini-card__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 185, 35, 0.2);
  flex-shrink: 0;
}
.checklist { list-style: none; margin: 26px 0 34px; display: flex; flex-direction: column; gap: 18px; }
.checklist li { position: relative; padding-left: 36px; color: var(--gray); }
.checklist li strong { color: var(--navy-ink); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Booking ---------- */
.booking { background: var(--gray-light); position: relative; overflow: hidden; }
.booking::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.booking .section__eyebrow--light { color: var(--gold-deep); }
.booking__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 34px;
  align-items: start;
}
.booking__form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  position: relative;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form__field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 15px;
  border: 1.5px solid #dde3f0;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--navy-ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 185, 35, 0.15);
}
.timeslots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #dde3f0;
  background: #fbfcfe;
  color: var(--navy-ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slot:hover { border-color: var(--gold); color: var(--gold-deep); }
.slot--active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: var(--gold-deep);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(232, 185, 35, 0.35);
}
.form__note { font-size: 0.82rem; color: var(--gray); text-align: center; margin-top: 14px; }
.form__success {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 12px;
}
.form__success-star { width: 72px; height: 72px; color: var(--gold); animation: spin 20s linear infinite; }
.form__success h3 { color: var(--navy-deep); font-size: 1.5rem; }
.form__success p { color: var(--gray); max-width: 380px; }
.booking__side-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.booking__side-card h3 { color: var(--gold); margin-bottom: 18px; }
.booking__side-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.booking__side-card hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 24px 0; }
.booking__side-quote { font-style: italic; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-ink); color: rgba(255, 255, 255, 0.8); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer__star { width: 44px; height: 44px; color: var(--gold); margin-bottom: 12px; animation: spin 50s linear infinite; }
.footer__brand p { margin-top: 12px; font-size: 0.9rem; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 6px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__fine { font-size: 0.85rem; opacity: 0.7; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; font-size: 0.82rem; opacity: 0.7; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ---------- Keyframes ---------- */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.7; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes compass-settle {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@keyframes float-up {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { order: -1; margin-bottom: 10px; }
  .compass-ring { width: min(260px, 70vw); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__line { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .booking__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .nav__links {
    position: fixed;
    top: 64px; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 28px;
    width: 220px;
    border-radius: 0 0 0 16px;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a:not(.btn) { color: var(--white) !important; }
  .nav__toggle { display: block; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
