/* ══════════════════════════════════════════════════════════
   SANJEEV AUTO — Tesla × Tata Motors Design System
   Inspired by Tesla's minimalist dark cinematic aesthetic
   and Tata Motors' bold corporate authority
   ══════════════════════════════════════════════════════════ */

/* ─── Google Fonts: Outfit (headings) + Inter (body) ─────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Core palette */
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark-2:      #161616;
  --dark-3:      #1e1e1e;
  --mid:         #2a2a2a;
  --border:      rgba(255,255,255,0.08);
  --border-md:   rgba(255,255,255,0.12);

  /* Light surface */
  --light:       #f7f7f7;
  --light-2:     #ebebeb;
  --card-bg:     #ffffff;

  /* Brand accent — Tesla-red inspired but adapted to industrial green */
  --accent:      #3ecf6e;       /* primary green */
  --accent-dk:   #28a854;       /* darker green */
  --accent-glow: rgba(62,207,110,0.25);

  /* Tata blue accent (secondary) */
  --blue:        #0057b7;
  --blue-lt:     #1a7fe8;

  /* Typography */
  --white:       #ffffff;
  --text-inv:    rgba(255,255,255,0.92);
  --text-muted:  rgba(255,255,255,0.45);
  --text-dark:   #1a1a1a;
  --text-mid:    #444444;
  --text-faint:  #888888;

  /* Spacing / Radii */
  --r-sm:  6px;
  --r:     12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Animation */
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:     0.35s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img  { display: block; max-width: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul   { list-style: none; }

/* ══════════════════════════════════════════════════════════
   POPUP CONTACT FORM
   ══════════════════════════════════════════════════════════ */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: var(--dark-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
  transform: translateY(32px) scale(0.96);
  transition: transform 0.4s var(--ease-spring);
  position: relative;
}
.popup-overlay.active .popup-modal {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.popup-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: rotate(90deg);
}

/* Left panel */
.popup-left {
  background: linear-gradient(160deg, #0d1a0f 0%, #0a1c2e 60%, #0e1a0d 100%);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.popup-left::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,207,110,0.12), transparent 70%);
}
.popup-left::after {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,87,183,0.1), transparent 70%);
}

.popup-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.popup-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.popup-title span { color: var(--accent); }

.popup-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.popup-stats {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.pstat { display: flex; flex-direction: column; gap: 2px; }
.pstat-n {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.pstat-n sup { font-size: 1rem; }
.pstat-l { font-size: 0.75rem; color: var(--text-muted); }

/* Right panel */
.popup-right {
  padding: 44px 40px;
  overflow-y: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-label span { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #fff;
  background: rgba(255,255,255,0.04);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group select option { background: #1e1e1e; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a1a0a;
  padding: 14px;
  border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: var(--t);
  width: 100%;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR — Tesla style: transparent over hero → dark on scroll
   ══════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, transform 0.4s var(--ease);
}
.navbar.nav-scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  height: 72px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}
.nav-link:hover,
.nav-link-active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.nav-chevron {
  font-size: 0.6rem;
  opacity: 0.5;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-md);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--r) var(--r);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}
.nav-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav-submenu a:hover {
  color: #fff;
  background: rgba(62,207,110,0.06);
  border-left-color: var(--accent);
}

/* CTA + hamburger */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 20px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  transition: var(--t);
  background: transparent;
}
.nav-cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a1a0a;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.8);
  transition: var(--t);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION — Tesla full-viewport cinematic
   ══════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.68) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 80px 100px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.5); opacity: 0.6; }
}

.hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s var(--ease) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.4s; }
.hero-line:nth-child(2) { animation-delay: 0.55s; }
.hero-line:nth-child(3) { animation-delay: 0.7s; }
.hero-line-accent {
  background: linear-gradient(90deg, var(--accent) 0%, #7ef5a0 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
  margin-bottom: 56px;
}

.hero-certs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.3s forwards;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.cert-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Stats bar (Tesla-style bottom strip) */
.hero-stats-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  transition: background 0.2s;
}
.hero-stat:hover { background: rgba(62,207,110,0.05); }
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-num sup {
  font-size: 1.2rem;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
  align-self: stretch;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 100px;
  right: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 2s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.8); opacity: 0.4; }
  50%  { transform: scaleY(1); opacity: 1; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #071507;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: var(--t);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--t);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   MARQUEE BAR
   ══════════════════════════════════════════════════════════ */

.marquee-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}
.marquee-content strong {
  color: var(--accent);
  font-weight: 600;
}
.mq-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-bar:hover .marquee-track { animation-play-state: paused; }

