/* ============================================================
   Om Shiv Sai Packaging — Global Styles
   Matches exact site design from screenshots
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue:       #2563eb;
  --blue-dark:  #1e3a8a;
  --blue-light: #60a5fa;
  --navy:       #0f172a;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --gray:       #6b7280;
  --gray-lt:    #f1f5f9;
  --border:     #e2e8f0;
  --text:       #0f172a;
  --shadow:     0 4px 24px rgba(15,32,64,.08);
  --radius:     16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  transition: color .35s;
}
.nav-logo img {
  height: 36px; width: 36px;
  border-radius: 8px; object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

/* separator | between links */
.nav-links li + li::before {
  content: '|';
  color: #cbd5e1;
  padding: 0 4px;
  font-size: .85rem;
}

.nav-links a {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 30px;
  transition: all .2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--blue); }

.nav-links a.active {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

/* hide separator before active pill */
.nav-links li:has(a.active) + li::before,
.nav-links li + li:has(a.active)::before {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 30px;
  font-size: .92rem; font-weight: 600;
  cursor: pointer; border: none; transition: .2s;
  text-decoration: none; font-family: 'Inter', sans-serif;
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.btn-white:hover { background: #f1f5f9; }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline-white:hover { border-color: var(--white); }

/* ============================================================
   SECTION BASE
   ============================================================ */
section { padding: 96px 6%; }

.section-eyebrow {
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
  color: var(--navy);
}
.section-sub {
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 56px;
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 60px; /* navbar height */
  overflow: hidden;
}

/* background industry photo */
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/home/hero-industry.jpeg') center/cover no-repeat;
  z-index: 0;
  filter: brightness(0.9) contrast(1.1);
}

/* blue overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(29, 78, 216, 0.65) 50%,
    rgba(37, 99, 235, 0.55) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

/* TOP: logo + name + tagline */
.hero-top {
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 6% 40px;
  text-align: center;
}

.hero-logo {
  width: 116px; height: 116px;
  border-radius: 20px;
  object-fit: cover;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  margin-bottom: 24px;
}

.hero-company-name {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.5px;
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 22px; border-radius: 30px;
}

/* BOTTOM: left text + right photo */
.hero-bottom {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 48px 6% 64px;
  gap: 56px;
}

.hero-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-heading span { color: #93c5fd; }

.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 40px;
}
.stat-number {
  font-size: 2.4rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.stat-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-top: 4px;
}

.hero-facility-img {
  width: 100%; height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px; margin: 0 auto;
}

.who-text .section-eyebrow { text-align: left; }

.who-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; margin-bottom: 20px;
  color: var(--navy);
}

.who-text p {
  color: #475569;
  margin-bottom: 16px;
  font-size: .97rem;
  line-height: 1.8;
}

.read-more-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600; font-size: .95rem;
  margin-top: 8px; transition: gap .2s;
}
.read-more-link:hover { gap: 10px; }

.who-img img {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ============================================================
   PRODUCTION CAPACITY BANNER
   ============================================================ */
.capacity-banner {
  padding: 80px 6%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  text-align: center;
}

.capacity-banner .eyebrow {
  font-size: .78rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
}

.capacity-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  line-height: 1;
}

.cap-big {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
}

.cap-small {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: rgba(255,255,255,.80);
  letter-spacing: 0px;
  line-height: 1;
}

.capacity-sub {
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--white);
  text-align: center;
}

.services-section .section-title,
.services-section .section-sub {
  text-align: center;
  margin-left: auto; margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px; margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: 0 8px 40px rgba(37,99,235,.12);
  transform: translateY(-3px);
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px; color: var(--navy);
}

.service-card p {
  color: #64748b; font-size: .92rem; line-height: 1.7;
}

/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.products-section { background: var(--off-white); }

.products-section .section-eyebrow,
.products-section .section-title,
.products-section .section-sub {
  text-align: center;
  margin-left: auto; margin-right: auto;
}

