/* ============================================================
   MECHLAB PRECISION  —  Best of Both Worlds
   New Layout + Old Navy Color Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@500;600;700;800;900&display=swap');

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

:root {
  /* ── Old color theme: deep navy blues ── */
  --black:      #0a1628;      /* deep navy (old hero bg) */
  --dark-1:     #0e1c2f;      /* classic dark navy */
  --dark-2:     #111d2e;      /* card bg in dark sections */
  --dark-3:     #162437;      /* hover state */
  --surface:    #1a2d42;
  --surface-2:  #1f3550;
  --border:     rgba(255,255,255,0.09);
  --border-mid: rgba(255,255,255,0.15);

  /* ── Old accent: professional steel blue ── */
  --accent:     #4a7fa5;      /* muted steel blue (old style) */
  --accent-glow:rgba(74,127,165,0.18);
  --accent-dim: #7db3d4;      /* lighter, used for highlights */
  --accent-vivid:#5591bb;     /* slightly brighter for hover */

  /* ── Light sections: true white / very light ── */
  --light-bg:   #f3f5f8;      /* very light blue-tinted white */
  --light-2:    #e8ecf2;
  --white:      #ffffff;
  --text-dark:  #0e1c2f;      /* navy for text on light bg */
  --text-dark-2:#1e3350;

  /* ── Text on dark ── */
  --text-main:  #dce8f4;
  --text-sub:   #6d92b3;
  --text-muted: #3d5a78;

  --font-body:   'Inter', sans-serif;
  --font-display:'Barlow Condensed', sans-serif;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --sh-glow: 0 0 40px rgba(74,127,165,0.2);
  --sh-card: 0 4px 24px rgba(10,22,40,0.35);
  --sh-hover: 0 16px 48px rgba(10,22,40,0.45);
  --trans: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 120px 0; }

