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

body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #444;
  padding-bottom: 60px;
}

/* ── Nav ──────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
}

#top-nav {
  background: #ddd;
  padding: 10px;
  text-align: center;
  border-bottom: 5px solid #ccc;
}

.menus {
  display: inline-block;
  font-size: 18px;
  color: #f77d20;
  border-left: 2px solid #ccc;
  padding: 0 10px;
}

.menus:first-child {
  border-left: none;
}

.menus a {
  color: #555;
  text-decoration: none;
  padding-bottom: 12px;
}

.menus a:hover {
  color: #000080;
  border-bottom: 5px solid #f77d20;
}

#top-nav div:first-child {
  font-size: 22px;
}

#top-nav div:first-child span {
  color: #000;
}

/* ── Hero ─────────────────────────────────────────────────────── */

#hero {
  text-align: center;
  padding: 60px 20px 48px;
  background: #f9f9f9;
  border-bottom: 1px solid #e8e8e8;
}

#name {
  color: #777;
  font-size: 5em;
  font-weight: 700;
  line-height: 1.1;
}

#name span {
  color: #f77d20;
}

#job-title {
  font-size: 1.25em;
  color: #555;
  margin: 14px 0 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#desc {
  font-size: 15px;
  color: #859499;
  line-height: 1.8;
}

/* ── Content wrapper ──────────────────────────────────────────── */

#content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section headings ─────────────────────────────────────────── */

section {
  padding: 52px 0 0;
}

section h2 {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f77d20;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 28px;
}

/* ── About ────────────────────────────────────────────────────── */

#about p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ── Projects ─────────────────────────────────────────────────── */

.projects-list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: block;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 18px;
  color: #444;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  border-color: #f77d20;
  box-shadow: 0 8px 18px rgba(247, 125, 32, 0.08);
  transform: translateY(-1px);
}

.project-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.project-summary {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ── Skills / Tags ────────────────────────────────────────────── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 13px;
  color: #555;
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 5px 12px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tag:hover {
  background: #fff4ec;
  color: #f77d20;
  border-color: #f77d20;
}

/* ── Education ────────────────────────────────────────────────── */

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-entry {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.edu-degree {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.edu-school {
  font-size: 13px;
  color: #aaa;
}

/* ── Footer ───────────────────────────────────────────────────── */

#footer {
  border-top: 1px solid #e8e8e8;
  color: #bbb;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  margin-top: 64px;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 640px) {
  #name {
    font-size: 3em;
  }

  #job-title {
    font-size: 1.05em;
  }

  .menus {
    font-size: 14px;
    padding: 0 7px;
  }

  .edu-entry {
    flex-direction: column;
    gap: 2px;
  }

  #content {
    padding: 0 16px;
  }
}
