* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(-45deg, #0f172a, #1e293b, #111827, #0f172a);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: white;
  overflow-x: hidden;
}

@keyframes gradient {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* NAV */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.3);
  z-index: 10;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  text-align: center;
}

.profile-pic {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid white;
}

.hero h1 {
  font-size: 50px;
}

.hero h2 {
  margin-top: 10px;
  font-weight: 400;
  opacity: 0.8;
}

.buttons a {
  display: inline-block;
  margin: 20px 10px;
  padding: 12px 25px;
  border-radius: 30px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.buttons a:hover {
  background: #2563eb;
}

.section {
  padding: 120px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  margin-top: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.skill {
  margin: 20px 0;
  text-align: left;
}

.bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: #2563eb;
  transition: width 2s ease;
}

.progress.java { width: 95%; }
.progress.micro { width: 90%; }
.progress.aws { width: 85%; }
.timeline {
  border-left: 2px solid #2563eb;
  padding-left: 20px;
  margin-top: 40px;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: #2563eb;
  border-radius: 50%;
}
