/* ══════════════════════════════════════════════════════════════════
   HEALTHCARE PORTFOLIO — PREMIUM DESIGN SYSTEM
   Harshita Asthana | International Product Manager · AICE Healthcare
   Theme: Alternating Dark & Light Sections
   ══════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ────────────────────────────────────────────── */
:root {
  /* Color Palette */
  --navy:       #0A1628;
  --midnight:   #0D2137;
  --navy-light: #112040;
  --teal:       #00C2A8;
  --teal-dim:   #009E87;
  --teal-glow:  rgba(0, 194, 168, 0.15);
  --teal-subtle:rgba(0, 194, 168, 0.08);
  --green:      #4CAF82;
  --white:      #F8F9FF;
  --white-dim:  rgba(248, 249, 255, 0.85);
  --gray:       #8892A4;
  --gray-dark:  #55606F;
  --gold:       #C9A84C;
  --gold-dim:   rgba(201, 168, 76, 0.2);
  --glass-bg:   rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(0, 194, 168, 0.35);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  clamp(2.25rem, 4vw, 3.25rem);
  --text-5xl:  clamp(3rem, 6vw, 5rem);
  --text-hero: clamp(4rem, 10vw, 8rem);

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;
  --gap-sm:      1rem;
  --gap-md:      2rem;
  --gap-lg:      4rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:   0.2s;
  --t-base:   0.4s;
  --t-slow:   0.7s;

  /* Shadows */
  --shadow-teal: 0 0 40px rgba(0, 194, 168, 0.12), 0 0 80px rgba(0, 194, 168, 0.06);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 16px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--glass-border-hover);
}

/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

body.mobile-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────────── */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  transition: opacity var(--t-fast) ease;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: width var(--t-fast) var(--ease-spring),
              height var(--t-fast) var(--ease-spring),
              background var(--t-fast) ease;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 194, 168, 0.45);
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-smooth),
              width var(--t-base) var(--ease-spring),
              height var(--t-base) var(--ease-spring);
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 14px; height: 14px; background: var(--white); }
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower { width: 52px; height: 52px; border-color: var(--teal); }

@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

/* ─── LOADER ────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-molecule {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mol-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--teal);
  animation: spin 1.5s linear infinite;
}
.mol-ring-1 { width: 64px; height: 64px; animation-duration: 1.8s; }
.mol-ring-2 { width: 44px; height: 44px; border-top-color: var(--green); animation-duration: 1.2s; animation-direction: reverse; }
.mol-ring-3 { width: 24px; height: 24px; border-top-color: var(--gold); animation-duration: 0.9s; }

.mol-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--teal);
}

.loader-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── NAVIGATION ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--t-base) ease,
              backdrop-filter var(--t-base) ease,
              padding var(--t-base) ease,
              border-bottom var(--t-base) ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 0.85rem 0;
  border-bottom-color: var(--glass-border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-tag {
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--teal);
  transition: left var(--t-base) var(--ease-smooth),
              right var(--t-base) var(--ease-smooth);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { left: 0.9rem; right: 0.9rem; }
.nav-link.active { color: var(--teal); }
.nav-link.active::after { left: 0.9rem; right: 0.9rem; }

.btn-nav {
  background: var(--teal);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  transition: background var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.btn-nav::after { display: none; }
.btn-nav:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 194, 168, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-smooth), opacity var(--t-fast) ease;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) ease, visibility var(--t-base) ease;
}

.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--gray);
  transition: color var(--t-fast) ease, transform var(--t-fast) ease;
  cursor: pointer;
}
.mobile-close:hover { color: var(--white); transform: rotate(90deg); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.05em;
  transition: color var(--t-fast) ease, transform var(--t-fast) ease;
  display: block;
  padding: 0.5rem 2rem;
}
.mobile-link:hover { color: var(--teal); transform: translateX(8px); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--t-base) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 194, 168, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 194, 168, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(0, 194, 168, 0.4);
  font-size: var(--text-xs);
}
.btn-outline:hover {
  background: var(--teal-subtle);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── LAYOUT ────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* ─── REVEAL ANIMATIONS ─────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-smooth),
              transform var(--t-slow) var(--ease-smooth);
}

.reveal-up     { transform: translateY(50px); }
.reveal-left   { transform: translateX(-60px); }
.reveal-right  { transform: translateX(60px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }
.delay-4 { transition-delay: 0.5s; }
.delay-5 { transition-delay: 0.65s; }

/* ─── SECTION SHARED ELEMENTS ──────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.label-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--teal);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

/* ─── HERO SECTION ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
  box-sizing: border-box;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(0,194,168,0.1) 0%, transparent 70%);
  animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(76,175,130,0.08) 0%, transparent 70%);
  animation: orbPulse 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 35%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  animation: orbPulse 12s ease-in-out infinite 2s;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  33% { transform: scale(1.1) translate(20px, -15px); opacity: 0.8; }
  66% { transform: scale(0.95) translate(-10px, 10px); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--teal));
}

.eyebrow-line:last-child {
  background: linear-gradient(to left, transparent, var(--teal));
}

.hero-name {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  letter-spacing: -0.02em;
}

.name-first {
  display: block;
  color: var(--white);
}

.name-last {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(248, 249, 255, 0.7);
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.04em;
  height: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.typed-cursor {
  animation: blink 1s step-end infinite;
  color: var(--teal);
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  font-size: var(--text-lg);
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--teal);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  color: var(--gray);
  transition: color var(--t-fast) ease;
}

.scroll-indicator:hover { color: var(--teal); }

.scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── ABOUT SECTION ─────────────────────────────────────────────── */
.about-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--midnight) 50%, var(--navy) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-image-col {
  display: flex;
  justify-content: center;
}

