/* ===========================================================
   SBH Jobs Ready — stylesheet
   Brand colors pulled from the logo: navy, blue, gold
=========================================================== */

:root{
  --navy: #0b1f4d;
  --navy-dark: #071433;
  --blue: #1a56db;
  --blue-light: #eaf1ff;
  --gold: #d4a017;
  --gold-light: #f6e6b8;
  --ink: #1c2333;
  --muted: #5b6478;
  --line: #e6e9f0;
  --bg-alt: #f6f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 77, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 31, 77, 0.07);
  --container: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; height: auto; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{ line-height: 1.2; color: var(--navy); margin: 0 0 16px; }
h1{ font-size: clamp(2rem, 4vw, 2.9rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3{ font-size: 1.15rem; margin-bottom: 8px; }
p{ margin: 0 0 14px; color: var(--muted); }
a{ color: var(--blue); text-decoration: none; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Section shell ---------- */
.section{ padding: 72px 0; }
.section-alt{ background: var(--bg-alt); }
.section-label{
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.lead{ font-size: 1.08rem; color: var(--ink); }
.sub-heading{ margin-top: 28px; }
.note{ font-size: 0.9rem; color: var(--muted); font-style: italic; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 16px;
}
.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo{ width: 46px; height: 46px; object-fit: contain; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.2; }
.brand-name{ font-weight: 800; letter-spacing: 0.03em; color: var(--navy); font-size: 1.02rem; white-space: nowrap; }
.brand-tagline{ font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

.primary-nav{ display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.primary-nav a{
  color: var(--ink); font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  padding: 8px 2px; border-bottom: 2px solid transparent;
}
.primary-nav a:hover{ color: var(--blue); border-bottom-color: var(--gold); }
.nav-cta{
  background: var(--navy); color: #fff !important; padding: 9px 18px !important;
  border-radius: 30px; border-bottom: none !important;
}
.nav-cta:hover{ background: var(--blue); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ display: block; width: 24px; height: 2px; background: var(--navy); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-block; padding: 13px 26px; border-radius: 30px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid transparent; transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover{ background: #e3b32a; color: var(--navy-dark); }
.btn-outline{ border-color: var(--navy); color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color: #fff; }
.btn-outline-light{ border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-light:hover{ background: #fff; color: var(--navy); }
.cta-row{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cta-row--center{ justify-content: center; }

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%);
  padding: 68px 0 90px;
  color: #fff;
  overflow: hidden;
}
.hero-inner{
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.eyebrow{ color: var(--gold-light); font-weight: 700; letter-spacing: 0.03em; margin-bottom: 10px; }
.hero h1{ color: #fff; margin-bottom: 18px; }
.hero-text{ color: #cfd8ee; }
.hero-text strong{ color: #fff; }

.hero-media{
  position: relative; height: 380px;
}
.hero-img{
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35); border: 4px solid rgba(255,255,255,0.08);
}
.hero-img img{ width: 100%; height: 100%; object-fit: cover; }
.hero-img--main{ width: 78%; height: 300px; top: 0; right: 0; z-index: 2; }
.hero-img--sub1{ width: 46%; height: 150px; bottom: 0; left: 0; z-index: 3; }

/* ---------- About ---------- */
.about-grid{
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.about-img{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ---------- */
.cards{ display: grid; gap: 26px; margin-top: 32px; }
.cards-3{ grid-template-columns: repeat(3, 1fr); }
.card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.card-num{
  font-size: 0.85rem; font-weight: 800; color: var(--gold);
  border: 2px solid var(--gold-light); border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-cards .card{ display: flex; flex-direction: column; }
.check{
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue-light);
  color: var(--blue); font-weight: 800; margin-bottom: 12px;
}

/* ---------- Job category cards ---------- */
.job-card{
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.job-card picture{ display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.job-card img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.job-card:hover img{ transform: scale(1.06); }
.job-card-body{ padding: 22px 22px 26px; }
.job-card-body p{ margin-bottom: 0; }

/* ---------- Pills / tags ---------- */
.pill-list{
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pill-list li{
  background: var(--blue-light); color: var(--navy);
  padding: 10px 18px; border-radius: 30px; font-weight: 600; font-size: 0.92rem;
}
.sector-tags{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.sector-tags span{
  background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem;
}

/* ---------- Steps ---------- */
.steps{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 34px;
}
.step{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.step-num{
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

/* ---------- Split sections (image + text) ---------- */
.split-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.split-grid--reverse .split-img{ order: 2; }
.split-img{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img{ width: 100%; height: 100%; object-fit: cover; }
.check-list{ list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.check-list li{ position: relative; padding-left: 24px; color: var(--ink); font-weight: 600; }
.check-list li::before{
  content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 800;
}

/* ---------- PAN India ---------- */
.pan-india{ text-align: center; }
.pan-india .sector-tags{ justify-content: center; }

/* ---------- Mission ---------- */
.mission{ text-align: center; background: var(--blue-light); }
.mission-flow{
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px; margin: 24px 0; font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.mission-flow .arrow{ color: var(--gold); font-size: 1.2rem; }

/* ---------- Important info ---------- */
.info-list{ margin: 20px 0 0; padding-left: 20px; }
.info-list li{ margin-bottom: 10px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px;
}
.contact-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.contact-details{ margin: 14px 0 0; }
.contact-details div{ display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.contact-details dt{ min-width: 90px; font-weight: 700; color: var(--navy); }
.contact-details dd{ margin: 0; color: var(--muted); }
address{ font-style: normal; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta{
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 130%);
  color: #fff; text-align: center; padding: 70px 0;
}
.final-cta h2{ color: #fff; }
.final-cta p{ color: #dbe4fb; max-width: 640px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); color: #b9c2dd; padding: 26px 0; }
.footer-inner{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand{ display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-inner p{ margin: 0; color: #b9c2dd; font-size: 0.85rem; }
.back-to-top{ color: var(--gold); font-weight: 600; }

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 1180px){
  .brand-tagline{ display: none; }
}

@media (max-width: 980px){
  .hero-inner, .about-grid, .split-grid{ grid-template-columns: 1fr; }
  .split-grid--reverse .split-img{ order: 0; }
  .hero-media{ height: 300px; margin-top: 10px; }
  .cards-3{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(3, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .nav-toggle{ display: flex; }
  .primary-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
    display: none; gap: 4px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open{ display: flex; }
  .primary-nav a{ padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta{ text-align: center; margin-top: 8px; }
  .job-cards, .cards-3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .check-list{ grid-template-columns: 1fr; }
  .hero{ padding-bottom: 60px; }
  .section{ padding: 54px 0; }
}

@media (max-width: 480px){
  .steps{ grid-template-columns: 1fr; }
  .cta-row{ flex-direction: column; }
  .cta-row .btn{ text-align: center; }
}

/* ===========================================================
   Multi-page additions — page banner, active nav, CTA strip,
   inline links, callout box. Additive only; nothing above is
   changed, so the single-page version keeps working as-is.
=========================================================== */

.primary-nav a.active{
  color: var(--blue);
  border-bottom-color: var(--gold);
}

.page-hero{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1{ color: #fff; margin-bottom: 10px; }
.page-hero .hero-text{ color: #cfd8ee; max-width: 720px; margin-bottom: 0; }
.page-hero .eyebrow{ color: var(--gold-light); font-weight: 700; letter-spacing: 0.03em; margin-bottom: 8px; }

.link-arrow{ font-weight: 700; color: var(--blue); }
.link-arrow:hover{ color: var(--navy); }
.center-link{ margin-top: 28px; }

.callout{
  margin-top: 28px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 18px 22px;
}
.callout p{ margin: 0; color: var(--navy); }

.cta-strip{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.cta-strip-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-strip h2{ margin-bottom: 6px; font-size: 1.4rem; }
.cta-strip p{ margin: 0; max-width: 480px; }
.cta-strip .cta-row{ margin-top: 0; flex-shrink: 0; }

@media (max-width: 760px){
  .cta-strip-inner{ flex-direction: column; align-items: flex-start; }
  .page-hero{ padding: 40px 0; }
}

/* ===========================================================
   WhatsApp floating button
=========================================================== */
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 26px rgba(0,0,0,0.3);
}
.whatsapp-float img{ width: 32px; height: 32px; }

@media (max-width: 480px){
  .whatsapp-float{ right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float img{ width: 28px; height: 28px; }
}

/* ===========================================================
   Job Listings page
=========================================================== */
.filter-bar{
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px;
}
.filter-btn{
  background: #fff; border: 1.5px solid var(--line); color: var(--navy);
  padding: 9px 18px; border-radius: 30px; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover{ border-color: var(--blue); color: var(--blue); }
.filter-btn.active{ background: var(--navy); border-color: var(--navy); color: #fff; }

.listing-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.listing-card{
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.listing-card[hidden]{ display: none; }
.listing-thumb{
  flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; overflow: hidden;
}
.listing-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.listing-body{ flex: 1; min-width: 0; }
.listing-tag{
  display: inline-block; background: var(--blue-light); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 8px;
}
.listing-body h3{ margin-bottom: 4px; font-size: 1.05rem; }
.listing-meta{ font-size: 0.85rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.listing-body p{ font-size: 0.92rem; margin-bottom: 12px; }
.listing-empty{ text-align: center; padding: 24px 0; }

.btn-sm{ padding: 9px 20px; font-size: 0.85rem; }

@media (max-width: 760px){
  .listing-grid{ grid-template-columns: 1fr; }
  .listing-card{ flex-direction: column; }
  .listing-thumb{ width: 100%; height: 160px; }
}

/* ===========================================================
   Apply form
=========================================================== */
.container-narrow{ max-width: 760px; }

.applying-for-note{ margin-bottom: 24px; }

.apply-form{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row{ margin-bottom: 20px; }
.form-row label{
  display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 0.92rem;
}
.form-row input,
.form-row select,
.form-row textarea{
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline: none; border-color: var(--blue);
}
.form-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px;
}
.apply-form .btn{ width: 100%; text-align: center; margin-top: 6px; }

/* Honeypot field — hidden from real visitors, left open for bots */
.hp-field{
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 600px){
  .form-grid{ grid-template-columns: 1fr; }
  .apply-form{ padding: 24px 20px; }
}

/* ===========================================================
   Thank-you page
=========================================================== */
.thank-you-section{ padding: 90px 0; }
.check-badge{
  width: 72px; height: 72px; border-radius: 50%; background: var(--blue-light);
  color: var(--blue); font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
