/* ==========================================================================
   PORTFOLIO DESIGN SYSTEM: PROFESSOR DR. SEEMA MEHRA PARIHAR
   Author: Design Engineering Team
   Theme: Academic Prestige & Geospatial Innovation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400;1,600&family=Cinzel:wght@600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --primary-950: #050b18;
  --primary-900: #0a1128;
  --primary-850: #0f1a36;
  --primary-800: #142145;
  --primary-700: #1e3160;
  
  --teal-500: #0d9488;
  --teal-400: #14b8a6;
  --teal-300: #2dd4bf;
  --teal-glow: rgba(20, 184, 166, 0.25);
  
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fde68a;
  --gold-glow: rgba(245, 158, 11, 0.22);
  
  --accent-rose: #f43f5e;
  --accent-blue: #3b82f6;

  /* Surfaces & Glassmorphism */
  --bg-main: #070d1e;
  --bg-surface: #0e172e;
  --bg-surface-elevated: #152243;
  --bg-surface-translucent: rgba(14, 23, 46, 0.75);
  --bg-card: rgba(19, 30, 60, 0.55);
  --bg-card-hover: rgba(26, 41, 80, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-teal: rgba(20, 184, 166, 0.35);
  --border-gold: rgba(245, 158, 11, 0.35);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #e2e8f0;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-brand: 'Cinzel', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  --shadow-teal: 0 12px 30px -6px rgba(20, 184, 166, 0.3);
  --shadow-gold: 0 12px 30px -6px rgba(245, 158, 11, 0.3);

  /* Layout */
  --max-w-content: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 15% 15%, rgba(20, 184, 166, 0.12) 0px, transparent 55%),
    radial-gradient(at 85% 25%, rgba(245, 158, 11, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(30, 58, 138, 0.18) 0px, transparent 65%);
  background-attachment: fixed;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Top Announcement / Affiliation Bar --- */
.top-banner {
  background: linear-gradient(90deg, #09122a, #132448, #09122a);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
  text-align: center;
}
.top-banner span {
  color: var(--gold-400);
  font-weight: 600;
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-surface-translucent);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-seal-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 12px var(--gold-glow);
  object-fit: cover;
}

.brand-text h1.brand-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--teal-300);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-400));
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--teal-500), #0f766e);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(20, 184, 166, 0.45);
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: white;
  padding: 0.4rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-full);
  color: var(--teal-300);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tag i {
  color: var(--gold-400);
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-name .gold-accent {
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-designation {
  font-size: 1.2rem;
  color: var(--teal-300);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-institution {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-institution strong {
  color: #ffffff;
}

.hero-bio-short {
  font-size: 1.05rem;
  color: var(--text-highlight);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-teal);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(20, 184, 166, 0.5);
  background: linear-gradient(135deg, #2dd4bf, #0f766e);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 16px 32px -4px rgba(245, 158, 11, 0.5);
}

/* --- Hero Image & Floating Cards --- */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(20, 184, 166, 0.15);
  border: 2px solid var(--border-teal);
  background: var(--bg-surface);
}

.hero-portrait-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s ease;
}

.hero-portrait-frame:hover .hero-portrait-img {
  transform: scale(1.03);
}

.portrait-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.1) 50%, transparent 100%);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(14, 23, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.portrait-seal {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
}

.portrait-caption h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.portrait-caption p {
  font-size: 0.75rem;
  color: var(--teal-300);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 26, 54, 0.88);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-isro {
  top: 1.5rem;
  left: -2.5rem;
  border-color: rgba(245, 158, 11, 0.4);
}

.badge-dst {
  bottom: 6rem;
  right: -2rem;
  border-color: rgba(20, 184, 166, 0.4);
  animation-delay: -2s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.badge-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
}

.badge-icon.teal {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-300);
}

.badge-info h5 {
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-info p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

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

/* --- Metrics / Stats Ribbon --- */
.stats-ribbon {
  margin-top: 1.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 1rem;
}

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

.stat-number {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--teal-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.35;
}

/* --- Section Structure --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

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

/* --- About & Academic Journey Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-highlight);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.quote-highlight {
  position: relative;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-left: 4px solid var(--teal-400);
  background: rgba(20, 184, 166, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #ffffff;
}

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-400), var(--gold-400));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--teal-400);
  box-shadow: 0 0 10px var(--teal-glow);
}

.timeline-dot.gold {
  border-color: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-glow);
}

.timeline-year {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Global Academic Footprint */
.global-reach-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(14, 23, 46, 0.6);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-md);
}

.global-reach-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-300);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.country-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-highlight);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.country-tag i {
  color: var(--gold-400);
  font-size: 0.75rem;
}

