/* ==========================================================================
   NATRAJ MOULDS — PRECISION INDUSTRIAL DESIGN SYSTEM
   Modern High-Precision Engineering Aesthetic for Thermoset Moulding
   Centralized Corporate Design with Full-Width Typographic Balance
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --navy-950: #040911;
  --navy-900: #0a1420;
  --navy-850: #0f1c2c;
  --navy-800: #15263a;
  --navy-700: #1d344d;
  --navy-600: #294868;
  --navy-500: #3b638c;
  --navy-100: #e8f0f8;
  --navy-50:  #f4f8fc;

  /* Neutral Slate Palette */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Precision Engineering Accent Palette */
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  /* High-Tech Glows & Ambient Highlights */
  --glow-emerald: rgba(16, 185, 129, 0.28);
  --glow-emerald-soft: rgba(16, 185, 129, 0.12);
  --glow-cyan: rgba(6, 182, 212, 0.18);
  --border-light: #e2e8f0;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-hover: rgba(52, 211, 153, 0.45);

  /* Typography Stacks */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Layout, Radii & Elevations */
  --max-w: 1280px;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(10, 20, 32, 0.06), 0 2px 6px -1px rgba(10, 20, 32, 0.03);
  --shadow-hover: 0 20px 40px -8px rgba(10, 20, 32, 0.12), 0 8px 16px -4px rgba(10, 20, 32, 0.06);
  --shadow-dark-card: 0 10px 30px -5px rgba(0, 0, 0, 0.35);

  --transition-fast: 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-base: 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS RESET & GLOBAL BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: var(--white);
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  text-align: center;
  max-width: 100%;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 14px;
}

h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.muted, .lede, .on-dark-muted {
  color: var(--slate-500);
}

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.72;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--slate-600);
}

.on-dark {
  color: var(--white);
}

.on-dark-muted {
  color: var(--slate-400);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS & CENTRALIZED HEADINGS
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

/* Centralized section titles using complete width */
.section-inner > h2 {
  position: relative;
  padding-bottom: 24px;
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-inner > h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 68px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: var(--r-full);
}

/* Section Themes */
.section-light, .vision-values-section {
  background: linear-gradient(180deg, var(--slate-50) 0%, #f4f8fb 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: radial-gradient(circle at 50% 15%, #132438 0%, #08111d 60%, #040911 100%);
  color: var(--slate-300);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark .section-inner > h2 {
  color: var(--white);
}

.section-dark .section-inner > h2::after {
  background: linear-gradient(90deg, var(--green-400), var(--green-300));
  box-shadow: 0 0 16px var(--glow-emerald);
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  margin-top: 48px;
}

.col-copy {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.col-copy p {
  margin-bottom: 22px;
}

.col-aside {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--green-500);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.col-aside:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.col-aside h3 {
  color: var(--navy-900);
  font-size: 1.35rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-aside h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 10px var(--glow-emerald);
}

.two-col-inverse {
  margin-top: 48px;
}

.two-col-inverse .col-copy,
.two-col-inverse .col-aside {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-dark-card);
}

.two-col-inverse .col-aside {
  border-left: 4px solid var(--green-400);
}

.check-list li, .dash-list li {
  position: relative;
  padding: 0 0 14px 28px;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 800;
  font-size: 1.1rem;
}

.dash-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-500);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%) skewX(-20deg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  box-shadow: 0 8px 20px -3px var(--glow-emerald);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -2px rgba(16, 185, 129, 0.42);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-900);
  border-color: var(--slate-300);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(10, 20, 32, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-500);
}

.btn-outline:hover {
  background: var(--green-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px var(--glow-emerald);
}

/* ==========================================================================
   PROGRESS RAIL & SITE HEADER
   ========================================================================== */

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: transparent;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-600), var(--green-400), #06b6d4);
  box-shadow: 0 0 10px var(--glow-emerald);
  transition: width 0.05s linear;
}

.site-header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all var(--transition-base);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -5px rgba(10, 20, 32, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  /* Reduced vertical padding to give the larger logo room without over-expanding header height */
  padding: 8px var(--pad-x); 
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: scale(1.02);
}

