/* ============================================
   PRAKRITHI — Engineering Sustainable Systems
   ============================================ */

:root {
  --bg-void: #060d09;
  --bg-dark: #0a1912;
  --bg-dark2: #0f2118;
  --card-dark: #122a1c;
  --card-border: rgba(141, 214, 118, 0.16);
  --accent: #7ed957;
  --accent-deep: #4a9b3a;
  --accent-soft: rgba(126, 217, 87, 0.12);
  --orange: #e2a23b;
  --blue: #5db8e8;
  --text-light: #eef5ea;
  --text-dim: #a9bfa4;
  --text-faint: #6f8a6c;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1240px;
  --font-head: "Fraunces", "Segoe UI", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

section { position: relative; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #08210e;
  box-shadow: 0 8px 24px rgba(126, 217, 87, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(126, 217, 87, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 9, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  perspective: 400px;
}

.logo-mark { width: 42px; height: 42px; flex-shrink: 0; transition: transform 0.5s ease; }
.logo:hover .logo-mark { transform: rotateY(360deg); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.logo-text .tag {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.has-dropdown { position: relative; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.has-dropdown svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.has-dropdown:hover svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--bg-dark2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-dim);
}
.dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, #0e2417 0%, var(--bg-void) 60%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: 620px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
}
.hero-content h1 .accent { color: var(--accent); display: block; }

.hero-content p {
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--text-dim);
  max-width: 480px;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pillar svg { width: 20px; height: 20px; }
.pillar.energy { color: var(--accent); }
.pillar.agri { color: #8fd6ff; }
.pillar.recycle { color: var(--blue); }
.pillar.restore { color: var(--orange); }

.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 700 / 400;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 2px 0 rgba(255,255,255,0.04) inset;
  border: 1px solid rgba(255,255,255,0.08);
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: heroFloat 7s ease-in-out infinite;
}
.hero-visual:hover { box-shadow: 0 40px 90px rgba(0,0,0,0.6); }
@keyframes heroFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-10px); }
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(6,13,9,0.55) 0%, rgba(6,13,9,0) 45%);
}

/* ---------- Solutions ---------- */

.solutions { padding: 90px 0 70px; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 32px;
  color: var(--white);
  margin-top: 10px;
  font-weight: 600;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 1400px;
}

.solution-card {
  display: block;
  background: linear-gradient(155deg, #16321f 0%, var(--card-dark) 60%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.12s ease-out, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.solution-card:hover {
  border-color: var(--accent);
  box-shadow: 0 26px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(126,217,87,0.25);
}
.solution-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #234a2c 0%, #142a1b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -6px 10px rgba(0,0,0,0.35), 0 8px 16px rgba(0,0,0,0.35);
  margin-bottom: 18px;
  transform: translateZ(24px);
}
.solution-icon svg { width: 26px; height: 26px; color: var(--accent); filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4)); }
.solution-card h3 { font-size: 16.5px; color: var(--white); margin-bottom: 8px; font-weight: 600; transform: translateZ(14px); }
.solution-card p { font-size: 13px; color: var(--text-dim); transform: translateZ(10px); }
.solution-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  margin-top: 16px; color: var(--text-dim);
  transition: all 0.2s ease;
  transform: translateZ(18px);
}
.solution-card:hover .solution-arrow { background: var(--accent); color: #08210e; border-color: var(--accent); }

/* ---------- Info strip ---------- */

.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
  padding: 0 0 70px;
  perspective: 1400px;
}

.info-card {
  background: linear-gradient(155deg, #16321f 0%, var(--card-dark) 65%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition: transform 0.12s ease-out, box-shadow 0.2s ease;
}
.info-card:hover { box-shadow: 0 26px 55px rgba(0,0,0,0.5); }

.info-card .icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.info-card .icon-row svg { width: 22px; height: 22px; color: var(--accent); }
.info-card .icon-row h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }

