*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-navy: #0A2540;
  --color-white: #ffffff;
  --color-slate: #334155;
  --color-slate-light: #64748b;
  --color-section-bg: #f1f5f9;
  --color-primary: #0A2540;
  --color-primary-hover: #0f3460;
  --color-border: #e2e8f0;
  --font-family: 'Inter', sans-serif;
  --container-max: 1120px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  color: var(--color-slate);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ───────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-navy);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-white);
}

/* ── Hamburger ────────────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Animations ────────────────────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  background-color: var(--color-section-bg);
  padding: 80px 0 96px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-text h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-slate-light);
  margin-bottom: 24px;
}

.hero-summary {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex-shrink: 0;
}

.profile-photo {
  width: 320px;
  height: 320px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ── Sections ─────────────────────────────────────────── */

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-section-bg);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* ── About ────────────────────────────────────────────── */

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-slate);
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ── Timeline ─────────────────────────────────────────── */

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

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

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
  box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
}

.timeline-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-light);
  background-color: var(--color-section-bg);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.timeline-location {
  font-size: 0.9375rem;
  color: var(--color-slate-light);
  margin-bottom: 4px;
}

.timeline-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  background-color: #b45309;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-slate);
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-slate-light);
}

.timeline-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-slate);
  margin-top: 12px;
}

/* ── Education Grid ───────────────────────────────────── */

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.edu-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.edu-item {
  margin-bottom: 24px;
}

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

.edu-degree {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.edu-institution {
  font-size: 0.9375rem;
  color: var(--color-slate-light);
}

/* ── Status Highlight Box ─────────────────────────────── */

.status-highlight {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: 12px;
  padding: 32px;
}

.status-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.status-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.status-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

/* ── Skills ────────────────────────────────────────────── */

.skills-group {
  margin-bottom: 40px;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.1);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.skill-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.skill-card-text {
  font-size: 0.8125rem;
  color: var(--color-slate-light);
  line-height: 1.5;
}

.digital-health-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px 28px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.digital-health-card:hover {
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  border-color: var(--color-primary);
}

.digital-health-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.digital-health-link {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.digital-health-link:hover {
  color: #1d4ed8;
}

.digital-health-desc {
  font-size: 0.9375rem;
  color: var(--color-slate);
  line-height: 1.6;
}

.systems-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.system-tag {
  display: inline-block;
  background-color: #dbeafe;
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.system-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

/* ── Publications ──────────────────────────────────────── */

.pub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pub-item {
  background-color: var(--color-section-bg);
  border-radius: 10px;
  padding: 24px 28px;
  border-left: 4px solid var(--color-primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-left-color 0.3s ease;
}

.pub-item:hover {
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  transform: translateX(4px);
  border-left-color: #2563eb;
}

.pub-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.5;
  margin-bottom: 6px;
}

.pub-journal {
  font-size: 0.875rem;
  color: var(--color-slate-light);
  font-style: italic;
}

.pub-note {
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--color-slate-light);
  text-align: center;
}

/* ── Contact ───────────────────────────────────────────── */

.contact-section {
  background-color: var(--color-navy);
}

.section-title--light {
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.contact-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #93c5fd;
}

.contact-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  background-color: #061a30;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 24px 0;
  font-size: 0.8125rem;
}

.footer-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
}

/* ── Mobile Responsive ────────────────────────────────── */

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-navy);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-summary {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .section {
    padding: 56px 0;
  }

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

  .timeline {
    padding-left: 24px;
  }

  .timeline-dot {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .timeline-card {
    padding: 20px 24px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 8px;
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}
