:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #2563eb;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
  transition: all 0.25s ease;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* NAVIGATION */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

.btn {
  background-color: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  background-color: #1d4ed8;
}

/* MAIN GRID */
.main-grid {
  display: flex;
  gap: 120px; /* space between left and right columns */
  width: 100%;
  margin-bottom: 48px;
}

/* LEFT COLUMN */
.left-column {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* RIGHT COLUMN */
.right-column {
  flex: 0 0 250px; /* fixed width for image + notes */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* PROFILE IMAGE */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* NOTES UNDER IMAGE */
.notes-links {
  width: 100%;
  text-align: left;
  background: rgba(37, 99, 235, 0.05);
  padding: 12px;
  border-radius: 6px;
  margin-top: 16px; /* added spacing below image */
}

.notes-links h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.notes-links ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.notes-links li {
  margin-bottom: 6px;
}

.notes-links a {
  color: var(--accent);
  text-decoration: none;
}

.notes-links a:hover {
  text-decoration: underline;
}

/* ABOUT / BACKGROUND SECTIONS */
.about h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-text {
  max-width: 100%;
  color: var(--muted);
  line-height: 1.6;
}

/* RESEARCH INTERESTS */
.interests {
  width: 100%;
  margin-bottom: 48px;
}

.interests h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-align: left; /* align with left-column */
}

.interests ul {
  display: flex;          /* arrange bullets horizontally */
  flex-wrap: wrap;        /* wrap to next line if needed */
  gap: 24px;              /* spacing between items */
  padding-left: 0;
  margin: 0;
  list-style: none;       /* remove default bullets */
}

.interests li {
  color: var(--muted);
  position: relative;
  padding-left: 16px;
}

.interests li::before {
  content: "•";           /* custom bullet */
  position: absolute;
  left: 0;
  color: var(--accent);
}


/* FOOTER */
footer {
  width: 100%;
  max-width: 900px; /* optional, match container */
  margin: 0 auto;   /* centers the footer block */
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .main-grid {
    flex-direction: column;
    align-items: center;
  }
  .right-column {
    width: 100%;
  }
  .notes-links {
    text-align: center;
  }
  .left-column {
    width: 100%;
  }
}

/* RESEARCH CARDS */
.research-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.research-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.research-card h2 {
  font-size: 1.2rem;
  margin: 0 0 6px 0;
}

.research-card .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 12px 0;
}

.research-card a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.research-card a:hover {
  text-decoration: underline;
}