/* ── Labels ─────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-vivid); margin-bottom: 1rem;
}
.label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--accent-vivid); border-radius: 1px; }
.label--light { color: rgba(255,255,255,0.5); }
.label--light::before { background: rgba(255,255,255,0.35); }
.label--dark { color: var(--text-dark-2); }
.label--dark::before { background: var(--accent); }

/* ── Headings ───────────────────────────────── */
.h-xl { font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5.4rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.h-lg { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.01em; text-transform: uppercase; }
.h-md { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.text-accent { color: var(--accent-dim); }

/* ── Buttons ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; padding: 0.9rem 1.9rem; border-radius: var(--r-pill); transition: var(--trans); cursor: pointer; letter-spacing: 0.02em; }
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-vivid); box-shadow: 0 0 28px rgba(74,127,165,0.4); transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid var(--border-mid); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

.btn-white { background: var(--white); color: var(--text-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

.btn-navy { background: var(--dark-1); color: var(--white); border: 1px solid var(--border-mid); }
.btn-navy:hover { background: var(--dark-3); box-shadow: var(--sh-glow); }

/* ── btn-outline: solid white on dark hero background ── */
.btn-outline { background: rgba(255,255,255,0.15); color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(8px); }
.btn-outline:hover { background: var(--white); color: var(--text-dark); border-color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.2); }

/* ── btn-accent: bright vivid blue for CTA sections ── */
.btn-accent { background: var(--accent-dim); color: var(--dark-1); font-weight: 700; }
.btn-accent:hover { background: #a8d4ee; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(125,179,212,0.5); }

/* ─────────────────────────────────────────────
   HEADER  —  White (old theme signature)
───────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(14,28,47,0.1);
  box-shadow: 0 2px 16px rgba(10,22,40,0.08);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 28px rgba(10,22,40,0.14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

.nav-logo { display: flex; align-items: center; }
.nav-logo-svg { height: 42px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-size: 0.85rem; font-weight: 500; color: var(--text-dark-2); letter-spacing: 0.04em; position: relative; transition: color 0.2s; }
.nav-link::after { content:''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.6rem 1.4rem; border-radius: var(--r-pill); background: var(--dark-1); color: var(--white); transition: var(--trans); }
.nav-cta:hover { background: var(--accent); box-shadow: 0 4px 20px rgba(74,127,165,0.35); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-dark); border-radius: 2px; transition: var(--trans); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

/* ─────────────────────────────────────────────
   HERO  —  Deep navy + machinery photo
───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  background: url('products_2.png') center 30% / cover no-repeat;
  display: flex; flex-direction: column;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,22,40,0.96) 48%, rgba(10,22,40,0.55) 100%),
    linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 55%);
}
.hero-content-wrap { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 72px; }
.hero-content { max-width: 680px; padding: 5rem 0 4rem; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-dim); margin-bottom: 2rem; }
.hero-eyebrow-line { width: 32px; height: 1px; background: var(--accent); }
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(74,127,165,0.7); } 50%{ box-shadow: 0 0 0 8px rgba(74,127,165,0); } }

.hero-divider { width: 60px; height: 1px; background: linear-gradient(to right, var(--accent), transparent); margin-bottom: 2rem; }

.hero-title { margin-bottom: 1.5rem; }
.hero-title-line1 { display: block; color: var(--white); }
.hero-title-line2 { display: block; color: var(--accent-dim); }
.hero-title-line3 { display: block; font-weight: 300; color: rgba(255,255,255,0.42); font-size: clamp(1.8rem, 3.5vw, 3rem); }

.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.52); line-height: 1.8; max-width: 500px; margin-bottom: 3rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* ── Hero scroll hint ── */
.hero-scroll-hint { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.5rem; }
.hero-scroll-text { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.hero-scroll-icon { width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 12px; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; }
.hero-scroll-icon span { display: block; width: 4px; height: 8px; border-radius: 2px; background: rgba(255,255,255,0.6); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0.2; } }

/* Stats bar — classic old navy feel */
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(10,22,40,0.85); backdrop-filter: blur(12px); }
.hero-stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-stat { padding: 2rem; display: flex; flex-direction: column; gap: 0.3rem; border-right: 1px solid rgba(255,255,255,0.1); position: relative; }
.hero-stat:last-child { border-right: none; }
.hero-stat::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.9s ease 0.2s; }
.hero-stat.animated::before { width: 100%; }
.hero-stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-sub); font-weight: 500; letter-spacing: 0.05em; }

/* ─────────────────────────────────────────────
   FOUNDATION  —  Dark navy (old feel)
───────────────────────────────────────────── */
.foundation { background: var(--dark-1); overflow: hidden; position: relative; }
.foundation::before { content: 'PRECISION'; position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 18rem; font-weight: 900; color: rgba(255,255,255,0.02); text-transform: uppercase; pointer-events: none; user-select: none; line-height: 1; letter-spacing: -0.05em; }

.foundation-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: center; }
.foundation-header { margin-bottom: 2.5rem; }
.foundation-header .h-lg { margin-bottom: 1.25rem; }
.foundation-desc { font-size: 1rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 2.5rem; }

.pillar-stack { display: flex; flex-direction: column; gap: 1px; }
.pillar-item { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; background: var(--dark-2); border-left: 2px solid transparent; transition: var(--trans); cursor: default; }
.pillar-item:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
.pillar-item:last-child { border-radius: 0 0 var(--r-md) var(--r-md); }
.pillar-item:hover { background: var(--dark-3); border-left-color: var(--accent); padding-left: 1.75rem; }
.pillar-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--text-muted); line-height: 1; flex-shrink: 0; width: 28px; transition: color 0.3s; }
.pillar-item:hover .pillar-num { color: var(--accent-dim); }
.pillar-title { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.35rem; }
.pillar-desc { font-size: 0.875rem; color: var(--text-sub); line-height: 1.65; }

