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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-bg-light:      #F0F4F8;
  --color-bg-white:      #FFFFFF;
  --color-bg-dark:       #111820;   /* Darker — near-black navy */
  --color-bg-dark-mid:   #1C2836;   /* Mid-tone dark */
  --color-accent-blue:   #547A95;
  --color-accent-blue-lt:#6B93AF;
  --color-accent-gold:   #C2A56D;
  --color-accent-gold-lt:#D4BA8A;
  --color-text-main:     #1C2836;
  --color-text-light:    #E8EDF2;
  --color-text-muted:    #6b7a8d;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --max-width:    1200px;
  --header-h:     76px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

a { color: var(--color-accent-blue); text-decoration: none; transition: all 0.3s ease; }

img { display: block; max-width: 100%; }
svg { display: inline-block; max-width: 100%; vertical-align: middle; }

/* ============================================================
   HEADER — Frosted Glass
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background-color: rgba(244, 247, 250, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0 clamp(1.25rem, 3vw, 4%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 200;
  border-bottom: 1px solid rgba(44, 57, 71, 0.06);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background-color: rgba(244, 247, 250, 0.97);
  box-shadow: 0 4px 24px rgba(44, 57, 71, 0.08);
}

/* Brand */
.brand { display: flex; flex-direction: column; gap: 0.15rem; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.35vw, 1.65rem); flex-shrink: 0; }

.desktop-nav a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent-gold);
  transition: width 0.3s var(--ease-out-expo);
}
.desktop-nav a:hover { color: var(--color-accent-blue); }
.desktop-nav a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  letter-spacing: 0.2px;
}
.btn-gold {
  background: linear-gradient(135deg, #ECC880 0%, #D4BA8A 45%, #B89758 100%);
  color: #0c0b07;
  font-weight: 600;
  letter-spacing: 0.35px;
  box-shadow:
    0 6px 22px rgba(194, 165, 109, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  border: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #F3D492 0%, #DEBE87 45%, #C29F5F 100%);
  box-shadow:
    0 10px 30px rgba(194, 165, 109, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: #0c0b07;
}
.btn-contact { padding: 0.5rem 1.25rem; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-accent-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.98);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.open {
  display: flex;
  opacity: 1;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.mobile-nav a {
  color: var(--color-text-light);
  font-size: 1.22rem;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.4px;
}
.mobile-nav a:hover { color: var(--color-accent-gold); }


/* ============================================================
   HERO — Full Viewport, Photo Above the Fold
   ============================================================ */
.hero {
  background:
    radial-gradient(1100px 700px at 80% 28%, rgba(28, 56, 92, 0.58) 0%, transparent 65%),
    radial-gradient(900px 600px at 15% 82%, rgba(194, 165, 109, 0.065) 0%, transparent 55%),
    radial-gradient(800px 300px at 50% 0%, rgba(194, 165, 109, 0.09) 0%, transparent 60%),
    linear-gradient(165deg, #020509 0%, #050a12 30%, #08101a 65%, #010306 100%);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(194, 165, 109, 0.18);
  box-shadow: inset 0 1px 0 rgba(194, 165, 109, 0.22);
}

/* Luxury Guilloché / Micro-Lattice Precision Mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(194, 165, 109, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 50%, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 50%, black 35%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Microscopic Scientific Canvas — floating DNA & bio-molecules */
#dna-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}

/* Hero Inner — split layout */
.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 5rem 5% 5rem;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

/* ---- Left: Content ---- */
.hero-content { max-width: 600px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  color: #C2A56D;
  display: block;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}
.eyebrow-box { display: none; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.8vw + 0.5rem, 4.3rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 1.8rem;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #FFF3DB 0%, #E8CA8B 25%, #C2A56D 55%, #EEDBB2 80%, #AF8E4D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 22px rgba(194, 165, 109, 0.35));
}

.hero-desc {
  font-size: 1.08rem;
  font-weight: 350;
  color: #B4C5D6;
  line-height: 1.8;
  max-width: 510px;
  margin-bottom: 2.4rem;
  letter-spacing: 0.15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Credential badges */
.hero-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2.4rem;
  max-width: 530px;
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(194, 165, 109, 0.24);
  border-radius: 14px;
  padding: 0.75rem 1.05rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 24px -4px rgba(0, 0, 0, 0.50);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.credential-badge:hover {
  background: linear-gradient(135deg, rgba(194, 165, 109, 0.12) 0%, rgba(194, 165, 109, 0.03) 100%);
  border-color: rgba(194, 165, 109, 0.55);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 14px 32px -4px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(194, 165, 109, 0.20);
}
.credential-badge svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  color: #D4BA8A;
  filter: drop-shadow(0 0 8px rgba(194, 165, 109, 0.5));
  flex-shrink: 0;
}

/* CTA row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.link-arrow {
  color: #A0B2C6;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.3s ease;
}
.link-arrow:hover {
  color: #ECC880;
  gap: 0.75rem;
  text-shadow: 0 0 12px rgba(194, 165, 109, 0.45);
}

/* Social icons */
.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #94A3B8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-social a.hero-social-pill {
  width: auto;
  height: 38px;
  padding: 0 0.95rem;
  border-radius: 30px;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
}
.hero-social a:hover {
  background: rgba(194, 165, 109, 0.18);
  border-color: rgba(194, 165, 109, 0.60);
  color: #ECC880;
  box-shadow: 0 6px 20px rgba(194, 165, 109, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}
.hero-social svg { width: 15px; height: 15px; }


/* ---- Right: Portrait Photo ---- */
.hero-photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Soft glow halo behind portrait */
.hero-photo-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 125%; height: 125%;
  border-radius: 8px;
  background: radial-gradient(ellipse at center,
    rgba(65, 105, 140, 0.40) 0%,
    rgba(194, 165, 109, 0.20) 45%,
    transparent 72%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}

/* Gold accent — top-right corner tab */
.hero-photo-accent-top {
  position: absolute;
  top: -12px; right: -12px;
  width: 52px; height: 52px;
  border-top: 2px solid #D4BA8A;
  border-right: 2px solid #D4BA8A;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(194, 165, 109, 0.45));
}

/* Blue accent — bottom-left corner tab */
.hero-photo-accent-bottom {
  position: absolute;
  bottom: -12px; left: -12px;
  width: 52px; height: 52px;
  border-bottom: 2px solid #547A95;
  border-left: 2px solid #547A95;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(84, 122, 149, 0.45));
}

/* The actual portrait image */
.hero-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(194, 165, 109, 0.32),
    0 30px 80px -15px rgba(0, 0, 0, 0.90),
    0 12px 36px rgba(0, 0, 0, 0.65);
  transition: box-shadow 0.4s ease;
}
.hero-portrait:hover {
  box-shadow:
    0 0 0 1px rgba(194, 165, 109, 0.55),
    0 36px 95px -15px rgba(0, 0, 0, 0.95),
    0 16px 44px rgba(0, 0, 0, 0.75),
    0 0 32px rgba(194, 165, 109, 0.20);
}

/* Name label below photo */
.hero-photo-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}
.photo-label-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.photo-label-title {
  font-size: 0.70rem;
  font-weight: 600;
  color: #D4BA8A;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-top: 0.35rem;
  display: inline-block;
}
.photo-label-title::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4BA8A, transparent);
  margin: 0 auto 0.45rem;
}


/* ============================================================
   KEY RESEARCH AREAS STRIP
   ============================================================ */
.key-areas {
  background-color: var(--color-bg-light);
  padding: 4rem 5%;
  border-bottom: 1px solid rgba(44,57,71,0.06);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-blue);
  margin-bottom: 0.85rem;
}
.about-section .section-eyebrow {
  margin-bottom: 2rem;
}

