* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #333;
}

nav {
  background: #333;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #f39c12;
}

.section {
  padding: 60px 20px;
  text-align: center;
}

.hero {
  background: #3498db;
  color: #fff;
  padding: 100px 20px;
}

.hero span {
  color: #f1c40f;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.skills-list span {
  background: #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-left: 4px solid #3498db;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #3498db;
  text-decoration: none;
}

form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
}

form button {
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #555;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
