/* ============================================================
   NutriGenie AgriTech — styles.css
   Standard Web Fonts · Light Professional Theme
   Clean, readable, accessible design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --primary: #1A3D1F;
  --secondary: #2E7D32;
  --accent: #B87333;
  --data: #00897B;
  --bg-white: #FFFFFF;
  --bg-light: #F4F4F4;
  --bg-section-alt: #F9F9F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark-section: #1A3D1F;
  --text-primary: #222222;
  --text-secondary: #555555;
  --text-muted: #777777;
  --text-white: #FFFFFF;
  --border: #E0E0E0;
  --border-hover: #BDBDBD;
  --border-accent: rgba(46, 125, 50, 0.25);
  --font-body: 'Inter', 'Open Sans', Arial, Verdana, sans-serif;
  --font-heading: 'Poppins', 'Inter', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 3px;
}

/* ============================================================
   HEADER / STICKY NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1200px);
  z-index: 1000;
  padding: 10px 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.nav-link {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-white);
  background: var(--secondary);
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   SCROLL-DRIVEN FRAME ANIMATION HERO
   ============================================================ */
.frame-hero-wrapper {
  position: relative;
  height: 100vh;
  /* Adjusting to 100vh so it just plays naturally without requiring 300vh scrolling */
}

.frame-hero-sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #f9f7f4 0%, #f0ece6 40%, #e4ded6 100%);
}

.frame-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.frame-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-white) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.frame-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
  padding: 48px 24px 60px;
  background: linear-gradient(to top, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
}

.frame-hero-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.frame-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--primary);
  line-height: 1.2;
}

.frame-hero-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.scroll-indicator {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: scrollBounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-indicator .arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 6px 16px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  background: rgba(46, 125, 50, 0.05);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-primary);
}

.title-gradient {
  color: var(--primary);
}

.title-white {
  color: var(--text-white);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.35);
  background: #256D29;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ============================================================
   HOME — DASHBOARD
   ============================================================ */
#home-dashboard {
  background: var(--bg-light);
  padding: 100px 0 80px;
}

.dash-title-area {
  margin-bottom: 48px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.8fr;
  gap: 20px;
  margin-bottom: 40px;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.panel-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Gauges */
.gauges-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gauge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gauge-ring {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gauge-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-ring svg circle {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.gauge-bg {
  stroke: #E8E8E8;
}

.gauge-fill {
  stroke-dasharray: 188;
  stroke-dashoffset: 188;
  transition: stroke-dashoffset 2s var(--ease);
}

.gauge-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1;
}

.gauge-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.gauge-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Chart */
.chart-canvas-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-section-alt);
}

.chart-canvas-wrap canvas {
  width: 100%;
  height: 100%;
}

.data-flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--data), transparent);
  animation: dataFlow 3s infinite;
  opacity: 0.3;
}

@keyframes dataFlow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(200%);
  }
}

.live-overlay {
  display: flex;
  gap: 10px;
  align-items: center;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E53935;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(229, 57, 53, 0);
  }
}

.live-overlay span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* System Status */
.status-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-item {
  padding: 14px;
  background: var(--bg-section-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
}

.status-item.drone {
  border-left-color: var(--data);
}

.status-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.status-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(46, 125, 50, 0.08);
  color: var(--secondary);
  margin-top: 4px;
}

/* Map */
.map-container {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.veg-heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 3px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.heatmap-cell {
  border-radius: 3px;
  transition: all 0.3s;
  position: relative;
}

.heatmap-cell:hover {
  transform: scale(1.3);
  z-index: 2;
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.3);
}

.sensor-nodes {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 200px;
  pointer-events: none;
}

.sensor-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 8px var(--data);
  animation: sensorPulse 2s infinite;
}

.sensor-node::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--data);
  border-radius: 50%;
  animation: sensorRing 2s infinite;
}

@keyframes sensorPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes sensorRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.map-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ============================================================
   ABOUT US
   ============================================================ */
#about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.about-narrative p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.highlight {
  color: var(--secondary);
  font-weight: 600;
}