.carousel-wrap {
  max-width: 1100px; margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.carousel-slide {
  min-width: 380px; margin-right: 24px;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%; height: 280px;
  object-fit: cover; border-radius: 0;
}

.carousel-caption { padding: 20px 24px; }
.carousel-caption h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 6px; color: var(--navy);
}
.carousel-caption p { font-size: .85rem; color: var(--gray); }

.carousel-controls {
  display: flex; align-items: center;
  justify-content: center; gap: 16px;
  margin-top: 32px;
}

.carousel-arrows { display: flex; gap: 10px; }

.carousel-arrows button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white); color: var(--navy);
  font-size: 1rem; cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrows button:hover {
  border-color: var(--blue); color: var(--blue);
}

.carousel-dots {
  display: flex; gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: #d1d9e6;
  cursor: pointer; transition: .25s; padding: 0;
}
.carousel-dots button:hover {
  background: #93c5fd;
}
.carousel-dots button.active {
  background: var(--blue); width: 26px; border-radius: 5px;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.pillars-section {
  background: var(--navy);
  text-align: center;
}
.pillars-section .section-eyebrow { color: #60a5fa; }
.pillars-section .section-title { color: var(--white); }
.pillars-section .section-sub {
  color: rgba(255,255,255,.6);
  margin-left: auto; margin-right: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}

.pillar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 36px 24px; text-align: center;
  transition: background .2s;
}
.pillar:hover { background: rgba(255,255,255,.1); }
.pillar-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pillar h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; font-weight: 700; }
.pillar p { color: rgba(255,255,255,.6); font-size: .88rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 1100px; margin: 0 auto;
  align-items: stretch;
}

.contact-grid .section-eyebrow { text-align: left; }

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }

.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.contact-detail strong {
  display: block; color: var(--navy);
  font-weight: 600; margin-bottom: 4px; font-size: .9rem;
}
.contact-detail span,
.contact-detail a { color: var(--gray); font-size: .92rem; }
.contact-detail a:hover { color: var(--blue); }

.contact-map {
  border-radius: 20px; overflow: hidden;
  height: 100%; min-height: 480px;
  box-shadow: var(--shadow);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  padding: 64px 6% 32px;
  color: rgba(255,255,255,.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand .logo-row img {
  height: 38px; width: 38px;
  border-radius: 8px; object-fit: cover;
}
.footer-brand .logo-row span {
  color: var(--white); font-weight: 700; font-size: .95rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; }
.footer-brand .tagline {
  color: #60a5fa; font-weight: 600; font-size: .85rem;
  margin-bottom: 8px;
}

.footer-col h4 {
  color: var(--white); font-size: .9rem;
  font-weight: 700; margin-bottom: 18px;
  letter-spacing: .3px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .88rem; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex; gap: 10px;
  margin-bottom: 12px; font-size: .86rem; align-items: flex-start;
}
.footer-contact-item a {
  color: rgba(255,255,255,.6);
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem;
}
.footer-bottom .blue { color: #60a5fa; }

/* ============================================================
   INNER PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
  padding: 100px 6% 72px;
  text-align: center;
  margin-top: 60px;
}
.page-hero .eyebrow {
  font-size: .7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #93c5fd; margin-bottom: 14px;
  display: block;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; color: var(--white);
  max-width: 700px; margin: 0 auto 14px;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  max-width: 560px; margin: 0 auto; font-size: .97rem;
}

/* ============================================================
   MANUFACTURING PAGE
   ============================================================ */
.mfg-categories {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 80px;
}

.mfg-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.mfg-category.reverse { direction: rtl; }
.mfg-category.reverse > * { direction: ltr; }

.mfg-text h2 {
  font-size: 1.6rem; font-weight: 800;
  margin-bottom: 12px; color: var(--navy);
}
.mfg-text p { color: #475569; margin-bottom: 20px; font-size: .95rem; }
.mfg-text ul { list-style: none; }
.mfg-text ul li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: .93rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.mfg-text ul li::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue); flex-shrink: 0;
}

.slideshow {
  position: relative; border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3; background: var(--gray-lt);
}
.slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease; border-radius: 0;
}
.slideshow img.active { opacity: 1; }
.slideshow-dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
}
.slideshow-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; transition: .2s;
}
.slideshow-dots span.active {
  background: var(--white); transform: scale(1.3);
}