.areas-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1.5rem;
  align-items: end;
}

.area-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  transition: transform 0.3s ease;
}
.area-item:hover { transform: translateY(-4px); }

.area-item svg {
  width: 30px; height: 30px;
  color: var(--color-accent-blue);
  opacity: 0.85;
  margin-bottom: 1rem;
  stroke-width: 1;
}

.area-item span {
  font-size: 0.72rem;
  color: var(--color-text-main);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.8;
}

.area-item strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-accent-gold);
  margin-bottom: 0.4rem;
  display: block;
  line-height: 1;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 7rem 5%;
  background-color: var(--color-bg-light);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--color-bg-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

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

/* About highlights column */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--color-bg-white);
  border: 1px solid rgba(44,57,71,0.07);
  border-radius: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.highlight-item:hover {
  box-shadow: 0 8px 28px rgba(44,57,71,0.08);
  transform: translateY(-3px);
}
.highlight-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(84,122,149,0.12) 0%, rgba(194,165,109,0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
}
.highlight-icon svg { width: 18px; height: 18px; }
.highlight-body {}
.highlight-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-accent-gold);
  margin-bottom: 0.25rem;
}
.highlight-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}


/* ============================================================
   HEADER ADDITIONS
   ============================================================ */
.header-education-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(194, 165, 109, 0.12);
  border: 1px solid rgba(194, 165, 109, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--color-text-main);
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-education-chip svg {
  width: 15px; height: 15px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}
.btn-outline-cv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.48rem 1.1rem;
  border-radius: 40px;
  border: 1px solid rgba(44, 57, 71, 0.25);
  color: var(--color-text-main);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.btn-outline-cv:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  background: rgba(194, 165, 109, 0.08);
}
.icon-cv {
  width: 14px; height: 14px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  border-radius: 40px;
  border: 1px solid rgba(44, 57, 71, 0.22);
  color: var(--color-text-main);
  font-size: 0.85rem;
  font-weight: 500;
  background: #fff;
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
  box-shadow: 0 4px 14px rgba(44, 57, 71, 0.08);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72rem 1.65rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #F1F5F9;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.30);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline-light:hover {
  border-color: rgba(194, 165, 109, 0.65);
  color: #ECC880;
  background: rgba(194, 165, 109, 0.12);
  box-shadow:
    0 6px 24px rgba(194, 165, 109, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cred-title {
  display: block;
  font-weight: 600;
  color: #ffffff;
}
.cred-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--color-accent-gold);
}


/* ============================================================
   CORPORATE SCROLLING LOGOS — Institutes Worked
   ============================================================ */
.institutes-marquee-section {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, var(--color-bg-light) 0%, #E9EFF5 100%);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
  overflow: hidden;
}

.marquee-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 5%;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--color-bg-dark);
  line-height: 1.18;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Marquee Scroller Container with 3D curved-edge perspective & fade masks */
.marquee-container {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  border-radius: 36px;
  perspective: 1200px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    rgba(0, 0, 0, 0.85) 10%,
    black 16%,
    black 84%,
    rgba(0, 0, 0, 0.85) 90%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    rgba(0, 0, 0, 0.85) 10%,
    black 16%,
    black 84%,
    rgba(0, 0, 0, 0.85) 90%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  transform-style: preserve-3d;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}
.marquee-track-reverse {
  animation: marquee-scroll-reverse 36s linear infinite;
}
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.9rem));
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(calc(-50% - 0.9rem));
  }
  100% {
    transform: translateX(0);
  }
}

/* Separate Education Marquee Section */
.education-marquee-section {
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, #E9EFF5 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
  overflow: hidden;
}

/* Corporate Institute Cards — matching the client's screenshot style */
.inst-card {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: perspective(1100px) rotateY(var(--curve-ry, 0deg)) scale(var(--curve-scale, 1)) translateY(var(--hover-y, 0px));
  opacity: var(--curve-opacity, 1);
  box-shadow:
    0 1px 3px rgba(44, 57, 71, 0.03),
    0 8px 24px -4px rgba(44, 57, 71, 0.06);
  transition: box-shadow 0.35s ease, border-color 0.3s ease;
}
.inst-card:hover {
  --hover-y: -8px;
  box-shadow:
    0 4px 12px rgba(44, 57, 71, 0.04),
    0 24px 48px -8px rgba(44, 57, 71, 0.12),
    0 0 0 1px rgba(194, 165, 109, 0.30);
  border-color: rgba(194, 165, 109, 0.40);
}

.inst-logo-box {
  width: 100%;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem;
}
.inst-logo-img {
  width: auto;
  max-width: 96%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.inst-logo-img[src*="feinstein"] {
  width: 100%;
  max-width: 100%;
  max-height: 120px;
}
.inst-card:hover .inst-logo-img {
  transform: scale(1.06);
}

.inst-info {
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 57, 71, 0.07);
}
.inst-role {
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.35;
}
.inst-period {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 3px;
}
.inst-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dots under carousel */
.marquee-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2.2rem;
}
.marquee-dots-wrap .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(44, 57, 71, 0.20);
  transition: all 0.3s ease;
}
.marquee-dots-wrap .dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--color-accent-blue);
}


/* ============================================================
   CAREER JOURNEY DETAILED SECTION
   ============================================================ */
