body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}

/* NAV */

nav {
  background: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

nav a:hover {
  color: #2563eb;
}

/* HEADER */

header {
  background: #111827;
  color: white;
  text-align: center;
  padding: 70px 20px;
}

header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

header p {
  color: #d1d5db;
}

header a {
  display: inline-block;
  margin-top: 15px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: bold;
}

header a:hover {
  text-decoration: underline;
}

/* SECTIONS */

section {
  max-width: 900px;
  margin: auto;
  padding: 50px 20px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
}

.section-intro {
  text-align: center;
  color: #6b7280;
  margin-bottom: 25px;
}

/* PROJECT CARDS */

.project {
  background: white;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

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

.project h3 {
  margin-top: 0;
}

.tags {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.project a {
  display: inline-block;
  margin-top: 10px;
  color: white;
  background: #2563eb;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.project a:hover {
  background: #1e40af;
}

/* BLOG */

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

article {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

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

article h3 {
  color: #111827;
}

/* SMOOTH SCROLL */

html {
  scroll-behavior: smooth;
}