:root {
  /* Core Palette */
  --ink:        #0c1222;
  --navy:       #0f2044;
  --primary:    #1a4fba;
  --primary-dk: #123a8a;
  --primary-lt: #e8effe;
  --primary-mid:#2d63d4;
  --gold:       #c8922a;
  --gold-lt:    #fdf3e0;

  /* Neutrals */
  --bg:         #fafbfd;
  --bg-soft:    #f2f5fb;
  --bg-dark:    #0c1222;
  --card:       #ffffff;
  --body:       #3a4558;
  --muted:      #7e8fa6;
  --border:     #dce4f0;
  --border-lt:  #edf1f8;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,32,68,0.06);
  --shadow:     0 6px 28px rgba(15,32,68,0.1);
  --shadow-lg:  0 16px 56px rgba(15,32,68,0.14);
  --shadow-glow:0 8px 32px rgba(26,79,186,0.2);

  /* Radii */
  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Typography */
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Outfit', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  cursor: auto;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   CUSTOM CURSOR — DISABLED (using default OS cursor)
============================================================ */
.cursor-dot,
.cursor-ring {
  display: none !important;
}

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(26,79,186,0.4);
}

/* ============================================================
   REUSABLES
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 110px 0; position: relative; overflow: hidden; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding: 0.3rem 1rem;
  background: var(--primary-lt);
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.15);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-title em {
  color: var(--primary);
  font-style: italic;
}

.title-underline {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  margin: 0 auto;
  border-radius: 2px;
}

.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 900;
  color: rgba(15,32,68,0.025);
  letter-spacing: 0.12em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.sub-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.sub-title i { color: var(--primary); font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::before { background: rgba(255,255,255,0.1); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,79,186,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(26,79,186,0.4);
}

.btn-ghost {
  background: rgba(26,79,186,0.06);
  color: var(--primary);
  border: 2px solid rgba(26,79,186,0.2);
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
  animation-play-state: paused;
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  animation: fadeRight 0.7s ease forwards;
  animation-play-state: paused;
}
.loaded .reveal-up,
.loaded .reveal-right { animation-play-state: running; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }
.delay-6 { animation-delay: 0.85s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,251,253,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(220,228,240,0.6);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: rgba(250,251,253,0.97);
  box-shadow: 0 4px 32px rgba(15,32,68,0.08);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.logo-bracket {
  color: var(--primary);
  font-style: normal;
  transition: var(--transition);
}
.nav-logo:hover .logo-bracket { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOME SECTION
============================================================ */
.home-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  background: linear-gradient(160deg, #f0f4ff 0%, #e8effe 35%, #f4f7fd 70%, #fff 100%);
  position: relative;
  overflow: hidden;
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,79,186,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,186,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,79,186,0.1) 0%, transparent 70%);
  top: -20%; right: -15%;
  animation: floatGlow1 8s ease-in-out infinite;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,146,42,0.07) 0%, transparent 70%);
  bottom: -10%; left: -10%;
  animation: floatGlow2 10s ease-in-out infinite;
}

@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
}

@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.5; transform: translateY(-20px) scale(1); }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

.home-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.home-text { flex: 1; min-width: 0; }

.home-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  max-width: 48px;
}

.home-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.name-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.name-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(26,79,186,0.12);
  border-radius: 3px;
  z-index: -1;
  transform-origin: left;
  animation: underlineGrow 1s ease 1.2s both;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.home-dept {
  font-size: 1rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: rgba(26,79,186,0.07);
  color: var(--primary);
  border: 1px solid rgba(26,79,186,0.18);
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.htag:hover { background: var(--primary); color: #fff; }

.home-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.home-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Profile Image */
.home-image { flex-shrink: 0; }

.image-wrapper {
  position: relative;
  width: 340px;
}

.image-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(26,79,186,0.15);
  animation: ringRotate linear infinite;
}

.ring-1 {
  width: 360px; height: 360px;
  top: -10px; left: -10px;
  animation-duration: 25s;
  border-style: dashed;
}

.ring-2 {
  width: 400px; height: 400px;
  top: -30px; left: -30px;
  animation-duration: 40s;
  animation-direction: reverse;
  border-color: rgba(200,146,42,0.12);
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

.image-frame {
  width: 340px;
  height: 400px;
  border-radius: 40px 40px 100px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px #fff;
  position: relative;
  z-index: 2;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.image-frame:hover img { transform: scale(1.04); }

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,68,0.25) 0%, transparent 60%);
}

