/* ============================================================
   NorthCrest Solutions Inc — Global Stylesheet
   Author: Claude Code | Version: 1.0
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:        #111827;
  --navy-mid:    #1F2937;
  --navy-light:  #374151;
  --gold:        #059669;
  --gold-light:  #10B981;
  --gold-pale:   #6EE7B7;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --slate:       #F0FDF4;
  --gray:        #6B7280;
  --gray-light:  #D1D5DB;
  --text:        #111827;
  --text-muted:  #9CA3AF;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(17,24,39,.08);
  --shadow:      0 8px 32px rgba(17,24,39,.14);
  --shadow-lg:   0 20px 60px rgba(17,24,39,.22);
  --shadow-gold: 0 8px 32px rgba(5,150,105,.30);

  --transition:  all .35s cubic-bezier(.4,0,.2,1);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-accent: 'Montserrat', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol { list-style: none; }

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Page Loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: loaderFade 1s ease forwards;
}
.loader-logo span { color: var(--gold); }

.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: loaderProgress 1.6s ease forwards;
}

@keyframes loaderFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loaderProgress { from { width: 0; } to { width: 100%; } }

/* ── Custom Cursor ────────────────────────────────────────── */
#cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .08s ease;
}
#cursor-follower {
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all .18s ease;
  opacity: .5;
}
@media (max-width: 1024px) {
  #cursor, #cursor-follower { display: none; }
}

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(11,31,58,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: .9rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  font-size: .84rem !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 2.5rem;
    gap: 1.8rem;
    transition: right .4s cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); transform: translateY(-2px); }

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1.4rem; font-size: .82rem; }

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  width: 4px;
  height: 4px;
  animation: rippleAnim .6s linear;
  transform: translate(-50%, -50%);
}
@keyframes rippleAnim { to { width: 200px; height: 200px; opacity: 0; } }

/* ── Section Utilities ────────────────────────────────────── */
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.section-title-white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.text-center .section-label { justify-content: center; }

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .75s .1s cubic-bezier(.4,0,.2,1), transform .75s .1s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .75s .1s cubic-bezier(.4,0,.2,1), transform .75s .1s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ── HERO SECTION ─────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(.28);
  transform: scale(1.05);
  animation: heroBgDrift 18s ease-in-out infinite alternate;
}
@keyframes heroBgDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.1) translate(-1%, -1%); }
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(11,31,58,.95) 0%,
    rgba(11,31,58,.7) 50%,
    rgba(30,77,140,.4) 100%);
}

/* Animated geometric shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(5,150,105,.15);
  animation: shapeFloat linear infinite;
}
.shape-1 { width: 380px; height: 380px; top: -100px; right: -80px; animation-duration: 22s; }
.shape-2 { width: 220px; height: 220px; bottom: 120px; right: 22%; animation-duration: 17s; border-color: rgba(5,150,105,.22); }
.shape-3 { width: 150px; height: 150px; top: 30%; left: 5%; animation-duration: 13s; border-color: rgba(255,255,255,.08); }
.shape-4 { width: 60px; height: 60px; top: 25%; right: 30%; background: rgba(5,150,105,.07); animation-duration: 10s; }
.shape-5 { width: 500px; height: 500px; bottom: -200px; left: -150px; animation-duration: 28s; border-color: rgba(255,255,255,.04); }

@keyframes shapeFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-28px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Floating gold dots */
.hero-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: .15;
  animation: dotFloat linear infinite;
}

@keyframes dotFloat {
  0%   { transform: translateY(100vh) rotate(0); opacity: 0; }
  10%  { opacity: .15; }
  90%  { opacity: .15; }
  100% { transform: translateY(-60px) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(5,150,105,.35);
  border-radius: 50px;
  padding: .45rem 1.2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  animation: heroFadeUp .8s .2s both;
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 1.8s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: heroFadeUp .8s .4s both;
}
.hero-title .accent { color: var(--gold); display: block; }
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: heroFadeUp .8s .6s both;
}

.hero-typed {
  color: var(--gold-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeUp .8s .8s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: heroFadeUp 1s 1.2s both;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS SECTION ────────────────────────────────────────── */
#stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
#stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.stat-number {
  font-family: var(--font-accent);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
#about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-image-main:hover img { transform: scale(1.04); }

.about-image-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-image-accent img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-accent);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.about-badge strong { font-size: 1.8rem; display: block; line-height: 1; }
.about-badge span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.about-content { padding: 1rem 0; }

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}
.about-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.point-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
}
.point-text strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.point-text span { font-size: .9rem; color: var(--gray); }

.about-mission {
  margin-top: 1.8rem;
  padding: 1.5rem;
  background: var(--slate);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.75;
  font-style: italic;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-main img { height: 320px; }
  .about-badge { left: 1rem; }
  .about-image-accent { display: none; }
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
#services {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(11,31,58,.06);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(5,150,105,.12), rgba(5,150,105,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: rotateY(180deg);
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .8rem;
}
.service-desc {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.72;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.service-link svg { transition: transform .25s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ── CAREERS SECTION ──────────────────────────────────────── */
#careers {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#careers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: .06;
}

.careers-header { margin-bottom: 3.5rem; }

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.career-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.career-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,150,105,.08), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5,150,105,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.career-card:hover::after { opacity: 1; }

