* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #0e0e0e;
  color: #fff;
  scroll-behavior: smooth;
}

/* Navbar */
header {
  background: #1c1c1c;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  color: #00d8ff;
}

nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #00d8ff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.profile-img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background: #00d8ff;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
}

/* Sections */
section {
  padding: 60px 10%;
}

h2 {
  color: #00d8ff;
  margin-bottom: 20px;
  text-align: center;
}

/* Projects */
.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: #1e1e1e;
  padding: 20px;
  width: 300px;
  border-radius: 12px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  background: #2b2b2b;
}

/* Skills */
.skill {
  margin: 15px 0;
}

.skill span {
  display: block;
  margin-bottom: 5px;
}

.bar {
  background: #333;
  height: 10px;
  border-radius: 10px;
}

.bar div {
  height: 10px;
  background: #00d8ff;
  border-radius: 10px;
}

/* Contact */
.social-links a {
  color: #00d8ff;
  text-decoration: none;
  margin: 0 10px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 20px;
  color: #aaa;
  font-size: 14px;
}
section {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-in-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
