* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: #ffffff;
  color: #0f172a;
  line-height: 1.7;
}

a {
  color: #2563eb;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.narrow {
  max-width: 700px;
}

.navbar {
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.logo span {
  color: #2563eb;
}

nav a {
  margin-left: 24px;
  font-weight: 500;
}

.hero {
  padding: 100px 0 80px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section {
  padding: 80px 0;
}

.section.light {
  background: #f8fafc;
}

.section h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  gap: 20px;
}

.skills {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.skills div {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
}

.projects {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 12px;
  background: white;
}

.card h4 {
  margin-bottom: 10px;
}

.card button {
  margin-top: 15px;
  padding: 8px 14px;
  border: none;
  background: #2563eb;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.experience {
  margin-bottom: 25px;
}

footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: #2563eb;
  color: white;
  border-radius: 6px;
  font-weight: 500;
}
.project-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}
.project-links a {
  margin-right: 12px;
  font-size: 14px;
  font-weight: 500;
}
.project-links {
  margin-top: 15px;
}

.project-links .btn {
  margin-right: 10px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img img {
  width: 100%;
  max-width: 350px;
}

.about-text {
  max-width: 600px;
}
.achievements,
.certifications,
.education {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.certifications .card,
.achievements .card,
.education .card {
  min-height: 180px;
}

.experience p,
.card p {
  margin-top: 8px;
}
