/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}

header {
  background: #2d3e50;
  color: #fff;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-list a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2d3e50;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.skills li {
  background: #e3eaf2;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background: #2d3e50;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #1a2533;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background: #e3eaf2;
  color: #222;
  margin-top: 2rem;
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .profile-img {
    width: 180px;
    height: 180px;
  }
  main {
    padding: 2rem 3rem;
  }
}