/* ==========================================================================
   Dr. Ashish Dhirajlal Kakkad - Executive Academic & Clinical Portfolio
   Design System: Clean White / Off-White Aesthetic with Medical Emerald & Cyan Accents
   ========================================================================== */

:root {
  /* Color Palette - Clean Light Theme */
  --bg-main: #ffffff;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Accents */
  --emerald-500: #059669;
  --emerald-400: #10b981;
  --emerald-600: #047857;
  --emerald-glow: rgba(5, 150, 105, 0.2);
  --emerald-glow-subtle: rgba(5, 150, 105, 0.08);

  --cyan-400: #06b6d4;
  --cyan-500: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.18);

  --indigo-400: #6366f1;
  --indigo-500: #4f46e5;
  --indigo-glow: rgba(79, 70, 229, 0.15);

  /* Text Colors - High Contrast Accessible */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-accent: #059669;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-glow: rgba(5, 150, 105, 0.35);

  /* Shadows - Clean Modern Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.1), 0 6px 14px -3px rgba(15, 23, 42, 0.05);
  --shadow-emerald: 0 10px 25px -4px rgba(5, 150, 105, 0.28);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Dimensions */
  --max-width: 1240px;
  --nav-height: 76px;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-xl: 30px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(5, 150, 105, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 88% 30%, rgba(2, 132, 199, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(79, 70, 229, 0.025) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-500);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: #ecfdf5;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  margin-bottom: 16px;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 15%, #059669 65%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Top Announcement Banner */
.top-banner {
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
  border-bottom: 1px solid #d1fae5;
  padding: 8px 16px;
  font-size: 0.84rem;
  text-align: center;
  color: #065f46;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 101;
}

.top-banner-badge {
  background: var(--emerald-500);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-500);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: #f1f5f9;
}

.nav-link.active {
  color: var(--emerald-600);
  background: #ecfdf5;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-400) 0%, var(--emerald-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--emerald-500);
  color: var(--emerald-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 64px 0 88px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(5, 150, 105, 0.08) 0%, rgba(2, 132, 199, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-600);
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-500);
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  opacity: 0.6;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-headline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--emerald-600);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-headline-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  margin-top: 4px;
  width: 100%;
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.hero-badge-item svg {
  color: var(--cyan-500);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-social-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: #ecfdf5;
  color: var(--emerald-600);
  border-color: var(--emerald-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Portrait Card */
.hero-portrait-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-portrait-card:hover {
  border-color: var(--emerald-500);
  box-shadow: 0 20px 45px -10px rgba(5, 150, 105, 0.18);
}

.portrait-wrapper {
  position: relative;
  width: 220px;
  height: 250px;
  margin: 0 auto 20px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--emerald-500);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.2);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-portrait-card:hover .hero-portrait-img {
  transform: scale(1.04);
}

.portrait-verified-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  color: var(--emerald-600);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--emerald-500);
  box-shadow: var(--shadow-sm);
}

.portrait-details h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.portrait-details p {
  font-size: 0.88rem;
  color: var(--emerald-600);
  font-weight: 600;
  margin-bottom: 14px;
}

.portrait-meta-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.meta-chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-chip-item strong {
  color: var(--text-primary);
}

/* Floating Micro Cards */
.floating-stat-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-stat-card.card-left {
  top: 15%;
  left: -28px;
  animation-delay: 0s;
}

