* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(
    135deg,
    #020617,
    #0f172a,
    #111827
  );
  color: #f8fafc;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

nav h2 {
  color: #f59e0b;
}

nav a {
  color: #f8fafc;
  text-decoration: none;
  margin-left: 20px;
}

nav a:hover {
  color: #38bdf8;
}

.hero {
  text-align: center;
  padding: 80px 8%;
}

.profile-pic {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f59e0b;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 16px;
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.hero p {
  max-width: 750px;
  margin: 0 auto 30px;
  font-size: 20px;
  color: #cbd5e1;
}

.buttons {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  margin: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.primary {
  background: #f59e0b;
  color: #020617;
}

.secondary {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.card {
  max-width: 950px;
  margin: 30px auto;
  padding: 35px;
  background: #1e293b;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card h2 {
  color: #38bdf8;
  margin-top: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.skills-grid span {
  background: #0f172a;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #334155;
  transition: all 0.2s ease;
}

.skills-grid span:hover {
  background: #1e293b;
  transform: translateY(-3px);
}

.project {
  background: #0f172a;
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 18px;
  border-left: 4px solid #f59e0b;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.project h3 {
  margin-top: 0;
}

.tech {
  color: #38bdf8;
  font-weight: bold;
}

pre {
  background: #020617;
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  color: #f59e0b;
}

footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}