/* ══════════════════════════════════════════════════════════════
   SMRITI INDUSTRIES — Careers Page Stylesheet (SIB Theme)
   Fonts: Fraunces (serif display) · Instrument Sans (body) · Outfit (brand)
══════════════════════════════════════════════════════════════ */

:root {
  --bg: #F7FAFF;
  --surface: #FFFFFF;
  --surface2: #EEF4FF;
  --line: #DCE7F9;
  --ink: #0F1D3D;
  --text: #16264A;
  --muted: #5C6B85;
  --dim: #8593AC;
  --accent: #1E56C7;
  --accent-deep: #123C93;
  --sky: #4C86F0;
  --sky-soft: #DCEAFF;
  --green: #1E9E63;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(11, 23, 54, 0.04);
  --shadow: 0 14px 36px rgba(11, 23, 54, 0.08);
  --shadow-lg: 0 22px 48px rgba(15, 29, 61, .16);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.careers-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.careers-section {
  padding: 64px 0;
}

.careers-jobs {
  background: var(--bg);
}

.careers-why {
  background: linear-gradient(180deg, var(--bg), var(--surface2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ── SECTION HEADER CENTER ───────────────────────────────── */
.section-header.center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── WHY JOIN GRID ───────────────────────────────────────── */
.why-join-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 56px;
  margin-top: 12px;
}

.why-join-card {
  display: grid;
  align-content: start;
  grid-template-columns: 30px 1fr;
  column-gap: 14px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}


.wj-icon {
  grid-row: span 2;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(2px);
}

.why-join-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.why-join-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── JOB CARDS GRID ──────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sky);
  transform: translateY(-4px);
}

.job-card-header {
  background: var(--ink);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(76, 134, 240, 0.18);
  border: 1px solid rgba(76, 134, 240, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-size: 1.15rem;
}

.job-cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #A3B5D9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.job-card-body {
  padding: 24px;
  flex: 1;
}

.job-card-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.job-dept {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.job-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}

.job-tags span i {
  color: var(--accent);
  font-size: 12px;
}

.job-requirements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.job-requirements li i {
  color: var(--green);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.job-card-footer {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  background: var(--surface2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cs-overlay-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.cs-overlay-msg i {
  color: var(--accent);
}

/* ── NOTIFY SECTION ──────────────────────────────────────── */
.careers-notify {
  background: var(--bg);
  padding: 64px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.notify-box {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid rgba(220, 231, 249, 0.85);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 12px 32px rgba(15, 29, 61, 0.06);
}

.notify-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--sky-soft);
  color: var(--accent);
  border: 1px solid rgba(220, 231, 249, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(11, 23, 54, 0.09);
}

.notify-text {
  flex: 1;
  min-width: 240px;
}

.notify-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.notify-text p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

.notify-btn {
  white-space: nowrap;
  flex-shrink: 0;
  background: #1E56C7;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.21);
}

.notify-btn:hover {
  background: #123C93;
  transform: translateY(-2px);
}

/* ── HIRING PROCESS MODAL ────────────────────────────────── */
.hiring-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 29, 61, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hiring-modal-content {
  background: var(--surface);
  color: var(--text);
  padding: 32px;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  max-height: calc(85vh / var(--page-zoom, 1));
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.hiring-modal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 20px;
  padding-right: 30px;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--ink);
}

.process-step {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.process-step h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .notify-box { flex-direction: column; text-align: center; align-items: center; padding: 32px 24px; }
  .notify-text { text-align: center; }
}

@media (max-width: 480px) {
  .careers-section { padding: 48px 0; }
  .why-join-grid { grid-template-columns: 1fr; }
  .job-card-body { padding: 18px; }
}

/* ── FLOATING SOCIAL FAB ──────────────────────────────────── */
.social-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 60;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}

.social-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(11, 23, 54, 0.3);
  transition: transform .3s, background .2s;
}

.social-toggle-btn:hover {
  background: var(--accent-deep);
}

.social-fab.open .social-toggle-btn {
  transform: rotate(135deg);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .38s ease, opacity .3s ease;
  margin: 0;
}

.social-fab.open .social-list {
  max-height: 360px;
  opacity: 1;
}

.social-list a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(11, 23, 54, 0.12);
  transition: background .2s, color .2s, transform .2s;
}

.social-list a:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.social-list svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 480px) {
  .social-fab {
    right: 16px;
    bottom: 82px;
  }
  .social-toggle-btn {
    width: 52px;
    height: 52px;
  }
}