.badge-scholar {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 6px 24px rgba(26,79,186,0.4);
  white-space: nowrap;
  z-index: 3;
}
.badge-scholar i { font-size: 1rem; }
.badge-scholar .badge-num { display: block; font-weight: 700; line-height: 1.2; }
.badge-scholar .badge-sub { display: block; font-size: 0.7rem; opacity: 0.8; }

.badge-pub {
  position: absolute;
  top: -12px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), #e6a82e);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(200,146,42,0.35);
  z-index: 3;
}
.badge-pub .badge-num { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; line-height: 1; }
.badge-pub .badge-sub { display: block; font-size: 0.68rem; font-weight: 600; opacity: 0.85; }

/* Scroll CTA */
.scroll-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.scroll-icon {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(26,79,186,0.3);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.bio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.bio-card:hover { box-shadow: var(--shadow); }

.bio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.bio-quote-mark {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-head);
  font-size: 5rem;
  color: rgba(26,79,186,0.07);
  line-height: 1;
  font-weight: 900;
}

.bio-card p { color: var(--body); margin-bottom: 1rem; font-size: 0.97rem; }
.bio-card p:last-child { margin-bottom: 0; }
.bio-card strong { color: var(--ink); font-weight: 600; }


/* ============================================================
   EDUCATION CARDS 
============================================================ */
.education-timeline { margin-top: 0; }

.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.edu-item:hover { box-shadow: var(--shadow); }

.edu-item.gold-item { border-left-color: var(--gold); }
.edu-item.green-item { border-left-color: #1D9E75; }

.edu-icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center;
  justify-content: center;
  flex-shrink: 0; font-size: 1rem;
  background: var(--primary-lt);
  color: var(--primary);
}
.edu-item.gold-item .edu-icon-box { background: var(--gold-lt); color: var(--gold); }
.edu-item.green-item .edu-icon-box { background: #e1f5ee; color: #0F6E56; }

.edu-content { flex: 1; min-width: 0; }
.edu-content strong { display: block; color: var(--ink); font-size: 0.93rem; margin-bottom: 0.2rem; }
.edu-content span   { display: block; font-size: 0.82rem; color: var(--body); margin-bottom: 0.5rem; }

.edu-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

.edu-year-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 600;
  color: var(--primary); background: var(--primary-lt);
  padding: 0.18rem 0.6rem; border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.15);
}

.edu-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  padding: 0.15rem 0.65rem; border-radius: 50px;
  background: var(--bg-soft); color: var(--muted);
  border: 1px solid var(--border);
}

.gold-tag { background: var(--gold-lt); color: var(--gold); border-color: rgba(200,146,42,0.3); }

.gold-medal {
  font-size: 0.72rem; background: var(--gold-lt); color: var(--gold);
  padding: 0.1rem 0.6rem; border-radius: 50px;
  border: 1px solid rgba(200,146,42,0.3); font-weight: 700;
}

/* Skills */
.skills-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.skill-group { margin-bottom: 1.25rem; }
.skill-group:last-child { margin-bottom: 0; }

.skill-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  background: var(--bg-soft);
  color: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: default;
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,79,186,0.25);
}

/* Certifications */
.cert-list { display: flex; flex-direction: column; gap: 0.75rem; }

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-mid));
  border-radius: 0 2px 2px 0;
}

.cert-item:hover { box-shadow: var(--shadow); border-color: rgba(26,79,186,0.2); transform: translateX(4px); }

.cert-icon {
  width: 40px; height: 40px;
  background: var(--primary-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
}

.cert-body { flex: 1; }
.cert-body strong { display: block; font-size: 0.87rem; color: var(--ink); margin-bottom: 0.15rem; }
.cert-body span { font-size: 0.75rem; color: var(--muted); }

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary-lt);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.2);
  flex-shrink: 0;
}

/* ============================================================
   LEADERSHIP SECTION
============================================================ */
.leadership-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.col-heading {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-lt);
}
.col-heading i { color: var(--primary); }

/* Timeline */
.timeline { position: relative; }

.tl-item {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
  flex-shrink: 0;
  z-index: 1;
  margin-top: 4px;
}

.tl-dot.active {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,79,186,0.2);
  animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(26,79,186,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(26,79,186,0.08); }
}

.tl-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-lt), var(--border));
  margin-top: 6px;
  min-height: 20px;
}

