/* =============================================================
   ABHYUDAY — Global Stylesheet
   Palette: deep navy + bright blue accent + gold highlight
   ============================================================= */
:root {
  --navy:      #0b2545;
  --navy-700:  #13325c;
  --blue:      #1d6fe0;
  --blue-600:  #155bbd;
  --sky:       #4aa3ff;
  --gold:      #f4a623;
  --ink:       #1a2433;
  --body:      #475569;
  --muted:     #6b7686;
  --line:      #e4e9f0;
  --bg:        #ffffff;
  --bg-soft:   #f5f8fc;
  --bg-navy-grad: linear-gradient(135deg, #0b2545 0%, #13325c 60%, #1d6fe0 140%);
  --radius:    14px;
  --shadow:    0 10px 30px rgba(11,37,69,.10);
  --shadow-sm: 0 4px 14px rgba(11,37,69,.08);
  --maxw:      1180px;
  --font:      'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1a1303; }
.btn-gold:hover { background: #e0950f; color: #1a1303; transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--ink); background:#fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 2px 14px rgba(11,37,69,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; }
.brand-text span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .03em; border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--blue); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }

.has-sub > a::after { content: " ▾"; font-size: .7em; color: var(--muted); }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; list-style: none; margin: 6px 0 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.submenu a:hover { background: var(--bg-soft); color: var(--blue); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-navy-grad); color: #eaf2ff; position: relative; overflow: hidden;
  padding: 96px 0;
}
.hero::after {
  content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  background: radial-gradient(circle, rgba(74,163,255,.35), transparent 70%); border-radius:50%;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p { color: #cfe0f7; font-size: 1.15rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* page banner (inner pages) */
.page-banner { background: var(--bg-navy-grad); color: #fff; padding: 70px 0; }
.page-banner h1 { color: #fff; margin-bottom: .3rem; }
.page-banner .crumbs { color: #bcd3f3; font-size: .92rem; }
.page-banner .crumbs a { color: #bcd3f3; }
.page-banner .crumbs a:hover { color: #fff; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-link { display:inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; }

/* pillars */
.pillar { text-align: center; padding: 24px; }
.pillar .icon { margin: 0 auto 16px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,224,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.alert-success { background: #e7f7ee; color: #146c43; border: 1px solid #b7e4c7; }
.alert-error   { background: #fdeaea; color: #b02a37; border: 1px solid #f5c2c7; }
.alert-info    { background: #e7f1fd; color: #155bbd; border: 1px solid #bcd6f7; }

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list .ic {
  flex: 0 0 46px; height: 46px; border-radius: 10px; background: var(--bg-soft);
  display: grid; place-items: center; color: var(--blue); font-size: 1.2rem;
}
.info-list strong { display: block; color: var(--ink); }
.info-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Careers ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; align-items: end; }
.filters .field { margin: 0; min-width: 180px; }
.job-list { display: grid; gap: 18px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between;
  gap: 20px; align-items: center; flex-wrap: wrap; transition: box-shadow .2s, transform .2s;
}
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card h3 { margin: 0 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--navy-700); border: 1px solid var(--line);
}
.tag.blue { background: #e7f1fd; color: var(--blue-600); border-color:#bcd6f7; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3d2e8; padding: 64px 0 0; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.4fr; gap: 36px; }
.footer-grid a { color: #c3d2e8; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .95rem; }
.footer-brand img { height: 52px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .95rem; }
.footer-bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0;
  font-size: .88rem; color: #93a7c4; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; border-top: 1px solid var(--line);
  }
  .nav-menu.open { max-height: 90vh; overflow-y: auto; }
  .nav-menu > li > a { padding: 14px; border-radius: 8px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); margin: 0 0 6px 14px; max-height: 0; overflow: hidden; padding: 0 8px;
  }
  .has-sub.open .submenu { max-height: 600px; padding: 6px 8px; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .form-row, .filters { grid-template-columns: 1fr; }
  .filters { display: grid; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