.profile-frame {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 557 / 930;
}

.profile-ring {
  position: absolute;
  inset: -20px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  border: 1px solid rgba(0, 194, 168, 0.15);
  animation: morphRing 12s ease-in-out infinite;
}

.profile-ring-2 {
  inset: -35px;
  border-color: rgba(76, 175, 130, 0.08);
  animation-duration: 16s;
  animation-direction: reverse;
}

@keyframes morphRing {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  25% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; }
  50% { border-radius: 50% 50% 30% 70% / 60% 40% 70% 30%; }
  75% { border-radius: 30% 70% 60% 40% / 50% 30% 60% 40%; }
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card), var(--shadow-teal);
}

.profile-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--teal);
  z-index: 2;
  box-shadow: var(--shadow-card);
  animation: badgeFloat 4s ease-in-out infinite;
}

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

.about-content-col {}

.about-bio {
  font-size: var(--text-lg);
  color: var(--white-dim);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-bio strong { color: var(--white); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
}

.tag {
  background: var(--teal-subtle);
  border: 1px solid rgba(0, 194, 168, 0.2);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}

.tag:hover {
  background: rgba(0, 194, 168, 0.15);
  border-color: var(--teal);
}

.about-cta { margin-top: 0.5rem; }

/* Credentials Bar */
.credentials-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

.credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background: var(--glass-bg);
  transition: background var(--t-fast) ease;
}

.credential:hover { background: rgba(0,194,168,0.05); }

.credential i {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.credential strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.credential span {
  font-size: var(--text-xs);
  color: var(--gray);
}

.credential-divider { width: 1px; background: var(--glass-border); }

/* ─── EXPERTISE SECTION ──────────────────────────────────────────── */
.expertise-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,194,168,0.04) 0%, transparent 60%);
  pointer-events: none;
}

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

.expertise-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) ease,
              border-color var(--t-base) ease,
              background var(--t-base) ease;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,194,168,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 194, 168, 0.3);
}

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

.card-icon-wrap {
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--teal-subtle);
  border: 1px solid rgba(0, 194, 168, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--teal);
  transition: background var(--t-base) ease, transform var(--t-base) var(--ease-spring);
}

.expertise-card:hover .card-icon {
  background: var(--teal);
  color: var(--navy);
  transform: scale(1.1) rotate(-5deg);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.card-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}

/* ─── EXPERIENCE SECTION ─────────────────────────────────────────── */
.experience-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--midnight) 50%, var(--navy) 100%);
  overflow: hidden;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-track {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--glass-border);
  transform: translateX(-50%);
}

.timeline-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--green));
  height: 0%;
  transition: height 0.4s ease;
  box-shadow: 0 0 12px rgba(0, 194, 168, 0.5);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
}

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

.timeline-right .timeline-card { grid-column: 3; }
.timeline-right .timeline-dot  { grid-column: 2; }
.timeline-right::before        { grid-column: 1; content: ''; }