/* ============================================================
   QUALITY PAGE
   ============================================================ */
.quality-intro {
  max-width: 800px; margin: 0 auto 56px;
  background: #eff6ff;
  border-left: 4px solid var(--blue);
  padding: 36px 40px; border-radius: 0 12px 12px 0;
}
.quality-intro h2 { margin-bottom: 12px; font-size: 1.5rem; }
.quality-intro p { color: #475569; }

.quality-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto 72px;
}
.qpillar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; box-shadow: var(--shadow);
}
.qpillar h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.qpillar p { color: #64748b; font-size: .9rem; }

.workflow { max-width: 780px; margin: 0 auto; }
.wf-step {
  display: flex; gap: 22px;
  padding: 26px 0; border-bottom: 1px solid var(--border);
}
.wf-step:last-child { border-bottom: none; }
.wf-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.wf-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.wf-body p { color: #64748b; font-size: .9rem; }

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.cert-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,.12);
  transform: translateY(-3px);
}
.cert-icon { font-size: 2.8rem; margin-bottom: 14px; }
.cert-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.cert-card p { color: var(--gray); font-size: .9rem; }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px; max-width: 1000px; margin: 0 auto;
}
.comp-item {
  background: var(--off-white); border-radius: 12px;
  padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start;
}
.comp-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.comp-item h4 { font-size: .93rem; font-weight: 700; margin-bottom: 4px; }
.comp-item p { color: var(--gray); font-size: .85rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; max-width: 1100px; margin: 0 auto;
}
.story-text h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.story-text p { color: #475569; margin-bottom: 14px; font-size: .95rem; }

.mvv { display: grid; gap: 16px; margin-top: 32px; }
.mvv-item {
  background: #eff6ff;
  border-left: 4px solid var(--blue);
  padding: 18px 22px; border-radius: 0 10px 10px 0;
}
.mvv-item h4 { margin-bottom: 5px; font-size: .95rem; font-weight: 700; color: var(--navy); }
.mvv-item p { color: #475569; font-size: .88rem; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before {
  content: ''; position: absolute; left: -24px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-year {
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px;
}
.tl-item h3 { font-size: .97rem; font-weight: 700; margin-bottom: 5px; }
.tl-item p { color: #64748b; font-size: .88rem; }

.about-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; max-width: 900px; margin: 0 auto; text-align: center;
}
.astat-num {
  font-size: 2.6rem; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.astat-label { color: var(--gray); font-size: .8rem; margin-top: 6px; font-weight: 500; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow);
}
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: #eff6ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 14px;
}
.team-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; }
.team-card p { color: var(--gray); font-size: .85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .who-grid,
  .hero-bottom,
  .contact-grid,
  .story-grid,
  .mfg-category { grid-template-columns: 1fr; }
  .mfg-category.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 24px; }
}

