/* ============================================================
   Dr. N. Kiruthiga — Academic Portfolio
   Design: Bricolage Grotesque + Instrument Sans
   Palette: White / Teal / Navy — Diabetome/PocketNet language
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #f0fdfa;
  --teal-border: #99f6e4;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --amber: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;
  --red: #dc2626;
  --red-light: #fef2f2;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --cyan: #0891b2;
  --cyan-light: #ecfeff;
  --navy: #0f172a;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-teal: 0 4px 16px rgba(13,148,136,0.12);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(13,148,136,0.15); }

/* Container */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* Section base */
section { padding: 96px 0; }
section.bg-subtle { background: #ffffff; }

.section-header { margin-bottom: 56px; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-title .accent { color: var(--teal-dark); }
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 640px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--teal);
  color: #fff;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  border-color: var(--teal-dark);
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-1px);
}
.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-outline-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

/* NAVBAR */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.08); }
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--teal-dark); }
.nav-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-light);
}
.nav-contact-btn {
  border: 1.5px solid var(--teal-border) !important;
  color: var(--teal-dark) !important;
  background: transparent !important;
  padding: 6px 14px !important;
}
.nav-contact-btn:hover {
  background: var(--teal-light) !important;
  border-color: var(--teal-dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
#hero {
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.hero-glow { display: none; }
.hero-glow-1 { display: none; }
.hero-glow-2 { display: none; }
.hero-container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  width: fit-content;
}
.hero-badge i { font-size: 0.75rem; }
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.hero-institution {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-institution i { color: var(--teal-dark); font-size: 0.8rem; }
.hero-typewriter {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  min-height: 1.6em;
  margin-top: 4px;
}
.typewriter-static { color: var(--text-muted); }
#typewriterText { color: var(--teal-dark); }
.typewriter-cursor {
  color: var(--teal-dark);
  animation: blink 0.75s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.hero-social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-subtle);
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.hero-social-link:hover {
  border-color: var(--teal-border);
  color: var(--teal-dark);
  background: var(--teal-light);
}

/* Stat tiles */
.stat-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.stat-tile:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
}
.stat-tile-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}
.stat-tile-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.stat-tile-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-subtle);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 56px;
  align-items: start;
}
.about-summary {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-summary strong { color: var(--navy); }
.about-detail {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-detail strong { color: var(--text); font-weight: 600; }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
}
.highlight-item i { color: var(--teal-dark); font-size: 0.85rem; flex-shrink: 0; }
.vision-mission-stack { display: flex; flex-direction: column; gap: 16px; }
.vm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.vm-card.vision { }
.vm-card.mission { }
.vm-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.vm-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.vm-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.vm-icon.blue { background: var(--blue-light); color: var(--blue); }
.vm-card p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.vm-card ul { display: flex; flex-direction: column; gap: 8px; }
.vm-card ul li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.vm-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
}

/* RESEARCH AREAS */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.research-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.research-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}
.research-icon-wrap.teal { background: var(--teal); }
.research-icon-wrap.purple { background: var(--purple); }
.research-icon-wrap.gold { background: var(--amber); }
.research-icon-wrap.red { background: var(--red); }
.research-icon-wrap.green { background: var(--green); }
.research-icon-wrap.cyan { background: var(--cyan); }
.research-icon-wrap.blue { background: var(--blue); }
.research-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.research-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.research-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.research-tags span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 8px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  border-radius: 6px;
}

