/* Custom tooltip for .btn */
.btn[data-tooltip] {
  position: relative;
}
.btn[data-tooltip]::after {
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  white-space: nowrap;
  font-size: 14px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: opacity 0.2s;
}
.btn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  opacity: 1;
}
:root{
  --bg-gradient: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%);
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.6);
  --accent: linear-gradient(135deg,#6dd5fa 0%, #2980b9 100%);
  --muted:#6b7280;
  --card-radius:14px;
  --glass-blur:12px;
  --shadow: 0 6px 24px rgba(16,24,40,0.08);
}

/* Page baseline */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0;
  background:var(--bg-gradient);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  color:#0f172a;
  padding:36px 20px;
  display:flex;
  justify-content:center;
}

/* container */
.container{
  width:100%;
  max-width:980px;
  margin:0 auto;
  display:block;
  gap:24px;
}

/* glass profile header */
.profile-card{
  display:flex;
  gap:20px;
  align-items:center;
  padding:20px;
  border-radius:20px;
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  box-shadow:var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(130%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%);
  animation: fadeUp .6s ease both;
}

/* avatar */
.avatar{
  width:88px;
  height:88px;
  border-radius:14px;
  overflow:hidden;
  flex:0 0 88px;
  border:1px solid rgba(2, 0, 9, 0.5);
  box-shadow: 0 6px 18px rgba(36, 40, 48, 0.06);
}
.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* header text */
.profile-info h1{
  margin:0 0 6px 0;
  font-size:28px;
  letter-spacing: -0.3px;
}
.headline{margin:0;color:var(--muted);font-weight:500}

/* action links */
.actions{margin-top:10px;display:flex;gap:12px;align-items:center}
.btn{
  background:linear-gradient(90deg,#0ea5e9,#0066cc);
  color:white;padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:600;
  box-shadow:0 6px 18px rgba(14,165,233,0.18);
  transition:transform .2s ease,box-shadow .2s ease;
}
.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(14,165,233,0.25);
}
.simple-link{color:#0b66ff;text-decoration:none;font-weight:600}
.simple-link:hover{text-decoration:underline}

/* layout sections */
.grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
}
.grid > .card {
  flex: 1;
}

/* cards */
.card{
  background:var(--glass-bg);
  border-radius:var(--card-radius);
  padding:16px;
  border:1px solid var(--glass-border);
  box-shadow:var(--shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
  animation: fadeUp .6s ease both;
}
.card:hover{
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* project cards list */
.project-list{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.project-item{
  display:flex;justify-content:space-between;align-items:center;padding:12px;
  border-radius:10px;
  border:1px solid rgba(11,66,255,0.06);
  background:linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.35));
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-decoration:none;color:inherit;
}
.project-item:hover{
  transform:translateY(-4px);
  background: rgba(255,255,255,0.65);
  box-shadow:0 12px 36px rgba(11,66,255,0.1);
}
.project-item .meta{font-size:13px;color:var(--muted)}

/* responsive */
@media (max-width:880px){
  .grid{grid-template-columns: 1fr}
  .profile-card{flex-direction:row;gap:14px}
  .avatar{width:72px;height:72px;border-radius:12px}
}

/* hover link underline effect */
.link-underline{
  position:relative;color:#0b66ff;text-decoration:none;font-weight:600;
}
.link-underline::after{
  content:"";position:absolute;left:0;bottom:-3px;height:2px;width:100%;background:linear-gradient(90deg,#0ea5e9,#0066cc);transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
}
.link-underline:hover::after{transform:scaleX(1)}

/* subtle page animation */
@keyframes fadeUp{
  from{opacity:0; transform:translateY(12px)}
  to{opacity:1; transform:translateY(0)}
}

/* small footer */
footer{
  margin-top:28px;
  color:var(--muted);
  font-size:13px;
}

.simple-link i {
  font-size: 22px; /* bigger icon */
  color: #0a66c2; /* LinkedIn blue */
}
.simple-link i:hover {
  color: #084182; /* darker on hover */
}
.label {
  display: inline-block;
  margin-bottom: 2px;
}
.qualifications-card {
  margin-top: 20px;
}
.qualifications-card ul li {
  margin-bottom: 10px;
}