/* ============================================================
   PRITHVI ANUSANDHAN — stylesheet (v2)
   All brand colors live in :root below. Change once, applies
   everywhere.
   ============================================================ */

:root {
  --ink:    #223B37;   /* deep slate teal (logo text) */
  --ink-2:  #16292B;   /* darker, for footer / hero depth */
  --navy:   #1E3A5F;   /* globe blue */
  --leaf:   #5C8A3A;   /* leaf green */
  --leaf-d: #4A7230;   /* darker green for hover */
  --mint:   #EDF3E7;   /* light green tint */
  --stone:  #556762;   /* grey-teal body text */
  --paper:  #FBFCFA;   /* page background */
  --line:   #E1E8E2;   /* light borders */
  --radius: 14px;
  --shadow: 0 6px 24px rgba(24, 48, 44, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.22; }

img { max-width: 100%; display: block; }
a { color: var(--leaf); text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 54px; width: auto; }
.brand-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.12rem; font-weight: 600; }
.brand-name span {
  display: block; font-size: 0.68rem; color: var(--stone);
  font-family: 'Inter', sans-serif; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}

nav.menu { display: flex; gap: 6px; align-items: center; }
nav.menu a {
  color: var(--ink); font-size: 0.94rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: background 0.2s, color 0.2s;
}
nav.menu a:hover { background: var(--mint); color: var(--leaf-d); }
nav.menu a.active { background: var(--mint); color: var(--leaf-d); }
nav.menu a.nav-cta {
  background: var(--leaf); color: #fff; margin-left: 8px;
}
nav.menu a.nav-cta:hover { background: var(--leaf-d); color: #fff; }

/* mobile menu button */
.menu-btn {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-size: 1.15rem;
  cursor: pointer; color: var(--ink);
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 18px;
    gap: 4px; box-shadow: var(--shadow);
  }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 12px 14px; }
  nav.menu a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .brand-name { font-size: 0.98rem; }
  .brand img { height: 46px; }
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(1100px 500px at 88% -10%, rgba(92,138,58,0.22), transparent 60%),
    linear-gradient(155deg, var(--ink-2) 0%, var(--ink) 45%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* faint topographic contour rings */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 82% 30%, transparent 0 54px, rgba(255,255,255,0.045) 54px 56px);
}

.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
  align-items: center; padding: 84px 0 76px; position: relative;
}

.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.74rem; font-weight: 600; color: #BCD79B;
  border: 1px solid rgba(188,215,155,0.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}

.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin-bottom: 22px; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: #A8D07E; }

.hero p { max-width: 56ch; color: #D5E0DB; font-size: 1.1rem; margin-bottom: 34px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.btn {
  display: inline-block; background: var(--leaf); color: #fff;
  padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: 0.98rem;
  transition: transform 0.15s, background 0.2s; box-shadow: 0 4px 14px rgba(92,138,58,0.35);
}
.btn:hover { background: var(--leaf-d); transform: translateY(-2px); }

.btn.ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.45);
  margin-left: 12px; box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,0.1); }

.btn.dark { background: var(--ink); box-shadow: 0 4px 14px rgba(34,59,55,0.3); }
.btn.dark:hover { background: var(--ink-2); }

