:root{
  --primary:#2563eb;
  --secondary:#1e293b;
  --accent:#38bdf8;
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#64748b;
  --border:#e5e7eb;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
 font-family:'Poppins',sans-serif;
 background:var(--bg);
 color:var(--text);
 line-height:1.7;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1120px,92%);margin:auto}
.section{padding:90px 0}
h1,h2,h3{color:var(--secondary);margin-bottom:1rem}
h2{text-align:center;font-size:2rem;margin-bottom:3rem}

header{
 position:sticky;top:0;z-index:1000;
 background:#ffffffee;
 backdrop-filter:blur(10px);
 border-bottom:1px solid var(--border);
}
header .container{
 display:flex;justify-content:space-between;
 align-items:center;padding:18px 0;
}
.logo{
 width:46px;height:46px;border-radius:50%;
 display:grid;place-items:center;
 background:var(--primary);color:#fff;font-weight:700;
}
nav{display:flex;gap:28px}
nav a{font-weight:500;transition:.3s}
nav a:hover{color:var(--primary)}

.hero{padding:90px 0;background:linear-gradient(135deg,#eff6ff,#fff)}
.hero-container{
 display:grid;grid-template-columns:320px 1fr;
 gap:60px;align-items:center;
}
.hero-image img{
 width:300px;height:300px;border-radius:50%;
 object-fit:cover;box-shadow:var(--shadow);
 border:8px solid #fff;
}
.welcome{color:var(--primary);font-weight:600}
.hero h1{font-size:3rem}
.hero h2{font-size:1.25rem;text-align:left;margin-bottom:1rem}
.description{max-width:650px;color:var(--muted)}
.buttons{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}
.btn{
 padding:12px 24px;border-radius:999px;
 transition:.3s;font-weight:600;
}
.btn-primary{background:var(--primary);color:#fff}
.btn-secondary{border:2px solid var(--primary);color:var(--primary)}
.btn:hover{transform:translateY(-3px);box-shadow:var(--shadow)}

.about{max-width:900px}
.about p{margin-bottom:1rem;color:var(--muted)}

.skills-grid,.projects-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
 gap:24px;
}
.skill-card,.project-card,.experience-card,.featured-project{
 background:var(--card);
 padding:28px;
 border-radius:var(--radius);
 box-shadow:var(--shadow);
 transition:.3s;
}
.skill-card:hover,.project-card:hover,.featured-project:hover,.experience-card:hover{
 transform:translateY(-6px);
}
.skill-card ul,.experience-card ul{
 padding-left:18px;
 margin-top:10px;
}
.experience-header{
 display:flex;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:10px;
}
.experience-date{color:var(--primary);font-weight:600;margin:10px 0}
.featured-project{
 border-left:6px solid var(--primary);
}
.tech{
 display:flex;
 flex-wrap:wrap;
 gap:10px;
 margin:20px 0;
}
.tech span{
 background:#dbeafe;
 color:#1e40af;
 padding:8px 14px;
 border-radius:999px;
 font-size:.9rem;
}
#contact a{color:var(--primary)}
footer{
 background:var(--secondary);
 color:#fff;
 text-align:center;
 padding:30px 0;
 margin-top:50px;
}
footer p{font-size:.95rem;color:#cbd5e1}

@media(max-width:900px){
 .hero-container{
  grid-template-columns:1fr;
  text-align:center;
 }
 .hero-image{display:flex;justify-content:center}
 .hero h2{text-align:center}
 .buttons{justify-content:center}
 .experience-header{flex-direction:column}
 nav{gap:14px;flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:600px){
 h1{font-size:2.2rem!important}
 h2{font-size:1.7rem}
 .section{padding:70px 0}
 header .container{flex-direction:column;gap:12px}
 nav{justify-content:center}
}