.career-section {
  padding: 6.5rem 5%;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.career-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.career-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.career-card {
  background: var(--color-bg-light);
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 16px;
  padding: 2.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(44, 57, 71, 0.08);
  border-color: rgba(194, 165, 109, 0.4);
}
.career-card-header {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.career-logo-wrap {
  width: 90px;
  height: 70px;
  background: #fff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  flex-shrink: 0;
}
.career-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.career-meta { flex: 1; }
.career-period {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  background: rgba(194, 165, 109, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}
.career-role {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--color-bg-dark);
  line-height: 1.2;
}
.career-inst {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-accent-blue);
  margin-top: 0.2rem;
}
.career-points {
  margin: 0;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.career-points li {
  color: var(--color-text-main);
  font-size: 0.94rem;
  line-height: 1.6;
}


/* ============================================================
   ACADEMIC FOUNDATION — Balanced 2x2 Corporate Suite
   ============================================================ */
.education-section, .education-page-section {
  padding: 6rem 5% 5.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.education-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0 0;
}
.education-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.02),
    0 10px 28px -4px rgba(13, 21, 32, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.education-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 42px -6px rgba(13, 21, 32, 0.10),
    0 0 0 1px rgba(194, 165, 109, 0.35);
  border-color: rgba(194, 165, 109, 0.40);
}
.edu-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.07);
}
.edu-logo-box {
  width: 140px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.edu-logo-img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.edu-badge-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.edu-year {
  font-size: 0.74rem;
  font-weight: 700;
  color: #7a5814;
  background: rgba(194, 165, 109, 0.14);
  border: 1px solid rgba(194, 165, 109, 0.30);
  padding: 0.22rem 0.75rem;
  border-radius: 14px;
}
.edu-loc-tag {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}
.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-bg-dark);
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.4rem;
}
.edu-inst {
  font-size: 0.92rem;
  color: var(--color-accent-blue);
  font-weight: 500;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}
.edu-desc {
  font-size: 0.90rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 1.2rem;
}
.edu-thesis-box {
  background: #f8fafc;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  margin-top: auto;
}
.thesis-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-accent-gold);
  margin-bottom: 0.3rem;
}
.thesis-text {
  font-size: 0.86rem;
  color: #334155;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.thesis-advisor {
  font-size: 0.78rem;
  color: #64748b;
}

/* Lifelong learning box */
.learning-section-box {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 18px rgba(44, 57, 71, 0.04);
}
.learning-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.07);
}
.learning-heading svg {
  width: 22px; height: 22px;
  color: var(--color-accent-blue);
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.learning-card, .learning-item {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  box-shadow: 0 4px 16px rgba(44, 57, 71, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.learning-card:hover, .learning-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(44, 57, 71, 0.08);
  border-color: rgba(194, 165, 109, 0.4);
}
.learning-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(194, 165, 109, 0.12);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.learning-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}
.learning-content {
  flex: 1;
  min-width: 0;
}
.learning-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.learning-inst {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}
.learning-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}


/* ============================================================
   EXPERTISE & SKILLS WITH AUTHORITY
   ============================================================ */
.skills-section {
  padding: 6.5rem 5%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.skills-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.skills-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.skill-card, .skill-category-card {
  background: var(--color-bg-light);
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 18px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.skill-card:hover, .skill-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 42px rgba(44, 57, 71, 0.09);
  border-color: rgba(84, 122, 149, 0.35);
}
.skill-card-top, .skill-cat-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.skill-icon-box, .skill-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(194, 165, 109, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}
.skill-icon-box svg, .skill-cat-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0;
}
.skill-name, .skill-cat-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  color: var(--color-bg-dark);
  font-weight: 500;
  line-height: 1.25;
}
.skill-desc, .skill-cat-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.skill-tools-box, .skill-chips-box {
  margin-bottom: 1.2rem;
}
.chips-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.6rem;
}
.tool-chips-wrap, .chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tool-chip, .chip-tag {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.12);
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all 0.2s ease;
}
.tool-chip:hover, .chip-tag:hover {
  background: var(--color-accent-blue);
  color: #fff;
  border-color: var(--color-accent-blue);
}
.skill-databases-box {
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(44, 57, 71, 0.12);
}
.db-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ============================================================
   PUBLICATIONS SECTION — Rich Authoritative Cards
   ============================================================ */
.publications-section {
  padding: 6.5rem 5%;
  background-color: var(--color-bg-light);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.pub-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.pub-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.pub-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
/* Executive Publication Tile */
.pub-rich-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 20px;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  display: flex;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: flex-start;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 24px -4px rgba(13, 21, 32, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Notice: Removed left border line! Subtle warm luxury glow on hover */
.pub-rich-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -8px rgba(13, 21, 32, 0.09), 0 0 0 1px rgba(194, 165, 109, 0.3);
  border-color: rgba(194, 165, 109, 0.35);
}

.pub-thumb-box {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(44, 57, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

.pub-badge-monogram {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0d1520 0%, #17283c 100%);
  border: 1px solid rgba(194, 165, 109, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(13, 21, 32, 0.16);
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}
.monogram-journal {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 1px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.monogram-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #8faec9;
  letter-spacing: 1px;
  margin-top: 3px;
  text-transform: uppercase;
}
.monogram-if {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a90707 0%, #c92a2a 100%);
  padding: 0.18rem 0.55rem;
  border-radius: 12px;
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.pub-note-text {
  font-size: 0.84rem;
  color: #64748b;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pub-thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pub-rich-card:hover .pub-thumb-img {
  transform: scale(1.04);
}

.pub-body-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pub-badges-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.journal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0f2b48;
  background: #edf3fa;
  border: 1px solid rgba(15, 43, 72, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.if-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.22);
}
.pub-year-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid rgba(71, 85, 105, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.pub-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #8c6d1f;
  background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(194,165,109,0.08) 100%);
  border: 1px solid rgba(212,175,55,0.32);
  padding: 0.22rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pub-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-bg-dark);
  margin: 0.1rem 0;
}
.pub-headline a {
  color: var(--color-bg-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pub-headline a:hover {
  color: var(--color-accent-blue);
}
.pub-authors-text {
  font-size: 0.88rem;
  color: #b85d19;
  font-weight: 500;
  line-height: 1.5;
}
.pub-abstract-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.62;
}
.pub-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(44, 57, 71, 0.08);
  margin-top: 0.4rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pub-citation-meta {
  font-size: 0.82rem;
  color: #64748b;
  font-style: italic;
}
.btn-doi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.btn-doi-link:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transform: translateX(3px);
}
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-doi-link:hover {
  color: var(--color-accent-gold);
  gap: 8px;
}


/* ============================================================
   AWARDS & FELLOWSHIPS
   ============================================================ */
.awards-section {
  padding: 6.5rem 5%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
/* ============================================================
   EXECUTIVE HONORS METRICS STRIP
   ============================================================ */
.honors-metrics-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
  box-shadow: 0 4px 24px rgba(13, 21, 32, 0.04);
  padding: 2.4rem 5%;
  position: relative;
  z-index: 5;
}
.metrics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.metric-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.metric-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 700;
  color: var(--color-bg-dark);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0d1520 0%, #1c2e44 55%, #c2a56d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.metric-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.metric-separator {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(194, 165, 109, 0.4), transparent);
  flex-shrink: 0;
}


/* ============================================================
   AWARDS & FELLOWSHIPS — Luxury Corporate Presentation
   ============================================================ */
.awards-page-section {
  padding: 6rem 5% 5rem;
  background: linear-gradient(180deg, #F8FAFC 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.awards-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Premier Fellowship Spotlight Card */
.award-featured-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 20px;
  padding: clamp(2rem, 3.2vw, 2.8rem);
  margin: 2.8rem 0 2.5rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.02),
    0 12px 32px -4px rgba(13, 21, 32, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.award-featured-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 48px -8px rgba(13, 21, 32, 0.10),
    0 0 0 1px rgba(194, 165, 109, 0.40);
  border-color: rgba(194, 165, 109, 0.45);
}
.award-featured-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.07);
}
.award-featured-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.award-laurel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(194, 165, 109, 0.15) 0%, rgba(194, 165, 109, 0.06) 100%);
  border: 1px solid rgba(194, 165, 109, 0.38);
  color: #8c6d1f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.32rem 0.85rem;
  border-radius: 20px;
}
.award-year-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  background: #edf3fa;
  border: 1px solid rgba(84, 122, 149, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.award-featured-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.amount-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #0d633b;
  line-height: 1;
  background: linear-gradient(135deg, #0d633b 0%, #15803d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.amount-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
.award-featured-content {
  max-width: 950px;
}
.award-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: var(--color-bg-dark);
  line-height: 1.22;
  margin-bottom: 0.75rem;
}
.award-featured-org {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-blue);
  font-size: 0.96rem;
  margin-bottom: 1.1rem;
}
.org-loc-tag {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 400;
}
.award-featured-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.7;
}

