*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui;
  background:#fff;
  color:#0f172a;
}

.container{
  max-width:820px;
  margin:auto;
  padding:80px 20px;
}

.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

h1{font-size:48px;margin:0}
h2{margin-top:60px}

.avatar{
  width:120px;height:120px;border-radius:50%;
}

.tags span{
  display:inline-block;
  border:1px solid #ddd;
  padding:6px 14px;
  border-radius:20px;
  margin:6px 6px 0 0;
  font-size:13px;
}

.timeline .item{
  margin:24px 0;
}

.timeline h3{margin-bottom:4px}
.timeline span{color:#64748b;font-size:14px}

.projects{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-top:20px;
}

.card{
  border:1px solid #eee;
  padding:20px;
  border-radius:14px;
  transition:.3s;
}
.card:hover{transform:translateY(-4px)}

.contact a{color:#7c3aed;text-decoration:none}

.exp-list{
  display:flex;
  flex-direction:column;
  gap:26px;
  margin-top:30px;
}

.exp-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  background:#fff;
  border:1px solid #eee;
  padding:18px 22px;
  border-radius:16px;
  transition:.3s;
}

.exp-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.exp-icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:800;
  font-size:18px;
  flex-shrink:0;
}

.exp-icon.purple{background:#7c3aed}
.exp-icon.green{background:#22c55e}
.exp-icon.blue{background:#3b82f6}
.exp-icon.orange{background:#f97316}

.exp-body{flex:1}

.exp-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.exp-head span{
  color:#64748b;
  font-size:13px;
}

.exp-logo{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:10px;
  border:1px solid #eee;
  padding:6px;
  background:#fff;
  flex-shrink:0;
}

.edu-list{
  display:flex;
  flex-direction:column;
  gap:24px;
  margin-top:24px;
}

.edu-card{
  display:flex;
  gap:18px;
  align-items:center;
  border:1px solid #eee;
  padding:18px 22px;
  border-radius:16px;
  background:#fff;
}

.edu-logo{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid #eee;
  padding:6px;
  background:#fff;
}

.edu-body h3{margin:0}
.edu-body span{
  font-size:13px;
  color:#64748b;
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
  margin-top:26px;
}

.work-card{
  border:1px solid #eee;
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:#fff;
  transition:.35s;
}

.work-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.work-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.work-body{
  padding:18px;
}

.work-body span{
  font-size:12px;
  color:#64748b;
}

.contact-section{
  margin-top:90px;
  padding:60px 40px;
  background:#fafafa;
  border-radius:28px;
  text-align:center;
}

.contact-sub{
  color:#64748b;
  margin-top:10px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:26px;
  margin-top:36px;
}

.contact-card{
  display:flex;
  gap:16px;
  align-items:center;
  padding:18px 22px;
  border:1px solid #eee;
  border-radius:18px;
  text-decoration:none;
  color:inherit;
  background:#fff;
  transition:.3s;
}

.contact-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

.contact-card img{
  width:38px;
}

.contact-section{
  text-align:center;
}

.contact-grid{
  justify-items:center;
}

.contact-card{
  width:100%;
  max-width:340px;
  margin:auto;
}

.contact-card div{
  text-align:left; /* keeps content readable while whole card stays centered */
}
