:root {
  --navy: #142b49;
  --blue: #315de8;
  --blue-dark: #2447bd;
  --ink: #192538;
  --muted: #697589;
  --bg: #f7f9fc;
  --border: #e2e8f0;
  --white: #ffffff;
  --green: #14845b;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(20, 43, 73, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #91adff;
  outline-offset: 3px;
}

.navbar {
  min-height: 76px;
  padding: 15px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.8px;
  white-space: nowrap;
  color: var(--navy);
}
.brand span { color: var(--blue); }

.navbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.navbar nav a {
  font-size: 13px;
  font-weight: 650;
  color: #475569;
}
.navbar nav a:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--navy);
}

.btn {
  border: 1px solid var(--blue);
  border-radius: 9px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 14px; font-size: 12px; }
.btn-outline { background: white; color: var(--navy); border-color: #cbd5e1; }
.btn-outline:hover { color: white; }
.btn-full { width: 100%; }
.btn-light { background: white; color: var(--navy); border-color: white; }
.btn-light:hover { background: #edf2ff; color: var(--navy); }

.hero {
  padding: 85px 8%;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 65px;
  background: linear-gradient(125deg, #f4f7ff 0%, #fff 68%, #f2f5ff 100%);
}
.hero-content { max-width: 700px; }
.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.hero h1 {
  margin: 17px 0;
  font-size: clamp(36px, 4.6vw, 61px);
  line-height: 1.12;
  letter-spacing: -2.3px;
  color: var(--navy);
}
.hero h1 span, .employer-copy h2 span,
.newsletter-copy h2 span { color: var(--blue); }
.hero-content > p {
  color: var(--muted);
  max-width: 540px;
  font-size: 16px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }
.hero-note {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #536176;
  font-size: 11px;
  font-weight: 650;
}
.hero-card {
  border: 1px solid #e1e8fb;
  border-radius: 25px;
  padding: 36px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 28px;
}
.hero-card h2 { color: var(--navy); font-size: 32px; line-height: 1.2; }
.muted { color: var(--muted); font-size: 13px; }
.hero-card .muted { margin-top: 24px; }
.mini-stat { display: flex; gap: 14px; margin-top: 23px; align-items: center; }
.stat-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #eef2ff;
  border-radius: 12px;
  color: var(--blue);
  font-size: 24px;
}
.mini-stat strong { font-size: 14px; }
.mini-stat p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 27px 8%;
  border-bottom: 1px solid var(--border);
}
.trust-strip div { display: flex; flex-direction: column; gap: 3px; }
.trust-strip strong { color: var(--navy); font-size: 14px; }
.trust-strip span { color: var(--muted); font-size: 12px; }

.section { padding: 82px 8%; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 31px;
}
.section-heading h2, .employer-copy h2, .newsletter-copy h2 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 10px 0;
}
.section-heading p, .employer-copy > p, .newsletter-copy > p {
  color: var(--muted);
  font-size: 14px;
  max-width: 600px;
}
.count-badge {
  white-space: nowrap;
  background: #edf2ff;
  color: var(--blue);
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 750;
}

.job-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 26px;
  padding: 17px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}
input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #d9e0eb;
  border-radius: 8px;
  font-size: 13px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #99a3b3; }