.timeline-left .timeline-card  { grid-column: 1; order: -1; }
.timeline-left .timeline-dot   { grid-column: 2; }

.timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.5rem;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
}

.dot-inner {
  width: 14px; height: 14px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 2px var(--teal), 0 0 20px rgba(0, 194, 168, 0.4);
  transition: transform var(--t-base) var(--ease-spring);
}

.timeline-item:hover .dot-inner {
  transform: scale(1.4);
}

.timeline-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  transition: border-color var(--t-base) ease,
              box-shadow var(--t-base) ease,
              transform var(--t-base) var(--ease-spring);
}

.timeline-right .timeline-card { margin-left: 1rem; }
.timeline-left  .timeline-card { margin-right: 1rem; }

.timeline-card:hover {
  border-color: rgba(0, 194, 168, 0.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

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

.timeline-date {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.timeline-company {
  font-size: var(--text-sm);
  color: var(--gray);
  font-style: italic;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.timeline-bullets li {
  font-size: var(--text-sm);
  color: var(--gray);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.7rem;
  top: 3px;
}

.timeline-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.2rem 0.7rem;
  background: var(--teal-subtle);
  border-radius: 4px;
}

/* ─── RESEARCH SECTION ───────────────────────────────────────────── */
.research-section {
  background: var(--navy);
  overflow: hidden;
}

.pub-carousel-wrapper {
  position: relative;
}

.pub-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
  cursor: grab;
}

.pub-carousel:active { cursor: grabbing; }
.pub-carousel::-webkit-scrollbar { display: none; }

.pub-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--t-base) ease,
              transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) ease;
}

.pub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 168, 0.25);
  box-shadow: var(--shadow-card);
}

.pub-card:focus {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.pub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.pub-journal {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.pub-year {
  font-size: var(--text-xs);
  color: var(--gray);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.pub-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex: 1;
}

.pub-authors {
  font-size: var(--text-xs);
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.pub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  margin-top: auto;
}

.pub-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pub-citations {
  font-size: var(--text-xs);
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pub-impact {
  font-size: var(--text-xs);
  color: var(--gray);
  background: var(--glass-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.pub-doi {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0,194,168,0.25);
  border-radius: 6px;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
}

.pub-doi:hover { background: var(--teal-subtle); border-color: var(--teal); }

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 44px; height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gray);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) ease;
  cursor: pointer;
}

.carousel-btn:hover {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: all var(--t-fast) ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--teal);
  width: 20px;
  border-radius: 3px;
}

.research-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ─── SKILLS SECTION ─────────────────────────────────────────────── */
.skills-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--midnight) 50%, var(--navy) 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.skill-category {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: border-color var(--t-base) ease;
}

.skill-category:hover { border-color: rgba(0,194,168,0.15); }

.skill-cat-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-cat-title i { color: var(--teal); font-size: 1.1rem; }

.skill-bars { display: flex; flex-direction: column; gap: 1.5rem; }

.skill-bar-item {}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-bar-label span:first-child {
  font-size: var(--text-sm);
  color: var(--white-dim);
  font-weight: 500;
}

.skill-pct {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.skill-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
  transition: width 1.2s var(--ease-smooth);
  position: relative;
}

.skill-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 8px; height: 100%;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  filter: blur(2px);
}

/* Awards */
.awards-row {
  text-align: center;
}

.awards-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2rem;
}

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

.award-item {
  background: var(--glass-bg);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--t-base) ease,
              transform var(--t-base) var(--ease-spring);
}

.award-item:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-4px);
}

.award-item i {
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.award-item strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.award-item span {
  font-size: var(--text-sm);
  color: var(--gray);
}

/* ─── CONTACT SECTION ────────────────────────────────────────────── */
.contact-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,194,168,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-bio {
  font-size: var(--text-lg);
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color var(--t-base) ease,
              background var(--t-base) ease,
              transform var(--t-base) var(--ease-spring);
}

.contact-link-item:hover {
  border-color: var(--glass-border-hover);
  background: rgba(0,194,168,0.05);
  transform: translateX(6px);
}

.contact-icon-wrap {
  width: 44px; height: 44px;
  background: var(--teal-subtle);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: background var(--t-fast) ease;
}

.contact-link-item:hover .contact-icon-wrap {
  background: var(--teal);
  color: var(--navy);
}

.contact-link-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-link-value {
  display: block;
  font-size: var(--text-sm);
  color: var(--white);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0 0.75rem;
  font-size: var(--text-base);
  color: var(--white);
  outline: none;
  resize: none;
  transition: border-color var(--t-base) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: transparent; }

.form-group label {
  position: absolute;
  top: 1rem; left: 0;
  font-size: var(--text-sm);
  color: var(--gray);
  pointer-events: none;
  transition: top var(--t-base) var(--ease-smooth),
              font-size var(--t-base) var(--ease-smooth),
              color var(--t-base) ease;
}

/* Float label on focus or when value exists */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-underline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-smooth);
}