/* Executive Award Cards Grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.award-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(13, 21, 32, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}
.award-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 36px -6px rgba(13, 21, 32, 0.09),
    0 0 0 1px rgba(194, 165, 109, 0.40);
  border-color: rgba(194, 165, 109, 0.45);
}
.award-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.award-category-pill {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7a5814;
  background: rgba(194, 165, 109, 0.12);
  border: 1px solid rgba(194, 165, 109, 0.30);
  padding: 0.22rem 0.65rem;
  border-radius: 14px;
}
.award-year {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid rgba(71, 85, 105, 0.12);
  padding: 0.22rem 0.65rem;
  border-radius: 14px;
}
.award-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-bg-dark);
  font-weight: 600;
  line-height: 1.32;
  margin-bottom: 0.5rem;
}
.award-org {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--color-accent-blue);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.award-desc {
  font-size: 0.90rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 1rem;
}
.award-footer-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #64748b;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(44, 57, 71, 0.06);
  margin-top: auto;
}


/* ============================================================
   MEMBERSHIPS SECTION — Corporate Global Affiliations
   ============================================================ */
.memberships-section {
  padding: 6rem 5% 5.5rem;
  background: linear-gradient(180deg, #F8FAFC 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.memberships-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.memberships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.membership-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 20px;
  padding: 2.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(13, 21, 32, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.membership-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 42px -6px rgba(13, 21, 32, 0.10),
    0 0 0 1px rgba(194, 165, 109, 0.35);
  border-color: rgba(194, 165, 109, 0.40);
}
.mem-logo-box {
  width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  padding: 0 1rem;
}
.mem-logo-img {
  max-width: 90%;
  max-height: 75px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.membership-card:hover .mem-logo-img {
  transform: scale(1.05);
}
.mem-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}
.mem-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7a5814;
  background: rgba(194, 165, 109, 0.14);
  border: 1px solid rgba(194, 165, 109, 0.32);
  padding: 0.22rem 0.75rem;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.mem-scope-badge {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}
.mem-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.mem-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
}


/* ============================================================
   CONTACT SECTION & FOOTER
   ============================================================ */
.contact-section {
  padding: 6.5rem 5%;
  background:
    radial-gradient(circle at 50% 20%, rgba(20, 36, 58, 0.45) 0%, transparent 70%),
    linear-gradient(160deg, #05080c 0%, #080d14 45%, #0b121b 80%, #030508 100%);
  color: #ffffff;
  text-align: center;
}
.contact-inner {
  max-width: 780px;
  margin: 0 auto;
}
.contact-headline {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #ffffff;
  margin: 1rem 0 1.2rem;
  line-height: 1.2;
}
.contact-desc {
  font-size: 1.1rem;
  color: #9AAFC4;
  line-height: 1.7;
  margin-bottom: 2.8rem;
}
.contact-buttons-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 0.98rem;
}

.site-footer {
  background-color: #05080c;
  color: #6b7a8d;
  padding: 4.5rem 5% 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.6rem;
}
.footer-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.footer-social-row a {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9bb2cd;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.footer-social-row a:hover {
  background: var(--color-accent-gold);
  color: #0d1520;
  transform: translateY(-2px);
}
.footer-social-row a svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  flex-shrink: 0;
}
.footer-col-nav h4, .footer-col-legal h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.footer-col-nav a {
  display: block;
  color: #8fa0b5;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.footer-col-nav a:hover {
  color: var(--color-accent-gold);
}
.footer-col-legal p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.footer-col-legal a {
  color: var(--color-accent-gold);
}
.copyright {
  margin-top: 1.5rem;
  font-size: 0.78rem;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .header-education-chip { display: none; }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 340px;
    gap: 3rem;
  }
  .pub-rich-card { gap: 1.5rem; }
  .education-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .header-education-chip { display: none; }
  .desktop-nav { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 5%;
    gap: 3rem;
  }
  .hero-photo-wrap { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-content    { order: 1; text-align: center; }
  .eyebrow         { justify-content: center; }
  .hero-desc       { margin-left: auto; margin-right: auto; }
  .hero-credentials { justify-content: center; }
  .hero-actions    { justify-content: center; }
  .hero-social     { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .career-card-header { flex-direction: column; text-align: center; }
  .career-points { padding-left: 1rem; }
  .education-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .skills-cards-grid { grid-template-columns: 1fr; }
  .pub-rich-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    padding: 1.6rem;
  }
  .pub-thumb-box, .pub-badge-monogram {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin: 0;
  }
  .pub-badges-row { justify-content: flex-start; }
  .pub-footer-row { justify-content: space-between; align-items: center; }
  .awards-grid { grid-template-columns: 1fr; }
  .memberships-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .metrics-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
  .metric-separator { display: none; }
  .award-featured-top { flex-direction: column; align-items: flex-start; }
  .award-featured-amount { align-items: flex-start; }

  .scholar-spotlight-bar { flex-direction: column; text-align: center; gap: 1.5rem; }
  .scholar-spotlight-info { flex-direction: column; text-align: center; }
  .contact-grid-wrap { grid-template-columns: 1fr; }
  .portals-links-grid { grid-template-columns: 1fr; }
  .hero-credentials { margin: 0 auto 2.2rem auto; text-align: left; }
}

@media (max-width: 600px) {
  .hero { min-height: unset; }
  .hero-inner { padding: 3rem 5% 4rem; }
  .hero h1 { letter-spacing: -0.5px; font-size: 2.2rem; }
  .section-heading { font-size: 2rem; }
  .inst-card { width: 240px; height: 260px; padding: 1.2rem; }
  .inst-logo-box { height: 110px; }
  .inst-logo-img { max-height: 80px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-credentials { grid-template-columns: 1fr; }
  .skills-cards-grid { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .metrics-inner { grid-template-columns: 1fr; }
  .award-featured-card { padding: 1.6rem; }
  .award-card { padding: 1.5rem; }
  .education-card { padding: 1.5rem; }
  .edu-card-top-row { flex-direction: column; align-items: flex-start; }
  .edu-badge-cluster { align-items: flex-start; }
  .pub-rich-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.3rem;
    gap: 1.1rem;
    border-radius: 16px;
  }
  .pub-thumb-box, .pub-badge-monogram {
    width: 96px;
    height: 96px;
    margin: 0;
  }
  .pub-headline {
    font-size: 1.18rem;
  }
  .pub-footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .pub-citation-meta {
    font-size: 0.8rem;
  }
  .btn-doi-link {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1.2rem;
  }
}


/* ============================================================
   SUBPAGE BANNER — Modern Scientific Dark Backdrop
   ============================================================ */
.page-banner {
  background:
    radial-gradient(circle at 80% 25%, rgba(20, 36, 58, 0.48) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(194, 165, 109, 0.035) 0%, transparent 50%),
    linear-gradient(160deg, #05080c 0%, #080d14 40%, #0b121b 75%, #030508 100%);
  padding: 5rem 5% 4.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(194, 165, 109, 0.18);
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(194, 165, 109, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.banner-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 0.85rem;
}
.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.banner-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #9ab3cf;
  max-width: 820px;
  margin-bottom: 1.8rem;
}
.banner-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.banner-meta-badge {
  font-size: 0.80rem;
  font-weight: 500;
  color: #e2eaf4;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.38rem 0.95rem;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}
.banner-meta-badge svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0;
  vertical-align: -2px;
}

/* Nav Item Active State */
.nav-item.active {
  color: var(--color-accent-gold) !important;
  font-weight: 700;
  position: relative;
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-gold);
  border-radius: 2px;
}

/* Scholar Spotlight Bar */
.scholar-spotlight-bar {
  background: linear-gradient(135deg, #111d2e 0%, #17273d 100%);
  border: 1px solid rgba(194, 165, 109, 0.3);
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(13, 21, 32, 0.08);
}
.scholar-spotlight-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.scholar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-accent-gold);
}
.scholar-spotlight-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.scholar-spotlight-info p {
  font-size: 0.88rem;
  color: #9bb2cd;
  margin: 0;
}
.scholar-spotlight-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Deep-Dive Expertise Cards */
.expertise-page-section, .career-page-section, .publications-page-section, .education-page-section, .awards-page-section {
  padding: 5rem 5%;
}
.expertise-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  margin-top: 2.5rem;
}
.expertise-detail-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.1);
  border-radius: 18px;
  padding: 2.4rem;
  box-shadow: 0 6px 24px rgba(44, 57, 71, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expertise-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(44, 57, 71, 0.08);
}
.expertise-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.expertise-icon-shield {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(194, 165, 109, 0.15);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.expertise-icon-shield svg {
  width: 26px;
  height: 26px;
}
.expertise-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  margin-bottom: 0.4rem;
}
.expertise-narrative {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.subhead-tools {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.6rem;
}
.tool-chip.prominent {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 600;
  border: 1px solid #cbd5e1;
}
.expertise-db-section {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(44, 57, 71, 0.08);
}
.db-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.db-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f4c81;
  background: rgba(15, 76, 129, 0.09);
  border: 1px solid rgba(15, 76, 129, 0.18);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* Subpage Call to Action */
.subpage-cta-section {
  background: #f8fafc;
  border-top: 1px solid rgba(44, 57, 71, 0.08);
  padding: 5rem 5%;
  text-align: center;
}
.subpage-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.subpage-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-bg-dark);
  margin-bottom: 0.8rem;
}
.subpage-cta-inner p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Section Bottom CTA */
.section-bottom-cta {
  margin-top: 3rem;
  text-align: center;
}

