/* ==========================================================================
   Rumeela Iqbal - Medical Laboratory Technology Portfolio
   Theme: Premium Aesthetic Clean Pure White (Matching Final_Website Theme)
   Designed for Cloudflare Pages Deployment
   ========================================================================== */

:root {
  /* Color Palette (PURE WHITE & NAVY BLUE ONLY) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-dark: #ffffff;
  
  --text-primary: #0f172a; /* Navy Dark Text */
  --text-secondary: #1e3a8a; /* Navy Medium Text */
  --text-tertiary: #3b82f6; /* Navy Accent Text */
  --text-main: #0f172a;
  --text-muted: #1e3a8a;
  --text-dim: #3b82f6;
  
  /* Borders & Accents */
  --border-subtle: #cbd5e1;
  --border-highlight: #93c5fd;
  --border-light: #e2e8f0;
  --border-glow: #93c5fd;
  
  --accent-blue: #1e40af;
  --accent-indigo: #1e3a8a;
  --primary: #1e40af;
  --primary-light: #2563eb;
  --primary-dark: #0f172a;
  --emerald: #1e40af;
  --teal: #1e3a8a;
  --cyan: #2563eb;
  
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 12px 35px -10px rgba(30, 64, 175, 0.15);

  /* Typography matching Final_Website */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Plus Jakarta Sans', sans-serif;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Smooth Theme Transition Rule (Lag-Free 60FPS Animation) */
body,
.status-badge,
.gradient-text,
.nav-brand .logo-icon,
.btn-primary,
.nav-contact-btn,
.mobile-contact-pill,
.mobile-nav-btn,
.nav-link,
.chip,
.pub-stat-tile,
.bio-pillar-tile,
.nav-toggle-hide-btn,
.mobile-hide-btn,
.theme-toggle-btn,
.metric-card,
.glass-card,
.chart-card,
.timeline-card,
.skill-category-card,
.cert-card,
.contact-info-card,
.contact-form-card {
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* GPU Acceleration for 100% Lag-Free 60/120FPS Smooth Scrolling */
.navbar, .mobile-bottom-dock, .glass-card, .btn, .publication-spotlight, .metric-card, .chart-card, .timeline-card, .cert-card, .contact-info-card, .nav-toggle-show-btn {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
}

/* ==========================================================================
   TOP RIGHT FLOATING THEME SWITCHER & THEME ENGINE (3 CURATED THEMES)
   ========================================================================== */
.theme-switcher-wrapper {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 100000;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid #bfdbfe;
  padding: 0.45rem 0.95rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e40af;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.theme-toggle-btn i.fa-palette {
  font-size: 0.9rem;
  color: #2563eb;
}

.theme-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.theme-dropdown {
  position: fixed;
  top: 60px;
  right: 20px;
  width: 255px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 0.65rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100000;
}

.theme-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-dropdown-header {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1e3a8a;
  padding: 0.35rem 0.6rem 0.5rem 0.6rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-dropdown-header i {
  color: #2563eb;
}

.theme-options-list {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.theme-options-list::-webkit-scrollbar {
  width: 5px;
}

.theme-options-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.theme-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a8a;
  white-space: nowrap;
}

.theme-option:hover {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.theme-option.active {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 700;
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

.theme-swatch {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.navy-swatch { background: linear-gradient(135deg, #1e40af, #2563eb); }
.purple-swatch { background: linear-gradient(135deg, #6d28d9, #7c3aed); }
.orange-swatch { background: linear-gradient(135deg, #ea580c, #f97316); }
.red-swatch { background: linear-gradient(135deg, #dc2626, #ef4444); }
.green-swatch { background: linear-gradient(135deg, #059669, #10b981); }
.cream-swatch { background: linear-gradient(135deg, #d97706, #f59e0b); }
.teal-swatch { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.rose-swatch { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.indigo-swatch { background: linear-gradient(135deg, #4338ca, #6366f1); }
.cyan-swatch { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.slate-swatch { background: linear-gradient(135deg, #334155, #475569); }

.theme-name {
  flex-grow: 1;
}

.theme-check {
  font-size: 0.85rem;
  color: #2563eb;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.theme-option.active .theme-check {
  opacity: 1;
}

/* Theme 1: Default Navy Blue & Pure White */
[data-theme="theme-navy"] {
  --primary: #1e40af;
  --primary-light: #2563eb;
  --primary-bg-tint: #eff6ff;
  --primary-border-tint: #bfdbfe;
  --accent-blue: #1e40af;
}

/* Theme 2: Royal Purple & Pure White */
[data-theme="theme-purple"] {
  --primary: #6d28d9;
  --primary-light: #7c3aed;
  --primary-bg-tint: #f5f3ff;
  --primary-border-tint: #ddd6fe;
  --accent-blue: #6d28d9;
}

/* Theme 3: Vibrant Orange & Pure White */
[data-theme="theme-orange"] {
  --primary: #ea580c;
  --primary-light: #f97316;
  --primary-bg-tint: #fff7ed;
  --primary-border-tint: #ffedd5;
  --accent-blue: #ea580c;
}

/* Theme 4: Crimson Red & Pure White */
[data-theme="theme-red"] {
  --primary: #dc2626;
  --primary-light: #ef4444;
  --primary-bg-tint: #fef2f2;
  --primary-border-tint: #fecaca;
  --accent-blue: #dc2626;
}

/* Theme 5: Emerald Green & Pure White */
[data-theme="theme-green"] {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-bg-tint: #ecfdf5;
  --primary-border-tint: #a7f3d0;
  --accent-blue: #059669;
}

/* Theme 6: Warm Amber & Pure White */
[data-theme="theme-cream"] {
  --primary: #d97706;
  --primary-light: #f59e0b;
  --primary-bg-tint: #fffbeb;
  --primary-border-tint: #fde68a;
  --accent-blue: #d97706;
}

/* Theme 7: Teal Ocean & Pure White */
[data-theme="theme-teal"] {
  --primary: #0d9488;
  --primary-light: #14b8a6;
  --primary-bg-tint: #f0fdfa;
  --primary-border-tint: #99f6e4;
  --accent-blue: #0d9488;
}

/* Theme 8: Rose Pink & Pure White */
[data-theme="theme-rose"] {
  --primary: #e11d48;
  --primary-light: #f43f5e;
  --primary-bg-tint: #fff1f2;
  --primary-border-tint: #fecdd3;
  --accent-blue: #e11d48;
}

/* Theme 9: Deep Indigo & Pure White */
[data-theme="theme-indigo"] {
  --primary: #4338ca;
  --primary-light: #6366f1;
  --primary-bg-tint: #eef2ff;
  --primary-border-tint: #c7d2fe;
  --accent-blue: #4338ca;
}

/* Theme 10: Cyan Blue & Pure White */
[data-theme="theme-cyan"] {
  --primary: #0284c7;
  --primary-light: #06b6d4;
  --primary-bg-tint: #f0f9ff;
  --primary-border-tint: #bae6fd;
  --accent-blue: #0284c7;
}

/* Theme 11: Midnight Slate & Pure White */
[data-theme="theme-slate"] {
  --primary: #334155;
  --primary-light: #475569;
  --primary-bg-tint: #f8fafc;
  --primary-border-tint: #cbd5e1;
  --accent-blue: #334155;
}

/* Universal Theme Overrides for Dynamic Colors */
.status-badge {
  background: var(--primary-bg-tint) !important;
  border-color: var(--primary-border-tint) !important;
  color: var(--primary) !important;
}

.status-text {
  color: var(--primary) !important;
}

.status-check-icon, .pulse-dot {
  color: var(--primary) !important;
  background-color: var(--primary) !important;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.nav-brand .logo-icon,
.btn-primary,
.nav-contact-btn,
.mobile-contact-pill,
.mobile-nav-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

.nav-link.active,
.nav-link:hover,
.mobile-nav-btn:hover {
  color: var(--primary) !important;
  background: var(--primary-bg-tint) !important;
  border-color: var(--primary-border-tint) !important;
}

.chip, .pub-stat-tile, .bio-pillar-tile {
  background: #ffffff !important;
  border-color: var(--primary-border-tint) !important;
}

.chip i, .pillar-icon, .tile-icon {
  color: var(--primary) !important;
}

.nav-toggle-hide-btn, .mobile-hide-btn {
  background: var(--primary-bg-tint) !important;
  color: var(--primary) !important;
  border-color: var(--primary-border-tint) !important;
}

.nav-toggle-hide-btn:hover, .mobile-hide-btn:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* Alternate Section Background */
section:nth-child(even) {
  background-color: #f8fafc;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #0f172a;
}

.section-subtitle {
  text-align: center;
  color: #1e3a8a;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary, .badge-emerald, .badge-teal {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Glass Card */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.12);
}

/* Header & Navigation (Modern Floating Bottom Capsule Bar) */
.navbar {
  position: fixed;
  bottom: 16px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1140px;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12), 0 4px 15px rgba(30, 64, 175, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  bottom: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
  border-color: #93c5fd;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.35rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  padding-left: 0.25rem;
}

.nav-brand .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
  transition: transform 0.25s ease;
}

.nav-brand:hover .logo-icon {
  transform: rotate(-10deg) scale(1.05);
}

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

.nav-link {
  text-decoration: none;
  color: #1e3a8a;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 30px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.nav-link::after {
  display: none;
}

.nav-link:hover, .nav-link.active {
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
}

/* Navbar Right Action Group (Contact CTA + Hide Toggle) */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.25rem;
  margin-left: 0.5rem;
}

.nav-contact-btn {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  padding: 0.45rem 1.05rem;
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
}

.nav-contact-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
  color: #ffffff;
}

/* Navbar Hide Toggle Button */
.nav-toggle-hide-btn {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 30px;
  padding: 0.45rem 0.85rem;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.nav-toggle-hide-btn:hover {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.mobile-hide-btn {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Floating Show Navigation Button */
.nav-toggle-show-btn {
  position: fixed;
  bottom: 20px;
  right: 24px;
  z-index: 1001;
  background: #1e40af;
  color: #ffffff;
  border: 1px solid #3b82f6;
  border-radius: 30px;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.35);
  transition: all 0.25s ease;
}

.nav-toggle-show-btn:hover {
  background: #2563eb;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.45);
}

/* Hidden Dock State for Desktop & Mobile */
.navbar.hidden-dock {
  transform: translate(-50%, 150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mobile-bottom-dock.hidden-dock {
  transform: translateY(150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5) !important;
}

.nav-toggle {
  display: none !important;
}

/* MOBILE BOTTOM NAVIGATION DOCK (FLOATING CAPSULE BAR MATCHING FINAL_WEBSITE) */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 95px !important;
  }

  /* Hide Desktop Floating Navbar & Top-Right Theme Button on Mobile Devices (Zero Top Clutter) */
  .navbar, #hideNavBtn, .theme-switcher-wrapper {
    display: none !important;
  }

  /* Mobile Theme Dropdown Positioned Above Bottom Dock */
  .theme-dropdown {
    position: fixed !important;
    bottom: 75px !important;
    right: 14px !important;
    top: auto !important;
    left: auto !important;
    z-index: 100001 !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25) !important;
  }

  /* MOBILE BOTTOM NAVIGATION DOCK (ULTRA-MODERN GLASS CAPSULE BAR) */
  .mobile-bottom-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 14px !important;
    left: 12px !important;
    right: 12px !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    height: 54px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 50px !important;
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 4px 8px !important;
    gap: 4px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 4px 15px rgba(30, 64, 175, 0.1) !important;
    scroll-behavior: smooth !important;
  }

  .mobile-bottom-dock::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 6px !important;
    padding: 7px 13px !important;
    border-radius: 30px !important;
    font-size: 0.775rem !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    background: transparent !important;
  }

  .mobile-nav-btn i {
    font-size: 0.875rem !important;
    transition: transform 0.2s ease !important;
  }

  /* Active Pill Highlighting with Navy Gradient */
  .mobile-nav-btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #1e40af, #2563eb) !important;
    border-color: #1e40af !important;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35) !important;
    transform: scale(1.03) !important;
  }

  .mobile-nav-btn.active i {
    color: #ffffff !important;
    transform: scale(1.1) !important;
  }

  /* Contact CTA Pill Styling */
  .mobile-contact-pill {
    background: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #93c5fd !important;
  }

  .mobile-contact-pill.active {
    background: linear-gradient(135deg, #1e40af, #2563eb) !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
  }

  /* Mobile Hide Button */
  .mobile-hide-btn {
    flex-shrink: 0 !important;
    background: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin-left: 2px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-hide-btn:hover {
    background: #1e40af !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
  }

  /* Mobile Button Tap Feedback & Micro Press-Down Animation */
  .mobile-nav-btn, .mobile-hide-btn, .btn, .chip, .nav-contact-btn {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  .mobile-nav-btn:active, .mobile-hide-btn:active {
    transform: scale(0.92) !important;
    opacity: 0.85 !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
}

.hero {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1.5px solid #93c5fd;
  padding: 0.55rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 700;
  width: fit-content;
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.35rem;
}

.status-badge:hover {
  transform: translateY(-2px);
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 6px 22px rgba(30, 64, 175, 0.15);
}

.status-text {
  color: #1e3a8a;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.status-check-icon {
  color: #2563eb;
  font-size: 0.95rem;
  margin-left: 0.15rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #2563eb;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #0f172a;
  font-weight: 800;
}

.hero-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.925rem;
  font-weight: 700;
  color: #1e40af;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.05);
}

.hero-desc {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: #1e40af;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover {
  background: #eff6ff;
  border-color: #1e40af;
  color: #1e40af;
  transform: translateY(-2px);
}

/* Quick Info Chips */
.quick-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.95rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #1e3a8a;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-1px);
}

.chip i {
  color: #2563eb;
}

/* Profile Card Executive Redesign */
.profile-card-wrapper {
  position: relative;
}

.profile-card {
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  z-index: 0;
  border-bottom: 1px solid #bfdbfe;
}

.profile-img-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0.75rem auto 1.25rem;
  z-index: 1;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
}

.verified-badge-circle {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  background: #2563eb;
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
  color: #0f172a;
}

.profile-title-tag {
  color: #1e40af;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eff6ff;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* About Section & Personal Data Grid Redesign */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-text-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-border-tint);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.about-text-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.bio-pillars-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.bio-pillar-tile {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.bio-pillar-tile:hover {
  background: #ffffff;
  border-color: var(--primary-border-tint);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.12);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
  border: none !important;
}

.pillar-icon i {
  color: #ffffff !important;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.55;
}

/* Candidate Data Tiles Grid Redesign */
.personal-data-card {
  padding: 2.25rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-border-tint);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.personal-data-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.data-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.data-tile {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.data-tile:hover {
  border-color: var(--primary-border-tint);
  background: var(--primary-bg-tint);
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.09);
  transform: translateY(-2px);
}

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

.data-tile-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tile-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary-bg-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid var(--primary-border-tint);
  flex-shrink: 0;
}

.tile-icon i {
  color: var(--primary) !important;
}

.data-label {
  font-size: 0.725rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
}

.data-val {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
  word-break: break-word;
}

/* Research Spotlight Banner Redesign */
.publication-spotlight {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.pub-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
}

.pub-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pub-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-title {
  font-size: 1.55rem;
  color: #0f172a;
  line-height: 1.35;
  font-weight: 800;
}

.pub-desc {
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.6;
}

.pub-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.pub-stat-tile {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
}

.pub-stat-tile:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.pub-stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e40af;
  line-height: 1.1;
}

.pub-stat-lbl {
  font-size: 0.675rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 0.25rem;
}

.pub-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  background: #0f172a;
}

.pub-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(30, 64, 175, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pub-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  transition: all 0.35s ease;
}

.pub-img-wrapper:hover .pub-img {
  transform: scale(1.04);
}

/* Interactive Analytics Section */
.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.metric-card:hover, .metric-card.active {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
}

.metric-card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1e40af;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.metric-card.active .metric-icon {
  background: #1e40af;
  color: #ffffff;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
}

.metric-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1e40af;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

/* Analytics Filter Bar */
.analytics-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.analytics-filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.analytics-filter-btn:hover, .analytics-filter-btn.active {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.25);
}

.chart-controls {
  display: flex;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
}

.chart-control-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-control-btn.active {
  background: #ffffff;
  color: #1e40af;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

/* Charts Section */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.chart-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chart-title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 800;
}

.chart-title i {
  color: #1e40af;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
}

/* Timeline Components */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #1e40af, #2563eb, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
  z-index: 2;
}

.timeline-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.12);
  border-color: #93c5fd;
}

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

.timeline-role {
  font-size: 1.3rem;
  color: #0f172a;
  font-weight: 800;
}

.timeline-org {
  color: #1e40af;
  font-size: 0.975rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.timeline-date {
  font-size: 0.85rem;
  color: #1e40af;
  background: #eff6ff;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
  font-weight: 700;
}

.timeline-body ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.timeline-body li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.timeline-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Skills Category Layout */
.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-category-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
}

.skill-cat-header h3 {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 800;
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

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

.skill-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 0.95rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-tag:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.12);
}

/* Certifications & Leadership Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.cert-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.12);
  border-color: #93c5fd;
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-title {
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
}

.cert-org {
  font-size: 0.9rem;
  color: #1e40af;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.cert-date {
  font-size: 0.825rem;
  color: #1e40af;
  background: #eff6ff;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
  font-weight: 700;
}

.cert-desc {
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.6;
}

/* Contact Section */
.contact-grid {
  display: flex;
  justify-content: center;
  max-width: 750px;
  margin: 0 auto;
}

.contact-info-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #eff6ff;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #1e40af;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.contact-details h4 {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.contact-details a, .contact-details p {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--accent-blue);
}

.contact-form-card {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-control {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Footer */
/* Modern Mega Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  padding: 4rem 0 105px 0;
  position: relative;
}

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

.brand-col .nav-brand {
  margin-bottom: 1rem;
}

.footer-bio {
  color: #1e3a8a;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-heading {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: #1e40af;
  border-radius: 2px;
}

.footer-nav {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.footer-nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-nav a i {
  font-size: 0.65rem;
  color: #2563eb;
  transition: transform 0.2s ease;
}

.footer-nav a:hover {
  color: #1e40af;
  transform: translateX(3px);
}

.footer-nav a:hover i {
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #1e3a8a;
}

.footer-contact-list i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #1e40af;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #1e3a8a;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  background: #1e40af;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  background: #ffffff;
  color: var(--text-primary);
}

.modal.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* Responsive Media Queries for Mobile & Tablet Optimization */
@media (max-width: 1024px) {
  body {
    padding-bottom: 95px;
  }

  .hero-grid, .pub-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .charts-grid, .skills-container, .cert-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .data-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .publication-spotlight {
    padding: 1.75rem;
  }

  .pub-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 3.25rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .hero {
    padding-top: 1.25rem !important;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
  }

  .hero-content {
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .status-badge {
    margin: 0 auto 0.25rem auto !important;
    font-size: 0.775rem !important;
    padding: 0.4rem 0.95rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .status-text {
    font-size: 0.775rem !important;
  }

  .hero-role-pill {
    font-size: 0.775rem !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 16px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-desc {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }

  /* Mobile Hero Action Cluster (2x1 Grid) */
  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
  }

  .hero-actions .btn:last-child {
    grid-column: 1 / -1 !important;
  }

  /* Mobile Quick Info Chips (Flexible Wrap Tags) */
  .quick-info-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  .chip {
    width: auto !important;
    flex: 1 1 auto !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 20px !important;
    text-align: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e3a8a !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
  }

  .profile-img-container {
    width: 135px;
    height: 135px;
  }

  .profile-card {
    padding: 1.25rem;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.75rem 0.4rem;
  }

  .stat-value {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .about-text-card, .personal-data-card {
    padding: 1.25rem;
  }

  .data-item {
    gap: 0.15rem;
  }

  .data-val {
    font-size: 0.9rem;
  }

  .chart-wrapper {
    height: 240px;
  }

  .chart-card {
    padding: 1.15rem;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 36px;
    margin-bottom: 1.75rem;
  }

  .timeline-dot {
    left: 3px;
    width: 18px;
    height: 18px;
  }

  .timeline-card {
    padding: 1.15rem;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .timeline-role {
    font-size: 1.1rem;
  }

  .skill-category-card, .cert-card, .contact-info-card, .contact-form-card {
    padding: 1.25rem;
  }

  .cert-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .modal-card {
    padding: 1.25rem;
    margin: 0 0.5rem;
  }

  /* Mobile Centered Layout & Symmetrical Formatting */
  .section-title, .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 1. Research Section Mobile Centering */
  .publication-spotlight {
    padding: 1.5rem 1.15rem !important;
    text-align: center !important;
  }

  .pub-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  .pub-content {
    align-items: center !important;
    text-align: center !important;
  }

  .pub-meta-badges {
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .pub-title {
    text-align: center !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
  }

  .pub-desc {
    text-align: center !important;
    font-size: 0.9rem !important;
  }

  .pub-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .pub-stat-tile {
    padding: 0.65rem 0.5rem !important;
  }

  .pub-img-wrapper {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .pub-img {
    height: 200px !important;
  }

  /* 2. Analytics Section Mobile Centering */
  .analytics-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .metric-card {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 1rem 0.5rem !important;
    gap: 0.5rem !important;
  }

  .metric-info {
    align-items: center !important;
    text-align: center !important;
  }

  .metric-tag {
    position: static !important;
    margin-top: 0.25rem !important;
  }

  .analytics-filter-bar {
    justify-content: center !important;
  }

  .chart-card {
    padding: 1.25rem 0.85rem !important;
    text-align: center !important;
    align-items: center !important;
  }

  .chart-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .chart-title {
    justify-content: center !important;
    text-align: center !important;
  }

  .chart-controls {
    justify-content: center !important;
    margin: 0.25rem auto 0 auto !important;
  }

  /* 3. About Section Mobile Centering */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .about-text-card, .personal-data-card {
    padding: 1.35rem 1.15rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .bio-pillar-tile {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
    padding: 1rem !important;
  }

  .pillar-title, .pillar-desc {
    text-align: center !important;
  }

  .data-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .data-tile {
    align-items: center !important;
    text-align: center !important;
    padding: 0.75rem 0.5rem !important;
  }

  .data-tile-header {
    justify-content: center !important;
  }

  .data-val {
    text-align: center !important;
    font-size: 0.85rem !important;
  }

  /* 4. Experience & Education Mobile Centering */
  .timeline-card {
    padding: 1.25rem 1rem !important;
    text-align: center !important;
  }

  .timeline-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .timeline-body {
    text-align: center !important;
  }

  .timeline-body ul {
    align-items: center !important;
  }

  .timeline-body li {
    text-align: center !important;
    padding-left: 0 !important;
  }

  .timeline-body li::before {
    display: none !important;
  }

  /* 5. Skills, Certifications & Contact Mobile Centering */
  .skill-category-card, .cert-card, .contact-info-card {
    align-items: center !important;
    text-align: center !important;
    padding: 1.35rem 1.15rem !important;
  }

  .skill-cat-header {
    justify-content: center !important;
    width: 100% !important;
  }

  .skill-tags {
    justify-content: center !important;
  }

  .cert-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .contact-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Mobile Footer Redesign */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  .footer-brand {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-meta {
    justify-content: center !important;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .footer-contact-list {
    align-items: flex-start !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
    padding-bottom: 95px !important;
  }

  .container, section, .publication-spotlight, .glass-card, .footer-grid, .site-footer, .chart-card, .about-text-card, .personal-data-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