.foundation-right { position: relative; }
.foundation-img-wrap { border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--sh-hover); }
.foundation-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(74,127,165,0.12) 100%); pointer-events: none; }
.foundation-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.foundation-badge { position: absolute; bottom: 2rem; left: -1.5rem; background: var(--accent); color: var(--white); border-radius: var(--r-md); padding: 1.25rem 1.5rem; box-shadow: 0 8px 32px rgba(74,127,165,0.5); }
.foundation-badge-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; line-height: 1; display: block; }
.foundation-badge-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }

/* ─────────────────────────────────────────────
   WHY MECHLAB  —  Light (old white feel)
───────────────────────────────────────────── */
.why { background: var(--light-bg); }
.why-header { margin-bottom: 3.5rem; }
.why-header .h-lg { color: var(--text-dark); }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }

.bento-card { background: var(--white); border-radius: var(--r-lg); border: 1px solid rgba(14,28,47,0.09); padding: 2rem; transition: var(--trans); position: relative; overflow: hidden; }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--accent), transparent); opacity: 0; transition: opacity 0.3s; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(10,22,40,0.1); }
.bento-card:hover::before { opacity: 1; }

.bento-1 { grid-column: span 8; }
.bento-2 { grid-column: span 4; background: var(--dark-1); border-color: var(--border); color: var(--text-main); }
.bento-3 { grid-column: span 4; }
.bento-4 { grid-column: span 4; }
.bento-5 { grid-column: span 4; }
.bento-6 { grid-column: span 12; background: var(--dark-1); border-color: var(--border); }

.bento-icon { width: 48px; height: 48px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: var(--light-2); color: var(--text-dark-2); margin-bottom: 1.25rem; transition: var(--trans); }
.bento-card:hover .bento-icon { background: var(--accent); color: var(--white); }
.bento-2 .bento-icon { background: var(--surface); color: var(--accent-dim); }
.bento-2:hover .bento-icon { background: var(--accent); color: var(--white); }
.bento-6 .bento-icon { background: var(--surface); color: var(--accent-dim); }

.bento-card-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.bento-2 .bento-card-title, .bento-6 .bento-card-title { color: var(--text-main); }
.bento-card-desc { font-size: 0.88rem; color: var(--text-dark-2); line-height: 1.65; opacity: 0.7; }
.bento-2 .bento-card-desc, .bento-6 .bento-card-desc { color: var(--text-sub); opacity: 1; }

.bento-1 .bento-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.bento-1 .bento-image { border-radius: var(--r-md); overflow: hidden; }
.bento-1 .bento-image img { width: 100%; height: 220px; object-fit: cover; }
.bento-checklist { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.bento-check { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
.bento-check svg { color: var(--accent); flex-shrink: 0; }

.bento-big-num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 900; color: var(--accent-dim); line-height: 1; display: block; }

.bento-6-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.bento-6 .bento-card-desc { max-width: 500px; }

/* ─────────────────────────────────────────────
   HOW WE WORK  —  Dark navy
───────────────────────────────────────────── */
/* ── Reduce dead space in process section ── */
.process { background: var(--black); position: relative; overflow: hidden; padding-bottom: 80px; }
.process::after { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(74,127,165,0.07) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }

.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .label { justify-content: center; }
.process-header .label::before { display: none; }
.process-header .label::after { content: ''; display: block; width: 20px; height: 1.5px; background: var(--accent-vivid); border-radius: 1px; }

.process-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.process-timeline::before { content: ''; position: absolute; top: 52px; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0.1) 80%, transparent); z-index: 0; }

.process-step { position: relative; z-index: 1; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-node { width: 56px; height: 56px; border-radius: 50%; background: var(--dark-2); border: 1.5px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--text-sub); margin-bottom: 1.5rem; transition: var(--trans); position: relative; }
.process-node::before { content: attr(data-num); position: absolute; top: -10px; right: -10px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: var(--accent-dim); background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-pill); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.process-step:hover .process-node { background: var(--accent); border-color: var(--accent); color: var(--white); box-shadow: 0 0 24px rgba(74,127,165,0.5); }
.process-step-title { font-size: 0.92rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.82rem; color: var(--text-sub); line-height: 1.6; }