.header-inner {
  padding: 6px var(--pad-x); /* Reduced padding to balance the header height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-logo {
  height: 74px; /* Increased to allow stacked icon + text to render larger */
  width: auto;
  border-radius: var(--r-xs);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 20px); /* Slightly reduced gap so links don't wrap on smaller screens */
}
.main-nav a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--green-600);
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 22px !important;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800)) !important;
  color: var(--white) !important;
  border-radius: var(--r-full) !important;
  box-shadow: 0 4px 14px rgba(10, 20, 32, 0.15) !important;
  transition: all var(--transition-base) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-600), var(--green-500)) !important;
  box-shadow: 0 6px 20px var(--glow-emerald) !important;
  transform: translateY(-2px);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--slate-100);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  border-radius: var(--r-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Side Index Dock (Desktop) */
.index-dock {
  display: none;
}

@media (min-width: 1360px) {
  .index-dock {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--r-full);
    box-shadow: var(--shadow-card);
  }

  .dock-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    padding: 4px;
  }

  .dock-link i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-300);
    display: block;
    transition: all var(--transition-base);
  }

  .dock-link em {
    position: absolute;
    right: 28px;
    padding: 4px 10px;
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--r-xs);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all var(--transition-fast);
  }

  .dock-link:hover em {
    opacity: 1;
    transform: translateX(0);
  }

  .dock-link:hover i {
    background: var(--green-500);
    transform: scale(1.3);
  }

  .dock-link.active i {
    background: var(--green-600);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--glow-emerald);
  }
}

/* ==========================================================================
   1. HERO / HOME SECTION (CENTRALIZED & METRICS AT START)
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(120px, 14vw, 160px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: radial-gradient(circle at 50% 10%, #eaf5f0 0%, #ffffff 50%, #f4f8fb 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 650px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(10, 20, 32, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 20, 32, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(36px, 5vw, 56px);
}

/* Metrics Strip at Start of Page */
.metrics-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
}

.metric {
  padding: 22px 18px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}

.metric:last-child {
  border-right: none;
}

.metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.metric:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.metric:hover::before {
  transform: scaleX(1);
}

