:root{
  --bg:#0b0f17;
  --panel:#111827;
  --panel2:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --line:rgba(255,255,255,.08);
  --accent:#60a5fa;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(96,165,250,.25), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(34,197,94,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

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

.nav{
  position:sticky; top:0; z-index:10;
  background: rgba(11,15,23,.7);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; height:64px;}
.brand{font-weight:700; letter-spacing:.2px}
.links{display:flex; gap:16px; align-items:center}
.links a{color:var(--muted); text-decoration:none; font-weight:600}
.links a:hover{color:var(--text)}

.hero{padding:80px 0 30px}
.badge{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--line);
  background:rgba(17,24,39,.6);
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
}
h1{font-size:44px; line-height:1.08; margin:18px 0 10px; max-width:900px;}
.sub{max-width:720px; color:var(--muted); font-size:18px; line-height:1.6}

.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.btn{
  border:1px solid var(--line);
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}
.btn.primary{
  background:linear-gradient(135deg, rgba(96,165,250,.95), rgba(34,197,94,.55));
  border:0;
}
.btn.ghost{background:rgba(17,24,39,.6)}
.btn:hover{transform:translateY(-1px)}
.chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.chips span{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(17,24,39,.35);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.section{padding:55px 0}
.section.alt{background:rgba(17,24,39,.35); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
h2{margin:0 0 18px; font-size:28px}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 900px){ .grid{grid-template-columns:1fr} h1{font-size:36px} }

.card{
  padding:18px;
  border:1px solid var(--line);
  background:rgba(17,24,39,.55);
  border-radius:18px;
}
.card h3{margin:0 0 8px}
.muted{color:var(--muted)}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.6}
.card-links{margin-top:14px}
.card-links a{color:var(--accent); font-weight:800; text-decoration:none}
.card-links a:hover{text-decoration:underline}

.two{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width: 900px){ .two{grid-template-columns:1fr} }
.mini{
  padding:16px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.55);
  border-radius:18px;
}

.footer{padding:26px 0; border-top:1px solid var(--line)}

.hero-avatar{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.avatar{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* ===== Projects: one below another ===== */
.project-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-list .card{
  max-width: 100%;
}


/* ===== Certifications ===== */
.cert-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cert-card{
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: 18px;
  text-align: center;
}

.cert-card img{
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.cert-card h4{
  font-size: 15px;
  color: var(--text);
}

/* ===== Certifications (click to view) ===== */
.cert-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.cert-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease;
}

.cert-item:hover{
  transform: translateY(-2px);
  border-color: rgba(96,165,250,.6);
}

.cert-title{
  font-weight: 700;
  font-size: 15px;
}

.cert-action{
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

/* ===== Hero Title Animation ===== */
.hero-title{
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 8px 0 4px;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse{
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; } 
}

.hero-tagline{
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ===== Hero Contact Info ===== */
.hero-contact{
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.hero-contact a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-contact span{
  margin: 0 8px;
}