/* ─────────────────────────────────────────────
   APPLICATIONS  —  Dark navy (old dark section)
───────────────────────────────────────────── */
.applications { background: var(--dark-1); position: relative; overflow: hidden; }
.applications::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(74,127,165,0.07) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 10% 80%, rgba(74,127,165,0.05) 0%, transparent 60%); pointer-events: none; }

.apps-header { margin-bottom: 3.5rem; }
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* 5th card: full-width spanning both columns */
.app-card--wide { grid-column: span 2; display: flex; gap: 2.5rem; align-items: flex-start; }
.app-card--wide .app-icon { flex-shrink: 0; }
.app-card--wide .app-title { font-size: 1.2rem; }
.app-card--wide .app-desc { max-width: 700px; }

.app-card { border-radius: var(--r-lg); padding: 2.25rem; border: 1px solid rgba(255,255,255,0.08); background: rgba(17,29,46,0.8); backdrop-filter: blur(10px); transition: var(--trans); position: relative; overflow: hidden; }
.app-card::after { content:''; position: absolute; inset: 0; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(74,127,165,0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; }
.app-card:hover { border-color: rgba(74,127,165,0.4); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,127,165,0.15); }
.app-card:hover::after { opacity: 1; }

.app-icon { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--surface); color: var(--accent-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; position: relative; z-index: 1; transition: var(--trans); }
.app-card:hover .app-icon { background: rgba(74,127,165,0.2); color: var(--accent-dim); box-shadow: 0 0 20px rgba(74,127,165,0.2); }
.app-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; position: relative; z-index: 1; }
.app-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.app-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; z-index: 1; }
.tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.03em; color: var(--text-sub); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-pill); padding: 0.28rem 0.85rem; transition: var(--trans); }
.app-card:hover .tag { border-color: rgba(74,127,165,0.35); color: var(--accent-dim); }

/* ─────────────────────────────────────────────
   CTA BANNER  —  Navy (old dark CTA)
───────────────────────────────────────────── */
.cta { background: var(--dark-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; padding: 80px 0; }
.cta::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: rgba(74,127,165,0.07); top: -200px; right: -150px; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 1rem; }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 540px; }
.cta-action { flex-shrink: 0; }

/* ─────────────────────────────────────────────
   CONTACT  —  Light background (old feel)
───────────────────────────────────────────── */
.contact { background: var(--light-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6rem; align-items: start; }
.contact-header { margin-bottom: 2rem; }
.contact-header .h-lg { color: var(--text-dark); }
.contact-sub { font-size: 0.97rem; color: #5a7090; line-height: 1.8; margin-bottom: 2.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1px; }
.contact-item { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.25rem; background: var(--white); border: 1px solid rgba(14,28,47,0.08); transition: var(--trans); }
.contact-item:first-child { border-radius: var(--r-md) var(--r-md) 0 0; border-bottom: none; }
.contact-item:nth-child(2) { border-top: none; border-bottom: none; }
.contact-item:last-child { border-radius: 0 0 var(--r-md) var(--r-md); border-top: none; }
.contact-item:hover { background: var(--light-2); padding-left: 1.6rem; border-left: 2px solid var(--accent); }
.ci-icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--light-2); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.ci-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8095ad; margin-bottom: 0.25rem; }
.ci-value { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }
a.ci-value:hover { color: var(--accent); }

.contact-form-wrap { background: var(--white); border-radius: var(--r-xl); border: 1px solid rgba(14,28,47,0.1); padding: 2.5rem; box-shadow: 0 8px 40px rgba(10,22,40,0.08); }
.form-title { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.75rem; }
.form-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: #8095ad; text-transform: uppercase; }
.form-input, .form-textarea { font-family: var(--font-body); font-size: 0.9rem; padding: 0.85rem 1.1rem; border-radius: var(--r-md); background: var(--light-bg); border: 1px solid rgba(14,28,47,0.12); color: var(--text-dark); outline: none; transition: var(--trans); resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: #a0b0c0; }
.form-input:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,127,165,0.12); background: var(--white); }
.form-submit { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; padding: 1rem 1.5rem; border-radius: var(--r-md); background: var(--dark-1); color: var(--white); width: 100%; border: none; cursor: pointer; transition: var(--trans); letter-spacing: 0.02em; }
.form-submit:hover { background: var(--accent); box-shadow: 0 4px 24px rgba(74,127,165,0.35); }
.form-submit svg { transition: transform 0.25s; }
.form-submit:hover svg { transform: translateX(3px); }