.job-grid, .service-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.job-card, .service-card, .article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
  transition: transform .2s, box-shadow .2s;
}
.job-card:hover, .service-card:hover, .article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.job-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.company-icon, .service-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #eef2ff;
  color: var(--blue);
  font-size: 23px;
  font-weight: 800;
}
.job-type {
  border-radius: 20px;
  padding: 4px 9px;
  background: #eef8f3;
  color: #177a51;
  font-size: 10px;
  font-weight: 750;
}
.job-card h3, .service-card h3, .article-card h3 { margin: 18px 0 7px; font-size: 18px; line-height: 1.35; }
.job-company { color: var(--muted); font-size: 12px; }
.job-description { color: #657186; font-size: 13px; min-height: 60px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0; }
.job-meta span {
  padding: 5px 8px;
  background: #f4f6fa;
  color: #4c5a70;
  border-radius: 6px;
  font-size: 11px;
}
.job-footer {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.text-link { color: var(--blue); font-size: 13px; font-weight: 750; background: none; border: 0; padding: 0; }
.text-link:hover { color: var(--blue-dark); }
.empty-state { text-align: center; color: var(--muted); padding: 30px; }

.services-section { background: var(--bg); }
.service-card { padding: 28px; }
.service-card h3 { margin-top: 20px; }
.service-card p, .article-card p { color: var(--muted); font-size: 13px; }
.service-card ul { padding-left: 19px; color: #4d5a6f; font-size: 12px; line-height: 2.1; }
.featured-service { border-color: #a9baff; background: #fafdff; }

.employer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  background: #f0f4ff;
}
.employer-copy { padding-top: 35px; }
.benefit { margin-top: 17px; color: #3e4e65; font-size: 13px; font-weight: 600; }
.form-card, .newsletter-box {
  background: white;
  padding: 30px;
  border-radius: 19px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-card h3, .newsletter-box h3 { color: var(--navy); margin: 0; font-size: 21px; }
.form-card > p { margin-top: 5px; margin-bottom: 20px; }
.form-card label, .dialog label:not(.consent) {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 15px 0 6px;
}
.form-card .btn { margin-top: 19px; }

.newsletter-section {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 60px;
}
.newsletter-copy h2 { color: white; }
.newsletter-copy > p { color: #c4cede; }
.newsletter-copy .eyebrow { color: #9eb4ff; }
.newsletter-box { box-shadow: none; }
.newsletter-symbol {
  font-size: 27px;
  background: #eaf0ff;
  color: var(--blue);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 20px;
}
.newsletter-box > p { font-size: 13px; color: var(--muted); }
.newsletter-box form { display: grid; gap: 10px; margin-top: 20px; }

.article-card { padding: 26px; }
.article-tag { font-size: 10px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.article-card p { line-height: 1.8; }
.article-card .text-link { display: inline-block; margin-top: 8px; }

.contact-banner {
  padding: 65px 8%;
  text-align: center;
  background: linear-gradient(120deg, #315de8, #2446b9);
  color: white;
}
.contact-banner .eyebrow { color: #dce5ff; }
.contact-banner h2 { font-size: 35px; margin: 10px 0; }
.contact-banner p { color: #e1e9ff; font-size: 14px; margin-bottom: 25px; }

.footer { padding: 40px 8% 25px; text-align: center; }
.footer > p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 23px; margin: 20px 0; }
.footer-links a { color: #526077; font-size: 12px; }
.copyright { border-top: 1px solid var(--border); padding-top: 20px; }

.dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 25px 100px rgba(0,0,0,.25);
}
.dialog::backdrop { background: rgba(15, 27, 47, .65); backdrop-filter: blur(3px); }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 18px; }
.dialog-header h2 { color: var(--navy); font-size: 24px; line-height: 1.3; margin: 8px 0; }
.close-button { border: 0; background: #f0f3f8; border-radius: 50%; width: 35px; height: 35px; font-size: 23px; color: var(--navy); flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 15px; }
.field { min-width: 0; }
.field small { color: var(--muted); font-size: 11px; }
.full-field { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: start; margin: 20px 0; font-size: 12px; color: #526077; }
.consent input { width: auto; margin-top: 5px; }
.form-message { font-size: 13px; margin: 12px 0 0; color: var(--green); }
.form-message.error { color: #b42318; }
.hidden { display: none !important; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  max-width: calc(100% - 48px);
  padding: 14px 20px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .navbar { padding: 14px 5%; }
  .navbar nav { gap: 13px; }
  .navbar nav a { font-size: 12px; }
  .hero { padding: 65px 6%; gap: 35px; }
  .section { padding: 65px 6%; }
  .job-grid, .service-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-filters { grid-template-columns: 1fr 1fr; }
  .employer-section, .newsletter-section { gap: 30px; }
}

@media (max-width: 700px) {
  .navbar { min-height: 68px; }
  .menu-toggle { display: block; }
  .navbar nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 20px 6%;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }
  .navbar nav.open { display: flex; }
  .navbar nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding: 54px 6%; gap: 35px; }
  .hero h1 { letter-spacing: -1.3px; }
  .hero-card { padding: 27px; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 24px 6%; }
  .section { padding: 53px 6%; }
  .section-heading { align-items: start; }
  .section-heading h2, .employer-copy h2, .newsletter-copy h2 { font-size: 30px; }
  .job-grid, .service-grid, .article-grid { grid-template-columns: 1fr; }
  .job-filters { grid-template-columns: 1fr; padding: 12px; }
  .employer-section, .newsletter-section { grid-template-columns: 1fr; }
  .employer-copy { padding-top: 0; }
  .form-card, .newsletter-box { padding: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .dialog { padding: 21px; }
  .contact-banner { padding: 52px 6%; }
  .contact-banner h2 { font-size: 28px; }
}

/* =====================================
   HIREWITHABHISHEK — ARTICLE PAGE
===================================== */

.article-page {
  width: min(100% - 36px, 860px);
  margin: 48px auto;
  padding: 36px 44px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  color: #1e293b;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.article-page > a:first-child {
  display: inline-block;
  margin-bottom: 32px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.article-page > a:first-child:hover {
  text-decoration: underline;
}

.article-page #articleContent > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.article-page #articleContent h1 {
  margin: 8px 0 18px;
  color: #0f172a;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.article-page #articleContent > p:nth-of-type(2) {
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 14px;
}

.article-page .article-body {
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.article-page #shareArticle {
  margin-top: 28px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-page #shareArticle:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .article-page {
    width: auto;
    margin: 16px;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .article-page #articleContent h1 {
    letter-spacing: -0.5px;
  }

  .article-page .article-body {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* =====================================
   HIREWITHABHISHEK: BRAND + RESPONSIVE
   ===================================== */

/* Logo and brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-name {
  color: var(--navy);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.7px;
}

.brand-name span {
  color: var(--blue);
}

/* Consistent card sizing */
.job-grid,
.service-grid,
.article-grid {
  align-items: stretch;
}

.job-card,
.service-card,
.article-card {
  min-width: 0;
  height: 100%;
  overflow-wrap: anywhere;
}

.job-card {
  display: flex;
  flex-direction: column;
}

.job-card h3 {
  overflow-wrap: anywhere;
}

.job-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  min-height: 0;
  line-height: 1.7;
}

.job-footer {
  margin-top: auto;
}

.job-meta span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Header contact links */
.navbar nav a {
  white-space: nowrap;
}

.navbar nav a,
.footer-contact a {
  transition: color 0.2s ease;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 22px 0;
  font-size: 13px;
}

.footer-contact a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1000px) {
  .navbar {
    gap: 14px;
    padding-left: 4%;
    padding-right: 4%;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  .navbar nav a {
    font-size: 12px;
  }

  .hero {
    gap: 28px;
  }

  .job-grid,
  .service-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 75px;
  }

  .navbar {
    padding: 12px 5%;
    gap: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: -0.5px;
  }

  .menu-toggle {
    min-width: 42px;
    min-height: 42px;
    padding: 5px;
  }

  .navbar nav {
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .navbar nav a,
  .navbar nav .btn {
    width: 100%;
    text-align: left;
  }

  .navbar nav .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
    overflow-wrap: anywhere;
  }

  .hero-actions .btn {
    flex: 1 1 145px;
  }

  .section-heading {
    flex-wrap: wrap;
  }

  .count-badge {
    align-self: flex-start;
  }

  .job-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .job-filters input,
  .job-filters select,
  .job-filters button {
    min-height: 46px;
  }

  .job-grid,
  .service-grid,
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .job-card,
  .service-card,
  .article-card {
    padding: 20px;
  }

  .job-description {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .job-footer {
    flex-wrap: wrap;
  }

  .form-card,
  .newsletter-box {
    min-width: 0;
  }

  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }

  .footer-contact a {
    max-width: 100%;
    text-align: center;
  }

  .dialog {
    max-height: 88dvh;
    padding: 20px;
  }

  .toast {
    bottom: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .brand-name {
    font-size: 15px;
  }

  .hero,
  .section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .job-card,
  .service-card,
  .article-card {
    padding: 16px;
  }
}

/* Footer contact and social links */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-contact a:hover {
  opacity: 0.75;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef2ff;
  color: #315de8;
  font-weight: 700;
}

.footer-contact-icon.linkedin-icon {
  background: #0a66c2;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 600px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