/* Contact Page Grid & Form */
.contact-page-section {
  padding: 5rem 5%;
  background: var(--color-bg-light);
}
.contact-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card, .contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.1);
  border-radius: 18px;
  padding: 2.8rem;
  box-shadow: 0 4px 24px rgba(44, 57, 71, 0.04);
}
.info-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.info-head h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-bg-dark);
  margin-bottom: 0.4rem;
}
.role-affiliation {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(194, 165, 109, 0.12);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
  font-weight: 700;
}
.channel-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  text-decoration: none;
}
.channel-value:hover { text-decoration: underline; }
.channel-value-text {
  font-size: 0.92rem;
  color: var(--color-bg-dark);
  line-height: 1.45;
}
.research-portals-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 57, 71, 0.08);
}
.portals-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  transition: all 0.2s ease;
}
.portal-link svg { width: 16px; height: 16px; color: var(--color-accent-gold); }
.portal-link:hover {
  background: #ffffff;
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: translateY(-2px);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--color-bg-dark);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(194, 165, 109, 0.2);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-sub { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }


/* ============================================================
   THEME TOGGLE BUTTON (Light <-> Midnight Dark Blue)
   ============================================================ */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(44, 57, 71, 0.20);
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out-expo);
}
.theme-toggle-btn:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  background: rgba(194, 165, 109, 0.12);
  transform: translateY(-1px);
}
.theme-toggle-btn:focus { outline: none; }
.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}
.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
}
.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }

html[data-theme="dark"] .theme-toggle-btn {
  background: rgba(194, 165, 109, 0.12);
  border-color: rgba(194, 165, 109, 0.38);
  color: #ECC880;
}
html[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(194, 165, 109, 0.22);
  box-shadow: 0 0 16px rgba(194, 165, 109, 0.25);
}
html[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; }

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 960px) {
  .header-mobile-actions { display: flex; }
}

/* ============================================================
   MIDNIGHT DARK BLUE THEME (Matching Hero Palette)
   ============================================================ */
html[data-theme="dark"] body {
  background-color: #040911;
  color: #e2e8f0;
}