/* ─────────────────────────────────────────────
   FOOTER  —  Dark navy (old feel)
───────────────────────────────────────────── */
.footer { background: var(--black); border-top: 1px solid var(--border); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; padding: 4rem 0 3rem; }
.footer-brand { max-width: 280px; }
.footer-logo-svg { height: 34px; width: auto; display: block; margin-bottom: 1.25rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social-btn { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--dark-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--trans); }
.footer-social-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.footer-cols { display: flex; gap: 4.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.footer-link { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-main); }

/* ── SCROLL ANIMATIONS ─────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .foundation-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .foundation-right { max-width: 480px; margin: 0 auto; }
  .bento-1 { grid-column: span 12; }
  .bento-2 { grid-column: span 12; }
  .bento-3, .bento-4, .bento-5 { grid-column: span 4; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cta-inner { flex-direction: column; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 1.5rem; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; gap: 0; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--white); padding: 2rem 1.5rem; z-index: 999; overflow-y: auto; }
  .nav-link { font-size: 1.3rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid rgba(14,28,47,0.1); color: var(--text-dark); }
  .nav-cta { margin-top: 2rem; padding: 1rem 2rem; text-align: center; font-size: 1rem; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-timeline::before { display: none; }
  .apps-grid { grid-template-columns: 1fr; }
  .bento-3, .bento-4, .bento-5 { grid-column: span 12; }
  .bento-6 .bento-6-inner { flex-direction: column; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 2.5rem; }
  .footer-cols { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}


@media (max-width: 480px) {
  .h-xl { font-size: 2.8rem; }
  .h-lg { font-size: 2.2rem; }
  .hero-title-line3 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .process-timeline { grid-template-columns: 1fr; }
}

/* ── Back to Top Button ───────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(74,127,165,0.5);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  border: none; cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-vivid); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(74,127,165,0.6); }

/* ── Bento icon size boost ─────────────────────── */
.bento-icon svg, .app-icon svg { width: 26px !important; height: 26px !important; }