/* stats strip under hero */
.stats {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 22px 24px;
}
.stat { text-align: center; }
.stat b { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; color: #fff; }
.stat span { font-size: 0.8rem; color: #AFC2BB; letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 56px; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
}

/* ============ SECTIONS ============ */
section { padding: 84px 0; }
section.tint { background: var(--mint); }
section.dark { background: var(--ink-2); color: #fff; }
section.dark .lead { color: #C6D4CE; }

.kicker {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem;
  color: var(--leaf); font-weight: 700; margin-bottom: 12px;
}
section.dark .kicker { color: #A8D07E; }

section h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; max-width: 26ch; }

.lead { max-width: 64ch; color: var(--stone); font-size: 1.03rem; }

.section-head { margin-bottom: 46px; }

/* reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ SERVICE CARDS (home) ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--mint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--leaf-d); }

.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--stone); }
.card .more { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 600; }

/* ============ STEPS (how we work) ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: 'Fraunces', Georgia, serif; font-size: 2.2rem; color: var(--leaf);
  opacity: 0.35; display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--stone); }

/* ============ FEATURE LIST (why us) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.features { list-style: none; display: grid; gap: 20px; margin-top: 30px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features .tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--leaf); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem; margin-top: 3px;
}
.features b { display: block; font-size: 1.02rem; }
.features span { color: var(--stone); font-size: 0.94rem; }

.panel {
  background: linear-gradient(150deg, var(--ink) 0%, var(--navy) 100%);
  border-radius: 20px; padding: 20px; box-shadow: var(--shadow);
}
.panel svg { width: 100%; height: auto; border-radius: 12px; }

/* ============ SECTOR CHIPS ============ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
section.dark .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #E4EDE7; }

/* ============ SERVICES PAGE ============ */
.svc {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; margin-top: 26px; transition: box-shadow 0.2s;
}
.svc:hover { box-shadow: var(--shadow); }
.svc .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.svc .icon svg { width: 28px; height: 28px; stroke: var(--leaf-d); }
.svc h3 { font-size: 1.3rem; margin-bottom: 8px; }
.svc .tagline { color: var(--stone); margin-bottom: 12px; }
.svc ul { margin: 6px 0 0 20px; color: var(--stone); }
.svc li { margin-bottom: 7px; }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } }

/* ============ TEAM PAGE ============ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; margin-top: 10px; }

.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 30px; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.avatar {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(145deg, var(--ink), var(--navy));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif; font-size: 2rem;
  border: 4px solid var(--mint); overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.member h3 { font-size: 1.15rem; margin-bottom: 4px; }
.member .role { color: var(--leaf-d); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px; }
.member p { font-size: 0.92rem; color: var(--stone); }
.member .links { margin-top: 14px; font-size: 0.88rem; }

/* ============ CONTACT PAGE ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.contact-card h3 { margin-bottom: 16px; font-size: 1.2rem; }
.contact-card p { margin-bottom: 13px; color: var(--stone); }
.contact-card strong { color: var(--ink); }

/* ============ CTA BAND ============ */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(92,138,58,0.25), transparent 60%),
    linear-gradient(140deg, var(--ink-2), var(--navy));
  color: #fff; border-radius: 22px; padding: 60px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #C9D6D0; max-width: 48ch; }

/* ============ FOOTER ============ */
footer { background: var(--ink-2); color: #B9C8C1; font-size: 0.92rem; }

.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  padding: 56px 0 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

.foot-grid h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.foot-grid a { color: #B9C8C1; display: block; margin-bottom: 10px; }
.foot-grid a:hover { color: #A8D07E; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brand img { height: 46px; background: #fff; border-radius: 10px; padding: 4px; }
.foot-brand b { color: #fff; font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.85rem;
}

/* ============ PAGE BANNER (inner pages) ============ */
.banner {
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 55%, var(--navy) 100%);
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 88% 40%, transparent 0 50px, rgba(255,255,255,0.045) 50px 52px);
}
.banner .wrap { position: relative; }
.banner h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 10px; }
.banner p { color: #CFDAD4; max-width: 60ch; margin-top: 14px; font-size: 1.05rem; }
.banner .eyebrow {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem;
  font-weight: 600; color: #BCD79B;
}

/* ============ V3 ADDITIONS — Updates, ticker, extra polish ============ */

/* gentle floating animation for the hero artwork */
.hero-art { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }

/* gradient accent word (use <span class="accent">word</span> inside headings) */
.accent {
  background: linear-gradient(90deg, var(--leaf) 0%, #7FA9D8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* scrolling keyword ticker (below hero) */
.ticker { overflow: hidden; background: var(--ink-2); border-top: 1px solid rgba(255,255,255,0.08); }
.ticker-track {
  display: flex; gap: 56px; white-space: nowrap; width: max-content;
  padding: 13px 0; animation: tickerScroll 30s linear infinite;
  color: #9DB8A8; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.ticker-track span::before { content: "✦"; color: var(--leaf); margin-right: 56px; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Updates / news cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden;
}
.news-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf), #7FA9D8);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.news-meta { display: flex; align-items: center; gap: 12px; }
.news-date { font-size: 0.8rem; color: var(--stone); }

.tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.tag.news        { background: #E7F0DC; color: #4A7230; }
.tag.release     { background: #E2EAF5; color: #1E3A5F; }
.tag.opportunity { background: #F7EEDC; color: #8A6420; }
.tag.upcoming    { background: #E4F0EE; color: #1F5C54; }

.news-card h3 { font-size: 1.12rem; line-height: 1.35; }
.news-card p { font-size: 0.93rem; color: var(--stone); flex: 1; }
.news-card .more { font-size: 0.88rem; font-weight: 600; }

/* dark variant used on the home page highlights */
section.dark .news-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
section.dark .news-card h3 { color: #fff; }
section.dark .news-card p { color: #BCCBC4; }
section.dark .news-date { color: #8FA79E; }

/* subtle glow on CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,208,126,0.35), transparent 70%);
  pointer-events: none;
}