/* Dark Frosted Midnight Header */
html[data-theme="dark"] .site-header {
  background-color: rgba(4, 9, 17, 0.86);
  border-bottom: 1px solid rgba(194, 165, 109, 0.16);
}
html[data-theme="dark"] .site-header.scrolled {
  background-color: rgba(3, 7, 14, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .brand-name { color: #ffffff; }
html[data-theme="dark"] .brand-subtitle { color: #C2A56D; }
html[data-theme="dark"] .desktop-nav a { color: #cbd5e1; }
html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .nav-item.active { color: #ECC880 !important; }

html[data-theme="dark"] .header-education-chip {
  background: rgba(194, 165, 109, 0.10);
  border-color: rgba(194, 165, 109, 0.30);
  color: #e2e8f0;
}
html[data-theme="dark"] .btn-outline-cv {
  border-color: rgba(194, 165, 109, 0.30);
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .btn-outline-cv:hover {
  border-color: #ECC880;
  color: #ECC880;
  background: rgba(194, 165, 109, 0.12);
}

/* Dark Midnight Sections — 3 Alternating Tiers for Clear Section Differentiation */
html[data-theme="dark"] .publications-section,
html[data-theme="dark"] .career-page-section,
html[data-theme="dark"] .expertise-page-section,
html[data-theme="dark"] .awards-page-section,
html[data-theme="dark"] .contact-page-section {
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(20, 42, 72, 0.30) 0%, transparent 65%),
    linear-gradient(180deg, #03070e 0%, #060d18 55%, #040911 100%) !important;
  border-top: 1px solid rgba(194, 165, 109, 0.14);
  border-bottom: 1px solid rgba(194, 165, 109, 0.10);
}

html[data-theme="dark"] .institutes-marquee-section,
html[data-theme="dark"] .skills-section,
html[data-theme="dark"] .publications-page-section,
html[data-theme="dark"] .education-page-section,
html[data-theme="dark"] .learning-section {
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(24, 52, 88, 0.32) 0%, transparent 65%),
    linear-gradient(180deg, #08111f 0%, #0c182c 55%, #07101d 100%) !important;
  border-top: 1px solid rgba(194, 165, 109, 0.16);
  border-bottom: 1px solid rgba(194, 165, 109, 0.12);
}

html[data-theme="dark"] .education-marquee-section,
html[data-theme="dark"] .about-section,
html[data-theme="dark"] .awards-section,
html[data-theme="dark"] .memberships-section,
html[data-theme="dark"] .research-page-section,
html[data-theme="dark"] .subpage-cta-section,
html[data-theme="dark"] .default-page-content {
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(194, 165, 109, 0.045) 0%, transparent 60%),
    linear-gradient(180deg, #0b1628 0%, #0e1d34 50%, #091322 100%) !important;
  border-top: 1px solid rgba(194, 165, 109, 0.18);
  border-bottom: 1px solid rgba(194, 165, 109, 0.12);
}

html[data-theme="dark"] .honors-metrics-strip {
  background: #060c15;
  border-bottom-color: rgba(194, 165, 109, 0.16);
}
html[data-theme="dark"] .metric-num {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 55%, #D4BA8A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .metric-label { color: #8da2b9; }
html[data-theme="dark"] .metric-separator { background: rgba(194, 165, 109, 0.18); }

/* Headings & Typography in Dark Mode */
html[data-theme="dark"] .section-eyebrow { color: #D4BA8A; }
html[data-theme="dark"] .section-heading,
html[data-theme="dark"] .about-text h2,
html[data-theme="dark"] .subpage-cta-inner h2,
html[data-theme="dark"] .contact-form-card h2,
html[data-theme="dark"] .contact-info-card h2 {
  color: #f8fafc;
}
html[data-theme="dark"] .section-sub,
html[data-theme="dark"] .about-text p,
html[data-theme="dark"] .subpage-cta-inner p,
html[data-theme="dark"] .form-sub {
  color: #9AAFC4;
}

/* Midnight Glass Cards */
html[data-theme="dark"] .inst-card,
html[data-theme="dark"] .highlight-item,
html[data-theme="dark"] .pub-rich-card,
html[data-theme="dark"] .skill-card,
html[data-theme="dark"] .career-card,
html[data-theme="dark"] .expertise-detail-card,
html[data-theme="dark"] .education-card,
html[data-theme="dark"] .award-featured-card,
html[data-theme="dark"] .award-card,
html[data-theme="dark"] .membership-card,
html[data-theme="dark"] .learning-card,
html[data-theme="dark"] .learning-item,
html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] .contact-form-card {
  background: linear-gradient(155deg, rgba(14, 24, 38, 0.92) 0%, rgba(8, 15, 26, 0.96) 100%);
  border-color: rgba(194, 165, 109, 0.18);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .inst-card:hover,
html[data-theme="dark"] .pub-rich-card:hover,
html[data-theme="dark"] .skill-card:hover,
html[data-theme="dark"] .career-card:hover,
html[data-theme="dark"] .education-card:hover,
html[data-theme="dark"] .award-featured-card:hover,
html[data-theme="dark"] .award-card:hover,
html[data-theme="dark"] .membership-card:hover {
  border-color: rgba(194, 165, 109, 0.48);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(194, 165, 109, 0.25);
}

/* Keep Institution, University & Journal Logos Crisp on Luminous Plates */
html[data-theme="dark"] .inst-logo-box,
html[data-theme="dark"] .career-logo-wrap,
html[data-theme="dark"] .edu-logo-box,
html[data-theme="dark"] .mem-logo-box,
html[data-theme="dark"] .pub-thumb-box {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
html[data-theme="dark"] .inst-info {
  border-top-color: rgba(194, 165, 109, 0.14);
}
html[data-theme="dark"] .inst-role { color: #f1f5f9; }
html[data-theme="dark"] .inst-period { color: #94a3b8; }
html[data-theme="dark"] .inst-name { color: #D4BA8A; }

/* Card Text & Sub-Elements in Dark Mode */
html[data-theme="dark"] .highlight-text,
html[data-theme="dark"] .pub-abstract-text,
html[data-theme="dark"] .pub-citation-meta,
html[data-theme="dark"] .pub-note-text,
html[data-theme="dark"] .career-points li,
html[data-theme="dark"] .expertise-narrative,
html[data-theme="dark"] .edu-desc,
html[data-theme="dark"] .thesis-text,
html[data-theme="dark"] .thesis-advisor,
html[data-theme="dark"] .award-featured-desc,
html[data-theme="dark"] .award-desc,
html[data-theme="dark"] .award-footer-meta,
html[data-theme="dark"] .org-loc-tag,
html[data-theme="dark"] .mem-desc,
html[data-theme="dark"] .mem-scope-badge,
html[data-theme="dark"] .db-text,
html[data-theme="dark"] .skill-list li,
html[data-theme="dark"] .skill-desc,
html[data-theme="dark"] .chips-label {
  color: #9AAFC4;
}

html[data-theme="dark"] .pub-headline,
html[data-theme="dark"] .pub-headline a,
html[data-theme="dark"] .skill-title,
html[data-theme="dark"] .skill-name,
html[data-theme="dark"] .learning-title,
html[data-theme="dark"] .career-role,
html[data-theme="dark"] .expertise-title,
html[data-theme="dark"] .edu-degree,
html[data-theme="dark"] .award-featured-title,
html[data-theme="dark"] .award-title,
html[data-theme="dark"] .mem-title,
html[data-theme="dark"] .channel-val,
html[data-theme="dark"] .channel-val a {
  color: #f1f5f9;
}
html[data-theme="dark"] .pub-headline a:hover,
html[data-theme="dark"] .channel-val a:hover {
  color: #ECC880;
}

html[data-theme="dark"] .career-inst,
html[data-theme="dark"] .edu-inst,
html[data-theme="dark"] .learning-inst,
html[data-theme="dark"] .award-org,
html[data-theme="dark"] .award-featured-org {
  color: #93c5fd;
}

/* Badges, Pills & Dividers in Dark Mode */
html[data-theme="dark"] .journal-tag,
html[data-theme="dark"] .pub-year-badge,
html[data-theme="dark"] .award-year,
html[data-theme="dark"] .award-year-pill,
html[data-theme="dark"] .edu-year-pill,
html[data-theme="dark"] .career-period-badge,
html[data-theme="dark"] .tech-pill,
html[data-theme="dark"] .db-pill,
html[data-theme="dark"] .tool-chip {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(194, 165, 109, 0.22);
  color: #e2e8f0;
}
html[data-theme="dark"] .tool-chip:hover {
  background: rgba(194, 165, 109, 0.18);
  border-color: rgba(194, 165, 109, 0.45);
  color: #ECC880;
}
html[data-theme="dark"] .learning-date {
  color: #D4BA8A;
}
html[data-theme="dark"] .award-amount {
  color: #86efac;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.28);
}

html[data-theme="dark"] .award-category-pill,
html[data-theme="dark"] .mem-role-badge,
html[data-theme="dark"] .edu-level-badge {
  background: rgba(194, 165, 109, 0.16);
  border-color: rgba(194, 165, 109, 0.35);
  color: #ECC880;
}

html[data-theme="dark"] .edu-thesis-box {
  background: rgba(6, 12, 20, 0.72);
  border-color: rgba(194, 165, 109, 0.18);
}

html[data-theme="dark"] .pub-footer-row,
html[data-theme="dark"] .award-featured-top,
html[data-theme="dark"] .award-footer-meta,
html[data-theme="dark"] .career-card-header,
html[data-theme="dark"] .expertise-tools-section,
html[data-theme="dark"] .expertise-db-section,
html[data-theme="dark"] .research-portals-box {
  border-color: rgba(194, 165, 109, 0.14);
}

html[data-theme="dark"] .amount-val {
  background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .amount-caption { color: #94a3b8; }

/* Dark Mode Outline Buttons & Links */
html[data-theme="dark"] .btn-outline-dark,
html[data-theme="dark"] .btn-doi-link,
html[data-theme="dark"] .portal-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(194, 165, 109, 0.30);
  color: #e2e8f0;
}
html[data-theme="dark"] .btn-outline-dark:hover,
html[data-theme="dark"] .btn-doi-link:hover,
html[data-theme="dark"] .portal-btn:hover {
  background: rgba(194, 165, 109, 0.15);
  border-color: #ECC880;
  color: #ECC880;
}

/* Dark Mode Contact Form Inputs */
html[data-theme="dark"] .form-group label,
html[data-theme="dark"] .channel-label {
  color: #cbd5e1;
}
html[data-theme="dark"] .form-input {
  background: rgba(5, 10, 18, 0.85);
  border-color: rgba(194, 165, 109, 0.22);
  color: #f1f5f9;
}
html[data-theme="dark"] .form-input::placeholder {
  color: #64748b;
}


/* ============================================================
   BLOG SECTION & ARTICLE READER (Light + Midnight Dark Theme)
   ============================================================ */
.blog-page-section,
.blog-post-section {
  padding: 5rem 5%;
  background: linear-gradient(180deg, #F8FAFC 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid rgba(44, 57, 71, 0.08);
}
.blog-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.blog-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.blog-count-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.blog-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(13, 21, 32, 0.04);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px -8px rgba(13, 21, 32, 0.10), 0 0 0 1px rgba(194, 165, 109, 0.35);
  border-color: rgba(194, 165, 109, 0.45);
}
.blog-card-media-link { display: block; }
.blog-card-media {
  height: 220px;
  overflow: hidden;
  background: #0d1520;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}
.blog-card-monogram {
  height: 170px;
  background:
    radial-gradient(circle at 80% 25%, rgba(28, 56, 92, 0.55) 0%, transparent 65%),
    linear-gradient(145deg, #050a12 0%, #0b1628 100%);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(194, 165, 109, 0.22);
}
.blog-mono-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ECC880;
}
.blog-mono-year {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
}
.blog-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.blog-cat-pill {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7a5814;
  background: rgba(194, 165, 109, 0.14);
  border: 1px solid rgba(194, 165, 109, 0.32);
  padding: 0.22rem 0.7rem;
  border-radius: 14px;
}
.blog-date-text,
.blog-read-time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.blog-card-title a {
  color: var(--color-bg-dark);
}
.blog-card-title a:hover {
  color: var(--color-accent-gold);
}
.blog-card-excerpt {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.blog-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 57, 71, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.blog-author-mini {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-accent-blue);
}
.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.08);
  border-radius: 20px;
}

/* Single Article Page */
.blog-back-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}
.blog-back-link:hover { color: #ECC880; }
.blog-article-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.09);
  border-radius: 22px;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: 0 10px 30px rgba(13, 21, 32, 0.05);
}
.blog-article-cover {
  margin-bottom: 2rem;
  border-radius: 14px;
  overflow: hidden;
}
.blog-article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.blog-article-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  font-weight: 500;
  padding-bottom: 1.5rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(44, 57, 71, 0.09);
}
.blog-article-prose {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}
.blog-article-prose h2,
.blog-article-prose h3 {
  font-family: var(--font-heading);
  color: var(--color-bg-dark);
  margin: 2rem 0 0.8rem;
}
.blog-article-prose p { margin-bottom: 1.2rem; }
.blog-article-prose ul,
.blog-article-prose ol {
  margin: 0.8rem 0 1.4rem 1.4rem;
}
.blog-article-prose li { margin-bottom: 0.5rem; }
.blog-article-prose blockquote {
  background: #f8fafc;
  border: 1px solid rgba(44, 57, 71, 0.1);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.blog-article-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 57, 71, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog Dark Midnight Mode Overrides */
html[data-theme="dark"] .blog-page-section,
html[data-theme="dark"] .blog-post-section {
  background:
    radial-gradient(900px 500px at 80% 15%, rgba(24, 52, 88, 0.30) 0%, transparent 65%),
    linear-gradient(180deg, #060d18 0%, #0a1526 55%, #050b14 100%) !important;
  border-top: 1px solid rgba(194, 165, 109, 0.16);
  border-bottom: 1px solid rgba(194, 165, 109, 0.12);
}
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .blog-article-container,
html[data-theme="dark"] .blog-empty-state {
  background: linear-gradient(155deg, rgba(14, 24, 38, 0.92) 0%, rgba(8, 15, 26, 0.96) 100%);
  border-color: rgba(194, 165, 109, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .blog-card:hover {
  border-color: rgba(194, 165, 109, 0.48);
}
html[data-theme="dark"] .blog-count-pill {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(194, 165, 109, 0.25);
  color: #e2e8f0;
}
html[data-theme="dark"] .blog-cat-pill {
  background: rgba(194, 165, 109, 0.16);
  border-color: rgba(194, 165, 109, 0.35);
  color: #ECC880;
}
html[data-theme="dark"] .blog-card-title a,
html[data-theme="dark"] .blog-article-prose h2,
html[data-theme="dark"] .blog-article-prose h3,
html[data-theme="dark"] .blog-empty-state h3 {
  color: #f8fafc;
}
html[data-theme="dark"] .blog-card-title a:hover { color: #ECC880; }
html[data-theme="dark"] .blog-card-excerpt,
html[data-theme="dark"] .blog-article-lead,
html[data-theme="dark"] .blog-article-prose,
html[data-theme="dark"] .blog-empty-state p {
  color: #9AAFC4;
}
html[data-theme="dark"] .blog-author-mini { color: #D4BA8A; }
html[data-theme="dark"] .blog-card-footer,
html[data-theme="dark"] .blog-article-lead,
html[data-theme="dark"] .blog-article-footer {
  border-color: rgba(194, 165, 109, 0.14);
}
html[data-theme="dark"] .blog-article-prose blockquote {
  background: rgba(6, 12, 20, 0.72);
  border-color: rgba(194, 165, 109, 0.22);
  color: #cbd5e1;
}


/* ============================================================
   ARCHITECTURAL FLOATING NAV DOCK (Clean, Decluttered Header)
   ============================================================ */
.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 2rem);
}
.nav-pill-dock {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.45rem;
  border-radius: 40px;
  background: rgba(44, 57, 71, 0.05);
  border: 1px solid rgba(44, 57, 71, 0.09);
  margin: 0 auto;
}
.nav-pill-dock .nav-item {
  padding: 0.42rem 0.9rem;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all 0.25s var(--ease-out-expo);
}
.nav-pill-dock .nav-item::after,
.nav-pill-dock .nav-item.active::after {
  display: none !important;
}
.nav-pill-dock .nav-item:hover {
  background: rgba(194, 165, 109, 0.14);
  color: var(--color-bg-dark);
}
.nav-pill-dock .nav-item.active {
  background: #ffffff;
  color: var(--color-bg-dark) !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(13, 21, 32, 0.08);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Dark Midnight Mode for Nav Pill Dock & Contact Contrast */
html[data-theme="dark"] .nav-pill-dock {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(194, 165, 109, 0.18);
}
html[data-theme="dark"] .nav-pill-dock .nav-item {
  color: #cbd5e1;
}
html[data-theme="dark"] .nav-pill-dock .nav-item:hover {
  background: rgba(194, 165, 109, 0.14);
  color: #ffffff;
}
html[data-theme="dark"] .nav-pill-dock .nav-item.active {
  background: rgba(194, 165, 109, 0.20);
  color: #ECC880 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .desktop-nav a.btn-gold,
html[data-theme="dark"] .desktop-nav a.btn-gold.active {
  color: #0c0b07 !important;
}


/* ============================================================
   FOOTER FOLD-TYPE CREDIT CARD — EnovaWebSolution
   ============================================================ */
.footer-credit-bar {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(194, 165, 109, 0.14);
  display: flex;
  justify-content: center;
  align-items: center;
}
.enova-fold-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.85rem 0.72rem 1.35rem;
  background: linear-gradient(135deg, rgba(16, 28, 46, 0.94) 0%, rgba(8, 15, 26, 0.98) 100%);
  border: 1px solid rgba(194, 165, 109, 0.28);
  border-radius: 12px 0 12px 12px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}
.enova-fold-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(225deg, #05080c 49%, rgba(194, 165, 109, 0.55) 50%, rgba(194, 165, 109, 0.25) 100%);
  border-bottom-left-radius: 4px;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.enova-fold-card:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 165, 109, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 18px rgba(194, 165, 109, 0.14);
}
.enova-fold-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9AAFC4;
  letter-spacing: 0.2px;
}
.enova-fold-brand {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  background: linear-gradient(135deg, #FFF3DB 0%, #ECC880 45%, #C2A56D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

button.enova-fold-card {
  cursor: pointer;
  font-family: inherit;
}

/* EnovaWebSolution Contact Modal */
.enova-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.enova-modal-overlay[hidden] { display: none; }
.enova-modal-overlay.open { opacity: 1; }

.enova-modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 71, 0.12);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s var(--ease-out-expo);
}
.enova-modal-overlay.open .enova-modal-card {
  transform: translateY(0) scale(1);
}
.enova-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(44, 57, 71, 0.14);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.enova-modal-close:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}
.enova-modal-eyebrow {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-accent-gold);
  margin-bottom: 0.4rem;
}
.enova-modal-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--color-bg-dark);
  margin-bottom: 0.35rem;
}
.enova-modal-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.4rem;
}
.enova-modal-form .form-group { margin-bottom: 1rem; }
.enova-submit-btn { width: 100%; margin-top: 0.4rem; }
.enova-modal-status {
  font-size: 0.85rem;
  min-height: 1.2rem;
  margin-bottom: 0.5rem;
}
.enova-modal-status.success { color: #0d633b; font-weight: 500; }

html[data-theme="dark"] .enova-modal-card {
  background: linear-gradient(155deg, rgba(14, 24, 38, 0.98) 0%, rgba(7, 13, 23, 0.99) 100%);
  border-color: rgba(194, 165, 109, 0.28);
}
html[data-theme="dark"] .enova-modal-title { color: #f8fafc; }
html[data-theme="dark"] .enova-modal-sub { color: #9AAFC4; }
html[data-theme="dark"] .enova-modal-close {
  border-color: rgba(194, 165, 109, 0.25);
  color: #cbd5e1;
}
html[data-theme="dark"] .enova-modal-status.success { color: #86efac; }


/* ============================================================
   MOBILE & TABLET OPTIMIZATION (Cascade-Safe Final Overrides)
   ============================================================ */
html { scroll-behavior: smooth; }

@media (max-width: 960px) {
  .desktop-nav { display: none !important; }
  .header-mobile-actions { display: flex !important; }
  .hamburger { display: flex !important; }
  .page-banner { padding: 3.5rem 5% 3rem; }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .brand-name {
    font-size: 1.12rem;
  }
  .brand-subtitle {
    font-size: 0.52rem;
    letter-spacing: 0.75px;
  }
  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 1.8px;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .marquee-container {
    border-radius: 20px;
    padding: 1.25rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .institutes-marquee-section,
  .education-marquee-section {
    padding: 3.5rem 0 3.8rem;
  }
  .marquee-header {
    margin-bottom: 1.8rem;
  }
  .blog-card-body,
  .blog-article-container,
  .career-card,
  .expertise-detail-card,
  .contact-info-card,
  .contact-form-card {
    padding: 1.35rem;
  }
  .blog-card-footer,
  .blog-article-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .enova-modal-card {
    padding: 1.45rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .enova-fold-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 1.5rem 0.65rem 1.15rem;
  }
  .site-footer {
    padding: 3.5rem 5% 2.5rem;
  }
  .footer-inner {
    gap: 2rem;
  }
}
