/* ============================================================
   SUHAS DWARKANATH KANDE — CORPORATE LEADERSHIP WEBSITE
   Design System & Global Styles
   ============================================================ */

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

/* ---- Custom Properties ---- */
:root {
  /* Core palette */
  --navy: #0A1628;
  --navy-light: #132240;
  --navy-mid: #1A2F4E;
  --ivory: #F5F1EB;
  --ivory-dark: #E8E2D8;
  --steel: #6B7B8D;
  --steel-light: #8A9BAD;
  --steel-dark: #4A5968;
  --saffron: #D4842A;
  --saffron-light: #E89A45;
  --saffron-dark: #B5701F;
  --white: #FFFFFF;
  --charcoal: #2C2C2C;
  --black: #0D0D0D;

  /* Functional */
  --bg-primary: var(--ivory);
  --bg-dark: var(--navy);
  --text-primary: var(--charcoal);
  --text-light: var(--ivory);
  --text-muted: var(--steel);
  --accent: var(--saffron);
  --border: rgba(107, 123, 141, 0.2);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
  --duration-slow: 0.8s;
  --duration-slower: 1.2s;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration-fast) ease; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: var(--fs-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p { margin-bottom: var(--space-sm); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--saffron);
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--saffron);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---- Section ---- */
.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--ivory);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--ivory);
}

.section--dark .section-subtitle {
  color: var(--steel-light);
}

.section--grey {
  background: #F0ECE6;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration-base) var(--ease-out);
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-title {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--steel-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width var(--duration-base) var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration-base) var(--ease-out);
}

.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); }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 132, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 132, 42, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: var(--space-2xl) 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--saffron);
  margin-bottom: var(--space-lg);
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--saffron);
}

.hero-title {
  font-size: var(--fs-5xl);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-title .accent {
  color: var(--saffron);
}

.hero-subtitle {
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--steel-light);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-portrait img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-xl);
}

.hero-portrait::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--saffron);
  border-radius: 4px;
  opacity: 0.3;
  z-index: -1;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-light);
  margin-top: 4px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.btn-primary {
  background: var(--saffron);
  color: var(--white);
  border: 2px solid var(--saffron);
}
.btn-primary:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 132, 42, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: 4px;
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 132, 42, 0.1);
  border-radius: 4px;
  color: var(--saffron);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.card-text {
  font-size: var(--fs-sm);
  color: var(--steel);
  line-height: 1.7;
}

/* Stat Card */
.stat-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 132, 42, 0.3);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Project Card */
.project-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card-header {
  padding: var(--space-md) var(--space-lg);
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--saffron);
}

.project-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ivory);
}

.project-card-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
}

.project-card-status .dot--progress {
  background: var(--saffron);
}

.project-card-status .dot--planned {
  background: var(--steel);
}

.project-card-body {
  padding: var(--space-lg);
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.project-card-desc {
  font-size: var(--fs-sm);
  color: var(--steel);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.project-card-metrics {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.project-metric {
  text-align: left;
}

.project-metric-value {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--navy);
}

.project-metric-label {
  font-size: var(--fs-xs);
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Progress Bar ---- */
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(107, 123, 141, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--space-sm);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s var(--ease-out);
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), var(--steel-light));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 3px var(--saffron);
}

.timeline-year {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: var(--fs-sm);
  color: var(--steel);
  line-height: 1.7;
}

/* ---- Filter Tabs ---- */
.filter-tabs {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--steel);
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  background: transparent;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

/* ---- Page Header ---- */
.page-header {
  background: var(--navy);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 132, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 132, 42, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-header .section-subtitle {
  color: var(--steel-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--steel-light);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--steel-light);
  transition: color var(--duration-fast) ease;
}

.breadcrumb a:hover {
  color: var(--saffron);
}

.breadcrumb .sep {
  color: var(--steel);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  padding: var(--space-3xl) 0 0;
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about p {
  font-size: var(--fs-sm);
  color: var(--steel-light);
  line-height: 1.8;
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ivory);
  margin-bottom: var(--space-md);
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--steel-light);
  transition: all var(--duration-fast) ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: var(--fs-xs);
  color: var(--steel);
}

.footer-bottom a {
  color: var(--saffron);
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}

.footer-bottom a:hover {
  color: var(--saffron-light);
}

/* ---- Gallery / Lightbox ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--navy-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.6), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--fs-2xl);
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--duration-fast) ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--saffron);
  color: var(--saffron);
}

/* ---- Interactive Map ---- */
.map-container {
  position: relative;
  background: var(--navy-light);
  border-radius: 4px;
  padding: var(--space-xl);
  overflow: hidden;
}

.constituency-map {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.constituency-map path,
.constituency-map polygon {
  fill: var(--navy-mid);
  stroke: var(--saffron);
  stroke-width: 0.5;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.constituency-map path:hover,
.constituency-map polygon:hover {
  fill: rgba(212, 132, 42, 0.25);
  stroke-width: 1.5;
}

.map-tooltip {
  position: absolute;
  background: var(--navy);
  color: var(--ivory);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition: all var(--duration-fast) ease;
  z-index: 100;
  border: 1px solid rgba(212, 132, 42, 0.3);
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-legend {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  justify-content: center;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--steel-light);
}

.map-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* ---- Contact Form ---- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: var(--fs-base);
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color var(--duration-fast) ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(212, 132, 42, 0.1);
}

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

/* ---- Animations ---- */
@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes lineGrowVertical {
  from { height: 0; }
  to { height: 100%; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slidePanel {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes geometricRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blueprintDraw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

/* Animation utility classes */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.anim-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.anim-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--duration-slow) var(--ease-out);
}

.anim-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.anim-line-grow {
  width: 0;
  transition: width var(--duration-slower) var(--ease-out);
}

.anim-line-grow.anim-visible {
  width: 100%;
}

/* Stagger children */
.anim-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.anim-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.anim-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.anim-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.anim-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.anim-stagger > *:nth-child(6) { transition-delay: 0.3s; }
.anim-stagger > *:nth-child(7) { transition-delay: 0.35s; }
.anim-stagger > *:nth-child(8) { transition-delay: 0.4s; }

/* ---- Geometric Background Elements ---- */
.geo-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.geo-line {
  position: absolute;
  background: rgba(212, 132, 42, 0.06);
}

.geo-line--h {
  height: 1px;
  width: 200px;
  animation: geoLineH 15s linear infinite;
}

.geo-line--v {
  width: 1px;
  height: 200px;
  animation: geoLineV 18s linear infinite;
}

.geo-circle {
  position: absolute;
  border: 1px solid rgba(212, 132, 42, 0.05);
  border-radius: 50%;
  animation: geometricRotate 30s linear infinite;
}

@keyframes geoLineH {
  0% { transform: translateX(-200px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

@keyframes geoLineV {
  0% { transform: translateY(-200px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  .hero-title { font-size: var(--fs-4xl); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }
  .hero-title { font-size: var(--fs-3xl); }

  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-md); }

  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: var(--fs-xl);
    color: var(--white);
  }

  .nav-toggle { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-portrait { order: -1; }
  .hero-portrait::before { display: none; }
  .hero-portrait img { max-width: 300px; }
  .hero-subtitle { margin: 0 auto var(--space-xl); }
  .hero-label { justify-content: center; }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stat { text-align: center; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .page-header {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: var(--fs-2xl); }
  .hero-stats { gap: var(--space-md); }
  .btn { padding: 12px 24px; font-size: var(--fs-xs); }
}
