```css
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
}

html {
  scroll-behavior: smooth; /* Enable smooth scrolling for navigation */
}

header {
  background: #0a192f;
  color: white;
  padding: 20px;
  text-align: center;
}

nav a {
  margin: 0 15px;
  color: #8FADFA;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; /* Add transition for hover effect */
}

nav a:hover {
  color: #b3c7ff; /* Lighter shade for hover */
  transform: translateY(-2px); /* Subtle lift effect */
  text-decoration: underline; /* Retain existing hover underline */
}

section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.project {
  background: #fff;
  padding: 15px;
  margin: 10px 0;
  border-left: 5px solid #8FADFA;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover */
  border-radius: 8px; /* Match HTML styling */
}

.project:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.project a {
  color: #8FADFA;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

/* Skills section styling */
#skills {
  margin: 40px 0 20px; /* Top margin matches #projects, reduced bottom margin for tighter spacing */
}

#projects {
  margin: 40px 0; /* Ensure consistent top margin with #skills */
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding-top: 10px; /* Add small padding to align with header text baseline */
}

.skill {
  background: #f0f4ff; /* Light blue background to match theme */
  padding: 10px 20px;
  border-radius: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  animation: fadeIn 0.5s ease-in-out; /* Animation for skills */
  display: inline-flex; /* Ensure emoji and text align properly */
  align-items: center; /* Vertically center text and emoji */
}

.skill:hover {
  transform: scale(1.1); /* Slight scale-up on hover */
  background: #8FADFA; /* Match accent color */
  color: white;
}

/* Keyframe for skills animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  text-align: center;
  padding: 20px;
  background: #0a192f;
  color: white;
}

/* Ensure consistency with section headers */
h2 {
  text-align: center;
  margin-bottom: 20px; /* Consistent spacing below headers */
}

/* Responsive design */
@media (max-width: 600px) {
  nav a {
    margin: 0 10px;
    font-size: 14px; /* Smaller font for mobile */
  }

  .skills-list {
    flex-direction: column;
    align-items: center;
  }

  .project {
    padding: 10px; /* Slightly less padding on mobile */
  }

  section {
    padding: 20px 10px; /* Adjust padding for smaller screens */
  }
}
```