.metric-num, .metric-num-static {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.2vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.metric-num[data-count] {
  color: var(--green-700);
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 6px;
  line-height: 1.35;
}

/* Hero Copy (Centralized & Full-Width) */
.hero-copy {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 10px var(--green-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-copy h1 {
  background: linear-gradient(135deg, var(--navy-900) 40%, var(--navy-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto 24px;
  max-width: 100%;
  text-align: center;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  line-height: 1.72;
  color: var(--slate-600);
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
  padding: 0;
  border: none;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Clients Band (Centered with Bigger Logos & Clean Zoom/Shadow) */
.clients-band {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.clients-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  margin-bottom: 24px;
  text-align: center;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  filter: none !important;
  opacity: 1 !important;
  min-height: 84px;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px -4px rgba(10, 20, 32, 0.12);
  border-color: var(--slate-300);
}

.client-logo img {
  height: 70px;
  max-height: 75px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Awards Gallery on Hero */
.award-gallery {
  width: 100%;
  background: linear-gradient(180deg, var(--white), var(--slate-50));
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.award-gallery__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 24px;
}

.award-gallery__heading .clients-label {
  margin-bottom: 4px;
}

.award-gallery__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 16px !important;
}

/* 1. Reset card container bounds */
.award-gallery__grid > * {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 180px !important; /* Locks height of each grid cell */
  position: relative !important;
  overflow: hidden !important; /* Keeps image inside card borders */
  border-radius: 12px !important;
  background-color: #f8f9fa !important;
  
  /* Centering logic */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

/* 2. Restrict images to stay strictly inside cards */
.award-gallery__grid img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: auto !important;
}

/* Mobile view adjustments (screens under 600px) */
@media (max-width: 600px) {
  .award-gallery__grid {
    /* Lower the min width so 2 cards fit per row on phones */
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 10px !important;
  }

  .award-gallery__grid > * {
    /* Reduce card height for mobile */
    height: 120px !important;
    padding: 4px !important;
  }
}

.award-gallery__item {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: zoom-in;
}

.award-gallery__item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-400);
}

.award-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.award-gallery__item:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   2. ABOUT SECTION & AWARDS TIMELINE
   ========================================================================== */

.subblock {
  margin-top: 68px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.subblock h3 {
  color: var(--navy-900);
  margin-bottom: 8px;
  text-align: center;
}

.subblock .muted {
  font-size: 1rem;
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 170px;
  margin: 36px auto 0;
  max-width: 860px;
}

.timeline-track {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 140px;
  width: 3px;
  background: var(--slate-200);
  border-radius: var(--r-full);
}

.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  border-radius: var(--r-full);
  box-shadow: 0 0 8px var(--glow-emerald);
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline.in-view .timeline-fill {
  height: 100% !important;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 24px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 52px;
  padding: 8px 0;
  text-align: left;
}

.t-year {
  grid-column: 1;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: -0.01em;
}

.t-dot {
  grid-column: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-500);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.timeline-item:hover .t-dot {
  transform: scale(1.3);
  background: var(--green-500);
}

.t-label {
  grid-column: 3;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.timeline-item:hover .t-label {
  border-color: var(--green-300);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.t-label strong {
  font-weight: 700;
}

/* ==========================================================================
   3. INFRASTRUCTURE SECTION (UNIFORM SIZED FACILITY GALLERY)
   ========================================================================== */

.scale-bars {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 44px auto 54px;
}

.scale-row {
  display: grid;
  grid-template-columns: 220px 1fr 100px;
  gap: 20px;
  align-items: center;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  transition: all var(--transition-fast);
}

.scale-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(52, 211, 153, 0.3);
}

.scale-label {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.scale-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  overflow: hidden;
  position: relative;
}

.scale-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--green-400), #38bdf8);
  border-radius: var(--r-full);
  box-shadow: 0 0 12px var(--glow-emerald);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-value {
  color: var(--green-400);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: right;
}

/* Uniform Professional Facility Gallery */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.facility-image,
.facility-image:first-child {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-900);
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dark-card);
  cursor: zoom-in;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
  opacity: 0.9;
}

.facility-image:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.facility-image figcaption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  padding: 8px 18px;
  background: rgba(5, 13, 22, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   4. VISION, MISSION & VALUES (CENTRALIZED)
   ========================================================================== */

.vision-kicker {
  color: var(--green-600);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-align: center;
}

.vision-panel {
  padding: clamp(38px, 6vw, 76px);
  background: radial-gradient(circle at 50% 20%, #152d47 0%, #0c1c2e 60%, #060e18 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-dark-card);
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  text-align: center;
}

.vision-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), #38bdf8, var(--green-400));
}

.vision-panel .vision-kicker {
  color: var(--green-400);
}

.vision-statement {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.mission-block, .values-block {
  margin-top: 68px;
}

.section-intro {
  margin-bottom: 28px;
  text-align: center;
}

.section-intro .muted {
  max-width: 720px;
  margin: 0 auto;
}

.values-block .vision-kicker {
  text-align: center;
  margin-bottom: 24px;
}

.mission-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mission-card, .value-card {
  padding: 34px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.mission-card:hover, .value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-300);
}

.mission-card::after, .value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.mission-card:hover::after, .value-card:hover::after {
  transform: scaleX(1);
}

.mission-card h3, .value-card h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.mission-card p, .value-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.value-mark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-600);
  margin-bottom: 18px;
  opacity: 0.85;
}

/* ==========================================================================
   5. CAPABILITIES & LIFECYCLE
   ========================================================================== */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cap-card {
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-300);
}

.cap-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--green-50);
  border-radius: var(--r-full);
}