/* ── Hero Hook Offer ──────────────────────────── */
.hero-hook-offer {
  display: inline-flex; align-items: flex-start; gap: 0.75rem;
  background: rgba(74,127,165,0.12); border: 1px solid rgba(74,127,165,0.3);
  border-radius: var(--r-md); padding: 0.85rem 1.1rem;
  margin-bottom: 2rem; max-width: 520px;
}
.hook-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-dim);
  white-space: nowrap; padding-top: 0.05rem;
}
.hook-text { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.hook-text strong { color: var(--accent-dim); font-weight: 600; }

/* ── 3-column stats bar (default) ────────────── */
.hero-stats-inner { grid-template-columns: repeat(3, 1fr); }

/* ── RFQ Form Enhancements ────────────────────── */
.form-subtitle { font-size: 0.88rem; color: #8095ad; margin-bottom: 1.5rem; line-height: 1.6; margin-top: -0.5rem; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238095ad' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-file { cursor: pointer; }
.form-file::file-selector-button { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; background: var(--light-2); border: 1px solid rgba(14,28,47,0.15); border-radius: var(--r-sm); padding: 0.3rem 0.75rem; cursor: pointer; margin-right: 0.75rem; color: var(--text-dark-2); transition: var(--trans); }
.form-file::file-selector-button:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.form-footnote { font-size: 0.8rem; color: #8095ad; text-align: center; margin-top: -0.25rem; }

/* ── Certifications Strip ─────────────────────── */
.certs { background: var(--white); border-top: 1px solid rgba(14,28,47,0.08); border-bottom: 1px solid rgba(14,28,47,0.08); padding: 3rem 0; }
.certs-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.certs-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #a0b0c0; }
.certs-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; width: 100%; }
.cert-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 2rem; background: var(--light-bg);
  border: 1px solid rgba(14,28,47,0.08);
  flex: 1; min-width: 200px; max-width: 260px;
  border-radius: var(--r-md); transition: var(--trans);
}
.cert-item:hover { background: var(--white); border-color: rgba(74,127,165,0.25); box-shadow: 0 4px 20px rgba(10,22,40,0.07); transform: translateY(-2px); }
.cert-icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--white); border: 1px solid rgba(14,28,47,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.cert-item:hover .cert-icon { background: var(--accent); color: var(--white); border-color: var(--accent); }
.cert-name { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.15rem; }
.cert-desc { font-size: 0.75rem; color: #8095ad; line-height: 1.4; }

/* ── WhatsApp Floating Button ─────────────────── */
.whatsapp-btn {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 9998;
  display: flex; align-items: center; gap: 0.6rem;
  background: #25D366; color: var(--white);
  border-radius: var(--r-pill); padding: 0.7rem 1.1rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none;
}
.whatsapp-btn:hover { background: #1ebe5c; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.whatsapp-label { white-space: nowrap; }

/* ── Responsive: new elements ─────────────────── */
@media (max-width: 1024px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { gap: 0.75rem; }
}
@media (max-width: 768px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-hook-offer { flex-direction: column; gap: 0.4rem; }
  .cert-item { min-width: 160px; padding: 1rem 1.25rem; }
  .whatsapp-label { display: none; }
  .whatsapp-btn { padding: 0.85rem; border-radius: 50%; }
}
@media (max-width: 480px) {
  .hero-stats-inner { grid-template-columns: 1fr; }
  .hero-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:last-child { border-bottom: none; }
}

/* ── Hero stat subtitle ───────────────────────── */
.hero-stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ── Contact note (availability / response time) ─ */
.ci-note {
  font-size: 0.75rem;
  color: #8095ad;
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ── Footer export line ───────────────────────── */
.footer-export-line {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
}
.footer-bottom { flex-wrap: wrap; gap: 0.5rem; }

/* ─────────────────────────────────────────────
   WHY INDIA  —  Light background section
───────────────────────────────────────────── */
.why-india { background: var(--light-bg); }
.why-india-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.why-india-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid rgba(14,28,47,0.09);
  padding: 2rem;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.why-india-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-india-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(10,22,40,0.1); }
.why-india-card:hover::before { opacity: 1; }
.why-india-card .bento-icon { margin-bottom: 1.25rem; background: var(--light-2); color: var(--text-dark-2); }
.why-india-card:hover .bento-icon { background: var(--accent); color: var(--white); }
.why-india-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.why-india-desc {
  font-size: 0.88rem;
  color: var(--text-dark-2);
  line-height: 1.65;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   EXPORT READINESS  —  Dark navy section
───────────────────────────────────────────── */
.export-ready { background: var(--dark-1); position: relative; overflow: hidden; }
.export-ready::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(74,127,165,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.export-ready .why-header { margin-bottom: 3rem; }
.export-ready .why-header .h-lg { color: var(--white); }
.export-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.export-item {
  background: rgba(17,29,46,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: var(--trans);
  position: relative;
}
.export-item:hover {
  border-color: rgba(74,127,165,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(74,127,165,0.15);
}
.export-item .bento-icon { background: var(--surface); color: var(--accent-dim); margin-bottom: 1.25rem; }
.export-item:hover .bento-icon { background: rgba(74,127,165,0.2); color: var(--accent-dim); }
.export-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.export-item-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── Responsive: Why India + Export ──────────── */
@media (max-width: 1024px) {
  .why-india-grid { grid-template-columns: repeat(2, 1fr); }
  .export-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .why-india-grid { grid-template-columns: 1fr; }
  .export-grid { grid-template-columns: 1fr; }
}

