:root {
  --ink: #111820;
  --ink2: #1a242e;
  --steel: #eef1f2;
  --muted: #68737d;
  --blue: #002D62;        /* Premium Navy matching your logo */
  --blue-hover: #12437e;  /* Smooth, high-contrast hover tint */
  --blue-light: #e9eef6;  /* Soft accent background tint */
  --line: #d9dde0;
  --white: #fff;
  --max: 1180px;
  
  /* Modern Global Typography Stack */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

/* --- Typographic Elements Alignment --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: #1a66b2; /* Lighter, high-visibility steel blue accent */
  margin-bottom: 12px;
}

.eyebrow:before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 400;
}

p {
  margin: 0 0 18px;
  font-family: var(--font-sans);
}

.lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #d3d8dc;
  max-width: 650px;
  line-height: 1.6;
}

/* --- Structural Modules --- */
.section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.section.soft {
  background: #f4f5f4;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 44px;
}

.section-head p {
  max-width: 490px;
  color: var(--muted);
  margin-bottom: 0;
}

/* --- Responsive Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: 0.02em;
  transition: all .2s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: #76808a;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.btn.dark:hover {
  background: var(--ink2);
}

/* --- Clean White Site Header --- */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink2);
  font-size: .88rem;
  font-weight: 600;
}

.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active {  color: var(--blue);}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px;
}

/* --- Layout Layout Modules --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(5,10,15,.98) 0%, rgba(5,10,15,.85) 45%, rgba(5,10,15,.2) 80%), url('../images/steel-hero.png') center/cover;
  color: #fff;
  padding-top: 80px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  color: #fff;
}

.hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

/* --- Enterprise Metrics Strip --- */
.trust-strip {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #303942;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 24px;
  border-right: 1px solid #303942;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--blue-light);
  display: block;
  margin-bottom: 4px;
}

.stat span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #aeb6bc;
  font-weight: 600;
}

/* --- Display Cards & Grids --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.product-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,10,15,.95), rgba(5,10,15,.05) 70%), url('../images/steel-hero.png') center/cover;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Pipes & Tubes */
.product-card:nth-child(1):before {
  background-image: linear-gradient(0deg, rgba(5,10,15,.95), rgba(5,10,15,.25) 70%), 
                    url('../images/pipes-tubes.png');
}

/* 2. Sheets, Plates & Coils */
.product-card:nth-child(2):before {
  background-image: linear-gradient(0deg, rgba(5,10,15,.95), rgba(5,10,15,.25) 70%), 
                    url('../images/sheets-plates-coils.png');
}

/* 3. Rolled & Forged Bars */
.product-card:nth-child(3):before {
  background-image: linear-gradient(0deg, rgba(5,10,15,.95), rgba(5,10,15,.25) 70%), 
                    url('../images/rolled-forged-bars.png');
}

/* 4. Circles, Rings & Flats */
.product-card:nth-child(4):before {
  background-image: linear-gradient(0deg, rgba(5,10,15,.95), rgba(5,10,15,.25) 70%), 
                    url('../images/circles-rings-flats.png');
}

.product-card:hover:before {
  transform: scale(1.05);
}

.product-card h3 {
  color: #fff;
}

.product-card .content {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 32px;
  bottom: 32px;
}

.product-card .num {
  color: var(--blue-light);
  font-size: .75rem;
  letter-spacing: .15em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.product-card p {
  color: #c5cbd0;
  max-width: 440px;
  margin-bottom: 0;
}

.arrow {
  color: var(--blue-dark);
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-panel {
  min-height: 480px;
  background: url('../images/steel-hero.png') 78% center/cover;
  position: relative;
}

.image-panel:after {
  content: "Since 1972";
  position: absolute;
  left: -20px;
  bottom: 28px;
  background: var(--blue);
  padding: 20px 28px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.check {
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: #f8f9fa;
  font-weight: 700;
  font-size: 0.95rem;
}

/* --- Corporate Certifications Module --- */
.cert-preview {
  background: var(--ink);
  color: #fff;
}

.cert-preview h2 {
  color: #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  border: 1px solid #39434c;
  padding: 36px 30px;
  background: rgba(255,255,255, 0.02);
}

.cert-card h3 {
  color: #fff;
}

.cert-icon {
  width: 56px;
  height: 66px;
  border: 1px solid #1a66b2;
  display: grid;
  place-items: center;
  color: #1a66b2;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.cert-card p {
  color: #adb5bc;
  font-size: .92rem;
  margin-bottom: 0;
}

/* --- Document Repository & Archives --- */
.document-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.document-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border: 1px solid #e2e4e4;
  background: #f7f7f5;
}

.document-card .document-body {
  padding: 22px 10px 8px;
}

.document-card p {
  color: var(--muted);
  font-size: .9rem;
}

.badge {
  display: inline-block;
  padding: 5px 9px;
  margin-bottom: 13px;
  background: #e7f3eb;
  color: #216438;
  font-size: .69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.badge.archive {
  background: #f7e9d8;
  color: #82531e;
}

.badge.related {
  background: var(--blue-light);
  color: var(--blue);
}

.document-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding: 0 10px 10px;
}

.brochure-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.brochure-panel h2 {
  color: #fff;
}

.brochure-panel img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}

.brochure-copy {
  padding: clamp(30px, 6vw, 54px);
}

.brochure-copy p {
  color: #bac1c7;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.mini-grid div {
  border-top: 1px solid #4c5760;
  padding-top: 14px;
  color: #d5d9dc;
  font-size: .88rem;
  line-height: 1.5;
}

/* --- Secondary Interior Page Headers --- */
.page-hero {
  padding: clamp(140px, 15vw, 180px) 0 80px;
  background: linear-gradient(90deg, rgba(8,14,20,.98), rgba(8,14,20,.55)), url('../images/steel-hero.png') center/cover;
  color: #fff;
}

/* --- Inner Page Specific Hero Graphics --- */

.page-hero.hero-pipes {
  background: linear-gradient(90deg, rgba(8,14,20,.95), rgba(8,14,20,.6)), 
              url('../images/pipes-tubes.png') center/cover;
}

.page-hero.hero-sheets {
  background: linear-gradient(90deg, rgba(8,14,20,.95), rgba(8,14,20,.6)), 
              url('../images/sheets-plates-coils.png') center/cover;
}

.page-hero.hero-bars {
  background: linear-gradient(90deg, rgba(8,14,20,.95), rgba(8,14,20,.6)), 
              url('../images/rolled-forged-bars.png') center/cover;
}

.page-hero.hero-circles {
  background: linear-gradient(90deg, rgba(8,14,20,.95), rgba(8,14,20,.6)), 
              url('../images/circles-rings-flats.png') center/cover;
}

.page-hero h1 {
  color: #fff;
}

.breadcrumbs {
  font-size: .8rem;
  color: #bec5ca;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.breadcrumbs span {
  color: var(--blue-light);
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.feature {
  border: 1px solid var(--line);
  padding: 28px;
  background: #fff;
}

.feature p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 0;
}

.sidebar {
  background: #f8f9fa;
  padding: 32px;
  height: max-content;
  border: 1px solid var(--line);
}

.side-links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #d5d9dc;
  font-weight: 700;
  color: var(--ink2);
}