.cap-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.cap-card p {
  color: var(--slate-600);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

/* Manufacturing Lifecycle Diagram */
.lifecycle-block {
  margin-top: 72px;
  padding: 48px;
  background: var(--slate-50);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.lifecycle-block h3 {
  margin-bottom: 32px;
  color: var(--navy-900);
  text-align: center;
}

.lifecycle-diagram {
  color: var(--green-500);
  margin-bottom: 24px;
}

.lifecycle-diagram svg {
  width: 100%;
  overflow: visible;
}

#lifecyclePath {
  stroke-dashoffset: 1000;
  stroke-dasharray: 1000;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

#lifecyclePath.in-view {
  stroke-dashoffset: 0;
  stroke-dasharray: 6 6;
}

.node circle {
  fill: var(--white);
  stroke: var(--green-500);
  stroke-width: 3px;
  transition: all var(--transition-base);
}

.node:hover circle {
  fill: var(--green-500);
  transform: scale(1.3);
}

.lifecycle-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.lifecycle-labels div {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
  text-align: center;
}

.lifecycle-labels div:hover {
  transform: translateY(-3px);
  border-color: var(--green-300);
}

.lifecycle-labels strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.lifecycle-labels span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--slate-500);
}

/* ==========================================================================
   6. MATERIAL EXPERTISE
   ========================================================================== */

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.material-card {
  padding: 40px 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-dark-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.material-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-400), #38bdf8);
}

.material-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(52, 211, 153, 0.4);
}

.material-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.material-card h3 span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-top: 6px;
  letter-spacing: 0;
}

.material-card p {
  color: var(--slate-300);
  font-size: 0.96rem;
}

.apps {
  margin-top: 26px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: var(--slate-400);
}

.apps strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-400);
  margin-bottom: 6px;
}

/* ==========================================================================
   7. PRODUCTS SECTION
   ========================================================================== */

.product-table {
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.product-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: background var(--transition-fast);
}

.product-row:last-child {
  border-bottom: none;
}

.product-row:hover:not(.product-row-head) {
  background: var(--slate-50);
}

.product-row-head {
  background: var(--navy-900);
  color: var(--white);
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-row strong {
  color: var(--navy-900);
  font-size: 1.02rem;
}

.product-row .muted {
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* Product Image Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.product-image {
  margin: 0;
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all var(--transition-base);
  cursor: zoom-in;
}

.product-image:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--green-400);
  box-shadow: var(--shadow-hover);
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--transition-smooth);
}

.product-image:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   8. INDUSTRIES SECTION
   ========================================================================== */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.industry-card {
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-300);
}

.industry-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--green-50);
  color: var(--green-600);
  margin-bottom: 24px;
  border: 1px solid var(--green-100);
  transition: all var(--transition-fast);
}

.industry-card:hover .industry-icon {
  background: var(--green-600);
  color: var(--white);
  transform: rotate(6deg) scale(1.08);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   9. QUALITY & ISO 9001:2015
   ========================================================================== */

.quality-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.qf-item {
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  text-align: left;
}

.qf-item:hover {
  transform: translateY(-4px);
  border-color: var(--green-400);
  box-shadow: var(--shadow-card);
}

.qf-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 14px;
  padding: 3px 10px;
  background: var(--green-50);
  border-radius: var(--r-full);
}

.qf-item h4 {
  font-size: 1.08rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.qf-item p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.cert-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 24px;
  margin-top: 44px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.cert-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cert-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--green-500);
  background: var(--green-50);
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 12px var(--glow-emerald-soft);
}