.tl-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tl-card:hover { box-shadow: var(--shadow); border-color: rgba(26,79,186,0.2); }

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.tl-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.tl-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}

.tl-card p { font-size: 0.83rem; color: var(--muted); font-style: italic; }
.tl-card ul { margin-top: 0.6rem; padding-left: 0; }
.tl-card ul li {
  font-size: 0.83rem;
  color: var(--body);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.tl-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
}

.tl-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(26,79,186,0.08);
  color: var(--primary);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.2);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Committee */
.committee-list { display: flex; flex-direction: column; gap: 0.6rem; }

.committee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
}

.committee-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.c-num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(26,79,186,0.18);
  min-width: 32px;
  line-height: 1;
}

.c-body { flex: 1; }
.c-body strong { display: block; font-size: 0.87rem; color: var(--ink); margin-bottom: 0.15rem; }
.c-body span { font-size: 0.76rem; color: var(--muted); }
.c-arrow { color: var(--border); font-size: 0.75rem; transition: var(--transition); }
.committee-item:hover .c-arrow { color: var(--primary); transform: translateX(3px); }

/* Achievements */
.achievement-list { display: flex; flex-direction: column; gap: 0.6rem; }

.ach-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.ach-item:hover { box-shadow: var(--shadow); }

.gold-ach {
  background: linear-gradient(135deg, var(--gold-lt), #fff);
  border-color: rgba(200,146,42,0.25);
}
.gold-ach:hover { border-color: var(--gold); }

.ach-icon {
  width: 38px; height: 38px;
  background: var(--primary-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.gold-ach .ach-icon { background: var(--gold-lt); color: var(--gold); }

.ach-body { flex: 1; }
.ach-body strong { display: block; font-size: 0.87rem; color: var(--ink); margin-bottom: 0.12rem; }
.ach-body span { font-size: 0.75rem; color: var(--muted); }

.ach-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(26,79,186,0.15);
}
.gold-ach .ach-year { color: var(--gold); background: var(--gold-lt); border-color: rgba(200,146,42,0.2); }

/* ============================================================
   ACTIVITIES SECTION
============================================================ */
.activities-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.act-tabs-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.act-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.6rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  font-family: var(--font-body);
  cursor: pointer;
}
.act-tab-btn i { font-size: 0.82rem; }
.act-tab-btn:hover,
.act-tab-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.act-panel { display: none; }
.act-panel.active { display: block; }

/* Activity list items */
.act-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.act-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.act-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-mid));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.act-item:hover { box-shadow: var(--shadow); border-color: rgba(26,79,186,0.2); transform: translateX(4px); }
.act-item:hover::before { transform: scaleY(1); }

.act-year-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.15);
  white-space: nowrap;
  flex-shrink: 0;
}