.floating-stat-card.card-right {
  bottom: 12%;
  right: -24px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Metrics Counter Strip */
.stats-strip {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.stat-number span {
  color: var(--emerald-500);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   About Section & Core Pillars
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.about-narrative {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-narrative p {
  margin-bottom: 20px;
}

.about-narrative strong {
  color: var(--text-primary);
}

.quote-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  border-left: 4px solid var(--emerald-500);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  color: #1e293b;
  border-top: 1px solid #d1fae5;
  border-right: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}

.about-quick-specs {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.about-specs-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-entry {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-entry .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-entry .value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.spec-entry .value a {
  color: var(--emerald-600);
  text-decoration: none;
}

.spec-entry .value a:hover {
  text-decoration: underline;
}

/* 4 Strategic Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--cyan-400));
  opacity: 0;
  transition: var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #ecfdf5;
  color: var(--emerald-600);
  border: 1px solid #a7f3d0;
}

.pillar-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Council & Statutory Leadership Section
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leadership-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.leadership-card.highlight {
  border-color: #a7f3d0;
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

.leadership-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-500);
  box-shadow: var(--shadow-md);
}

.leadership-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecfdf5;
  color: var(--emerald-600);
  margin-bottom: 16px;
  border: 1px solid #a7f3d0;
}

.leadership-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.leadership-org {
  font-size: 0.95rem;
  color: var(--emerald-600);
  font-weight: 700;
  margin-bottom: 8px;
}

.leadership-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.leadership-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Experience Section (Interactive Timeline)
   ========================================================================== */
.timeline-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald-500) 0%, rgba(5, 150, 105, 0.15) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--emerald-500);
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-node {
  background: var(--emerald-500);
  transform: scale(1.15);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--border-medium);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-role {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.timeline-period-badge {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  background: #ecfdf5;
  color: var(--emerald-600);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}

.timeline-org {
  font-size: 1rem;
  color: var(--emerald-600);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.timeline-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.timeline-duties {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-duties li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-duties li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--emerald-500);
  font-size: 1.1rem;
  line-height: 1.4;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.timeline-tag {
  font-size: 0.76rem;
  background: #f1f5f9;
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 500;
}

/* ==========================================================================
   Key Projects & Health-Tech Innovations
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #a7f3d0;
  box-shadow: 0 16px 40px -10px rgba(5, 150, 105, 0.16);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.project-badge-funding {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.project-year {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 600;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.project-meta-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 14px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
}

.project-meta-row {
  display: flex;
  gap: 8px;
}

.project-meta-label {
  color: var(--text-muted);
  min-width: 95px;
  font-weight: 600;
}

.project-meta-val {
  color: var(--text-primary);
  font-weight: 600;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-tag {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--emerald-600);
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.project-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   Books & Research Publications Section
   ========================================================================== */
.books-showcase {
  margin-bottom: 64px;
}

.books-showcase-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.book-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: #a7f3d0;
  box-shadow: var(--shadow-md);
}

.book-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0369a1;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.book-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.book-author-role {
  font-size: 0.82rem;
  color: var(--emerald-600);
  font-weight: 700;
  margin-bottom: 12px;
}

.book-publisher {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

/* Publications Interactive Filter & Search Controls */
.publications-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: #f1f5f9;
}

.filter-btn.active {
  background: var(--emerald-500);
  color: #ffffff;
  font-weight: 700;
}

.search-box-wrapper {
  position: relative;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.pub-search-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 9px 16px 9px 40px;
  font-size: 0.86rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.pub-search-input:focus {
  background: #ffffff;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Publications List */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.publication-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition-fast);
}

.publication-item:hover {
  border-color: var(--border-medium);
  background: #f8fafc;
  transform: translateX(4px);
}

.pub-content {
  flex: 1;
}

.pub-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pub-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
}

.pub-category-tag {
  font-size: 0.74rem;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.pub-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 8px;
}

.pub-journal {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 6px;
}

.pub-authors {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pub-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-citation {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-citation:hover {
  background: #ecfdf5;
  color: var(--emerald-600);
  border-color: var(--emerald-500);
}

/* ==========================================================================
   Core Skills & Expertise
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.skill-category-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.skill-category-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: var(--emerald-600);
}

.skill-cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.skill-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.skill-badge:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: var(--emerald-600);
  transform: translateY(-2px);
}

.skill-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
}

/* ==========================================================================
   Education & Awards Section
   ========================================================================== */
.edu-awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.column-header {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.edu-cards-list,
.awards-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-card,
.award-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.edu-card:hover,
.award-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.edu-card-top,
.award-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.edu-degree,
.award-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.edu-year,
.award-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: #ecfdf5;
  padding: 3px 9px;
  border-radius: 4px;
}

.edu-inst,
.award-org {
  font-size: 0.92rem;
  color: var(--emerald-600);
  font-weight: 700;
  margin-bottom: 8px;
}

.edu-topic {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   Invited Talks Showcase
   ========================================================================== */
.talks-slider-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.talk-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.talk-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-500);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12);
}

.talk-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.talk-scope-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0369a1;
}

.talk-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.talk-topic {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.talk-forum {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.channel-icon-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ecfdf5;
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.channel-val {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
}

.channel-val:hover {
  color: var(--emerald-600);
}

.copy-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  color: var(--emerald-600);
  border-color: var(--emerald-500);
  background: #ecfdf5;
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #ffffff;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

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

.form-status-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 16px;
}

.form-status-msg.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #047857;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald-600);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-smooth);
  z-index: 90;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--emerald-500);
  color: #ffffff;
  border-color: var(--emerald-500);
  transform: translateY(-4px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--emerald-400);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Project Detail Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-portrait-card {
    max-width: 440px;
    margin: 0 auto;
  }
  .floating-stat-card.card-left { left: 0; }
  .floating-stat-card.card-right { right: 0; }
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars-grid,
  .leadership-grid,
  .skills-grid,
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .talks-slider-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .mobile-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
  }
  .mobile-drawer.open {
    display: flex;
  }
  .mobile-drawer .nav-link {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .about-grid,
  .projects-grid,
  .edu-awards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .leadership-grid,
  .skills-grid,
  .books-grid,
  .talks-slider-container {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .publications-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-wrapper {
    width: 100%;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
}
