/* Base */
:root {
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-600: #1e40af;
  --border: #e5e7eb;
  --chip-bg: #eef2ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 70%);
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--card);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}
.name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.education {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.tagline {
  color: var(--accent-600);
  font-weight: 600;
  margin: 0;
}

/* Content Section */
.content {
  padding: 28px 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.05);
  transition: all 0.2s ease-in-out;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.card h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card h2 i {
  color: var(--accent);
  margin-right: 8px;
}

.about p {
  margin: 0;
  line-height: 1.7;
  color: #111827;
}

/* Skill Chips */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  background: var(--chip-bg);
  color: var(--accent-600);
  border: 1px solid #dbeafe;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

/* Bullet Lists */
.bullets {
  padding-left: 18px;
}
.bullets li {
  margin: 6px 0;
  color: #111827;
}

/* Experience & Education */
.item {
  margin-bottom: 14px;
}
.item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.role {
  font-weight: 700;
}
.org {
  color: var(--muted);
  font-weight: 600;
}
.item-desc {
  margin: 0;
  color: #111827;
  font-size: 14px;
}

/* Links */
.links {
  list-style: none;
}
.links li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.links a {
  color: var(--accent-600);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}
.links a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 10px 0 30px;
  color: #6b7280; /* slightly darker gray */
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .avatar {
    width: 80px;
    height: 80px;
  }
  .name {
    font-size: 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