.act-body { flex: 1; min-width: 0; }
.act-body strong { display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.18rem; font-weight: 600; }
.act-body span { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.act-type-tag {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.act-type-tag.conference { background: #e8f4fd; color: #0077b6; border: 1px solid #bee3f8; }
.act-type-tag.workshop   { background: var(--primary-lt); color: var(--primary); border: 1px solid rgba(26,79,186,0.2); }
.act-type-tag.presented  { background: #e8fdf0; color: #276749; border: 1px solid #9ae6b4; }
.act-type-tag.fdp-tag    { background: var(--gold-lt); color: var(--gold); border: 1px solid rgba(200,146,42,0.25); }

/* Reviewer grid */
.reviewer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.reviewer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reviewer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.reviewer-card:hover { box-shadow: var(--shadow); border-color: rgba(26,79,186,0.2); transform: translateY(-4px); }
.reviewer-card:hover::before { transform: scaleX(1); }

.rv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rv-icon {
  width: 38px; height: 38px;
  background: var(--primary-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rv-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rv-badge.conference { background: #e8f4fd; color: #0077b6; border: 1px solid #bee3f8; }
.rv-badge.journal    { background: #e8fdf0; color: #276749; border: 1px solid #9ae6b4; }
.rv-badge.books      { background: var(--gold-lt); color: var(--gold); border: 1px solid rgba(200,146,42,0.25); }

.reviewer-card strong {
  display: block;
  font-size: 0.87rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.reviewer-card span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .reviewer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .reviewer-grid { grid-template-columns: 1fr; }
  .act-tab-btn { flex: 1; justify-content: center; font-size: 0.8rem; padding: 0.65rem 1rem; }
  .act-item { flex-wrap: wrap; gap: 0.6rem; }
  .act-type-tag { align-self: flex-start; }
}

/* ============================================================
   RESEARCH SECTION
============================================================ */
.research-section { background: var(--bg); }

.research-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.r-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  transition-delay: calc(var(--i) * 0.08s);
}

.r-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.r-card-inner { padding: 2rem 1.75rem; position: relative; }

.r-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(26,79,186,0.06);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.r-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary-lt), #dce8fe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.r-icon i { color: var(--primary); font-size: 1.3rem; transition: var(--transition); }

.r-card:hover .r-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
}
.r-card:hover .r-icon i { color: #fff; }

.r-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.r-card p { font-size: 0.84rem; color: var(--body); line-height: 1.65; }

.r-card-line {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-top: 1.25rem;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.r-card:hover .r-card-line { transform: scaleX(1); }

/* Patents */
.patents-section { margin-top: 4rem; position: relative; z-index: 1; }

.sub-section-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sub-section-title i { color: var(--gold); }

.patent-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.patent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.patent-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(200,146,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.patent-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(200,146,42,0.35);
  transform: translateY(-4px);
}

.patent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-lt);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(200,146,42,0.25);
  letter-spacing: 0.05em;
}

.patent-status {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.patent-status.filed { background: #e8f4fd; color: #0077b6; border: 1px solid #bee3f8; }
.patent-status.registered { background: #e8fdf0; color: #276749; border: 1px solid #9ae6b4; }
.patent-status.published { background: #fef3e8; color: #c05621; border: 1px solid #fbd38d; }

.patent-card h4 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.4;
}

.patent-card p { font-size: 0.83rem; color: var(--body); line-height: 1.65; }

/* Dataset */
.dataset-section { margin-top: 4rem; position: relative; z-index: 1; }

.dataset-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dataset-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(26,79,186,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.dataset-card:hover { box-shadow: var(--shadow); border-color: rgba(26,79,186,0.2); }

.dataset-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex: 1;
}

.dataset-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--primary-lt), #dce8fe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.dataset-card:hover .dataset-icon { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); color: #fff; }

.dataset-info { flex: 1; }
.dataset-info h4 { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); font-weight: 700; margin-bottom: 0.5rem; }
.dataset-info p { font-size: 0.87rem; color: var(--body); line-height: 1.65; margin-bottom: 0.9rem; }
.dataset-info strong { color: var(--ink); }

.dataset-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.dataset-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.15);
}

.dataset-btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 768px) {
  .dataset-card { flex-direction: column; align-items: flex-start; }
  .dataset-btn { width: 100%; justify-content: center; }
}

/* Scholar CTA */
.scholar-cta {
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-icon { font-size: 2.5rem; opacity: 0.8; flex-shrink: 0; }
.cta-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.cta-sub { font-size: 0.88rem; opacity: 0.75; }
.cta-content .btn-primary { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); white-space: nowrap; flex-shrink: 0; margin-left: auto; }
.cta-content .btn-primary:hover { background: rgba(255,255,255,0.25); }

/* ============================================================
   PUBLICATIONS SECTION
============================================================ */
.publications-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.pub-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pub-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  font-family: var(--font-body);
}

.pub-tab i { font-size: 0.85rem; }

.pub-tab em {
  font-style: normal;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0.1rem 0.55rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.pub-tab:hover, .pub-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.pub-tab.active em, .pub-tab:hover em {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: transparent;
}

.pub-list { display: none; flex-direction: column; gap: 0.75rem; position: relative; z-index: 1; }
.pub-list.active { display: flex; }

.pub-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pub-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-mid));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.pub-item:hover { border-color: rgba(26,79,186,0.2); box-shadow: var(--shadow); transform: translateX(4px); }
.pub-item:hover::before { transform: scaleY(1); }

.pub-index {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(26,79,186,0.12);
  min-width: 36px;
  line-height: 1;
  padding-top: 3px;
}

.pub-body { flex: 1; min-width: 0; }
.pub-body h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-weight: 600;
  line-height: 1.5;
}

.pub-authors { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.6rem; font-style: italic; }

.pub-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-journal {
  font-size: 0.8rem;
  color: var(--body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pub-journal i { color: var(--primary); font-size: 0.7rem; }

.pub-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-lt);
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(26,79,186,0.15);
}

