body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:black;
color:white;
scroll-behavior:smooth;
padding-top:80px;
}

/* =========================
3D CANVAS BACKGROUND
========================= */

#canvas-container{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}

/* =========================
NAVBAR
========================= */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
display:flex;
align-items:center;
justify-content:center;
padding:15px 20px;
background:rgba(0,0,0,0.85);
backdrop-filter:blur(8px);
z-index:1000;
}

/* DESKTOP NAV LINKS */

.nav-links{
display:flex;
gap:25px;
list-style:none;
margin:0;
padding:0;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:500;
transition:0.2s;
}

.nav-links a:hover

/* =========================
MOBILE MENU ICON
========================= */

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
position:fixed;
top:18px;
left:18px;
z-index:1200;
}

/* =========================
MOBILE NAVIGATION
========================= */

@media(max-width:768px){

.menu-toggle{
display:block;
}

.nav-links{
position:absolute;
top:65px;
left:10px;
width:200px;
background:rgba(0,0,0,0.95);
flex-direction:column;
align-items:flex-start;
gap:15px;
display:none;
padding:20px;
border-radius:8px;
box-shadow:0 10px 30px rgba(0,0,0,0.6);
}

.nav-links.active{
display:flex;
}

.nav-links a{
width:100%;
}

}

/* =========================
HEADER
========================= */

header{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
}

.title{
font-size:60px;
margin-bottom:10px;
}

.subtitle{
opacity:0.8;
margin:4px 0;
}

.btn{
margin-top:20px;
padding:14px 28px;
background:#00ffff;
color:black;
text-decoration:none;
border-radius:30px;
font-weight:bold;
transition:0.3s;
}

.btn:hover{
transform:scale(1.05);
}

/* =========================
SECTIONS
========================= */

section{
padding:120px 10%;
text-align:center;
}

/* =========================
SKILLS
========================= */

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.skill{
background:#111;
padding:20px;
border-radius:10px;
transition:0.3s;
}

.skill:hover{
background:#00ffff;
color:black;
transform:translateY(-3px);
}

/* =========================
PROJECTS
========================= */

.projects-container{
display:flex;
gap:30px;
justify-content:center;
flex-wrap:wrap;
}

.card{
background:#111;
padding:25px;
border-radius:10px;
width:250px;
transition:0.3s;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,255,255,0.2);
}

/* =========================
CHAT BUBBLE
========================= */

#chat-bubble{
position:fixed;
bottom:25px;
right:25px;
width:60px;
height:60px;
background:#00ffff;
color:black;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:28px;
cursor:pointer;
box-shadow:0 10px 30px rgba(0,0,0,0.5);
transition:0.2s;
}

#chat-bubble:hover{
transform:scale(1.1);
}

/* =========================
CHAT WINDOW
========================= */

#chat-widget{
position:fixed;
bottom:100px;
right:25px;
width:330px;
background:rgba(20,20,20,0.9);
backdrop-filter:blur(10px);
border-radius:12px;
display:none;
overflow:hidden;
box-shadow:0 10px 40px rgba(0,0,0,0.6);
}

/* CHAT HEADER */

#chat-header{
background:#00ffff;
color:black;
padding:10px 15px;
display:flex;
justify-content:space-between;
font-weight:bold;
}

/* CHAT BODY */

#chat-body{
height:260px;
overflow-y:auto;
padding:12px;
font-size:14px;
}

/* CHAT INPUT */

#chat-input{
display:flex;
border-top:1px solid #333;
}

#chat-input input{
flex:1;
padding:10px;
background:#222;
border:none;
color:white;
outline:none;
}

#chat-input button{
background:#00ffff;
border:none;
padding:10px 16px;
cursor:pointer;
}

/* CHAT MESSAGES */

.message-user{
text-align:right;
margin:6px 0;
}

.message-ai{
color:#00ffff;
margin:6px 0;
}

.loading{
opacity:0.6;
font-style:italic;
}
