@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Atlas Workforce — shared visual system */
:root {
  --ink: #0b1728;
  --ink-2: #152740;
  --blue: #2156db;
  --blue-dark: #173fa9;
  --teal: #0a8f80;
  --amber: #f3a83b;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #dfe6ef;
  --muted: #627087;
  --success: #137a59;
  --danger: #bd3030;
  --shadow-sm: 0 8px 24px rgba(11, 23, 40, .08);
  --shadow-lg: 0 24px 70px rgba(11, 23, 40, .15);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: 220ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 .8rem; line-height: 1.12; letter-spacing: -.028em; }
h1 { font-size: clamp(2.85rem, 6vw, 5.35rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-140%);
  padding: .7rem 1rem; background: var(--paper); color: var(--ink); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(33, 86, 219, .4); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section.mist, .mist { background: var(--mist); }
.section.dark { color: var(--paper); background: var(--ink); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
/* .main-logo{
  width: 170px;
} */
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #9fc4ff; }
.lead { font-size: 1.16rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.text-link span { transition: transform var(--transition); }
.text-link:hover span { transform: translateX(4px); }
.accent { color: #6ccfbd; }

/* Header */
.topbar { color: #d3dfed; background: #07111f; font-size: .8rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-group { display: flex; gap: 22px; }
.topbar a:hover { color: white; }
.site-header {
  position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(223, 230, 239, .85);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(15px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--blue), var(--teal)); border-radius: 12px; font-weight: 900;
  box-shadow: 0 8px 18px rgba(33, 86, 219, .22);
}
.brand-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; background: var(--amber); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .63rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 5px; }
.nav-link { position: relative; padding: 10px 11px; color: #34445a; font-size: .9rem; font-weight: 500; border-radius: 8px; }
.nav-link:hover, .nav-link.active { color: var(--blue); background: #eef3ff; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 8px; padding: 0; color: #34445a; background: transparent; border: 0; border-radius: 8px; transition: background var(--transition), color var(--transition); }
.theme-toggle:hover { color: var(--blue); background: #eef3ff; }
.header-cta { margin-left: 8px; }
.menu-toggle {
  width: 44px; height: 44px; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 0; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; background: white;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; transition: var(--transition); }
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: .76rem 1.25rem; border: 1px solid transparent; border-radius: 10px;
  font-size: .92rem; font-weight: 800; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(33, 86, 219, .22); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(33, 86, 219, .3); }
.btn-light { color: var(--ink); background: white; }
.btn-light:hover { box-shadow: var(--shadow-sm); }
.btn-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-outline:hover { color: var(--blue); border-color: var(--blue); background: #f8faff; }
.btn-amber { color: #172131; background: var(--amber); }
.btn-amber:hover { background: #ffc05e; }
.btn-block { width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero */
.hero {
  position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden;
  color: white; background: #0d1a2c url("../images/recruitment-team.png") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 15, 29, .97) 0%, rgba(9, 27, 48, .92) 43%, rgba(9, 27, 48, .38) 72%, rgba(9, 27, 48, .15) 100%);
}
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; left: -250px; bottom: -300px; border: 70px solid rgba(108, 207, 189, .13); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; max-width: 710px; padding: 90px 0; }
.hero h1 { max-width: 760px; }
.hero p { max-width: 650px; color: #d6e1ef; font-size: 1.18rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; }
.hero-proof li { display: flex; align-items: center; gap: 9px; color: #eff5fb; font-size: .88rem; font-weight: 700; }
.check { width: 22px; height: 22px; display: inline-grid; place-items: center; flex: 0 0 22px; color: white; background: var(--teal); border-radius: 50%; font-size: .72rem; }
.hero-float {
  position: absolute; z-index: 2; right: max(20px, calc((100% - var(--container)) / 2)); bottom: 40px;
  width: 260px; padding: 20px; color: var(--ink); border: 1px solid rgba(255,255,255,.45); border-radius: 16px;
  background: rgba(255,255,255,.91); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
}
.hero-float strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.hero-float span { color: var(--muted); font-size: .82rem; }
.hero-float-top { display: flex; align-items: center; gap: 12px; }
.avatars { display: flex; margin-top: 16px; }
.avatars i { width: 31px; height: 31px; display: grid; place-items: center; margin-left: -7px; color: white; border: 2px solid white; border-radius: 50%; background: var(--blue); font-size: .65rem; font-style: normal; font-weight: 800; }
.avatars i:first-child { margin-left: 0; background: var(--teal); }
.avatars i:nth-child(2) { background: #7b55d9; }
.avatars i:nth-child(3) { background: #c2722f; }

.page-hero {
  position: relative; min-height: 410px; display: grid; align-items: center; overflow: hidden; color: white;
  background: linear-gradient(120deg, rgba(7, 17, 31, .98), rgba(13, 42, 72, .90)), url("../images/recruitment-team.png") center 35% / cover;
}
.page-hero.industry-bg { background-image: linear-gradient(120deg, rgba(7, 17, 31, .97), rgba(13, 42, 72, .78)), url("../images/industries-workforce.png"); }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -180px; width: 470px; height: 470px; border: 80px solid rgba(108, 207, 189, .12); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 1;  padding: 78px 0; }
.page-hero h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); }
.page-hero p { max-width: 660px; color: #d6e1ef; font-size: 1.12rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; color: #c4d2e2; font-size: .86rem; }
.breadcrumbs a:hover { color: white; }

/* Layout and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px, 8vw, 100px); }
.split.reverse > :first-child { order: 2; }
.card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white;
  box-shadow: 0 1px 0 rgba(11, 23, 40, .02); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-5px); border-color: #c9d6e8; box-shadow: var(--shadow-sm); }
.icon-box {
  width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 22px;
  color: var(--blue); border-radius: 14px; background: #edf3ff; font-size: 2rem; font-weight: 900;
}
.icon-box.teal { color: var(--teal); background: #e8f7f4; }
.icon-box.amber { color: #9c5d00; background: #fff4df; }
.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -38px; bottom: -38px; width: 90px; height: 90px; border: 18px solid #eef3fb; border-radius: 50%; }
.service-card p { min-height: 76px; }
.industry-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.industry-card .number { color: #bdc9d9; font-size: 1.3rem !important; font-weight: 800; letter-spacing: .12em; }
.industry-card h3 { margin-bottom: 0; }
.industry-card:hover { color: white; border-color: transparent; background: var(--ink-2); }
.industry-card:hover .number { color: #91aecc; }
.industry-card:hover p { color: #c5d2e0; }
.image-shell { position: relative; }
.image-shell img { width: 100%; min-height: 450px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.image-shell::before { content: ""; position: absolute; z-index: -1; left: -18px; top: 22px; width: 78%; height: 96%; border: 2px solid #b8d2ff; border-radius: 24px; }
.experience-badge { position: absolute; right: -20px; bottom: 30px; width: 150px; padding: 20px; color: white; border-radius: 16px; background: var(--blue); box-shadow: var(--shadow-lg); }
.experience-badge strong { display: block; font-size: 2rem; }
.experience-badge span { font-size: .8rem; }
.tick-list { display: grid; gap: 13px; margin: 24px 0; }
.tick-list li { display: flex; align-items: flex-start; gap: 11px; color: #35445a; }

/* Trust strip */
.trust-strip { padding: 29px 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 35px; }
.trust-inner > p { margin: 0; color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 18px; }
.client-logo { padding: 10px; color: #718097; text-align: center; font-size: .9rem; font-weight: 850; letter-spacing: .035em; }

/* Why / process */
.why-card { padding: 0; overflow: hidden; }
.why-card-top { padding: 28px; color: white; background: var(--ink-2); }
.why-card-body { padding: 28px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 25px; }
.mini-metric { padding: 16px; border-radius: 12px; background: var(--mist); text-align: center; }
.mini-metric strong { display: block; color: var(--blue); font-size: 1.35rem; }
.mini-metric span { color: var(--muted); font-size: .73rem; }
.process-grid { counter-reset: process; }
.process-card { position: relative; padding-top: 36px; }
.process-card::before {
  counter-increment: process; content: "0" counter(process); position: absolute; top: -16px; left: 27px;
  color: white; padding: 7px 13px; border-radius: 9px; background: var(--blue); font-size: .78rem; font-weight: 900;
}
.process-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -20px; color: #9dadc2; font-size: 1.3rem; }

/* Jobs */
.jobs-toolbar { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 12px; margin-bottom: 30px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.field-inline { position: relative; }
.field-inline input, .field-inline select { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: white; }
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 24px; }
.job-logo { width: 54px; height: 54px; display: grid; place-items: center; color: white; border-radius: 13px; background: linear-gradient(145deg, var(--blue), var(--teal)); font-weight: 900; }
.job-title { margin-bottom: 5px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .84rem; }
.job-meta span::before { content: "•"; margin-right: 7px; color: var(--teal); }
.tag { display: inline-flex; padding: 5px 9px; color: #176657; border-radius: 99px; background: #e7f6f3; font-size: .72rem; font-weight: 800; }
.job-empty { display: none; padding: 35px; color: var(--muted); text-align: center; border: 1px dashed #b9c7d8; border-radius: 14px; }
.job-empty.show { display: block; }

/* Testimonials and stats */
.testimonial { display: flex; flex-direction: column; }
.quote-mark { color: var(--amber); font-family: Georgia, serif; font-size: 3.5rem; line-height: .75; }
.testimonial blockquote { flex: 1; margin: 18px 0 24px; color: #33435a; font-size: 1.02rem; }
.person { display: flex; align-items: center; gap: 12px; }
.person-avatar { width: 43px; height: 43px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--ink-2); font-size: .75rem; font-weight: 900; }
.person strong, .person small { display: block; }
.person small { color: var(--muted); }
.stats-band { color: white; background: linear-gradient(100deg, var(--blue-dark), var(--blue) 55%, var(--teal)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 45px 30px; border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.stat span { color: #dceaff; font-size: .85rem; }

/* CTA */
.cta-band { position: relative; overflow: hidden; padding: 72px 0; color: white; background: var(--ink); }
.cta-band::after { content: ""; position: absolute; right: -100px; top: -130px; width: 380px; height: 380px; border: 65px solid rgba(108,207,189,.12); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; }
.cta-inner h2 { max-width: 760px; margin: 0; }
.cta-actions { display: flex; gap: 12px; }

/* Inner page components */
.value-card { border-top: 4px solid var(--blue); }
.value-card:nth-child(2) { border-top-color: var(--teal); }
.value-card:nth-child(3) { border-top-color: var(--amber); }
.timeline { position: relative; display: grid; gap: 26px; max-width: 850px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 109px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 42px; position: relative; }
.timeline-year { padding-top: 20px; color: var(--blue); font-weight: 900; text-align: right; }
.timeline-copy { position: relative; padding: 22px 25px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.timeline-copy::before { content: ""; position: absolute; left: -30px; top: 26px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.team-card { padding: 0; overflow: hidden; }
.team-portrait { height: 220px; display: grid; place-items: center; background: linear-gradient(145deg, #eaf1fc, #dce9ed); }
.team-initials { width: 105px; height: 105px; display: grid; place-items: center; color: white; border-radius: 32px; background: linear-gradient(145deg, var(--ink-2), var(--blue)); font-size: 1.8rem; font-weight: 900; transform: rotate(-4deg); box-shadow: 0 20px 30px rgba(11,23,40,.16); }
.team-copy { padding: 25px; }
.team-role { color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.team-copy p { margin-top: 12px; font-size: .9rem; }
.service-detail { display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.service-detail .icon-box { margin: 0; }
.service-detail ul { display: grid; gap: 7px; margin-top: 14px; color: var(--muted); font-size: .88rem; }
.service-detail li::before { content: "✓"; margin-right: 8px; color: var(--teal); font-weight: 900; }
.industry-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 0; }
.industry-photo { min-height: 360px; background: url("../images/industries-workforce.png") center / cover; }
.industry-feature-copy { display: grid; align-content: center; padding: clamp(32px, 6vw, 64px); background: var(--ink); color: white; }
.industry-feature-copy p { color: #c8d5e3; }
.project-card { padding: 0; overflow: hidden; }
.project-visual { min-height: 220px; display: flex; align-items: flex-end; padding: 24px; color: white; background: linear-gradient(135deg, var(--ink-2), var(--blue)); }
.project-card:nth-child(2) .project-visual { background: linear-gradient(135deg, #073b39, var(--teal)); }
.project-card:nth-child(3) .project-visual { background: linear-gradient(135deg, #4f2d00, #cd7b0a); }
.project-icon { font-size: 3.4rem; line-height: 1; opacity: .85; }
.project-copy { padding: 27px; }
.result-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.result-list li { padding: 11px 8px; color: var(--muted); border-radius: 9px; background: var(--mist); text-align: center; font-size: .73rem; }
.result-list strong { display: block; color: var(--ink); font-size: 1.1rem; }
.bar-chart { display: grid; gap: 18px; }
.bar-item { display: grid; grid-template-columns: 170px 1fr 50px; align-items: center; gap: 14px; }
.bar-label { font-size: .9rem; font-weight: 750; }
.bar-track { height: 11px; overflow: hidden; border-radius: 10px; background: #e3e9f1; }
.bar-fill { width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.bar-value { color: var(--blue); font-size: .82rem; font-weight: 850; }

/* Forms */
.form-card { padding: clamp(25px, 5vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: #34445a; font-size: .84rem; font-weight: 750; }
.form-control {
  width: 100%; min-height: 50px; padding: .75rem .9rem; color: var(--ink); border: 1px solid #cfd8e5; border-radius: 10px; background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-control:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33,86,219,.10); }
.form-control:user-invalid { border-color: #d89797; }
.field-help { margin: 0; font-size: .73rem; }
.form-status { display: none; margin: 15px 0 0; padding: 11px 13px; color: #115d47; border-radius: 9px; background: #e6f5ef; font-size: .85rem; }
.form-status.show { display: block; }
.form-tabs { display: flex; gap: 8px; margin-bottom: 24px; padding: 6px; border-radius: 12px; background: var(--mist); }
.form-tab { flex: 1; padding: 10px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; font-weight: 800; }
.form-tab.active { color: var(--blue); background: white; box-shadow: 0 3px 12px rgba(11,23,40,.08); }
.tab-panel[hidden] { display: none; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.contact-item .icon-box { width: 42px; height: 42px; margin: 0; border-radius: 11px; font-size: 1.05rem; }
.contact-item strong, .contact-item span { display: block; }
.contact-item span { color: var(--muted); font-size: .88rem; }
.map-placeholder { min-height: 390px; display: grid; place-items: center; overflow: hidden; position: relative; border-radius: 22px; background: #dce9e8; }
.map-placeholder::before, .map-placeholder::after { content: ""; position: absolute; width: 150%; height: 20px; background: rgba(255,255,255,.75); transform: rotate(-18deg); }
.map-placeholder::after { transform: rotate(25deg); }
.map-pin { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; color: white; border: 8px solid rgba(255,255,255,.7); border-radius: 50% 50% 50% 0; background: var(--blue); font-size: 1.4rem; transform: rotate(-45deg); box-shadow: var(--shadow-lg); }
.map-pin span { transform: rotate(45deg); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; color: var(--ink); border: 0; background: transparent; text-align: left; font-weight: 800; }
.faq-question::after { content: "+"; color: var(--blue); font-size: 1.3rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 21px 20px; }
.faq-answer p { margin: 0; }

/* Footer */
.site-footer { color: #c3cfdd; background: #07111f; }
.footer-main { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1fr; gap: 50px; padding: 72px 0 55px; }
.footer-brand .brand { color: white; }
.footer-brand .brand-copy small { color: #8fa0b3; }
.footer-brand > p { max-width: 330px; margin-top: 22px; color: #91a2b5; }
.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #27384c; border-radius: 9px; font-size: .72rem; font-weight: 850; }
.socials a:hover { color: white; border-color: var(--teal); background: var(--teal); }
.footer-title { margin-bottom: 20px; color: white; font-size: .9rem; letter-spacing: .02em; }
.footer-links { display: grid; gap: 10px; font-size: .86rem; }
.footer-links a:hover { color: white; transform: translateX(2px); }
.footer-contact { display: grid; gap: 12px; font-size: .86rem; }
.footer-contact li { display: flex; gap: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid #1b2a3e; font-size: .78rem; }
.footer-bottom p { margin: 0; color: #7f90a5; }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .topbar { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto; max-height: calc(100vh - 76px); display: block; overflow-y: auto;
    padding: 16px 20px 28px; border-top: 1px solid var(--line); background: white;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); box-shadow: 0 20px 30px rgba(11,23,40,.12);
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { display: block; padding: 13px; }
  .header-cta { margin: 12px 0 0; }
  .header-cta .btn { width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
  .hero-float { display: none; }
  .jobs-toolbar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 76px 0; }
  .section-sm { padding: 56px 0; }
  .hero { min-height: 650px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,15,29,.97), rgba(9,27,48,.87) 72%, rgba(9,27,48,.55)); }
  .page-hero { min-height: 360px; }
  .grid-2, .grid-3, .split, .industry-feature, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: initial; }
  .image-shell img { min-height: 360px; }
  .experience-badge { right: 15px; }
  .trust-inner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .process-card:not(:last-child)::after { content: "↓"; top: auto; bottom: -25px; right: 50%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .cta-inner { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: auto 1fr; }
  .job-card > .btn { grid-column: 1 / -1; width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > :last-child { grid-column: auto; }
  .bar-item { grid-template-columns: 120px 1fr 42px; }
}

@media (max-width: 540px) {
  h1 { font-size: 2.65rem; }
  .brand-copy small { display: none; }
  .hero { min-height: 620px; }
  .hero-content { padding: 70px 0; }
  .hero-proof { gap: 12px; }
  .hero-proof li { width: 100%; }
  .hero-actions, .cta-actions { display: grid; width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .grid-4, .form-grid, .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat:last-child { border-bottom: 0; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 23px; }
  .jobs-toolbar { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .job-logo { width: 46px; height: 46px; }
  .metric-row, .result-list { grid-template-columns: 1fr; }
  .timeline::before { left: 15px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 38px; gap: 4px; }
  .timeline-year { padding-top: 0; text-align: left; }
  .timeline-copy::before { left: -30px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > * { grid-column: auto !important; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .bar-item { grid-template-columns: 1fr 42px; }
  .bar-track { grid-column: 1 / -1; order: 3; }
}

/* =========================================
   GLOBAL DARK MODE OVERRIDES
========================================= */

html[data-theme="dark"], html.dark-mode {
  --ink: #f8fafc;
  --ink-2: #e2e8f0;
  --paper: #0b1728;
  --mist: #152740;
  --line: #1e3352;
  --muted: #94a3b8;
  background: var(--paper);
}

/* Header & Navigation */
html[data-theme="dark"] .site-header { background: rgba(11, 23, 40, 0.95); border-bottom-color: var(--line); }
html[data-theme="dark"] .menu-toggle { background: var(--paper); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .nav-link { color: var(--ink); }
html[data-theme="dark"] .nav-link:hover, html[data-theme="dark"] .nav-link.active { background: var(--mist); }
html[data-theme="dark"] .theme-toggle { color: var(--ink); }
html[data-theme="dark"] .theme-toggle:hover { background: var(--mist); color: var(--blue); }

/* Buttons */
html[data-theme="dark"] .btn-light { background: var(--mist); color: var(--ink); }
html[data-theme="dark"] .btn-light:hover { background: #1e3352; }
html[data-theme="dark"] .btn-outline { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .btn-outline:hover { background: var(--mist); color: var(--blue); border-color: var(--blue); }

/* General Components */
html[data-theme="dark"] .card,
html[data-theme="dark"] .jobs-toolbar,
html[data-theme="dark"] .field-inline input,
html[data-theme="dark"] .field-inline select,
html[data-theme="dark"] .timeline-copy,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .faq-item {
  background: var(--paper);
  border-color: var(--line);
}

/* Form Tabs & Mobile Menu */
html[data-theme="dark"] .form-tab.active { background: var(--paper); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3); }
html[data-theme="dark"] .nav-menu { background: var(--paper); border-color: var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.3); }

/* Icon Boxes */
html[data-theme="dark"] .icon-box { background: var(--mist); }
html[data-theme="dark"] .icon-box.teal { background: rgba(10, 143, 128, 0.15); }
html[data-theme="dark"] .icon-box.amber { background: rgba(243, 168, 59, 0.15); }

/* Text Color Adjustments */
html[data-theme="dark"] .testimonial blockquote,
html[data-theme="dark"] .form-group label,
html[data-theme="dark"] .tick-list li,
html[data-theme="dark"] .faq-question {
  color: var(--ink-2);
}

/* Timeline & Forms & Miscellaneous */
html[data-theme="dark"] .timeline-copy::before { border-color: var(--paper); }
html[data-theme="dark"] .job-meta span::before { color: var(--teal); }
html[data-theme="dark"] .tag { background: rgba(10, 143, 128, 0.15); color: #6ccfbd; }

html[data-theme="dark"] .form-control { color: var(--ink); }
html[data-theme="dark"] .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33,86,219,.20); }

/* Responsive Overrides */
@media (max-width: 1020px) {
  html[data-theme="dark"] .nav-menu { border-top-color: var(--line); }
}

/* Fixes for sections that are dark in light mode */
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .section.dark,
html[data-theme="dark"] .industry-feature-copy {
  background: var(--mist);
  color: var(--ink);
}

html[data-theme="dark"] .why-card-top,
html[data-theme="dark"] .person-avatar {
  background: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .industry-card:hover {
  background: var(--mist);
  color: var(--ink);
}

html[data-theme="dark"] .team-initials,
html[data-theme="dark"] .project-visual {
  background: linear-gradient(135deg, var(--mist), var(--blue));
}

html[data-theme="dark"] .hero-float {
  background: rgba(11, 23, 40, 0.91);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .avatars i {
  border-color: #0b1728;
}