.index-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.index-badge.scopus { background: #e8f4fd; color: #0077b6; border: 1px solid #bee3f8; }
.index-badge.sci { background: #e8fdf0; color: #276749; border: 1px solid #9ae6b4; }
.index-badge.ugc { background: #fdf3e8; color: #b7791f; border: 1px solid #fbd38d; }

.pub-doi {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  white-space: nowrap;
  transition: var(--transition);
}
.pub-doi:hover { color: var(--primary-dk); text-decoration: underline; }

.pub-scholar-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: linear-gradient(160deg, var(--navy) 0%, #1a2d5a 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #fff;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,79,186,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-intro {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-item-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
}

.contact-item-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.15);
}

.c-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.c-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.2rem;
}

.c-value {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.5;
}

.social-links { display: flex; gap: 0.75rem; }

.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.3);
}

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 2rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  pointer-events: none;
  transition: color var(--transition);
}

.input-wrap input, .input-wrap textarea {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-soft);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.textarea-wrap i { top: 0.9rem; align-self: flex-start; }

.input-wrap input:focus, .input-wrap textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,79,186,0.08);
}

.input-wrap:focus-within i { color: var(--primary); }

/* Map */
.map-section { position: relative; z-index: 1; }

.map-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.map-header i { color: var(--primary); }

.map-header h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-frame iframe { display: block; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--ink);
  padding: 3.5rem 2rem 2rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.footer-inner { max-width: 700px; margin: 0 auto; }

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-role {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
}

.footer-made { color: rgba(255,255,255,0.25); }

/* ============================================================
   BACK TO TOP
============================================================ */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(26,79,186,0.35);
  z-index: 900;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,79,186,0.4); }

/* ============================================================
   10/10 UI/UX ENHANCEMENT LAYER
============================================================ */

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--primary), var(--gold)); border-radius: 10px; }

/* Text selection */
::selection { background: rgba(26,79,186,0.15); color: var(--ink); }

/* ── DARK ANIMATED HERO ── */
.home-section {
  background: linear-gradient(-45deg, #050d1f, #0a1628, #0f2044, #091320) !important;
  background-size: 400% 400% !important;
  animation: heroGradient 14s ease infinite !important;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero text on dark bg */
.home-name           { color: #ffffff !important; }
.name-highlight      { color: var(--gold) !important; }
.name-highlight::after { background: rgba(200,146,42,0.18) !important; }
.home-label          { color: rgba(255,255,255,0.5) !important; }
.label-line          { background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent) !important; }
.home-dept           { color: rgba(255,255,255,0.72) !important; }
.home-dept i         { color: var(--gold) !important; }
.htag                { background: rgba(255,255,255,0.07) !important; color: rgba(255,255,255,0.82) !important; border-color: rgba(255,255,255,0.12) !important; }
.htag:hover          { background: var(--gold) !important; color: #fff !important; border-color: var(--gold) !important; }
.stat-num            { color: #fff !important; }
.stat-plus           { color: var(--gold) !important; }
.stat-label          { color: rgba(255,255,255,0.42) !important; }
.stat-divider        { background: rgba(255,255,255,0.1) !important; }
.hero-grid           { background-image: linear-gradient(rgba(255,255,255,0.035) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.035) 1px,transparent 1px) !important; }
.glow-1              { background: radial-gradient(circle,rgba(26,79,186,0.28) 0%,transparent 70%) !important; }
.glow-2              { background: radial-gradient(circle,rgba(200,146,42,0.14) 0%,transparent 70%) !important; }
.particle            { opacity: 0.7 !important; }
.scroll-cta          { color: rgba(255,255,255,0.28) !important; }
.scroll-icon         { border-color: rgba(255,255,255,0.18) !important; }
.scroll-wheel        { background: rgba(255,255,255,0.35) !important; }

/* Home btn-ghost on dark bg */
.home-btns .btn-ghost {
  background: rgba(255,255,255,0.07) !important;
  color: rgba(255,255,255,0.88) !important;
  border-color: rgba(255,255,255,0.2) !important;
}
.home-btns .btn-ghost:hover {
  background: rgba(255,255,255,0.16) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.4) !important;
  transform: translateY(-3px) !important;
}

/* Image frame on dark hero */
.image-frame {
  box-shadow: var(--shadow-lg), 0 0 0 5px rgba(255,255,255,0.08), 0 0 60px rgba(26,79,186,0.35) !important;
}
.image-ring { border-color: rgba(255,255,255,0.07) !important; }
.ring-2     { border-color: rgba(200,146,42,0.12) !important; }

/* Floating badges animation */
.badge-scholar { animation: floatBadge1 3.2s ease-in-out infinite !important; }
.badge-pub     { animation: floatBadge2 3.8s ease-in-out infinite !important; }
@keyframes floatBadge1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes floatBadge2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* Typewriter line */
.home-typed {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  min-height: 1.4em;
}
.typed-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: dotPulse 2s ease infinite;
}
.typewriter-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--gold);
  margin-left: 1px;
  vertical-align: middle;
  animation: cursorBlink 0.75s ease infinite;
}
@keyframes cursorBlink { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* Wave bottom of hero */
.wave-bottom {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.wave-bottom svg { display: block; width: 100%; height: 72px; }

/* ── GRADIENT SECTION TITLES ── */
.section-title {
  background: linear-gradient(135deg, var(--ink) 30%, #2a4a90 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title em {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ── SECTION EYEBROW SHIMMER ── */
.section-eyebrow {
  position: relative !important;
  overflow: hidden !important;
}
.section-eyebrow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.5),transparent);
  transform: translateX(-100%);
  animation: eyebrowShine 3.5s ease-in-out infinite;
}
@keyframes eyebrowShine { 0%,100%{transform:translateX(-100%)} 45%,55%{transform:translateX(150%)} }

/* ── GLASSMORPHISM BIO CARD ── */
.bio-card {
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
  box-shadow: 0 8px 40px rgba(15,32,68,0.07), 0 2px 8px rgba(15,32,68,0.04) !important;
}

/* ── ENHANCED BUTTON — shimmer + deeper glow ── */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, #3570e0 100%) !important;
  background-size: 200% auto !important;
  transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  background-position: right center !important;
  box-shadow: 0 12px 40px rgba(26,79,186,0.45) !important;
  transform: translateY(-4px) !important;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.22),transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.btn:hover::after { animation: btnShimmer 0.65s ease forwards; }
