/* ============================================================================
   J SEVAI MAIYAM — PUBLIC SITE STYLES
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; color: var(--navy-900); }
p { margin: 0 0 1em; color: var(--slate-600); }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.tamil { font-family: var(--font-tamil); }
.mono { font-family: var(--font-mono); }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-600);
  background: var(--gold-100); padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill); font-weight: 600;
  font-size: 15px; border: 1.5px solid transparent; transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,155,60,.35); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy { background: transparent; border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .75; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.spinner-navy { border-color: rgba(20,40,77,.25); border-top-color: var(--navy-800); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--slate-100);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  color: var(--gold-300); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.brand-text { line-height: 1.2; }
.brand-text .en { display: block; font-weight: 700; font-size: 16px; color: var(--navy-900); }
.brand-text .ta { display: block; font-family: var(--font-tamil); font-size: 12.5px; color: var(--slate-500); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--ink-700); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold-500); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy-900); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200; background: var(--paper-0);
  padding: 20px 24px; overflow-y: auto;
}
.mobile-menu.open { display: block; animation: fadeIn .2s var(--ease); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu a { display: block; padding: 16px 4px; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid var(--slate-100); }
.mobile-menu .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 12px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn-outline-navy { display: none; }
  .hamburger { display: block; }
}
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* -------------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 600px at 85% -10%, #17305C 0%, var(--navy-950) 55%, var(--navy-950) 100%);
  color: #fff; padding: 76px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300);
  background: rgba(232,200,116,.12); border: 1px solid rgba(232,200,116,.3);
  padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.hero-brand-ta { font-family: var(--font-tamil); font-size: clamp(20px, 2.4vw, 26px); color: var(--gold-300); margin-bottom: 6px; font-weight: 600; }
.hero-sub { font-family: var(--font-tamil); font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.01em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-300); }
.hero-lead { color: rgba(255,255,255,.72); font-size: 17.5px; max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-mono); font-size: 27px; font-weight: 700; color: var(--gold-300); }
.hero-stat .label { font-size: 12.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .04em; }

/* Signature element: an animated career-path route connecting the stages a
   candidate actually moves through (search -> guide -> interview -> placed) */
.hero-path { position: relative; height: 460px; }
.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.path-line { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-dasharray: 6 8; opacity: .55;
  stroke-dashoffset: 0; animation: dash 26s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.path-node {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); padding: 12px 16px; border-radius: var(--radius-md);
  animation: floatY 6s ease-in-out infinite;
}
.path-node .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-400); color: var(--navy-950); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.path-node .txt strong { display: block; font-size: 13.5px; color: #fff; }
.path-node .txt span { font-size: 11.5px; color: rgba(255,255,255,.6); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.n1 { top: 4%; left: 4%; animation-delay: 0s; }
.n2 { top: 30%; right: 2%; animation-delay: .6s; }
.n3 { top: 58%; left: 8%; animation-delay: 1.2s; }
.n4 { top: 84%; right: 6%; animation-delay: 1.8s; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-path { height: 320px; margin-top: 20px; }
}

/* ---------------------------------------------------------- Industry chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: var(--radius-pill); background: var(--paper-50); border: 1px solid var(--slate-100);
  font-weight: 600; font-size: 14px; color: var(--navy-800); transition: all .2s;
}
.chip:hover { border-color: var(--gold-400); background: var(--gold-100); transform: translateY(-2px); }

/* --------------------------------------------------------------- Stat band */
.stat-band { background: var(--navy-900); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card .num { font-family: var(--font-mono); font-size: clamp(32px, 4vw, 46px); font-weight: 700; color: var(--gold-300); }
.stat-card .num::after { content: attr(data-suffix); }
.stat-card .label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.68); }
.stat-card .rule { width: 40px; height: 3px; background: var(--gold-500); border-radius: 2px; margin: 14px auto 0; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; gap: 30px; } }

