/* ===== Tokens (from Figma) ===== */
:root {
  --navy-900: #07152b;
  --navy-800: #0b1f3a;
  --navy-600: #183b66;
  --gold: #d4af37;
  --gold-dark: #b8942d;
  --gold-text: #8a6a0a;      /* 5:1 on white – use for gold TEXT on light backgrounds */
  --wa-green: #15803d;       /* white text on this is 5:1 */
  --gold-light: #fde68a;
  --amber: #f59e0b;
  --slate-900: #172033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --green-bg: #d1fae5;
  --green-text: #065f46;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-body); color: var(--slate-600); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--navy-800); }
p { margin: 0 0 16px; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 2px; }
.bg-navy :focus-visible, .portal-panel :focus-visible, .hero :focus-visible, .final-cta :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .wa-float:focus-visible { outline-color: #fde68a; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 900px; }
.center { text-align: center; }
.mt { margin-top: 40px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid var(--slate-800); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }
.brand img { width: 75px; height: auto; display: block; object-fit: contain; }
.brand span { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; color: var(--slate-300); }
.nav-menu a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font: 600 16px var(--font-body); padding: 16px 32px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.btn-gold:hover { background: #e0bb45; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); font-weight: 500; backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy-800); color: #fff; border-radius: 8px; padding: 12px 20px; font-size: 14px; }
.btn-navy:hover { background: var(--navy-600); }
.btn-outline { border: 1px solid var(--slate-300); color: var(--slate-700); border-radius: 8px; padding: 10px 16px; font-size: 14px; background: #fff; }
.btn-whatsapp { background: var(--wa-green); color: #fff; border-radius: 8px; padding: 12px 20px; font-size: 14px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; }
.btn-block { width: 100%; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.btn-row.center { justify-content: center; }
.btn-navy.btn-lg { font-size: 16px; padding: 14px 32px; border-radius: 10px; }
.text-link { font-weight: 700; color: var(--navy-800); }
.text-link:hover { color: var(--gold-text); }

/* ===== Hero ===== */
.hero { background: linear-gradient(152deg, #07152b 0%, #0b1f3a 50%, #183b66 100%); border-bottom: 1px solid var(--slate-800); padding: 96px 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 7px 17px; border: 1px solid rgba(212,175,55,.4); background: rgba(7,21,43,.8); color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; border-radius: 999px; }
.hero h1 { font-size: 60px; line-height: 60px; color: #fff; margin: 24px 0; }
.gold-text { background: linear-gradient(90deg, var(--gold-light), var(--gold) 50%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; line-height: 28px; color: var(--slate-300); max-width: 576px; margin-bottom: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(51,65,85,.6); }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; color: var(--slate-200); }
.hero-points i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(212,175,55,.2); font-style: normal; }
.hero-visual { position: relative; height: 464px; border: 2px solid rgba(212,175,55,.4); border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #183b66, #07152b); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,21,43,.9), rgba(7,21,43,0) 50%, rgba(7,21,43,.2)); pointer-events: none; }
.hero-badges { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { background: rgba(255,255,255,.95); color: var(--navy-800); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.hero-card { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 17px; border-radius: 12px; background: rgba(7,21,43,.9); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.hero-card i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(212,175,55,.2); font-style: normal; }
.hero-card strong { display: block; color: var(--gold); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.hero-card span { font-size: 12px; font-weight: 500; color: var(--slate-200); }

/* ===== Sections ===== */
.section { padding: 80px 0; border-bottom: 1px solid var(--slate-200); }
.bg-white { background: #fff; }
.bg-light { background: var(--slate-50); }
.bg-navy { background: var(--navy-900); }
.section-head { max-width: 768px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.eyebrow.gold { color: var(--gold); }
.section h2 { font-size: 36px; line-height: 40px; margin-bottom: 12px; }
.section-head p { font-size: 16px; }
.on-dark { color: #fff; }
.on-dark-text { color: var(--slate-300); }
.big { font-size: 28px; line-height: 32px; margin-bottom: 8px; }

/* ===== Grids & cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid.tight { gap: 16px; }
.card { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 25px; box-shadow: var(--shadow); }
.bg-light .card { background: #fff; }
.card h3 { font-size: 18px; margin: 16px 0 8px; font-weight: 600; }
.card p { font-size: 14px; margin: 0; }
.icon-box { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); font-style: normal; font-size: 20px; }
.icon-box.sm { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; flex: none; }
.icon-box.dark { background: rgba(212,175,55,.2); width: 40px; height: 40px; }
.note-bar { margin-top: 32px; padding: 17px; border: 1px solid var(--slate-200); background: var(--slate-50); border-radius: 12px; font-size: 12px; color: var(--slate-500); }
.note-bar.center { text-align: center; }
.note-bar.split { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 32px; color: var(--slate-500); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { margin: 8px 0 16px; }
.stack { display: grid; gap: 24px; }
.row-card { display: flex; gap: 16px; padding: 33px; }
.row-card h3 { margin-top: 0; font-size: 20px; }

/* Countries */
.country { background: var(--slate-50); padding: 21px; border-radius: 16px; border: 1px solid var(--slate-200); transition: border-color .15s, box-shadow .15s; }
.country:hover { border-color: var(--gold); box-shadow: 0 8px 20px rgba(11,31,58,.08); }
.country-top { display: flex; justify-content: space-between; align-items: center; }
.country-top .flag { font-size: 28px; line-height: 36px; }
.tag { font-size: 11px; font-weight: 600; color: var(--gold-text); background: rgba(212,175,55,.15); padding: 2px 8px; border-radius: 6px; }
.country h3 { font-size: 18px; margin: 4px 0 8px; }
.country p { font-size: 13px; min-height: 48px; }
.country a { font-size: 12px; font-weight: 700; color: var(--navy-800); }
.country a:hover { color: var(--gold-text); }

/* Categories */
.cat h3 { font-size: 18px; }
.cat p { min-height: 60px; }
.cat a { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--gold-text); }
.wide-card { margin-top: 24px; display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.wide-card div { flex: 1; min-width: 240px; }
.wide-card h3 { margin-top: 0; }

/* Jobs */
.filter-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; padding: 33px 25px 25px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 16px; margin-bottom: 32px; }
.filter-bar label, .form-card label { display: block; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.span-2 { grid-column: span 2; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 13px; font: 400 14px var(--font-body); color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300); border-radius: 8px; }
input::placeholder, textarea::placeholder { color: #6b7280; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--navy-600); outline-offset: 1px; border-color: var(--navy-600); }
input.invalid, select.invalid, textarea.invalid { border-color: #dc2626; }
.job { display: flex; flex-direction: column; justify-content: space-between; }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.code { font: 700 12px "Liberation Mono", ui-monospace, Menlo, monospace; background: var(--slate-100); color: var(--slate-700); padding: 4px 10px; border-radius: 4px; }
.loc { font-size: 12px; font-weight: 600; background: var(--green-bg); color: var(--green-text); padding: 2px 10px; border-radius: 999px; }
.job h3 { font: 700 20px/28px var(--font-body); margin: 4px 0 8px; color: var(--navy-800); }
.job .desc { font-size: 12px; line-height: 16px; }
.job-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 16px; padding: 20px 12px 12px; background: var(--slate-50); border-radius: 12px; font-size: 12px; }
.job-meta small { display: block; color: var(--slate-500); }
.job-meta b { color: var(--navy-800); }
.job-meta .benefits { grid-column: span 2; border-top: 1px solid var(--slate-200); padding-top: 5px; color: var(--slate-700); }
.job-meta .benefits small { display: block; }
.job-actions { display: flex; gap: 12px; padding-top: 8px; }
.job-actions .apply { flex: 1; text-align: center; background: var(--gold); color: var(--navy-900); font-size: 12px; font-weight: 600; padding: 10px; border-radius: 8px; border: 0; cursor: pointer; }
.job-actions .details { border: 1px solid var(--slate-300); background: #fff; color: var(--slate-700); font: 600 12px var(--font-body); padding: 11px 17px; border-radius: 8px; cursor: pointer; }
.job.open .more { display: block; }
.more { display: none; margin-top: 12px; font-size: 12px; padding: 12px; border-radius: 8px; background: var(--slate-50); }

/* Why choose us / dark */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.why-grid h2 { margin: 8px 0 16px; }
.bg-navy .why-grid > div:first-child .btn { margin-top: 8px; }
.dark-card { padding: 21px; border-radius: 12px; background: rgba(11,31,58,.6); border: 1px solid rgba(51,65,85,.8); }
.dark-card h3 { color: #fff; font: 600 16px var(--font-body); margin: 16px 0 6px; }
.dark-card p { color: var(--slate-300); font-size: 13px; margin: 0; }

/* Steps */
.step { text-align: center; padding: 25px; }
.step b { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto; border-radius: 12px; background: var(--navy-800); color: var(--gold); font: 700 18px var(--font-head); }

/* Registration & contact */
.reg-grid { display: grid; grid-template-columns: 488fr 696fr; gap: 32px; align-items: start; }
.portal-panel { padding: 40px; border-radius: 24px; background: linear-gradient(152deg, #07152b, #183b66); color: #fff; }
.portal-panel h2 { font-size: 32px; line-height: 36px; margin: 16px 0; }
.check-list { margin: 24px 0; display: grid; gap: 16px; font-size: 14px; color: var(--slate-300); }
.check-list li { display: flex; gap: 12px; }
.check-list b { color: #fff; }
.desk { display: grid; gap: 4px; padding: 17px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); font-size: 12px; color: var(--slate-300); }
.desk strong { color: var(--gold); letter-spacing: .6px; }
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 24px; padding: 33px; box-shadow: 0 4px 12px rgba(11,31,58,.05); }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card .sub { font-size: 13px; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { padding: 12px 15px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--slate-600); }
.dropzone { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 22px; margin: 4px 0 20px; border: 2px dashed var(--slate-300); border-radius: 12px; background: var(--slate-50); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone.drag, .dropzone:hover { border-color: var(--gold); background: #fffbeb; }
.dropzone strong { font-size: 14px; color: var(--navy-800); }
.dropzone small { color: var(--slate-500); }
.dz-icon { font-size: 22px; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-weight: 400 !important; font-size: 12px !important; }
.consent input { width: 16px; margin: 3px 0 0; }
.form-status { min-height: 20px; margin: 0 0 12px; font-size: 13px; font-weight: 500; }
.form-status.ok { color: #047857; }
.form-status.err { color: #dc2626; }
.contact-list { display: grid; gap: 16px; margin: 24px 0; }
.contact-list li { display: flex; gap: 12px; }
.contact-list small { display: block; font-size: 12px; color: var(--slate-300); }
.contact-list a, .contact-list span { color: #fff; font-size: 14px; font-weight: 500; }

/* Mini list */
.mini-list { display: grid; gap: 16px; margin-top: 24px; }
.mini-list li { display: flex; gap: 12px; }
.mini-list strong { display: block; font-size: 14px; color: var(--navy-800); }
.mini-list span { font-size: 12px; }

/* Testimonials */
.quote { display: flex; flex-direction: column; justify-content: space-between; background: var(--slate-50); }
.quote .mark { font: 700 48px/36px var(--font-head); color: var(--gold); }
.quote p { font-size: 14px; font-style: italic; color: var(--slate-700); margin: 12px 0 24px; }
.who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--slate-200); }
.who b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--gold); font-size: 13px; }
.who strong { display: block; color: var(--navy-800); font-size: 14px; }
.who span { font-size: 12px; color: var(--slate-500); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; margin-bottom: 16px; overflow: hidden; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px; font: 600 16px var(--font-body); color: var(--navy-800); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--slate-500); border-bottom: 2px solid var(--slate-500); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 21px 21px; margin: 0; font-size: 14px; }

/* Final CTA */
.final-cta { padding: 80px 0; background: linear-gradient(135deg, #07152b, #183b66); }
.final-cta .xl { font-size: 44px; line-height: 48px; margin: 12px 0 16px; }
.final-cta .on-dark-text { max-width: 672px; margin: 0 auto 24px; font-size: 16px; }


/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .why-grid, .reg-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-900); padding: 8px 20px 20px; border-bottom: 1px solid var(--slate-800); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 0; width: 100%; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero-visual { height: 360px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 28px; line-height: 34px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .portal-panel, .form-card { padding: 24px; }
  .final-cta .xl { font-size: 32px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* =====================================================================
   v2 additions
   ===================================================================== */
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 8px; }

/* touch targets (44px minimum) */
.btn, .nav-menu a, .job-actions a, .nav-toggle, .text-link, .faq-item summary, .social-list a, .site-footer li a { min-height: 44px; }
.nav-toggle { min-width: 44px; }
.nav-menu a, .site-footer li a, .social-list a, .text-link { display: inline-flex; align-items: center; }
.btn-sm { min-height: 44px; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; border-radius: 8px; padding: 12px 20px; font-size: 14px; margin-bottom: 12px; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.portal-panel .btn-block { display: flex; }

/* job cards use links now */
.job h3 a:hover { text-decoration: underline; }
.job-actions a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 600; border-radius: 8px; }
.job-actions .apply { flex: 1; background: var(--gold); color: var(--navy-900); padding: 10px; }
.job-actions .apply:hover { background: #e0bb45; }
.job-actions .details { border: 1px solid var(--slate-300); background: #fff; color: var(--slate-700); padding: 10px 18px; }
.job-actions .details:hover { border-color: var(--navy-600); }
.sample-banner { margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: #fef3c7; color: #78350f; font-size: 13px; }

/* company profile */
.profile-list { display: grid; gap: 8px; margin: 8px 0 12px; font-size: 14px; }
.profile-list div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.profile-list dt { color: var(--slate-500); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; padding-top: 2px; }
.profile-list dd { margin: 0; color: var(--slate-800); overflow-wrap: anywhere; }
.profile-list a { color: var(--navy-800); text-decoration: underline; }

/* footer */
.site-footer { background: var(--navy-900); color: var(--slate-300); font-size: 14px; border-top: 1px solid var(--slate-800); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer .brand { font-size: 20px; }
.foot-h { font: 600 14px var(--font-body); color: #fff; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px; }
.foot-text { margin: 12px 0 0; font-size: 13px; }
.site-footer ul { display: grid; gap: 2px; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { padding: 4px 0; overflow-wrap: anywhere; }
.social-list { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.social-list a { padding: 0 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 13px; }
.foot-bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--slate-800); font-size: 13px; text-align: center; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--wa-green); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.wa-float:hover { background: #166534; }

/* inner pages */
.page-hero { background: linear-gradient(152deg, #07152b, #183b66); padding: 56px 0 48px; color: #fff; }
.page-hero h1 { color: #fff; font-size: 40px; line-height: 46px; margin: 8px 0 12px; }
.page-hero p { color: var(--slate-300); max-width: 640px; margin: 0; }
.breadcrumb { font-size: 13px; color: var(--slate-300); }
.breadcrumb a { text-decoration: underline; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; }
.results-bar button { min-height: 44px; }
.link-btn { background: none; border: 0; color: var(--navy-800); text-decoration: underline; font: 600 14px var(--font-body); cursor: pointer; padding: 0 8px; }
.load-more { display: flex; justify-content: center; margin-top: 32px; }
.filter-bar.jobs-page { grid-template-columns: 2fr 1.2fr 1.2fr 1fr; }
.filter-bar.jobs-page .btn { align-self: end; }

/* job detail */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.detail-main > section { margin-bottom: 32px; }
.detail-main h2 { font-size: 22px; line-height: 28px; margin-bottom: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.fact { padding: 14px 16px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; }
.fact dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--slate-500); }
.fact dd { margin: 4px 0 0; color: var(--navy-800); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.detail-main p { white-space: pre-line; }
.detail-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.detail-side .form-card { padding: 24px; border-radius: 20px; }
.detail-side .form-grid { grid-template-columns: 1fr; margin-bottom: 12px; }
.detail-side h2 { font-size: 20px; }
.apply-top { display: grid; gap: 10px; }
.notfound { text-align: center; padding: 64px 0; }

/* legal pages */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 22px; line-height: 28px; margin: 32px 0 8px; }
.prose p, .prose li { font-size: 16px; color: var(--slate-700); }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.prose a { color: var(--navy-800); text-decoration: underline; }
.draft-note { padding: 14px 16px; border-radius: 12px; background: #fef3c7; color: #78350f; font-size: 14px; margin-bottom: 24px; }

.dropzone:focus-within { border-color: var(--navy-600); outline: 3px solid var(--navy-600); outline-offset: 2px; }
.consent a { text-decoration: underline; color: var(--navy-800); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .filter-bar.jobs-page { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px; }      /* stops iOS zoom-in on focus */
  .footer-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .filter-bar.jobs-page, .facts { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; line-height: 36px; }
  .profile-list div { grid-template-columns: 1fr; gap: 0; }
  .wa-float .wa-text { display: none; }
  .wa-float { padding: 0; width: 52px; height: 52px; justify-content: center; font-size: 22px; }
  .nav-menu a { min-height: 48px; }
  body { padding-bottom: 72px; }
}

/* tap-target fixes */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.country a, .cat a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
.brand { gap: .28em; }   /* keeps the space between "Devan" and "Placements" in the flex layout */
.site-footer .brand { color: #fff; }

/* =====================================================================
   Admin dashboard
   ===================================================================== */
.admin-body { background: var(--slate-50); min-height: 100vh; }
.admin-tag { font: 600 11px var(--font-body); letter-spacing: .6px; text-transform: uppercase; color: var(--navy-900); background: var(--gold); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.admin-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.admin-nav button, .admin-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--slate-300); font: 500 14px var(--font-body); cursor: pointer; }
.admin-nav button:hover, .admin-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-nav [aria-current="page"] { color: var(--navy-900); background: var(--gold); font-weight: 600; }
.admin-nav .btn-logout { border: 1px solid rgba(255,255,255,.3); }
.login-card { max-width: 420px; margin: 40px auto; }
.login-card h1 { font-size: 26px; margin-bottom: 4px; }
.login-card label { margin: 16px 0 8px; }
.admin-panel { border-bottom: 0; padding: 32px 0 64px; }
.admin-h { font-size: 28px; line-height: 34px; margin-bottom: 20px; }
.admin-h2 { font-size: 20px; margin: 32px 0 12px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.admin-head .admin-h { margin-bottom: 12px; }
.admin-head .btn { padding: 12px 22px; font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 34px/40px var(--font-head); color: var(--navy-800); }
.stat span { font-size: 13px; color: var(--slate-600); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin: 8px 0 16px; }
.toolbar label { min-width: 200px; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.toolbar p { margin: 0 0 12px; font-size: 14px; color: var(--slate-600); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 14px; background: var(--slate-100); color: var(--slate-700); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; position: sticky; top: 0; }
.data-table td { padding: 12px 14px; border-top: 1px solid var(--slate-200); color: var(--slate-800); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.data-table td.wide { max-width: 320px; }
.data-table tbody tr:hover { background: var(--slate-50); }
.data-table a { color: var(--navy-600); text-decoration: underline; }
.data-table td.actions { white-space: nowrap; max-width: none; }
.data-table .actions button, .data-table .actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 56px; padding: 0 10px; margin-right: 4px; border: 1px solid var(--slate-300); border-radius: 8px; background: #fff; color: var(--navy-800); font: 600 13px var(--font-body); cursor: pointer; text-decoration: none; }
.data-table .actions button:hover, .data-table .actions a:hover { border-color: var(--navy-600); }
.data-table .actions .danger { color: #b91c1c; border-color: #fecaca; }
.data-table .actions .danger:hover { background: #fef2f2; border-color: #b91c1c; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status.on { background: var(--green-bg); color: var(--green-text); }
.status.off { background: #fee2e2; color: #991b1b; }
#job-dialog { width: min(760px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(7,21,43,.45); }
#job-dialog::backdrop { background: rgba(7,21,43,.6); }
#job-dialog form { padding: 24px 28px 28px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.dlg-head h2 { font-size: 22px; }
.dlg-close { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; border-radius: 8px; color: var(--slate-700); }
.dlg-close:hover { background: var(--slate-100); }
.dlg-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.dlg-actions .btn { padding: 12px 24px; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; max-width: min(560px, 92vw); padding: 14px 20px; border-radius: 12px; background: var(--navy-800); color: #fff; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.toast.err { background: #991b1b; }
@media (max-width: 768px) {
  .admin-h { font-size: 24px; }
  #job-dialog form { padding: 18px; }
  .admin-nav { padding-bottom: 8px; }
  .header-inner:has(.admin-nav) { height: auto; flex-wrap: wrap; padding-top: 8px; }
  body.admin-body { padding-bottom: 0; }
}
.table-wrap { position: relative; }   /* keeps screen-reader-only text inside the scroll box so the page never scrolls sideways */

/* social icons in the footer */
.social-list a { min-width: 44px; justify-content: center; }
.social-list .social-icon { padding: 0 11px; border-radius: 999px; }   /* round with an icon, a pill if the icon file is missing and the name shows */
.social-list .social-icon img { width: 22px; height: 22px; filter: invert(1); }   /* black icon files become white */
.social-list a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