/* PUBLICATIONS */
.pubs-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 24px;
}
.pubs-meta i { color: var(--blue); font-size: 0.85rem; flex-shrink: 0; }
.pubs-meta strong { font-weight: 600; }
.publications-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.pub-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.pub-item:hover { background: var(--bg-subtle); }
.pub-year { flex-shrink: 0; padding-top: 2px; }
.pub-year-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.pub-year-pill.y2026 { background: var(--teal); color: #fff; }
.pub-year-pill.y2025 { background: var(--blue); color: #fff; }
.pub-body { flex: 1; min-width: 0; }
.pub-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 5px;
}
.pub-authors {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 5px;
}
.author-highlight { color: var(--teal-dark); font-weight: 600; font-style: normal; }
.pub-journal {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-journal i { font-style: normal; font-size: 0.7rem; }
.pub-badge-wrap { flex-shrink: 0; padding-top: 2px; }
.pub-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.pub-badge.q1 { background: var(--amber-light); color: #92400e; border: 1px solid var(--amber-border); }
.pub-badge.q2 { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.pub-badge.corr { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal-border); }
.pubs-cta { margin-top: 32px; }

/* PATENTS */
.patents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.patent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.patent-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.patent-country {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}
.patent-country.india { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.patent-country.uk { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.patent-country.de { background: #f9fafb; color: #374151; border: 1px solid #d1d5db; }
.patent-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.patent-card h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  flex: 1;
}
.patent-card p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.patent-type-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  width: fit-content;
  margin-top: auto;
}
.india-badge { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.uk-badge { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.de-badge { background: #f9fafb; color: #374151; border: 1px solid #d1d5db; }

/* BOOKS */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.book-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.book-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.book-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
}
.book-status {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.book-status.published { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal-border); }
.book-status.forthcoming { background: var(--amber-light); color: #92400e; border: 1px solid var(--amber-border); }
.book-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.book-publisher {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-subtle);
  display: flex; align-items: center; gap: 6px;
}
.book-authors {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.book-isbn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  padding: 4px 8px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}
.chapters-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.chapters-heading i { color: #92400e; }
.chapters-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.chapter-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.chapter-item:last-child { border-bottom: none; }
.chapter-item:hover { background: var(--bg-subtle); }
.chapter-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #92400e;
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.chapter-item h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.4;
}
.chapter-pub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
}

/* EXPERIENCE TIMELINE */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border-strong);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -29px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--teal);
  z-index: 1;
}
.timeline-dot.current {
  background: var(--teal);
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.timeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.timeline-date {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.timeline-duration {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--border);
  color: var(--text-subtle);
  border-radius: 100px;
}
.timeline-duration.current-badge {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal-border);
}
.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.timeline-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.timeline-org {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.timeline-org i { color: var(--text-subtle); font-size: 0.8rem; }
.timeline-duties { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.timeline-duties li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.timeline-duties li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--teal-dark);
  font-weight: 700;
}

/* EDUCATION */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.edu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.edu-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.edu-degree-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}
.edu-degree-badge.phd { background: var(--teal-light); color: var(--teal-dark); border: 1px solid var(--teal-border); }
.edu-degree-badge.mpharm { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.edu-degree-badge.bpharm { background: var(--amber-light); color: #92400e; border: 1px solid var(--amber-border); }
.edu-years {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-subtle);
}
.edu-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.edu-institution {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.edu-thesis {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.55;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.skill-group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.skill-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.skill-group-header i { color: var(--teal-dark); font-size: 0.95rem; }
.skill-group-header h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
}
.tech-tags span {
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
}
.acad-tags span {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  color: var(--blue-dark);
}

/* LEADERSHIP */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.leader-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.leader-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.leader-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.leader-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.leader-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.evaluator-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.evaluator-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.evaluator-heading i { color: #92400e; }
.eval-items { display: flex; flex-direction: column; gap: 12px; }
.eval-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.eval-item i { color: var(--teal-dark); font-size: 0.8rem; flex-shrink: 0; margin-top: 3px; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 40px;
  align-items: start;
}
.contact-items {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--bg-subtle); }
.contact-icon-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-detail { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-value {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
a.contact-value:hover { color: var(--teal-dark); }
.text-subtle { color: var(--text-subtle); font-size: 0.78rem; }
.institution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inst-icon-row { display: flex; align-items: flex-start; gap: 14px; }
.inst-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  color: var(--teal-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.inst-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.inst-location { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-subtle); }
.inst-dept {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.inst-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.inst-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.inst-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal-dark);
  border-radius: 100px;
  display: flex; align-items: center; gap: 5px;
}

/* FOOTER */
#footer {
  background: #ffffff;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.footer-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}
.footer-inst { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-subtle); }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 7px;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal-dark); }
.footer-col ul li a i { font-size: 0.78rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-name { font-size: 3rem; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .patents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .stat-tiles { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 12px; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .hero-name { font-size: 2.5rem; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; }
  .patents-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .pub-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-name { font-size: 2rem; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; justify-content: center; }
  .leadership-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.65rem; }
}

@media print {
  #navbar, .hero-cta, .hero-social, .pubs-cta { display: none; }
  section { padding: 32px 0; }
  .reveal { opacity: 1; transform: none; }
  body { font-size: 11pt; }
}
