* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
}
header {
  background: radial-gradient(circle at top left, #1e1e1e, #0f0f0f);
  padding: 6rem 2rem 2rem;
  text-align: center;
  position: relative;
}
.profile-img {
  width: 160px;
  height: 160px;
  margin: auto;
  background: url("./assets/mishan-raj-shah-head-of-it.jpg") no-repeat
    center/cover;
  border-radius: 50%;
  border: 5px solid #facc15;
  box-shadow: 0 0 0 5px #1e1e1e;
  margin-bottom: 1.5rem;
}
header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #facc15;
}
header p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #38bdf8;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 1rem;
  transition: 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.card h3 {
  margin-bottom: 1rem;
  color: #facc15;
  font-size: 1.2rem;
}
.tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags span {
  background: #334155;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #bae6fd;
}
.project-img {
  width: 100%;
  height: 180px;
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.project-img img {
  width: 100%;
  height: auto;
  transition: transform 6s linear;
  max-height: unset;
}
.project-img:hover img {
  transform: translateY(calc(-100% + 180px));
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #94a3b8;
}
footer {
  text-align: center;
  background: #1e1e1e;
  padding: 2rem;
  color: #64748b;
}
