/* =========================================================
   BISPCO — Bhilai Iron & Steel Processing Company Pvt. Ltd.
   Global Stylesheet
   Strict 3-colour system: white, black, and brand ink #3F4258
   ========================================================= */

:root {
  --brand: #3F4258;   /* logo ink — the only non-neutral colour on the site */
  --black: #000000;
  --white: #ffffff;

  --brand-08: rgba(63, 66, 88, 0.08);
  --brand-15: rgba(63, 66, 88, 0.15);
  --amber-08: rgba(246, 193, 83, 0.12);

  /* black-based tints, for use on light backgrounds */
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.70);
  --ink-55: rgba(0, 0, 0, 0.58);
  --ink-35: rgba(0, 0, 0, 0.35);
  --ink-15: rgba(0, 0, 0, 0.12);
  --ink-06: rgba(0, 0, 0, 0.05);

  /* white-based tints, for use on dark backgrounds */
  --mist: #ffffff;
  --mist-85: rgba(255, 255, 255, 0.85);
  --mist-65: rgba(255, 255, 255, 0.65);
  --mist-45: rgba(255, 255, 255, 0.45);
  --mist-15: rgba(255, 255, 255, 0.15);
  --mist-08: rgba(255, 255, 255, 0.08);

  /* legacy aliases kept so section backgrounds stay in one place */
  --navy-900: var(--black);
  --navy-800: var(--brand);
  --navy-700: var(--brand);
  --navy-600: var(--brand);

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius: 3px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.14);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.18);
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }

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

/* ---------- Utility ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--ink-06); }
.section-amber { background: var(--brand-08); }
.section-navy { background: var(--brand); color: var(--mist-85); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-55); }

.divider-line {
  width: 56px;
  height: 3px;
  background: var(--brand);
  margin: 14px 0 18px;
}
.center .divider-line { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--brand); border-color: var(--brand); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--brand); }
.btn-navy { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-navy:hover { background: var(--black); border-color: var(--black); }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--black);
  color: var(--mist-65);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--mist-85); }
.topbar .badge {
  background: var(--brand);
  color: var(--white);
  padding: 2px 10px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--ink-15);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { line-height: 1.2; }
.brand-text .name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--brand); letter-spacing: 0.01em; }
.brand-text .sub { font-size: 1.05rem; color: var(--ink-55); letter-spacing: 0.01em; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.85rem; }
.header-cta .btn-navy {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
  padding: 8px 2px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.header-cta .btn-navy:hover {
  background: transparent;
  color: var(--black);
  border-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(0,0,0,0.82), rgba(63,66,88,0.88)), var(--black);
  color: var(--white);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero.hero-photo {
  background:
    linear-gradient(120deg, rgba(0,0,0,0.45), rgba(63,66,88,0.4)),
    url("../images/weldersparks.png") center center / cover no-repeat;
}
.hero .container {
  padding-top: 96px;
  padding-bottom: 96px;
  width: 100%;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--mist-08);
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); font-size: 2.9rem; margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--mist-85); max-width: 560px; }

/* page header (non-home hero) */
.page-hero {
  background: linear-gradient(120deg, rgba(0,0,0,0.85), rgba(63,66,88,0.9)), var(--black);
  color: var(--white);
  padding: 62px 0 56px;
}
.page-hero .eyebrow { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: var(--mist-85); max-width: 640px; font-size: 1.05rem; margin-bottom: 0; }
.breadcrumb { font-size: 0.82rem; color: var(--mist-65); margin-bottom: 16px; }
.breadcrumb a { color: var(--mist-85); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats ---------- */
.stats-strip {
  background: var(--black);
  padding: 0;
  margin-top: -1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mist-08);
}
.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid var(--mist-08);
}
.stat-item:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--white);
  display: block;
}
.stat-label {
  font-size: 0.98rem;
  color: var(--mist-65);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 46px; height: 46px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.card p { color: var(--ink-55); font-size: 0.95rem; margin-bottom: 0; }
.card.accent-top { border-top-color: var(--black); }

a.card { display: block; }
.card-link-label {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.03em;
}

.overview-grid { grid-template-columns: repeat(5, 1fr); }

.card-list { list-style: none; }
.card-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink);
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 10px; height: 3px;
  background: var(--brand);
}

