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

body {
  scroll-behavior: smooth;
  color: #333;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}

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

nav a {
  text-decoration: none;
  color: #333;
}

.logo {
  font-weight: bold;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(to right, #111, #333);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #00c6ff;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
}

.btn:hover {
  background: #0072ff;
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: auto;
}

.section.alt {
  background: #f5f5f5;
}

/* CARDS */
.card {
  background: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

/* SKILLS */
.skill {
  margin-top: 20px;
}

.bar {
  background: #ddd;
  height: 8px;
  border-radius: 5px;
}

.bar div {
  height: 100%;
  background: #0072ff;
  border-radius: 5px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}