/* ══════════════════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════════════════ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  margin-right: 10px;
  flex-shrink: 0;
}
.section-eyebrow--light { color: rgba(255,255,255,0.5); }
.section-eyebrow--light::before { background: rgba(255,255,255,0.3); }

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.section-title--light { color: #fff; }
.accent-text { color: var(--accent); }
.accent-text-dark { color: var(--accent-dk); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
  margin-top: 8px;
}
.link-arrow:hover { gap: 14px; }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEALS
   ══════════════════════════════════════════════════════════ */

.t-reveal,
.t-reveal--left,
.t-reveal--right,
.t-reveal--scale {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--sd, 0s);
}
.t-reveal          { transform: translateY(40px); }
.t-reveal--left    { transform: translateX(-40px); }
.t-reveal--right   { transform: translateX(40px); }
.t-reveal--scale   { transform: scale(0.96); }

.t-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════════════════
   STORY SECTION
   ══════════════════════════════════════════════════════════ */

.story-section {
  background: var(--light);
  padding: 120px 0;
}
.story-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(62,207,110,0.1);
  border: 1px solid rgba(62,207,110,0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dk);
  margin-bottom: 24px;
}
.founding-badge span {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.story-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.story-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.story-img--tall {
  grid-row: 1 / 3;
  aspect-ratio: auto;
}
.story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.story-img:hover img { transform: scale(1.05); }
.story-img--accent {
  position: relative;
}
.story-img--accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62,207,110,0.2), transparent);
  border-radius: var(--r-lg);
}

/* ══════════════════════════════════════════════════════════
   SECTORS SECTION
   ══════════════════════════════════════════════════════════ */

.sectors-section {
  background: var(--black);
  padding: 120px 0 0;
}
.sectors-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}
.sectors-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 380px;
  text-align: right;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.sector-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.sector-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.sector-card:hover .sector-img { transform: scale(1.08); }

.sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.1) 100%
  );
  transition: background 0.4s;
}
.sector-card:hover .sector-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(62,207,110,0.08) 100%
  );
}

.sector-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
}
.sector-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sector-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.sector-tags {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  display: block;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.sector-card:hover .sector-tags {
  transform: translateY(0);
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════
   CAPABILITIES SECTION
   ══════════════════════════════════════════════════════════ */

.caps-section {
  background: var(--light);
  padding: 120px 0;
}
.caps-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}
.caps-header {
  text-align: center;
  margin-bottom: 64px;
}
.caps-sub {
  font-size: 0.95rem;
  color: var(--text-faint);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

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

.cap-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.cap-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cap-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cap-card:hover .cap-img { transform: scale(1.06); }
.cap-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}

.cap-body {
  padding: 24px 24px 28px;
}
.cap-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cap-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.cap-chip {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(62,207,110,0.1);
  border: 1px solid rgba(62,207,110,0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dk);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   PLANTS SECTION
   ══════════════════════════════════════════════════════════ */

.plants-section {
  background: var(--dark);
  padding: 100px 0;
  overflow: hidden;
}
.plants-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.plants-nav {
  display: flex;
  gap: 12px;
}
.plants-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-md);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
  cursor: pointer;
}
.plants-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #071507;
}

.plants-viewport {
  overflow: hidden;
  padding-left: 80px;
}
.plants-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.plant-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  flex-shrink: 0;
  width: 400px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.plant-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.plant-card:hover img { transform: scale(1.06); }
.plant-fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 50%,
    transparent 100%
  );
}
.plant-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px;
}
.plant-id {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.plant-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.plant-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ══════════════════════════════════════════════════════════
   NUMBERS SECTION — Tata Motors impact style
   ══════════════════════════════════════════════════════════ */

.numbers-section {
  background: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.numbers-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(12rem, 22vw, 22rem);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.numbers-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  border-left: 1px solid var(--border);
  transition: background 0.3s;
}
.num-item:first-child { border-left: none; }
.num-item:hover { background: rgba(62,207,110,0.03); }

.num-val {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline;
}
.num-sup {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  vertical-align: super;
}
.num-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
}
.num-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════
   PARTNERS SECTION
   ══════════════════════════════════════════════════════════ */

.partners-section {
  background: var(--light);
  padding: 120px 0;
}
.partners-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}
.partners-h2 {
  text-align: center;
  margin-bottom: 16px;
}
.partners-sub {
  font-size: 0.95rem;
  color: var(--text-faint);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 64px;
}