.cert-box strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.cert-box span {
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* ==========================================================================
   10. SUSTAINABILITY & ESG COMMAND CENTER
   ========================================================================== */

.esg-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Two-column side-by-side layout for top cards */
.esg-top-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Stack into a single column on mobile screens */
@media (max-width: 768px) {
  .esg-top-row {
    grid-template-columns: 1fr;
  }
}

.esg-card {
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  text-align: left;
}

.esg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.emissions-card {
  grid-column: span 2;
  background: radial-gradient(circle at 50% 10%, #152d47 0%, #0c1c2e 60%, #060e18 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-dark-card);
}

.emissions-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
}

.emissions-content {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.emissions-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  overflow: hidden;
}

.emissions-table th, .emissions-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.emissions-table thead {
  background: rgba(255, 255, 255, 0.08);
}

.emissions-table thead th {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.emissions-table tbody th {
  color: var(--slate-300);
  font-weight: 600;
}

.emissions-table tbody td {
  color: var(--green-300);
  font-family: var(--font-mono);
  font-weight: 700;
}

.emissions-copy {
  padding-left: 24px;
  border-left: 3px solid var(--green-400);
}

.esg-note {
  color: var(--slate-300);
  font-size: 0.98rem;
  line-height: 1.68;
}

.esg-note strong {
  color: var(--green-300);
}

.emissions-result {
  margin-top: 18px;
}

/* ==========================================================================
   11. CAREERS SECTION (CENTRALIZED)
   ========================================================================== */

#careers .section-inner {
  text-align: center;
}

#careers h2 {
  text-align: center;
  margin: 0 auto 20px;
}

#careers .lede {
  text-align: center;
  margin: 0 auto 32px;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 36px;
  max-width: 800px;
}

.career-tags span {
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.career-tags span:hover {
  border-color: var(--green-400);
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

#careers .btn {
  margin: 0 auto;
}

/* ==========================================================================
   12. CONTACT / RFQ FORM (CENTRALIZED)
   ========================================================================== */

#contact .section-inner > h2 {
  text-align: center;
}

#contact .section-inner > .lede {
  text-align: center;
  margin: 0 auto 40px;
}

.rfq-form {
  margin: 44px auto 0;
  max-width: 960px;
  padding: clamp(32px, 5vw, 64px);
  background: radial-gradient(circle at 50% 10%, #152d47 0%, #0c1c2e 60%, #060e18 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-dark-card);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.rfq-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), #38bdf8);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 26px;
}

.rfq-form label {
  display: block;
  color: var(--slate-300);
  font-size: 0.88rem;
  font-weight: 600;
}

.rfq-form input, .rfq-form select, .rfq-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  color: var(--white);
  transition: all var(--transition-fast);
}

.rfq-form input::placeholder, .rfq-form textarea::placeholder {
  color: var(--slate-500);
}

.rfq-form select option {
  background: var(--navy-900);
  color: var(--white);
}