.career-tag {
  display: inline-block;
  padding: .3rem .9rem;
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(5,150,105,.3);
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.career-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .8rem;
}

.career-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.58);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.careers-cta-wrap {
  margin-top: 3.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.careers-cta-note {
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* ── WHY CHOOSE US ────────────────────────────────────────── */
#why-us {
  background: var(--white);
  position: relative;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.why-us-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.why-us-image-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(11,31,58,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--gold);
}
.why-us-image-label h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .2rem;
}
.why-us-image-label p { font-size: .8rem; color: rgba(255,255,255,.6); }

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}
.why-point {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-point:hover {
  background: var(--slate);
}
.why-num {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(5,150,105,.15);
  line-height: 1;
  min-width: 44px;
}
.why-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}
.why-text p { font-size: .9rem; color: var(--gray); line-height: 1.7; }

@media (max-width: 900px) {
  .why-us-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-us-image img { height: 280px; }
}

/* ── CONTACT SECTION ──────────────────────────────────────── */
#contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
#contact::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info { color: var(--white); }
.contact-info .section-subtitle { color: rgba(255,255,255,.65); max-width: none; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(5,150,105,.18);
  border: 1px solid rgba(5,150,105,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-detail-text strong { display: block; color: var(--white); font-weight: 600; margin-bottom: .15rem; }
.contact-detail-text span { font-size: .9rem; color: rgba(255,255,255,.6); }
.contact-detail-text a:hover { color: var(--gold-light); }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: .03em;
}
.form-group label .required { color: var(--gold); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(11,31,58,.06);
}
.form-control.error { border-color: #EF4444; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Notification */
.form-notification {
  display: none;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .92rem;
  font-weight: 500;
  animation: notifySlide .4s ease;
}
.form-notification.success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  color: #065F46;
  display: flex;
}
.form-notification.error {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  color: #7F1D1D;
  display: flex;
}
@keyframes notifySlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 2rem; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 1rem; display: block; }
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-email a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--gold-light);
}
.footer-email a:hover { color: var(--gold-pale); }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .25s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-legal {
  display: flex;
  gap: 1.8rem;
}
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: color .25s;
}
.footer-legal a:hover { color: var(--gold-light); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── APPLY PAGE ───────────────────────────────────────────── */
.apply-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.apply-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: .07;
}
.apply-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.apply-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.apply-section { padding: 6rem 0; background: var(--off-white); }

.apply-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.apply-sidebar {
  position: sticky;
  top: 100px;
}
.apply-sidebar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.apply-sidebar-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.apply-sidebar-card ul { display: flex; flex-direction: column; gap: .8rem; }
.apply-sidebar-card ul li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.apply-sidebar-card ul li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
}

.apply-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow);
}
.apply-form-card .form-title {
  font-size: 1.7rem;
  margin-bottom: .5rem;
}
.apply-form-card .form-subtitle {
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.file-upload-area {
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--navy);
  background: var(--slate);
}
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.file-upload-text { font-size: .88rem; color: var(--gray); }
.file-upload-text strong { color: var(--navy); }
.file-name-display {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--navy);
  font-weight: 500;
}
.file-name-display.visible { display: flex; }

.form-divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 1.8rem 0;
}

.form-check {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check label {
  font-size: .85rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1.6;
}
.form-check label a { color: var(--navy); font-weight: 600; }
.form-check label a:hover { color: var(--gold); }

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { position: static; }
  .apply-form-card { padding: 2rem; }
}

/* ── TERMS / PRIVACY PAGES ────────────────────────────────── */
.legal-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 10rem 0 5rem;
  text-align: center;
  color: var(--white);
  position: relative;
}
.legal-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .6rem;
}
.legal-hero p { font-size: .95rem; color: rgba(255,255,255,.55); }

.legal-content-section { padding: 5rem 0; background: var(--white); }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--slate);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.legal-toc h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
}
.legal-toc ul { display: flex; flex-direction: column; gap: .4rem; }
.legal-toc a {
  font-size: .82rem;
  color: var(--gray);
  padding: .35rem .6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: block;
}
.legal-toc a:hover { background: var(--white); color: var(--navy); }

.legal-body { max-width: 800px; }
.legal-body h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--gray-light);
}
.legal-body h2:first-of-type { border-top: none; margin-top: 0; }
.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.8rem;
  margin-bottom: .7rem;
}
.legal-body p {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.82;
  margin-bottom: 1rem;
}
.legal-body ul {
  margin: .8rem 0 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.legal-body ul li {
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.7;
  position: relative;
  padding-left: 1rem;
}
.legal-body ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.4;
}
.legal-body a { color: var(--navy); font-weight: 600; }
.legal-body a:hover { color: var(--gold); }

.legal-highlight {
  background: var(--slate);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* ── Spinner / Loading Button State ──────────────────────── */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn-loading::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary.btn-loading::before { border-top-color: var(--navy); }

/* ── Back to Top ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 900;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  font-size: 1.1rem;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ── Wave Dividers ────────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg { display: block; }

/* ── Utility ──────────────────────────────────────────────── */
.gold { color: var(--gold); }
.navy { color: var(--navy); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }

/* ── Responsive: General ──────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 5rem 0; }
  .container { padding: 0 1.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:not(:last-child)::after { display: none; }
}
