nav { 
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

nav ul li a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-image:
	linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7)),
	url('../../images/background.jpg');
  background-size: cover;        
  background-repeat: no-repeat;  
  background-attachment: fixed;  
  background-position: center;
  /* background-color: #f8f9fa;*/
  color: #333;
  line-height: 1.6;
}

header, section {
  padding: 0.6rem 2.0rem;
  max-width: 1000px;
  margin: auto;
}

h1, h2 {
  color: #2c3e50;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bio-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  gap: 2rem;
}

.bio-photo {
  flex: 0 0 200px;
  text-align: center;
}

.bio-photo img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
}

.social-icons a {
  color: #444;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

.bio-text {
  flex: 1;
  text-align: justify;
}

.bio-note {
  font-style: italic;
  color: #d63333;
  margin-top: 1.5rem;
}

.update-list, .education-block, .service-table, .award-table, .publication-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.education-block, .publication-block {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.education-logo {
  flex: 0 0 80px;
  text-align: center;
}

.education-logo img {
  width: 80px;
  height: auto;
}

.education-text {
  flex: 1;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

.edu-header .school {
  font-weight: bold;
}

.edu-header .duration {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
}

.publication-block li {
  margin-bottom: 0.8rem;
}
.publication-block .paper_title {
  color: #00435b;
  font-weight: 600;
  font-style: italic;
}

.publication-block .authors {
  color: #555;
}

.publication-block .venue {
  font-weight: bold;
  font-size: 0.9rem;
}

.service-table table, .award-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.service-table td, .award-table td {
  padding: 0.5rem;
  vertical-align: middle;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: rgba(255,255,255,0.9);
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  min-width: 180px;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0.4rem 1rem;
}

.dropdown-menu li a {
  color: #2c3e50;
  display: block;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

hr {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    align-items: center;
  }

  .bio-photo, .bio-text {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  nav hr {
  	color: #2c3e50; 
  }
}