/* Global layout */
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

a:link,
a:visited {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  color: #1e40af;   /* slightly darker hover color */
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f8f9fb;
  color: #111;
}

/* Centered header layout */
.site-header {
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0 28px 0;
}

.header-centered {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.site-tagline {
  margin: 0;
  font-size: 1rem;
  color: #6b7280;
}

/* Centered navigation */
.nav-center {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

.nav-link {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #4b5563;
}

.nav-link:hover {
  background: #eef2ff;
  color: #111;
}

.nav-link.active {
  background: #2563eb;
  color: #fff;
}

/* Main container */
.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Profile card */
.profile-card {
  background: white;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* Centered profile layout */
.profile-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile photo */
.profile-photo-centered {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  margin-bottom: 16px;
}

/* Title under photo & section titles */
.intro-title,
section h2 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Intro paragraphs */
.intro-indent {
  text-align: justify;
  margin: 0 0 14px 0;
  padding: 0;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Generic section style */
section {
  max-width: 800px;
  margin: 20px auto;
  background: white;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* Footer */
footer {
  text-align: center;
  margin: 40px 0 20px;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Research Interests */
.interests-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.interests-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Contact List (text version, still used below CV link) */
.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contact-list li,
.contact-list a,
.contact-label {
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 600;
}

/* Logo-style contacts */
.contact-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon img {
  width: 50px;
  height: 50px;
  transition: transform 0.15s ease;
}

.contact-icon img:hover {
  transform: scale(1.05);
}

/* Responsive: Profile photo scales down on mobile */
@media (max-width: 640px) {
  .profile-photo-centered {
    width: 260px;
    height: 260px;
  }
}

/* CV section list */
.cv-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.cv-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;   /* same as your homepage */
  line-height: 1.55;
}

.cv-year {
  color: #6b7280;       /* subtle gray */
  font-size: 0.9rem;
}