/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Navigation Bar */
.navbar {
  background-color: #2c3e50;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #3498db;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #3498db;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.section {
  margin: 4rem 0;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

.section:last-of-type {
  border-bottom: none;
}

.section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.section h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #34495e;
}

.section p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* Links */
.link {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Publication Items */
.publication-item {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #3498db;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pub-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.pub-authors {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.pub-venue {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Publication Links */
.pub-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pub-links a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #ecf0f1;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* CV Items */
.cv-item {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid #27ae60;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cv-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 0;
}

.cv-org {
  color: #555;
  margin-bottom: 0.3rem;
}

.cv-date {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
}

/* Skills List */
.skills-list {
  list-style: none;
  margin-left: 0;
}

.skills-list li {
  background-color: #ecf0f1;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  color: #2c3e50;
}

/* Project Items */
.project-item {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.project-item p {
  margin-bottom: 0.8rem;
}

/* Technology Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-tag {
  background-color: #e74c3c;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.footer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .section h1 {
    font-size: 2rem;
  }

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

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .section {
    margin: 2rem 0;
    padding: 1rem 0;
  }
}