.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline { transform: scaleX(1); }

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: transparent; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(76, 175, 130, 0.1);
  border: 1px solid rgba(76, 175, 130, 0.3);
  border-radius: 10px;
  font-size: var(--text-sm);
  color: var(--green);
}

.form-success[hidden] { display: none; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--midnight);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0;
  position: relative;
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
}

.footer-credentials {
  font-size: var(--text-xs);
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-center {
  text-align: center;
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  width: 38px; height: 38px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray);
  transition: all var(--t-fast) ease;
}

.social-icon:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-back-top {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.back-top-btn {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  transition: transform var(--t-base) var(--ease-spring),
              box-shadow var(--t-base) ease;
  box-shadow: 0 4px 24px rgba(0,194,168,0.35);
}

.back-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,194,168,0.5);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
.hide-mobile { display: initial; }

@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-bar { grid-template-columns: repeat(2, 1fr); }
  .credential-divider:nth-child(4) { display: none; }
  .pub-card { flex: 0 0 calc(50% - 0.75rem); }
  .timeline-item { grid-template-columns: 1fr 40px 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-col { order: -1; }
  .profile-frame { width: 100%; max-width: 280px; aspect-ratio: 557 / 930; margin: 0 auto; }

  .expertise-grid { grid-template-columns: 1fr; }
  .credentials-bar { grid-template-columns: 1fr; }
  .credential-divider { display: none; }

  .timeline-track { left: 16px; }
  .timeline-item {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto;
  }
  .timeline-dot { grid-column: 1; padding-top: 1.5rem; }
  .timeline-right .timeline-card,
  .timeline-left  .timeline-card { grid-column: 2; margin: 0 0 0 0.75rem; order: unset; }
  .timeline-right::before { display: none; }

  .pub-card { flex: 0 0 85vw; }
  .skills-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-right { justify-content: center; }
  .footer-social { justify-content: center; }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    border-radius: 24px;
    padding: 1.5rem 1rem;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-stat { padding: 0; }
  .stat-divider { display: none; }

  .hide-mobile { display: none; }
}

@media (max-width: 580px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto 3rem;
    gap: 0.85rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .profile-frame { max-width: 240px; }
  .research-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 2rem auto 0;
    gap: 0.85rem;
  }
  .research-cta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ══════════════════════════════════════════════════════════════════
   LIGHT SECTION THEME OVERRIDES
   Applied to: #about, #experience, #skills (alternating pattern)
   ══════════════════════════════════════════════════════════════════ */

/* ─── Light Section Base ─────────────────────────────────────────── */
.section-light {
  background: #F4F6FB !important;
}

/* Light: Section Labels & Titles */
.section-light .section-label {
  color: var(--teal-dim);
}
.section-light .label-line {
  background: var(--teal-dim);
}
.section-light .section-title {
  color: var(--navy);
}
.section-light .section-title em {
  color: var(--teal-dim);
}
.section-light .section-subtitle {
  color: #4A5568;
}

/* ─── Light: About Section ───────────────────────────────────────── */
.section-light .about-bio {
  color: #2D3748;
}
.section-light .about-bio strong {
  color: var(--navy);
}
.section-light .tag {
  background: rgba(0, 158, 135, 0.08);
  border-color: rgba(0, 158, 135, 0.22);
  color: var(--teal-dim);
}
.section-light .tag:hover {
  background: rgba(0, 158, 135, 0.14);
  border-color: var(--teal-dim);
}
.section-light .btn-primary {
  background: var(--teal-dim);
}
.section-light .btn-primary:hover {
  background: var(--teal);
  box-shadow: 0 12px 40px rgba(0, 158, 135, 0.35);
}

