* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #05070f;
  color: white;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #00e5ff;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar a {
  color: #00e5ff;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover {
  text-shadow: 0 0 10px cyan;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 span {
  color: #00ffcc;
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 20px;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

section.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border: 1px solid #00e5ff;
  border-radius: 12px;
  transition: 0.4s;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px cyan;
}

/* ===== SKILLS ===== */
.skill {
  margin: 10px 0;
}

.bar {
  width: 100%;
  height: 10px;
  background: #222;
  border-radius: 5px;
}

.fill {
  height: 10px;
  background: cyan;
  width: 70%;
  border-radius: 5px;
}

/* ===== CONTACT LINKS ===== */
a {
  color: #00ffcc;
}

/* ===== PARTICLES CANVAS ===== */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
