html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* 🧠 this fixes the scroll alignment issue */
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 90px;
  background-color: #090c29;  /* ✅ slightly brighter black */
  color: #e0e0e0;
}

header {
  background-color: #1e1e1e;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

.nav-left .your-name {
  color: #ffffff;
  font-size: 28px;     /* ✅ Bigger font */
  font-weight: 800;    /* ✅ Extra bold */
  letter-spacing: 1px; /* ✅ More space between letters */
  padding: 30px 0;
}

.nav-right ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 30px 0;
}

.nav-right ul li {
  margin: 0 20px;
}

.nav-right ul li a {
  color: #ffffff;
  text-decoration: none;
}

.nav-right ul li a:hover {
  text-decoration: none;
  color: #00bfff;
}

section {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
  min-height: 100vh;
  background-color: #090c29;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.portfolio-item {
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
  max-width: 650px;      /* ✅ Match image width */
  margin: 0 auto;        /* ✅ Center container */
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 500px;
  object-fit: cover;
}



.portfolio-item p {
  margin: 10px 0;
  color: #ffffff;
  font-weight: bold;
}