/* Two-column content w/ image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.media-placeholder {
  background: var(--ink-06);
  border: 1px dashed var(--ink-35);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-55);
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
  letter-spacing: 0.04em;
}
.media-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-banner {
  aspect-ratio: 21/8;
  border-radius: var(--radius);
  overflow: hidden;
}
.media-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Timeline */
.timeline { border-left: 2px solid var(--ink-15); margin-left: 10px; padding-left: 30px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -36px; top: 4px;
  width: 12px; height: 12px;
  background: var(--brand);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand);
}
.timeline-item .year { font-family: var(--font-head); font-weight: 800; color: var(--brand); }

/* Table */
.data-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-15);
  font-size: 0.95rem;
}
.data-table th { background: var(--brand); color: var(--white); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; }
.data-table tr:nth-child(even) td { background: var(--ink-06); }

/* Client logo grid — compact collage, 5 per row */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* Certifications grid — 4 centred logos, collapses on smaller screens */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 220px));
  justify-content: center;
  gap: 14px;
}

/* Contact page split layout — info card + form */
.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 40px;
}
.logo-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.logo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Industry strip */
.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}
.industry-pill {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: 30px;
  padding: 10px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand);
}

/* CTA banner */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--brand);
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: var(--mist-65); max-width: 560px; margin: 0 auto 8px; }
.cta-banner .btn-row { justify-content: center; }

/* Approvals strip */
.approvals-strip {
  background: var(--ink-06);
  border-top: 1px solid var(--ink-15);
  border-bottom: 1px solid var(--ink-15);
  padding: 26px 0;
}
.approvals-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.approval-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand);
}
.approval-tag .dot { width: 8px; height: 8px; background: var(--black); border-radius: 50%; }

/* Note / disclaimer box */
.note-box {
  background: var(--brand-08);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--black);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--black); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--ink-35);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-55); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--brand); }

.contact-info-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-info-logo { width: 62px; height: auto; margin-bottom: 20px; display: block; }
.contact-info-card h3 { color: var(--brand); }
.contact-info-card .item { margin-bottom: 22px; }
.contact-info-card .label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-55); font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.contact-info-card .value { font-size: 1rem; color: var(--ink); }
.contact-info-card a.value:hover { text-decoration: underline; }

.map-placeholder {
  background: var(--ink-06);
  border: 1px dashed var(--ink-35);
  border-radius: var(--radius);
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-55);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

.enquiry-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--mist-65); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--mist-15);
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid p { color: var(--mist-65); font-size: 0.9rem; }
.footer-brand .brand-mark { background: transparent; }
.footer-brand .name { color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--mist-65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: var(--mist-45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--mist-65); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4, .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 74px; left: 0; right: 0; bottom: 0; background: var(--white); transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; padding: 20px 24px; z-index: 99; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--ink-15); }
  .nav-toggle { display: flex; }
  .header-cta .btn-navy { display: none; }
  .nav-cta-mobile { display: block !important; margin-top: 20px; text-align: center; }
  .nav-cta-mobile a { display: block; width: 100%; text-align: center; border: none !important; background: transparent !important; color: var(--brand) !important; padding: 13px 0 !important; }
  .topbar-contacts { display: none; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .grid-4, .grid-3, .grid-6, .grid-2 { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-left: none; border-top: 1px solid var(--mist-08); }
  .stat-item:first-child { border-top: none; }
  .form-grid { grid-template-columns: 1fr; }
  .enquiry-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .approvals-strip .container { justify-content: flex-start; }
  .section { padding: 52px 0; }
}