/* Light: Profile ring on light bg */
.section-light .profile-ring {
  border-color: rgba(0, 158, 135, 0.2);
}
.section-light .profile-ring-2 {
  border-color: rgba(0, 158, 135, 0.09);
}
.section-light .profile-badge {
  background: white;
  border-color: rgba(10, 22, 40, 0.10);
  color: var(--teal-dim);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
}

/* Light: Credentials Bar */
.section-light .credentials-bar {
  background: rgba(10, 22, 40, 0.05);
  border-color: rgba(10, 22, 40, 0.08);
}
.section-light .credential {
  background: white;
}
.section-light .credential:hover {
  background: rgba(0, 158, 135, 0.04);
}
.section-light .credential strong {
  color: var(--navy);
}
.section-light .credential span {
  color: #4A5568;
}
.section-light .credential-divider {
  background: rgba(10, 22, 40, 0.08);
}

/* ─── Light: Timeline (Experience Section) ───────────────────────── */
.section-light .timeline-track {
  background: rgba(10, 22, 40, 0.10);
}
.section-light .timeline-progress {
  box-shadow: 0 0 12px rgba(0, 158, 135, 0.4);
}
.section-light .dot-inner {
  background: var(--teal-dim);
  border-color: #F4F6FB;
  box-shadow: 0 0 0 2px var(--teal-dim), 0 0 20px rgba(0, 158, 135, 0.3);
}
.section-light .timeline-card {
  background: white;
  border-color: rgba(10, 22, 40, 0.08);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.06);
}
.section-light .timeline-card:hover {
  border-color: rgba(0, 158, 135, 0.3);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.12);
  transform: translateY(-4px);
}
.section-light .timeline-role {
  color: var(--navy);
}
.section-light .timeline-company {
  color: #4A5568;
}
.section-light .timeline-date {
  color: var(--teal-dim);
}
.section-light .timeline-bullets li {
  color: #374151;
}
.section-light .timeline-bullets li::before {
  color: var(--teal-dim);
}
.section-light .timeline-tags span {
  color: var(--teal-dim);
  background: rgba(0, 158, 135, 0.08);
}
.section-light .card-tags li {
  color: #4A5568;
  border-color: rgba(10, 22, 40, 0.10);
}

/* ─── Light: Skills Section ──────────────────────────────────────── */
.section-light .skill-category {
  background: white;
  border-color: rgba(10, 22, 40, 0.08);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.05);
}
.section-light .skill-category:hover {
  border-color: rgba(0, 158, 135, 0.18);
}
.section-light .skill-cat-title {
  color: var(--navy);
}
.section-light .skill-cat-title i {
  color: var(--teal-dim);
}
.section-light .skill-bar-label span:first-child {
  color: #2D3748;
}
.section-light .skill-pct {
  color: var(--teal-dim);
}
.section-light .skill-bar-track {
  background: rgba(10, 22, 40, 0.07);
}
.section-light .skill-bar-fill {
  background: linear-gradient(90deg, var(--teal-dim), var(--green));
}

/* Light: Awards */
.section-light .awards-title {
  color: var(--navy);
}
.section-light .award-item {
  background: white;
  border-color: rgba(201, 168, 76, 0.18);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.05);
}
.section-light .award-item:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.10);
}
.section-light .award-item strong {
  color: var(--navy);
}
.section-light .award-item span {
  color: #4A5568;
}

/* ─── Light: Section Transition Dividers ─────────────────────────── */
/* Smooth gradient transitions between dark→light and light→dark */
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), #F4F6FB);
  pointer-events: none;
  z-index: 0;
}
.about-section > * { position: relative; z-index: 1; }

.experience-section.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), #F4F6FB);
  pointer-events: none;
  z-index: 0;
}
.experience-section.section-light > * { position: relative; z-index: 1; }

.skills-section.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), #F4F6FB);
  pointer-events: none;
  z-index: 0;
}
.skills-section.section-light > * { position: relative; z-index: 1; }

/* ─── Navbar on light sections: keep readable ─────────────────────── */
/* Navbar already turns glass when scrolled — works for both themes */

/* ─── pub-doi-label (achievement cards) ─────────────────────────── */
.pub-doi-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0,194,168,0.25);
  border-radius: 6px;
}