@keyframes btnShimmer { to { left: 160%; } }

/* ── ENHANCED TIMELINE ── */
.tl-dot.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid)) !important;
  box-shadow: 0 0 0 4px rgba(26,79,186,0.14), 0 0 18px rgba(26,79,186,0.35) !important;
}
.tl-line { background: linear-gradient(to bottom, var(--primary), rgba(26,79,186,0.05)) !important; }
.tl-card:hover { box-shadow: 0 14px 44px rgba(26,79,186,0.11) !important; }

/* ── RESEARCH CARDS — animated gradient border ── */
.r-card { transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important; }
.r-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary), var(--gold), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.r-card:hover { box-shadow: 0 24px 64px rgba(26,79,186,0.15), 0 4px 16px rgba(26,79,186,0.08) !important; }
.r-card:hover::after { opacity: 1; }

/* ── SKILL TAGS GLOW ── */
.tag:hover { box-shadow: 0 4px 18px rgba(26,79,186,0.28) !important; }

/* ── PUB ITEMS — gradient left bar ── */
.pub-item::before { background: linear-gradient(to bottom, var(--primary), var(--gold)) !important; }
.pub-item:hover { box-shadow: 0 8px 36px rgba(26,79,186,0.1) !important; }

/* ── PATENT CARDS HOVER ── */
.patent-card:hover { box-shadow: 0 14px 44px rgba(200,146,42,0.14) !important; }

/* ── REVIEWER CARDS HOVER ── */
.reviewer-card:hover { box-shadow: 0 14px 44px rgba(26,79,186,0.12) !important; }

/* ── CTA BANNER ── */
.cta-content {
  background: linear-gradient(135deg, #050d1f 0%, var(--primary) 55%, #0f2044 100%) !important;
  background-size: 200% auto !important;
  transition: background-position 0.6s ease !important;
}
.cta-content:hover { background-position: right center !important; }

/* ── GOLD MEDAL SHINE ── */
.gold-medal { position: relative; overflow: hidden; }
.gold-medal::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.45),transparent);
  animation: medalShine 4s ease-in-out infinite;
}
@keyframes medalShine { 0%{left:-100%} 50%,100%{left:220%} }