/* --------------------------------------------------------------------- Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.industry-card {
  background: var(--paper-0); border: 1px solid var(--slate-100); border-radius: var(--radius-lg);
  padding: 26px; transition: all .25s var(--ease);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-300); }
.industry-card .ico {
  width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--navy-900);
  color: var(--gold-300); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.industry-card h3 { font-size: 17px; margin-bottom: 6px; }
.industry-card p { font-size: 14px; margin: 0; }

/* Services page cards */
.service-card {
  background: var(--paper-0); border: 1px solid var(--slate-100); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: all .25s var(--ease); position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--gold-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card .emoji { font-size: 30px; }
.service-card h3 { font-size: 16.5px; margin: 0; }
.service-card p { font-size: 13.5px; margin: 0; }

/* -------------------------------------------------------------------- Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.founder-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: center; justify-content: center; color: var(--gold-300);
  font-family: var(--font-display); font-size: 20px; position: relative; overflow: hidden;
}
.founder-photo::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background: repeating-linear-gradient(45deg, var(--gold-400) 0 2px, transparent 2px 26px);
}
.quote-block {
  border-left: 4px solid var(--gold-500); padding: 18px 24px; margin: 22px 0;
  background: var(--paper-50); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display); font-size: 19px; color: var(--navy-900); font-style: italic;
}

.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--slate-100); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { color: var(--gold-600); font-size: 20px; flex-shrink: 0; }

/* -------------------------------------------------------------------- Panel */
.panel { background: var(--paper-50); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--slate-100); }
.panel-navy { background: var(--navy-950); color: #fff; }
.panel-gold { background: linear-gradient(135deg, var(--gold-100), #fff); border-color: var(--gold-300); }

/* --------------------------------------------------------------------- Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy-800); }
.field .req { color: var(--maroon-600); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--slate-100);
  font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink-900); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: 12px; color: var(--slate-500); }
.field .error-text { font-size: 12px; color: var(--danger-600); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger-600); }
.field.has-error .error-text { display: block; }

.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--navy-800); }
.checkbox-row label { font-size: 14px; color: var(--ink-700); font-weight: 500; }

.file-drop {
  border: 2px dashed var(--slate-300); border-radius: var(--radius-md); padding: 28px 20px;
  text-align: center; cursor: pointer; transition: all .2s; background: var(--paper-50);
}
.file-drop:hover, .file-drop.dragover { border-color: var(--gold-500); background: var(--gold-100); }
.file-drop .ico { font-size: 26px; margin-bottom: 8px; }
.file-drop .fname { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy-800); }

.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin-top: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: var(--success-100); color: var(--success-700); }
.form-msg.error { background: var(--danger-100); color: var(--danger-700); }

.success-card {
  text-align: center; padding: 50px 30px; background: var(--success-100); border-radius: var(--radius-lg);
}
.success-card .code {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--navy-900);
  background: #fff; display: inline-block; padding: 10px 22px; border-radius: var(--radius-pill);
  margin: 14px 0; border: 1.5px dashed var(--success-500);
}

/* ------------------------------------------------------------------- Footer */
.footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14.5px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer a, .footer li { font-size: 14px; margin-bottom: 11px; color: rgba(255,255,255,.68); display: block; }
.footer a:hover { color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; margin: 0;
}
.social-row a:hover { background: var(--gold-500); color: var(--navy-950); }

/* --------------------------------------------------------------- WhatsApp FAB */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  color: #fff; font-size: 26px; animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ----------------------------------------------------------------- Page hero (inner pages) */
.page-hero { background: var(--navy-950); color: #fff; padding: 60px 0 70px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 560px; font-size: 16.5px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold-300); }

/* ------------------------------------------------------------ Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------- Misc */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.divider { height: 1px; background: var(--slate-100); margin: 40px 0; }
.two-col-list { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .two-col-list { columns: 1; } }
.two-col-list li { break-inside: avoid; padding: 6px 0; color: var(--slate-600); font-size: 14.5px; display: flex; gap: 8px; }
.two-col-list li::before { content: "✓"; color: var(--gold-600); font-weight: 700; }
