/* 1) Basic reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f7fb;
  color: #111;
  line-height: 1.6;
}

/* 2) Container (keeps content centered) */
.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

/* 3) Header area */
.site-header {
  background: #0b2a5b;
  color: white;
  padding: 18px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.2);
  font-weight: bold;
}
.site-title { margin: 0; font-size: 20px; }
.site-subtitle { margin: 0; font-size: 14px; opacity: 0.9; }

/* 4) Navigation bar */
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.nav-link {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
}
.nav-link:hover { background: rgba(255,255,255,0.12); }
.nav-link.active { background: rgba(255,255,255,0.18); }

/* 5) Cards (white boxes) */
.card {
  background: white;
  border: 1px solid #e6e8f0;
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}
.muted { color: #555; }

/* 6) Skills chips */
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #eef2ff;
  border: 1px solid #dbe2ff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
}

/* 7) Lists */
.list { margin: 10px 0 0; padding-left: 18px; }

/* 8) Contact form */
.field label { display: block; font-weight: bold; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #cfd6ea;
  font-size: 15px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn {
  display: inline-block;
  background: #0b2a5b;
  color: white;
  border: 1px solid #0b2a5b;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

/* 9) Footer */
.site-footer {
  background: white;
  border-top: 1px solid #e6e8f0;
  padding: 18px 0;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link { color: #0b2a5b; font-weight: bold; text-decoration: none; }
.social-link:hover { text-decoration: underline; }

/* 10) Mobile responsive */
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
}
.profile-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}