@media (max-width: 640px) {
  nav { justify-content: space-between; }
  .nav-logo { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--white); padding: 16px 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li + li::before { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  section { padding: 64px 5%; }
  .hero-facility-img { height: 220px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .carousel-slide { min-width: 260px; }
}

/* Scrolled state — dark text */
nav.scrolled .nav-links a { color: #475569; }
nav.scrolled .nav-links a:hover { color: var(--blue); }
nav.scrolled .nav-links a.active { color: var(--white); }
nav.scrolled .nav-logo { color: var(--navy); }
nav.scrolled .hamburger span { background: var(--navy); }

/* Inner pages — navbar always solid since no hero overlay */
nav.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
nav.solid .nav-links a { color: #475569; }
nav.solid .nav-links a:hover { color: var(--blue); }
nav.solid .nav-links a.active { color: var(--white); }
nav.solid .nav-logo { color: var(--navy); }
nav.solid .hamburger span { background: var(--navy); }

/* ============================================================
   MACHINE BLOCKS — Manufacturing Page
   ============================================================ */
.machine-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.machine-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.machine-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.machine-block.reverse {
  direction: rtl;
}
.machine-block.reverse > * {
  direction: ltr;
}

.machine-slideshow .slideshow {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.machine-tag {
  display: inline-block;
  background: #eff6ff;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.machine-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.machine-info p {
  color: #475569;
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.machine-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.machine-specs li {
  font-size: .85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.machine-specs li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .machine-block {
    grid-template-columns: 1fr;
  }
  .machine-block.reverse {
    direction: ltr;
  }
  .machine-specs {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   QUALITY PAGE — HERO
   ============================================================ */
.quality-hero {
  margin-top: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  padding: 96px 6%;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.quality-hero-inner {
  max-width: 720px;
}

.quality-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 30px;
  margin-bottom: 28px;
}

.quality-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.quality-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* 6 Pillars Grid */
.pillars-qa-section {
  background: #f0f4ff;
  padding: 88px 6%;
  text-align: center;
}

.pillars-qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 52px auto 0;
}

.pillar-qa-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  border: 1px solid rgba(37,99,235,.08);
  box-shadow: 0 2px 20px rgba(37,99,235,.06);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.pillar-qa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  opacity: 0;
  transition: opacity .2s;
}

.pillar-qa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37,99,235,.14);
}

.pillar-qa-card:hover::before { opacity: 1; }

.pillar-qa-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pillar-qa-card h3 {
  font-size: 1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}

.pillar-qa-card p {
  color: #64748b; font-size: .88rem; line-height: 1.7;
}

/* Quality Slideshow */
.quality-slideshow-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quality-slideshow {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/8;
  background: #000000;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 24px 80px rgba(0,0,0,.5),
    0 0 120px rgba(37,99,235,.25);
}

.quality-slideshow::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: inherit;
  filter: blur(8px) brightness(0.75);
  z-index: 0;
}

.quality-slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease;
  border-radius: 0;
  z-index: 1;
}

.quality-slideshow img.active {
  opacity: 1;
}

.quality-slideshow .slideshow-dots {
  bottom: 20px;
  z-index: 2;
}

/* glowing dots for quality slideshow */
.quality-slideshow .slideshow-dots span {
  width: 10px; height: 10px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.2);
}

.quality-slideshow .slideshow-dots span.active {
  background: var(--white);
  box-shadow: 0 0 10px rgba(255,255,255,.8);
  transform: scale(1.4);
}

.instrument-counter {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.instrument-dot-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inst-label {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-weight: 500;
}

/* Workflow Timeline */
.workflow-timeline {
  position: relative;
  padding-left: 0;
  overflow: hidden;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  height: calc(100% - 68px);
  width: 2px;
  background: #bfdbfe;
}

.wf-item {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  position: relative;
}

.wf-item.last {
  margin-bottom: 0;
}

.wf-item.last .wf-circle {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow: 0 0 0 4px #dbeafe, 0 4px 16px rgba(37,99,235,.3);
}

.wf-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: .9rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px #e0eaff;
  transition: transform .2s;
}

.wf-item:hover .wf-circle {
  transform: scale(1.12);
  background: var(--blue-dark);
}

.wf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  flex: 1;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  z-index: 1;
}

.wf-item:hover .wf-card {
  box-shadow: 0 4px 24px rgba(37,99,235,.1);
  transform: translateX(4px);
}

.wf-card h3 {
  font-size: 1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 6px;
}

.wf-card p {
  color: #64748b; font-size: .88rem; line-height: 1.7;
}

@media (max-width: 900px) {
  .pillars-qa-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pillars-qa-grid { grid-template-columns: 1fr; }
  .quality-hero { padding: 72px 5%; }
}

/* ============================================================
   EQUIPMENT SECTION — Quality Page
   ============================================================ */
.equipment-section {
  padding: 88px 6%;
  background: radial-gradient(ellipse at 50% 0%,
    #1e3a8a 0%,
    #0f172a 60%
  );
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* decorative glow blobs behind slideshow */
.equipment-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  top: -200px; left: -100px;
  filter: blur(80px);
  pointer-events: none;
}