.side-links a:hover {
  color: var(--blue);
  padding-left: 4px;
}

/* --- Mechanical Specifications Table --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.95rem;
}

.spec-table th, .spec-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
}

.spec-table tr:nth-child(even) {
  background: #f8f9fa;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value {
  padding: 32px;
  border-top: 4px solid var(--blue);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.timeline {
  border-left: 2px solid var(--blue);
  padding-left: 30px;
}

.timeline-item {
  margin-bottom: 32px;
  position: relative;
}

.timeline-item strong {
  color: var(--blue);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* --- Modern Interactive Lead Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
}

.contact-card {
  background: var(--ink);
  color: #fff;
  padding: 48px;
}

.contact-card h3 {
  color: #fff;
}

.contact-card p {
  color: #bbc2c8;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form .wide {
  grid-column: 1/-1;
}

.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s;
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--blue);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Schematic Geographic Maps --- */
.map-art {
  min-height: 380px;
  background: #e9ecec;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(25deg, transparent 48%, #cfd5d6 49%, #cfd5d6 51%, transparent 52%), linear-gradient(115deg, transparent 48%, #d7dcdd 49%, #d7dcdd 51%, transparent 52%);
  background-size: 75px 75px;
}

.map-art:after {
  content: "Oswal Metal Corporation\A Mumbai 400004";
  white-space: pre;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
  padding: 24px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.map-art:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
}

/* --- Bottom Value Banners --- */
.cta {
  padding: 76px 0;
  background: var(--blue);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* --- High-Contrast Baseline Footer --- */
.footer {
  background: #0d141b;
  color: #aeb6bd;
  padding: 80px 0 30px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.footer h3, .footer h4 {
  color: #fff;
}

.footer h4 {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer p {
  line-height: 1.6;
}

.footer a {
  display: block;
  margin: 10px 0;
  color: #aeb6bd;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #29333b;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: bold;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

/* ==========================================================================
   📱 SYSTEM-WIDE RESPONSIVE ADAPTATIONS (SMOOTH DEVICE SCALING)
   ========================================================================== */
@media(max-width: 992px) {
  .nav-links {
    gap: 20px;
  }
}

@media(max-width: 820px) {
  .section {
    padding: 70px 0;
  }
  .nav-toggle {
    display: block;
  }
  
  /* FIXED: Mobile slideout links menu matches white theme layout */
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: -20px;
    right: -20px;
    background: #ffffff; 
    padding: 30px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-bottom: 2px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    font-size: 1.05rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f4;
    width: 100%;
  }
  
  .nav-links a.btn {
    border-bottom: 0;
    margin-top: 10px;
    text-align: center;
  }
  
  .hero {
    min-height: 85vh;
    background-position: 65% center;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat:nth-child(2) {
    border-right: 0;
  }
  
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: 1px solid #303942;
  }
  
  .product-grid, .split, .content-grid, .contact-grid, .brochure-panel {
    grid-template-columns: 1fr;
  }
  
  .section-head, .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  
  .cert-grid, .values {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .image-panel {
    min-height: 380px;
  }
  
  .sidebar {
    order: 2;
  }
  
  .brochure-panel img {
    max-height: 420px;
  }
  
  .mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media(max-width: 520px) {
  .container {
    width: min(100% - 32px, var(--max));
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .trust-grid, .product-grid, .feature-list, .form, .checks {
    grid-template-columns: 1fr;
  }
  
  .stat {
    border-right: 0;
    border-bottom: 1px solid #303942;
    padding: 24px 16px;
  }
  
  .product-card {
    min-height: 340px;
  }
  
  .form .wide {
    grid-column: auto;
  }
  
  .page-hero {
    padding-top: 150px;
  }
  
  .copyright {
    display: block;
    text-align: center;
    line-height: 1.5;
  }
  
  .copyright span {
    display: block;
    margin-top: 10px;
  }
}