/* --- FLAGSHIP PROJECT: WOMEN EMPOWERMENT ATLAS --- */
.flagship-section {
  background: linear-gradient(180deg, rgba(14, 23, 46, 0.8) 0%, rgba(7, 13, 30, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.flagship-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(20, 184, 166, 0.1);
  position: relative;
  overflow: hidden;
}

.flagship-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.atlas-jacket-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-medium);
  cursor: pointer;
}

.atlas-jacket-preview img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.atlas-jacket-preview:hover img {
  transform: scale(1.03);
}

.atlas-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  gap: 0.5rem;
}

.atlas-jacket-preview:hover .atlas-zoom-hint {
  opacity: 1;
}

.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-300);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.flagship-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.flagship-meta {
  color: var(--teal-300);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.flagship-desc {
  font-size: 1rem;
  color: var(--text-highlight);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.flagship-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.flagship-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.flagship-feature-item i {
  color: var(--teal-400);
  margin-top: 0.2rem;
}

.flagship-feature-item span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.flagship-feature-item strong {
  color: #ffffff;
}

/* 9 Themes Interactive Grid */
.themes-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-teal);
}

.theme-card-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.theme-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-300);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.theme-card:hover .theme-card-icon {
  background: var(--teal-500);
  color: white;
}

.theme-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.theme-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Commendations Section */
.commendations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.commendation-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}

.commendation-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.commendation-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  object-fit: cover;
  box-shadow: 0 0 15px var(--gold-glow);
}

.commendation-author h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.commendation-author p {
  font-size: 0.825rem;
  color: var(--gold-300);
}

.commendation-body {
  font-size: 0.95rem;
  color: var(--text-highlight);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.commendation-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-300);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.commendation-view-btn:hover {
  color: #ffffff;
  gap: 0.75rem;
}

/* --- Research & Publications Section --- */
.pub-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pub-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  max-width: 100%;
}

.pub-tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.pub-tab-btn.active {
  background: linear-gradient(135deg, var(--teal-500), #0f766e);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.pub-tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-smooth);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
}

.pub-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-teal);
  transform: translateX(4px);
}

.pub-year-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-300);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-teal);
  text-align: center;
  align-self: start;
}

.pub-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.pub-authors strong {
  color: var(--gold-300);
}

.pub-venue {
  font-size: 0.85rem;
  color: var(--teal-300);
  font-style: italic;
  margin-bottom: 0.35rem;
}

.pub-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.meta-tag {
  font-size: 0.725rem;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
}

.pub-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: center;
}

.btn-icon-copy {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-icon-copy:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--teal-400);
  color: var(--teal-300);
}

/* Book Showcase Cards */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.book-cover-frame {
  height: 280px;
  background: #060b17;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}

.book-cover-frame img {
  max-height: 100%;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover-frame img {
  transform: scale(1.05);
}

.book-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-publisher {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.book-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.book-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* --- Public Health, Training & Leadership Section --- */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.initiative-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.initiative-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}

.initiative-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-300);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.initiative-card:nth-child(2) .initiative-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-400);
}

.initiative-card:nth-child(3) .initiative-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.initiative-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.initiative-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.initiative-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.initiative-highlights {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.initiative-highlights li {
  font-size: 0.825rem;
  color: var(--text-highlight);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.initiative-highlights li i {
  color: var(--teal-400);
  font-size: 0.75rem;
}

/* --- Awards & Fellowships Section --- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.award-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.award-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.award-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border-gold);
}

.award-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.35rem;
}

.award-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.award-org {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- Interactive Gallery Section --- */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--teal-500);
  color: #ffffff;
  border-color: var(--teal-400);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #091024;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 24, 0.95) 0%, rgba(5, 11, 24, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-300);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.gallery-caption {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* --- Contact & Institutional Affiliation --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-300);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.contact-value a:hover {
  color: var(--teal-300);
}

.contact-form-wrapper {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-highlight);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 17, 40, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: rgba(10, 17, 40, 0.95);
}

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

/* --- Footer --- */
.site-footer {
  background: #040814;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--teal-300);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.lightbox-img-wrapper {
  overflow: auto;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  background: #000000;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.lightbox-caption-bar {
  padding: 1rem 1.5rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-caption-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-caption-text p {
  font-size: 0.8rem;
  color: var(--teal-300);
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
  z-index: 10;
}

.lightbox-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--accent-rose);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--teal-500);
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3000;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-bio-short {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-grid, .flagship-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(3)::after {
    display: none;
  }
  .themes-grid, .books-grid, .initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-name {
    font-size: 2.4rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .themes-grid, .books-grid, .initiatives-grid, .commendations-grid {
    grid-template-columns: 1fr;
  }
  .pub-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pub-actions {
    align-self: flex-start;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.span-2 {
    grid-column: span 1;
  }
  .badge-isro, .badge-dst {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