.oem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 56px;
  border: 1px solid #e0e0e0;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.oem-item {
  background: #fff;
  padding: 28px 24px;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.25s;
  cursor: default;
}
.oem-item:hover { background: #f8fef8; }
.oem-item--more {
  background: rgba(62,207,110,0.06);
  border: 1px solid rgba(62,207,110,0.15);
}
.oem-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.oem-sector {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 400;
}

.cert-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cert-badge-lrg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--t);
}
.cert-badge-lrg:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #071507;
}
.cert-badge-lrg svg { color: var(--accent-dk); transition: color 0.2s; }
.cert-badge-lrg:hover svg { color: #071507; }

/* ══════════════════════════════════════════════════════════
   CTA SECTION — Tesla full-bleed
   ══════════════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.4) 100%
  );
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 80px;
  width: 100%;
}
.cta-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(62,207,110,0.12);
  border: 1px solid rgba(62,207,110,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s infinite;
}

.cta-h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.cta-accent {
  background: linear-gradient(90deg, var(--accent) 0%, #7ef5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 44px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cta-props {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-prop {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cta-prop-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(62,207,110,0.1);
  border: 1px solid rgba(62,207,110,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cta-prop-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.cta-prop-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */

.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 80px 60px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-certs-small {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-certs-small span {
  padding: 4px 10px;
  background: rgba(62,207,110,0.08);
  border: 1px solid rgba(62,207,110,0.15);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-divider {
  max-width: 1400px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
  margin-left: 80px;
  margin-right: 80px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════ */

.scroll-top-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #071507;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s, background 0.2s;
}
.scroll-top-btn.visible {
  transform: translateY(0);
  opacity: 1;
}
.scroll-top-btn:hover { background: var(--accent-dk); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .story-inner,
  .caps-inner,
  .plants-header,
  .numbers-inner,
  .partners-inner,
  .footer-top,
  .footer-bottom,
  .footer-divider,
  .sectors-header,
  .cta-inner,
  .hero-content {
    padding-left: 40px;
    padding-right: 40px;
  }
  .plants-viewport { padding-left: 40px; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .oem-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .story-inner { grid-template-columns: 1fr; gap: 48px; }
  .story-images { grid-template-columns: 1fr 1fr; }
  .story-img--tall { grid-row: auto; }
  .sectors-header { flex-direction: column; align-items: flex-start; }
  .sectors-sub { text-align: left; }
  .numbers-inner { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(odd) { border-left: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-props { gap: 20px; }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.mobile-open { transform: translateX(0); }
  .nav-link { height: auto; padding: 16px 0; font-size: 1rem; width: 100%; border-bottom-color: transparent; }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255,255,255,0.04);
    border: none;
    border-top: none;
    border-radius: var(--r);
    margin: 8px 0 8px 12px;
    padding: 8px 0;
    box-shadow: none;
    display: none;
  }
  .nav-dropdown:hover .nav-submenu { display: block; }
  .hamburger { display: flex; }
  .nav-cta-btn { display: none; }

  /* Hero */
  .hero-content { padding: 120px 24px 80px; }
  .hero-h1 { font-size: clamp(2.4rem, 10vw, 4.5rem); }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 50%; }
  .hero-stat-divider { display: none; }
  .hero-scroll-cue { display: none; }

  /* Sections */
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { grid-template-columns: 1fr; }
  .oem-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-inner { grid-template-columns: 1fr 1fr; }
  .plants-viewport { padding-left: 24px; }
  .plant-card { width: 320px; }
  .cta-inner { padding: 80px 24px; }
  .cta-h2 { font-size: clamp(2.5rem, 8vw, 4rem); }

  /* Footer */
  .footer-top,
  .footer-bottom,
  .footer-divider { padding-left: 24px; padding-right: 24px; margin-left: 0; margin-right: 0; }
  .footer-top { padding: 60px 24px 40px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .story-inner,
  .sectors-header,
  .plants-header { padding-left: 24px; padding-right: 24px; }

  .story-section,
  .caps-section,
  .numbers-section,
  .partners-section { padding: 80px 0; }
  .caps-inner,
  .partners-inner { padding-left: 24px; padding-right: 24px; }
  .plants-section { padding: 80px 0; }
  .plants-header { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .cta-actions { flex-direction: column; }
  .sectors-grid { grid-template-columns: 1fr; }
  .hero-stat { flex: 0 0 100%; }
  .popup-modal { grid-template-columns: 1fr; }
  .popup-left { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
}