.info-card .place { font-weight: 700; color: var(--white); font-size: 16px; margin-bottom: 8px; }
.info-card p.desc { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.link-arrow { font-size: 13px; font-weight: 600; color: var(--accent); align-items: center; gap: 6px; }
.info-card .link-arrow { display: inline-flex; }

.presence-list { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.presence-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.presence-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex-shrink: 0; transform: translateY(-2px); }
.presence-item .city { font-weight: 700; color: var(--white); }
.presence-item .role { color: var(--text-faint); font-size: 12px; display: block; }

.contact-card { display: flex; flex-direction: column; }
.contact-card .email { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.contact-photo {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Impact areas ---------- */

.impact {
  background: var(--bg-dark2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 46px 0;
  margin-bottom: 0;
}
.impact-head { text-align: center; margin-bottom: 32px; }
.impact-head h3 { color: var(--white); font-size: 20px; font-weight: 600; }
.impact-head p { color: var(--text-dim); font-size: 13.5px; margin-top: 6px; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.impact-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.impact-item svg { width: 26px; height: 26px; color: var(--accent); }
.impact-item span { font-size: 12.5px; color: var(--text-dim); font-weight: 500; }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-mark { width: 30px; height: 30px; }
.footer-logo .name { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--white); }
.footer-logo .tag { font-size: 8px; color: var(--text-faint); letter-spacing: 0.12em; text-transform: uppercase; }

.footer-tagline { font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-dim);
  transition: all 0.2s ease;
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); color: #08210e; }
.social-icons svg { width: 16px; height: 16px; }

/* ---------- Inner page hero (About/Solutions/etc) ---------- */

.page-hero {
  padding: 70px 0 60px;
  background: radial-gradient(ellipse at top right, #0e2417 0%, var(--bg-void) 65%);
  border-bottom: 1px solid var(--card-border);
}
.page-hero .eyebrow { display: block; margin-bottom: 14px; }
.page-hero h1 { font-size: 38px; color: var(--white); font-weight: 700; max-width: 700px; }
.page-hero p { margin-top: 16px; font-size: 15px; color: var(--text-dim); max-width: 640px; }

.content-section { padding: 70px 0; }
.content-section.alt { background: var(--bg-dark2); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col.reverse .col-img { order: 2; }
.col-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 2px 0 rgba(255,255,255,0.04) inset; transform: perspective(1200px) rotateY(-4deg); transition: transform 0.3s ease; }
.col-img:hover { transform: perspective(1200px) rotateY(0deg); }
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-text h2 { font-size: 27px; color: var(--white); margin-bottom: 16px; font-weight: 600; }
.col-text p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 14px; }
.col-text ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.col-text ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text-dim); align-items: flex-start; }
.col-text ul li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.stack { display: flex; flex-direction: column; gap: 90px; }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.tile {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition: transform 0.12s ease-out, box-shadow 0.2s ease;
}
.tile:hover { box-shadow: 0 26px 55px rgba(0,0,0,0.5); }
.tile img { height: 170px; width: 100%; object-fit: cover; }
.tile-body { padding: 20px; }
.tile-body h4 { color: var(--white); font-size: 15.5px; margin-bottom: 8px; font-weight: 600; }
.tile-body p { color: var(--text-dim); font-size: 13px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; perspective: 1200px; }
.stat-box {
  background: linear-gradient(155deg, #16321f 0%, var(--card-dark) 65%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s ease-out, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.stat-box:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
.stat-box .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--accent); }
.stat-box .lbl { font-size: 12px; color: var(--text-dim); margin-top: 6px; }

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; display: block; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 10px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-info-item .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 4px; }
.contact-info-item .val { color: var(--white); font-size: 15px; font-weight: 600; }

.cta-band {
  padding: 60px 0;
  text-align: center;
  background: var(--bg-dark2);
  border-top: 1px solid var(--card-border);
}
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 14px; font-weight: 600; }
.cta-band p { color: var(--text-dim); margin-bottom: 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--card-border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item .yr { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 16px; }
.timeline-item h4 { color: var(--white); font-size: 15.5px; margin-bottom: 6px; font-weight: 600; }
.timeline-item p { color: var(--text-dim); font-size: 13.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
  .hero-content h1 { font-size: 34px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col, .form-wrap { grid-template-columns: 1fr; }
  .two-col.reverse .col-img { order: 0; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 28px; }
  .section-head h2 { font-size: 24px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-void);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.mobile-nav-close { background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }
.mobile-nav a { display: block; padding: 16px 0; font-size: 18px; color: var(--text-light); border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav .btn-primary { margin-top: 24px; text-align: center; justify-content: center; }
