header {
  background-color: #010b29;  /* dark background */
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  text-align: center;
  padding: 10px 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;  /* makes it circular */
  object-fit: cover;
  border: 3px solid #34495e;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;  /* keeps content centered */
  margin: 0 auto;
  padding: 15px 40px;
}

.logo {
  margin: 0;
  font-size: 1.4em;
  font-weight: bold;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 25px; /* equal spacing between links */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
}

nav a:hover {
  color: #f39c12;              /* gold hover effect */
  border-bottom: 2px solid #f39c12;
}

nav a.active {
  color: #f39c12;
  border-bottom: 2px solid #f39c12;
}

body {
  background-color: #eef0ef;  /* light gray-blue */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.home-section {
  padding: 50px 20px;
  background: #f9f9f9;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.home-text h1 {
  font-size: 2em;
  margin: 10px 0;
  color: #0e049e;
}
.academic-profile {
  background: #ffffff;
  padding: 50px 20px;
  margin: 30px 0;
  border-left: 6px solid #3498db;
  border-radius: 8px;
}

.academic-profile h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #02010c;
}

.academic-container p {
  margin: 8px 0;
  font-size: 1.1em;
  color: #0a0a0a;
}
#publications {
  background: #ffffff;
  padding: 50px 20px;
  margin: 30px 0;
  border-left: 6px solid #3498db;
  border-radius: 8px;
}

#publicationsh h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.research-category {
  margin-bottom: 25px;
}

.research-category h3 {
  color: #34495e;
  margin-bottom: 10px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.research-category span {
  color: #3498db;
}

.research-category ol {
  margin-left: 20px;
  line-height: 1.6;
  color: #333;
}

.research-category p {
  font-style: italic;
  color: #777;
}
#research-profiles {
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 40px 0;
}

#research-profiles h2 {
  margin-bottom: 25px;
  color: #2c3e50;
}

.profile-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ffffff;
  border: 2px solid #2c0af0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.profile-link img {
  width: 28px;
  height: 28px;
}

.profile-link:hover {
  background: #3498db;
  color: #fff;
  border-color: #00080e;
}
#teaching {
  background: #fdfdfd;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 40px 0;
  text-align: center;
}

#teaching h2 {
  margin-bottom: 20px;
  color: #020b5c;
}

.teaching-list {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
  text-align: left
}
#skills {
  background: #f9fcff;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 40px 0;
  text-align: center;
}

#skills h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: auto;
}

.skill {
  background: #3498db;
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
}

.skill:hover {
  background: #2c3e50;
  transform: scale(1.05);
}
.events-section {
    padding: 50px;
    background: #f9f9f9;
  }
  .events-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
  }
  .events-section h3 {
    margin-top: 30px;
    color: #0073e6;
  }
  .event-list {
    margin: 15px 0;
    padding-left: 20px;
  }
  .event-list li {
    margin-bottom: 10px;
    line-height: 1.6;
  }
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }

  .home-text h1 {
    font-size: 1.6em;
  }

  .skills-container {
    flex-direction: column;
    gap: 10px;
  }

  .skill {
    width: 80%;
    text-align: center;
  }

  .profile-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .home-text h1 {
    font-size: 1.4em;
  }

  nav a {
    font-size: 0.9em;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .skill {
    font-size: 14px;
    padding: 8px 14px;
  }
}