/* ── SCROLL REVEAL — directional variants ── */
.scroll-reveal[data-dir="left"]  { transform: translateX(-36px) !important; }
.scroll-reveal[data-dir="right"] { transform: translateX(36px) !important; }
.scroll-reveal[data-dir="scale"] { transform: scale(0.9) translateY(16px) !important; }
.scroll-reveal[data-dir="left"].visible,
.scroll-reveal[data-dir="right"].visible,
.scroll-reveal[data-dir="scale"].visible { transform: none !important; opacity: 1 !important; }

/* ── NAVBAR LOGO GRADIENT ── */
.nav-logo {
  background: linear-gradient(135deg, var(--ink) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-bracket {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FOOTER UPGRADE ── */
.footer {
  background: linear-gradient(160deg, #060d1e 0%, #0c1222 60%, #080f1c 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.04) !important;
}
.footer-logo {
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BACK TO TOP — pulse glow ── */
.back-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid)) !important;
  animation: backTopPulse 2.5s ease-in-out infinite;
}
@keyframes backTopPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(26,79,186,0.4), 0 0 0 0 rgba(26,79,186,0.25); }
  50%      { box-shadow: 0 4px 20px rgba(26,79,186,0.4), 0 0 0 10px rgba(26,79,186,0); }
}

/* ── SECTION BG TEXT BIGGER ── */
.section-bg-text { font-size: clamp(88px, 16vw, 176px) !important; }

/* ── CONTACT CARD DEPTH ── */
.contact-card {
  box-shadow: 0 24px 64px rgba(15,32,68,0.28), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

/* ============================================================
   PUBLICATION SEARCH
============================================================ */
.pub-search-wrap {
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.pub-search-box {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pub-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,79,186,0.08);
}

.pub-search-icon {
  color: var(--muted);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color var(--transition);
}
.pub-search-box:focus-within .pub-search-icon { color: var(--primary); }

#pubSearch {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.95rem 0.85rem;
}
#pubSearch::placeholder { color: var(--muted); }

.pub-search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.75rem;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.pub-search-clear:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pub-search-clear.visible { display: flex; }

.pub-no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}
.pub-no-results i { font-size: 2.5rem; margin-bottom: 1rem; display: block; opacity: 0.3; }
.pub-no-results p { font-size: 0.95rem; }

/* Copy citation button */
.pub-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.22rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
  margin-top: 0.5rem;
}
.pub-copy-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pub-copy-btn.copied { background: #276749; color: #fff; border-color: #276749; }

/* ============================================================
   SMOOTH SECTION TRANSITIONS
============================================================ */
.home-section::after,
.about-section::after,
.leadership-section::after,
.activities-section::after,
.research-section::after,
.publications-section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(15,32,68,0.03));
  pointer-events: none;
  z-index: 0;
}

.section { isolation: isolate; }