.rfq-form input:focus, .rfq-form select:focus, .rfq-form textarea:focus {
  outline: none;
  border-color: var(--green-400);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.rfq-form input[type="file"] {
  padding: 10px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}

.rfq-form input[type="file"]::file-selector-button {
  padding: 6px 14px;
  margin-right: 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rfq-form input[type="file"]::file-selector-button:hover {
  background: var(--green-500);
  border-color: var(--green-500);
}

.full-width {
  margin-top: 22px;
}

.btn-submit {
  margin-top: 28px;
  width: 100%;
  max-width: 260px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.form-note {
  margin-top: 18px;
  color: var(--green-300);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #030810;
  color: var(--slate-400);
  padding-top: clamp(60px, 8vw, 90px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-contact-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.6fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-row__title h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.footer-contact-row__title p {
  color: var(--slate-400);
  margin: 0;
  font-size: 0.92rem;
}

.footer-contact-row__person {
  display: flex;
  flex-direction: column;
}

.footer-contact-row__person span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-400);
  text-transform: uppercase;
}

.footer-contact-row__person strong {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-contact-row a {
  color: var(--slate-300);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-contact-row a:hover {
  color: var(--green-400);
}

.footer-brand .brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer .fine-print {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-cols a {
  display: block;
  margin-bottom: 10px;
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-cols a:hover {
  color: var(--green-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* Floating RFQ Button */
.fab-cta {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 85;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
  animation: pulse-fab 2.8s infinite;
}

@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 14px 34px rgba(16, 185, 129, 0.75); }
}

/* Lightbox Modal */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 8, 16, 0.94);
  backdrop-filter: blur(16px);
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast);
}

.photo-lightbox__close {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3vw, 32px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 28, 44, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-base);
  z-index: 10;
}

.photo-lightbox__close svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  display: block;
  transition: transform var(--transition-fast);
}

.photo-lightbox__close:hover {
  background: var(--green-500);
  border-color: var(--green-400);
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.55);
}

.photo-lightbox__close:hover svg {
  transform: rotate(90deg);
}

.photo-lightbox__controls {
  position: absolute;
  bottom: clamp(18px, 3vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(15, 28, 44, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

.photo-lightbox__controls button {
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.photo-lightbox__controls button:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--green-300);
}

.lightbox-open {
  overflow: hidden;
}

/* Reveal Transitions */
.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-target.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric:nth-child(3) {
    border-right: none;
  }

  .metric:nth-child(-n+3) {
    border-bottom: 1px solid var(--border-light);
  }

  .mission-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 28px var(--pad-x) 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 20px;
    text-align: center;
  }

  .two-col, .emissions-content {
    grid-template-columns: 1fr;
  }

  .cap-grid, .material-grid {
    grid-template-columns: 1fr;
  }

  .facility-gallery {
    grid-template-columns: 1fr;
  }

  .facility-image,
  .facility-image:first-child {
    height: 280px;
  }

  .lifecycle-labels {
    grid-template-columns: repeat(3, 1fr);
  }

  .lifecycle-diagram svg {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact-row__title {
    grid-column: 1 / -1;
  }

  .fab-cta {
    display: block;
  }
}

@media (max-width: 768px) {
  .product-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline {
    padding-left: 0;
  }

  .timeline-track {
    left: 85px;
  }

  .timeline-item {
    grid-template-columns: 75px 20px 1fr;
    gap: 12px;
  }

  .scale-row {
    grid-template-columns: 160px 1fr 70px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(odd) {
    border-right: 1px solid var(--border-light);
  }

  .metric:nth-child(even) {
    border-right: none;
  }

  .metric:nth-child(-n+4) {
    border-bottom: 1px solid var(--border-light);
  }

  .clients-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .client-logo {
    padding: 12px 16px;
    min-height: 68px;
  }

  .client-logo img {
    height: 40px;
    max-height: 44px;
  }

  .award-gallery__heading {
    display: block;
  }

  .award-gallery__intro {
    margin-top: 8px;
  }

  .award-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid, .values-grid, .quality-flow, .esg-grid {
    grid-template-columns: 1fr;
  }

  .emissions-card {
    grid-column: auto;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }

  .product-row-head {
    display: none;
  }

  .product-row span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--green-600);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .cert-strip, .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lifecycle-labels {
    grid-template-columns: 1fr 1fr;
  }

  .scale-bars {
    gap: 12px;
  }

  .scale-row {
    grid-template-columns: 1fr 60px;
    gap: 10px;
  }

  .scale-label {
    grid-column: 1 / -1;
  }

  .scale-track {
    grid-column: 1;
  }

  .scale-value {
    grid-column: 2;
    grid-row: 2;
  }

  .facility-gallery {
    grid-template-columns: 1fr;
  }

  .facility-image, .facility-image:first-child {
    height: 240px;
  }

  .form-grid, .footer-contact-row {
    grid-template-columns: 1fr;
  }

  .photo-lightbox {
    padding: 20px;
  }

  .photo-lightbox__close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .photo-lightbox__close svg {
    width: 20px;
    height: 20px;
  }

  .photo-lightbox__controls {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   MOBILE VIEW ADAPTATION (Max-Width 768px)
   Leaves Desktop View Completely Untouched
   ========================================================================== */

@media (max-width: 768px) {
  /* --- Global & Section Spacing --- */
  :root {
    --pad-x: 16px;
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .lede {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* --- Navigation & Header --- */
  .header-inner {
    padding: 10px var(--pad-x);
  }

  .header-logo {
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px var(--pad-x) 30px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  /* --- Hero Section --- */
  .hero {
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .hero-inner {
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Metrics Strip Mobile Grid */
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    padding: 14px 8px;
  }

  .metric:nth-child(odd) {
    border-right: 1px solid var(--border-light);
  }

  .metric:nth-child(even) {
    border-right: none;
  }

  .metric:nth-child(-n+4) {
    border-bottom: 1px solid var(--border-light);
  }

  /* --- Client Band & Award Gallery (Zero-Padding & Max Fit) --- */
  .clients-band,
  .award-gallery {
    padding: 16px 8px;
  }

  .clients-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .client-logo {
    padding: 4px;
    min-height: 50px;
  }

  .client-logo img {
    height: auto;
    max-height: 48px;
    width: 100%;
    object-fit: contain;
  }

  .award-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* --- Facility & Product Image Galleries (Full Stretch, No Padding) --- */
  .facility-gallery,
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin-left: calc(var(--pad-x) * -1);
    margin-right: calc(var(--pad-x) * -1);
    width: calc(100% + (var(--pad-x) * 2));
  }

  .facility-image,
  .facility-image:first-child,
  .product-gallery img {
    height: 240px;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
  }

  /* Global Reset for All Standalone Images on Mobile */
  img {
    max-width: 100%;
    height: auto;
  }

  /* --- Two Column Layouts --- */
  .two-col, 
  .two-col-inverse {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .col-aside {
    padding: 16px;
  }

  /* --- Timeline Component --- */
  .timeline {
    padding-left: 0;
  }

  .timeline-track {
    left: 54px;
  }

  .timeline-item {
    grid-template-columns: 48px 14px 1fr;
    gap: 8px;
  }

  .t-year {
    font-size: 0.72rem;
  }

  .t-label {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* --- Infrastructure Scale Bars --- */
  .scale-row {
    grid-template-columns: 1fr 50px;
    gap: 6px;
    padding: 10px 12px;
  }

  .scale-label {
    grid-column: 1 / -1;
    font-size: 0.82rem;
  }

  .scale-track {
    grid-column: 1;
  }

  .scale-value {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.9rem;
  }

  /* --- Grid System Collapses --- */
  .mission-grid,
  .values-grid,
  .cap-grid,
  .material-grid,
  .industry-grid,
  .quality-flow,
  .esg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vision-panel {
    padding: 20px 16px;
  }

  .mission-card,
  .value-card,
  .cap-card,
  .material-card,
  .industry-card,
  .esg-card {
    padding: 18px 14px;
  }

  /* Manufacturing Lifecycle */
  .lifecycle-block {
    padding: 18px 12px;
  }

  .lifecycle-diagram {
    display: none;
  }

  .lifecycle-labels {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .lifecycle-labels div {
    padding: 8px 6px;
  }

  /* ============ PRODUCTS SECTION STYLES ============ */

/* Desktop Table Layout Defaults */
.product-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 2.5rem;
}

.product-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
}

.product-row-head {
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Compact Image Gallery (Awards-style Grid) */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.product-image {
  margin: 0;
  border-radius: var(--r-md, 8px);
  overflow: hidden;
  background-color: var(--white, #fff);
  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.05);
}

/* --- Mobile Breakpoint (Stacked Cards & Grid) --- */
@media (max-width: 768px) {
  /* Product Table (Stacked Cards for Mobile) */
  .product-table {
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .product-row-head {
    display: none;
  }

  .product-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
  }

  .product-row span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--green-600);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Product Gallery (Clean 2-Column Grid on Mobile) */
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  /* Hide ONLY the header row on mobile */
  .product-row-head {
    display: none !important;
  }

  /* Keep product cards visible */
  .product-row:not(.product-row-head) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
  }

  /* Maintain 2-column image gallery */
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

  /* ESG Emissions Table */
  .emissions-card {
    grid-column: auto;
  }

  .emissions-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .emissions-copy {
    padding-left: 10px;
  }

  .emissions-table th, 
  .emissions-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  /* --- Forms & RFQ Block --- */
  .rfq-form {
    padding: 20px 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-submit {
    max-width: 100%;
  }

  /* --- Footer Component --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .cert-strip,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .fab-cta {
    display: flex;
    right: 12px;
    bottom: 12px;
    padding: 10px 16px;
  }
}
