/* --- BASE --- */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif}
body{background:#0f172a;color:#e5e7eb;line-height:1.8}
.section{max-width:1200px;margin:auto;padding:80px 24px}
.dark{background:#020617}

/* --- NAV --- */
.nav{display:flex;justify-content:space-between;max-width:1200px;margin:auto;padding:24px}
.nav ul{list-style:none;display:flex;gap:20px}
.logo span{color:#38bdf8}

/* --- HERO --- */
.hero{text-align:center;position:relative;overflow:hidden;padding:100px 24px}
.hero-img{width:160px;border-radius:50%;border:4px solid #38bdf8;margin-bottom:16px}
.hero-desc{max-width:700px;margin:20px auto}

/* --- HERO BACKGROUND --- */
.hero-bg img{
  position:absolute;
  width:60px;
  opacity:0.08;
  animation:float 20s linear infinite;
  pointer-events:none;
}
.l1{top:10%;left:10%}
.l2{top:30%;left:80%}
.l3{top:60%;left:20%}
.l4{top:80%;left:70%}
.l5{top:40%;left:50%}
.l6{top:20%;left:60%}
.l7{top:70%;left:40%}

@keyframes float{
  from{transform:translateY(0)}
  to{transform:translateY(-60px)}
}

/* --- SNAPSHOT --- */
.snapshot{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px;text-align:center}
.snapshot strong{color:#38bdf8;display:block}

/* --- SKILLS --- */
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.skill-card{background:#020617;padding:24px;border-radius:14px}

/* --- EXPERIENCE --- */
.timeline{border-left:3px solid #38bdf8;padding-left:24px}
.toggle-btn{background:none;border:none;color:#38bdf8;cursor:pointer}
.hidden{display:none}

/* --- PROJECT --- */
.project-card{background:#020617;padding:24px;border-radius:14px;margin-bottom:20px}

/* --- CERT BOOK --- */
.book{width:260px;height:160px;perspective:1000px;margin:auto}
.page{position:absolute;width:100%;height:100%;backface-visibility:hidden;transition:1s}
.page.flipped{transform:rotateY(-180deg)}

/* --- CHATBOT --- */
.chatbot-btn{position:fixed;bottom:100px;right:20px;background:#38bdf8;color:#020617;padding:14px;border-radius:50%;cursor:pointer}
.chatbot{position:fixed;bottom:160px;right:20px;width:280px;background:#020617;border-radius:14px;display:none}
.chat-header{padding:12px;font-weight:600}
.chat-body{padding:12px;height:180px;overflow-y:auto}
.chatbot input{width:100%;padding:10px;border:none}

/* --- FLOATING --- */
.float{position:fixed;bottom:20px;right:20px;padding:14px;border-radius:50%;color:#020617}
.wa{background:#22c55e}
.ph{background:#38bdf8;bottom:70px}

/* --- FOOTER --- */
.footer{text-align:center;padding:40px;background:#020617}