/* ============================================================
   IMPROVED MOBILE NAVBAR ANIMATION
============================================================ */
@media (max-width: 768px) {
  .nav-links {
    transform: translateY(-110%) scaleY(0.95);
    transform-origin: top center;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.38s ease,
                visibility 0.38s ease;
  }
  .nav-links.open {
    transform: translateY(0) scaleY(1);
  }
  .nav-link {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition);
  }
  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links.open li:nth-child(1) .nav-link { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) .nav-link { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(3) .nav-link { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) .nav-link { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(5) .nav-link { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(6) .nav-link { transition-delay: 0.3s; }
  .nav-links.open li:nth-child(7) .nav-link { transition-delay: 0.35s; }
}

/* ============================================================
   PRINT STYLES
============================================================ */
@media print {
  /* Hide interactive/decorative elements */
  .navbar, .scroll-progress, .page-loader, .back-top,
  .hero-grid, .hero-glow, .particles, .scroll-cta,
  .home-btns, .home-stats, .home-tags,
  .pub-search-wrap, .pub-tabs, .pub-scholar-cta,
  .scholar-cta, .map-section, .contact-form-wrap,
  .act-tabs-bar, .footer, .image-ring,
  .pub-copy-btn, .btn { display: none !important; }

  /* Reset layout */
  body { font-size: 11pt; color: #000; background: #fff; line-height: 1.5; }
  .section { padding: 24pt 0; page-break-inside: avoid; overflow: visible; }
  .container { max-width: 100%; padding: 0 24pt; }
  .section-bg-text { display: none; }

  /* Show all pub lists */
  .pub-list { display: flex !important; }
  .act-panel { display: block !important; }

  /* Home section — compact header */
  .home-section {
    min-height: auto !important;
    background: #fff !important;
    padding: 16pt 0 !important;
  }
  .home-container { flex-direction: row; gap: 24pt; }
  .home-image .image-wrapper { width: 120pt; }
  .image-frame { width: 120pt; height: 140pt; border-radius: 12pt; }
  .home-name { font-size: 22pt; }
  .home-dept { font-size: 10pt; }

  /* Cards */
  .bio-card, .tl-card, .cert-item, .pub-item,
  .act-item, .reviewer-card, .patent-card { box-shadow: none !important; border: 1pt solid #ccc !important; }

  /* Grids — single column for print */
  .about-grid, .leadership-grid { grid-template-columns: 1fr; gap: 16pt; }
  .research-cards, .patent-cards, .reviewer-grid { grid-template-columns: repeat(2, 1fr); gap: 8pt; }

  /* Links */
  a[href]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  a.btn::after, .nav-link::after, .pub-copy-btn::after { content: none; }

  /* Page breaks */
  .about-section, .leadership-section, .research-section,
  .publications-section, .activities-section { page-break-before: always; }

  /* Colours → print safe */
  .section-title em, .name-highlight { color: #1a4fba !important; }
  .home-label { color: #333; }
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE & TABLET) - APPEND TO BOTTOM
============================================================ */

/* TABLETS & SMALL DESKTOPS (Max Width: 992px) */
@media (max-width: 992px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 2.5rem; }
  
  /* Home Section */
  .home-container {
    flex-direction: column-reverse;
    gap: 3rem;
    padding-top: 2rem;
    text-align: center;
  }
  .home-text { text-align: center; }
  .home-label, .home-tags, .home-stats, .home-btns { justify-content: center; }
  .stat-divider { display: none; }
  .home-image { width: 100%; display: flex; justify-content: center; }
  
  .image-wrapper { width: 280px; }
  .image-frame { width: 280px; height: 320px; }
  .ring-1 { width: 300px; height: 300px; top: -10px; left: -10px; }
  .ring-2 { width: 340px; height: 340px; top: -30px; left: -30px; }
  .badge-scholar { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .badge-pub { right: -10px; top: -10px; }

  /* General Grid Adjustments */
  .about-grid, 
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .research-cards { grid-template-columns: repeat(2, 1fr); }
  .patent-cards { grid-template-columns: 1fr; }

  /* Scholar CTA Banner Fix */
  .cta-content { 
    flex-direction: column; 
    text-align: center; 
    gap: 1.5rem;
  }
  .cta-content .btn,
  .cta-content .btn-primary { 
    margin: 0 auto; /* Forces the button to center */
  }

  /* STRICTLY CENTER CONTACT SECTION */
  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
  }
  
  .contact-info, 
  .contact-form-wrap {
    width: 100%;
    max-width: 850px; 
    margin: 0;
    box-sizing: border-box;
  }
}

/* MOBILE DEVICES (Max Width: 768px) */
@media (max-width: 768px) {
  /* Navbar & Hamburger Menu */
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(250,251,253,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15,32,68,0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link { 
    font-size: 1.1rem; 
    width: 100%; 
    text-align: center; 
  }
  .nav-link::after { display: none; }
  
  /* Section Header Adjustments */
  .section-title { font-size: 2rem; }
  .section-bg-text { font-size: 12vw; }
  .home-name { font-size: 2.3rem; }
  
  /* Card Layouts */
  .research-cards { grid-template-columns: 1fr; }
  
  /* Publications Tabs */
  .pub-tabs { flex-wrap: wrap; gap: 0.5rem; }
  .pub-tab { flex: 1; min-width: calc(50% - 0.5rem); justify-content: center; }
  
  .pub-item { flex-direction: column; gap: 1rem; }
  .pub-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .pub-doi { margin-left: 0; margin-top: 0.25rem; }

  /* Scholar CTA Mobile Tweaks */
  .cta-content { padding: 2rem; }
  .cta-icon { display: none; /* Hides the large icon on very small screens to save space */ }
  
  /* Contact Card Inner Centering */
  .contact-info { 
    padding: 1.5rem; 
    text-align: center; 
  }
  
  .contact-items { 
    display: flex;
    flex-direction: column;
    align-items: center; 
  }
  
  .contact-item {
    justify-content: center;
    width: 100%;
  }
  
  .social-links { justify-content: center; }
  
  .contact-form-wrap { 
    padding: 1.5rem; 
  }
  
  /* Form inner alignment */
  .form-row { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-links { flex-direction: column; gap: 1rem; }
}