.equipment-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(96,165,250,.1);
  top: 50%; right: -50px;
  filter: blur(60px);
  pointer-events: none;
}

/* ============================================================
   MANUFACTURING HERO — same style as quality hero
   ============================================================ */
.manufacturing-hero {
  margin-top: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  padding: 96px 6%;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.manufacturing-hero-inner {
  max-width: 720px;
}

.manufacturing-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.manufacturing-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cert-card-new {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(37,99,235,.1);
  box-shadow: 0 2px 20px rgba(37,99,235,.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.cert-card-new::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
}

.cert-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37,99,235,.14);
}

.cert-icon-wrap {
  font-size: 2.4rem;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.cert-body h3 {
  font-size: 1.1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}

.cert-body p {
  color: #64748b; font-size: .9rem;
  line-height: 1.75; margin-bottom: 16px;
}

.cert-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 30px;
}

/* Compliance Grid */
.compliance-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.comp-item-new {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}

.comp-item-new:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,.1);
  transform: translateY(-2px);
}

.comp-check-new {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800;
  flex-shrink: 0; margin-top: 2px;
}

.comp-item-new h4 {
  font-size: .93rem; font-weight: 800;
  color: var(--navy); margin-bottom: 4px;
}

.comp-item-new p {
  color: #64748b; font-size: .85rem; line-height: 1.6;
}

/* ============================================================
   CLIENTS SECTION
   ============================================================ */
.clients-section {
  padding: 80px 6vw;
  background: #f8f9fb;
  overflow: hidden;
}

.clients-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Fade edges */
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fb, transparent);
}
.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fb, transparent);
}

.clients-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollLogos 28s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

/* Logo card — fixed size container */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 18px 28px;
  min-width: 160px;
  width: 180px;
  height: 90px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
  overflow: visible;
}

.client-logo:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Logo image — always colourful, shrink-to-fit inside the card,
   never cropped or overflowing */
.client-logo img {
  filter: none;
  opacity: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ============================================================
   MANAGING DIRECTOR SECTION — text-only editorial layout
   ============================================================ */
.md-full {
  max-width: 760px;
  margin: 0 auto;
}

.md-subhead {
  text-align: center;
  color: var(--blue);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 48px;
}

.md-body p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.md-body strong {
  color: var(--navy);
}

.md-pullquote {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin: 32px 0;
  box-shadow: 0 4px 24px rgba(37,99,235,.08);
}

.md-pullquote p {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.md-pullquote strong {
  color: var(--blue);
  font-style: normal;
}

.md-stat-strip {
  margin-top: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.md-stat-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
}

.md-stat-text {
  color: rgba(255,255,255,.85);
  font-size: .98rem;
  line-height: 1.6;
}

.md-signature-center {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.md-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}

.md-title {
  font-size: .87rem;
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 600px) {
  .md-stat-strip {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}
/* ============================================================
   TEAM GRID — force 4 cards in one row on desktop
   ============================================================ */
.team-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   QUALITY POLICY SECTION — official document style
   ============================================================ */
.qp-section {
  background: #f8fafc;
  padding: 88px 6%;
}

.qp-doc {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(15,23,42,.06);
  padding: 56px 56px 44px;
  position: relative;
  overflow: hidden;
}

.qp-doc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #60a5fa, var(--blue));
}

.qp-doc-header {
  margin-bottom: 36px;
}

.qp-title {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
}

.qp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qp-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.qp-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qp-num {
  font-size: .85rem;
  font-weight: 800;
  color: var(--blue);
  background: #eff6ff;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qp-list p {
  color: #334155;
  font-size: .98rem;
  line-height: 1.8;
  margin: 0;
}

.qp-signature {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.qp-sign-line {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  position: relative;
  padding-bottom: 6px;
}

.qp-sign-line::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

@media (max-width: 700px) {
  .qp-doc {
    padding: 40px 28px 32px;
  }
  .qp-list li {
    gap: 14px;
  }
  .qp-signature {
    justify-content: center;
  }
}