.about-image-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}

.about-image-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.04), rgba(0, 137, 123, 0.04));
  z-index: 1;
}

.about-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 2;
  position: relative;
  text-align: center;
  padding: 32px;
}

.about-placeholder .icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.about-placeholder p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 280px;
}

/* Flow Steps */
.method-section {
  margin-top: 100px;
}

.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  min-width: 150px;
  padding: 20px 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.flow-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.flow-step.visible .flow-step-icon {
  border-color: var(--secondary);
  box-shadow: 0 0 16px rgba(46, 125, 50, 0.12);
}

.flow-step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.flow-step h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.flow-arrow {
  font-size: 1.4rem;
  color: var(--secondary);
  opacity: 0.35;
  flex-shrink: 0;
  margin-bottom: 40px;
}

/* Promise */
.promise-section {
  margin-top: 100px;
  text-align: center;
}

.promise-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.promise-icons {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
}

.promise-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.promise-icon-item svg {
  width: 36px;
  height: 36px;
  fill: var(--secondary);
  opacity: 0.8;
}

.promise-icon-item span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================================
   VISION / MISSION / COMMITMENT
   ============================================================ */
.vmc-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 80px;
}

.vmc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vmc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #43A047);
  opacity: 0;
  transition: opacity 0.4s;
}

.vmc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.vmc-card:hover::before {
  opacity: 1;
}

.vmc-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.vmc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.vmc-headline {
  font-size: 0.9375rem;
  color: var(--secondary);
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.vmc-card p:last-of-type:not(.vmc-headline) {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.vmc-list {
  list-style: none;
  padding: 0;
}

.vmc-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 6px 0 6px 20px;
  position: relative;
}

.vmc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.vmc-list li strong {
  color: var(--text-primary);
}

/* ============================================================
   CORE VALUES
   ============================================================ */
.values-section {
  margin-top: 100px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-section {
  margin-top: 100px;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border-radius: var(--radius);
}

.philosophy-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.85;
}

/* ============================================================
   PILLARS OF EXCELLENCE
   ============================================================ */
.pillars-section {
  margin-top: 100px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Gallery */
.gallery-section {
  margin-top: 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--text-white);
}

.gallery-stat {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* KPI */
.kpi-section {
  margin-top: 100px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.kpi-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.kpi-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.kpi-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.25);
  background: #256D29;
}

.glow-icon {
  font-size: 1.2rem;
}

/* Map & Info */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pune-map-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  height: 260px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pune-map-container svg {
  width: 100%;
  height: 100%;
}

.data-bubble {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary);
  animation: bubblePulse 2s infinite;
}

@keyframes bubblePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
  }
}

.contact-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-item svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-detail-item a {
  color: var(--text-primary);
  transition: color 0.3s;
}

.contact-detail-item a:hover {
  color: var(--secondary);
}

/* Partners */
.partners-section {
  margin-top: 80px;
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: scrollPartners 20s linear infinite;
  width: max-content;
}

.partner-logo {
  width: 140px;
  height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-logo img {
  height: 36px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logo:hover img {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-grid>.glass-panel:nth-child(3) {
    grid-column: 1 / -1;
  }

  .vmc-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 8px;
    width: 95%;
    padding: 8px 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: right 0.4s ease;
    z-index: 999;
    border-radius: 0;
    padding: 16px;
  }

  .nav-menu.open {
    right: 0;
  }

  .frame-hero-wrapper {
    height: 250vh;
  }

  .frame-hero-text h1 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-box {
    height: 280px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-section {
    padding: 40px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-arrow {
    display: none;
  }

  .flow-container {
    flex-direction: column;
    gap: 6px;
  }

  .section-title {
    font-size: clamp(1.375rem, 5vw, 2rem);
  }

  .section-padding {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .promise-icons {
    flex-direction: column;
    gap: 20px;
  }

  .header-inner {
    height: 40px;
  }

  .logo img {
    height: 30px;
  }

  .logo-text {
    font-size: 1rem;
  }
}