/* Careers portal — matches the main site's slate/teal look (src/styles.css and
   careers.component.css in the Angular app). Token names are the site's own so
   the two stay easy to keep in step. */
:root {
  --bg-slate-950: #020617;
  --bg-slate-900: #0f172a;
  --bg-slate-800: #1e293b;
  --border-slate-700: #334155;
  --text-slate-200: #e2e8f0;
  --text-slate-300: #cbd5e1;
  --text-slate-400: #94a3b8;
  --text-slate-500: #64748b;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-400: #22d3ee;
  --blue-300: #93c5fd;
  --amber-300: #fcd34d;
  --font-main: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg-slate-900); color: var(--text-slate-200); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color .2s; }
main a:not([class]) { color: var(--teal-400); text-decoration: underline; text-underline-offset: 2px; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--teal-400); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal-500); color: #fff; padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 44rem; }
.section-py { padding: 7.5rem 0 5rem; }
.muted { color: var(--text-slate-400); }

/* nav */
.navbar { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(15, 23, 42, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-slate-700); padding: .75rem 0; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo-box { display: flex; }
.logo-box img { display: block; height: 50px; max-height: 5vh; min-height: 32px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-slate-300); font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.nav-link:hover, .nav-link.is-current { color: var(--teal-400); }
.nav-mobile summary { list-style: none; cursor: pointer; color: #fff; padding: .25rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-slate-900); border-bottom: 1px solid var(--border-slate-700); padding: 1rem; }
.mobile-link { display: block; padding: .75rem 1rem; color: var(--text-slate-300); }
.mobile-link:hover { color: var(--teal-400); }
@media (min-width: 1280px) { .nav-links { display: flex; } .nav-mobile { display: none; } }
.icon-svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* buttons */
.btn-primary { display: inline-block; background: var(--teal-500); color: #fff; padding: .5rem 1.25rem; border-radius: .25rem; font-weight: 700; text-align: center; box-shadow: 0 4px 6px -1px rgba(20, 184, 166, .2); transition: background-color .2s; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary:hover { background: var(--teal-600); }
.btn-secondary { display: inline-block; border: 1px solid var(--border-slate-700); color: var(--text-slate-300); padding: .5rem 1.25rem; border-radius: .25rem; font-weight: 600; text-align: center; }
.btn-secondary:hover { border-color: var(--teal-500); color: var(--teal-400); }

/* hero */
.hero { margin-bottom: 3rem; }
.status-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(30, 41, 59, .8); border: 1px solid var(--teal-500); padding: .25rem 1rem; border-radius: 9999px; margin-bottom: 1.25rem; box-shadow: 0 0 10px rgba(20, 184, 166, .2); color: var(--teal-400); font-size: .875rem; font-weight: 500; }
.pulse-dot { width: .5rem; height: .5rem; background: var(--teal-400); border-radius: 50%; box-shadow: 0 0 5px var(--teal-400); }
@media (prefers-reduced-motion: no-preference) { .pulse-dot { animation: pulse 2s infinite; } }
@keyframes pulse { 50% { opacity: .4; } }
.page-title { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; color: #fff; line-height: 1.2; text-wrap: balance; }
.page-sub { display: block; margin-top: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--teal-400); }
.rule { height: 4px; width: 80px; background: linear-gradient(to right, var(--teal-500), var(--cyan-400)); margin: 1rem 0; }
.lede { color: var(--text-slate-400); max-width: 46rem; font-size: 1.05rem; }

/* perks */
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.perk-item { background: rgba(30, 41, 59, .5); border: 1px solid var(--border-slate-700); border-radius: .75rem; padding: 1.5rem; }
.perk-item h2 { color: #fff; font-size: 1.05rem; margin: .75rem 0 .5rem; }
.perk-item p { font-size: .875rem; color: var(--text-slate-400); }
.perk-icon { color: var(--teal-400); width: 32px; height: 32px; }

/* listing */
.section-title { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; scroll-margin-top: 6rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chip { border: 1px solid var(--border-slate-700); color: var(--text-slate-300); border-radius: 9999px; padding: .3rem .9rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--teal-500); }
.chip.on { border-color: var(--teal-500); color: var(--teal-400); background: rgba(20, 184, 166, .08); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.career-card { position: relative; background: var(--bg-slate-800); border: 1px solid var(--border-slate-700); border-radius: .75rem; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .3s, transform .3s, box-shadow .3s; min-width: 0; }
.career-card:hover { border-color: var(--teal-500); transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(20, 184, 166, .1); }
@media (prefers-reduced-motion: reduce) { .career-card:hover { transform: none; } }
.career-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem; }
.career-tag { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: .25rem; text-transform: uppercase; letter-spacing: .04em; border: 1px solid transparent; }
.tag-intern { background: rgba(20, 184, 166, .1); color: var(--teal-400); border-color: rgba(20, 184, 166, .25); }
.tag-full { background: rgba(59, 130, 246, .12); color: var(--blue-300); border-color: rgba(59, 130, 246, .25); }
.tag-dept { background: transparent; color: var(--text-slate-400); border-color: var(--border-slate-700); text-transform: none; letter-spacing: 0; font-weight: 500; }
.card-title { font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1.3; }
/* Whole card is the link target; the visible button is decorative. */
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: .75rem; }
.card-meta { font-size: .8rem; color: var(--text-slate-400); }
.card-summary { font-size: .9rem; color: var(--text-slate-400); flex: 1; }
.card-facts { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-slate-300); border-top: 1px solid var(--border-slate-700); padding-top: .75rem; margin-top: .25rem; font-variant-numeric: tabular-nums; }
.card-facts:empty { display: none; }
.card-facts b { color: #fff; }
.card-cta { width: 100%; margin-top: .5rem; }
.empty { border: 1px dashed var(--border-slate-700); border-radius: .75rem; padding: 2rem; }
.empty h3 { color: #fff; margin-bottom: .5rem; }
.career-internship { margin-top: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, rgba(20, 184, 166, .08), rgba(34, 211, 238, .04)); border: 1px solid var(--border-slate-700); border-radius: .75rem; padding: 1.75rem; }
.career-internship > div { max-width: 44rem; }
.band-title { color: #fff; font-size: 1.3rem; margin: .5rem 0 .25rem; }

/* role page */
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-slate-500); margin-bottom: 1.5rem; }
.crumbs a { color: var(--text-slate-400); }
.crumbs a:hover { color: var(--teal-400); }
.banner-closed { background: rgba(234, 179, 8, .1); border: 1px solid rgba(234, 179, 8, .3); color: var(--amber-300); border-radius: .5rem; padding: .75rem 1rem; margin-bottom: 1.5rem; }
.role-head { margin-bottom: 2.5rem; }
.role-head .page-title { margin: .75rem 0; }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .role-layout { grid-template-columns: 1fr; } }
.int-block { margin-bottom: 2.25rem; }
.int-block h2 { color: #fff; font-size: 1.2rem; margin-bottom: .75rem; }
.int-list li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; color: var(--text-slate-300); }
.int-list li::before { content: ""; position: absolute; left: .2rem; top: .65em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--teal-500); }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; margin-bottom: .75rem; color: var(--text-slate-300); }
.step-num { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--teal-500); color: var(--teal-400); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.facts { position: sticky; top: 6rem; background: var(--bg-slate-800); border: 1px solid var(--border-slate-700); border-radius: .75rem; padding: 1.5rem; display: grid; gap: 1rem; }
@media (max-width: 900px) { .facts { position: static; } }
.facts h2 { color: #fff; font-size: 1.05rem; }
.facts dl { display: grid; gap: .1rem; }
.fact { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--border-slate-700); font-size: .875rem; }
.fact dt { color: var(--text-slate-400); }
.fact dd { color: #fff; font-variant-numeric: tabular-nums; }
.fact address { font-style: normal; }
.fact address + address { margin-top: .5rem; }
.branches li { margin-bottom: .2rem; }
.apply-btn { width: 100%; }
.aicte-pending { font-size: .8rem; color: var(--text-slate-400); }
.closed-note h2 { color: var(--amber-300); font-size: 1rem; margin-bottom: .25rem; }
.closed-note p { font-size: .875rem; }
.apply { margin-top: 3rem; background: var(--bg-slate-950); border: 1px solid var(--border-slate-700); border-radius: .75rem; padding: 1.75rem; scroll-margin-top: 6rem; }
.apply h2 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.back { margin-top: 2.5rem; }
.back a { color: var(--text-slate-400); }
.back a:hover { color: var(--teal-400); }

/* footer */
.footer { background: var(--bg-slate-950); border-top: 1px solid var(--bg-slate-800); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-blurb { max-width: 20rem; margin-top: 1.25rem; }
.footer-title { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .875rem; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-list { color: var(--text-slate-400); font-size: .875rem; display: grid; gap: .6rem; }
.footer-list a:hover { color: var(--teal-400); }
.footer-list address { font-style: normal; }
.copyright { text-align: center; padding-top: 1.75rem; color: var(--text-slate-500); font-size: .875rem; }

/* application form */
.apply-form { margin-top: 1.25rem; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem 1.25rem; }
.field { display: grid; gap: .35rem; min-width: 0; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--text-slate-300); font-weight: 500; }
.req { color: var(--teal-400); }
.field input, .field textarea { width: 100%; background: var(--bg-slate-900); border: 1px solid var(--border-slate-700); border-radius: .375rem; padding: .6rem .75rem; color: var(--text-slate-200); font: inherit; font-size: .95rem; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-slate-500); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
[aria-invalid="true"] { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248, 113, 113, .2) !important; }
.hint { font-size: .78rem; color: var(--text-slate-500); }
.drop { position: relative; border: 1.5px dashed var(--border-slate-700); border-radius: .5rem; padding: 1rem; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--teal-500); background: rgba(20, 184, 166, .05); }
.drop.has-file { border-style: solid; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-body { display: flex; align-items: center; gap: .75rem; color: var(--text-slate-300); font-size: .9rem; pointer-events: none; overflow-wrap: anywhere; }
.pdf-badge { flex: none; font-size: .7rem; font-weight: 700; color: #fff; background: #dc2626; border-radius: .2rem; padding: .2rem .4rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-size: .85rem; color: var(--text-slate-400); cursor: pointer; }
.consent input { margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--teal-500); flex: none; }
.apply-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.turnstile { min-height: 65px; }
.submit { padding: .75rem 2rem; font-size: 1rem; }
.submit:disabled { opacity: .7; cursor: progress; }
.progress { margin-top: 1rem; display: grid; gap: .4rem; font-size: .85rem; color: var(--text-slate-300); }
.progress[hidden] { display: none; }
.progress .bar { height: 6px; width: 0; background: linear-gradient(to right, var(--teal-500), var(--cyan-400)); border-radius: 3px; transition: width .2s; }
.form-error { margin-top: 1rem; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: #fca5a5; border-radius: .5rem; padding: .75rem 1rem; font-size: .9rem; }
.form-error[hidden], .apply-done[hidden], .apply-form[hidden] { display: none; }
.apply-done { margin-top: 1rem; border: 1px solid rgba(20, 184, 166, .4); background: rgba(20, 184, 166, .08); border-radius: .75rem; padding: 1.5rem; display: grid; gap: .6rem; }
.apply-done:focus { outline: none; }
.apply-done h3 { color: var(--teal-400); font-size: 1.2rem; }

/* training */
.tag-train { background: rgba(234, 179, 8, .1); color: var(--amber-300); border-color: rgba(234, 179, 8, .25); }
.training-band { margin-top: 1.5rem; background: linear-gradient(135deg, rgba(234, 179, 8, .07), rgba(20, 184, 166, .04)); }
.pathway { background: rgba(20, 184, 166, .06); border: 1px solid rgba(20, 184, 166, .25); border-radius: .75rem; padding: 1.25rem 1.5rem; }
.pathway p { color: var(--text-slate-300); margin-bottom: .5rem; }
.fine { font-size: .8rem; color: var(--text-slate-500); margin-top: 1rem; }
.facts .fine { margin-top: 0; }
main .card-title a { color: inherit; text-decoration: none; }
