* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111;
  background: #fafafa;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: auto;
}

/* Header */
header {
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

nav a:hover {
  color: #000;
}

/* Hero */
.hero {
  padding: 80px 0;
}

.hero h2 {
  font-size: 2.3rem;
}

.hero span {
  border-bottom: 3px solid #000;
}

.hero p {
  margin-top: 10px;
  color: #666;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  margin-bottom: 25px;
}

/* Skills */
.skills {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill span {
  display: block;
  margin-bottom: 5px;
}

.bar {
  width: 100%;
  height: 8px;
  background: #e5e5e5;
  border-radius: 5px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: #111;
  width: 0;
  transition: width 1s ease;
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  color: #777;
}

/* Animation */
.hidden {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
}

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