*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
line-height:1.6;

--bg: linear-gradient(90deg,#212121 0%,#223D5C 100%);
--surface:#0f1720;
--accent:#1f6fbf;
--accent-2:#2b81ff;
--muted:#b9c6d3;
--card:#0c1216;

color:var(--muted);
background:var(--bg);
background-attachment:fixed;
background-repeat:no-repeat;
}

/* Navigation */

nav{
background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(0,0,0,0.15));
backdrop-filter:blur(4px);
padding:1rem 0;
position:sticky;
top:0;
box-shadow:0 6px 18px rgba(2,6,12,0.6);
text-align:center;
}

nav a{
color:white;
text-decoration:none;
margin:0 1.5rem;
transition:color .3s;
}

nav a:hover{
color:var(--accent-2);
}

/* Container */

#container{
max-width:1100px;
margin:auto;
padding:2rem 1rem;
}

/* Header */

header{
text-align:center;
padding:3rem 0;
margin-bottom:2rem;
}

header h1{
font-size:2.6rem;
color:var(--accent-2);
margin-bottom:.5rem;
}

header p{
font-size:1.1rem;
color:#9fb0bf;
margin-bottom:1rem;
}

/* Sections */

section{
background:linear-gradient(180deg,var(--card),rgba(18,24,30,0.9));
padding:2rem;
margin-bottom:2rem;
border-radius:10px;
box-shadow:0 8px 30px rgba(2,6,12,0.6);
}

section h2{
position:relative;
padding-bottom:.5rem;
margin-bottom:1rem;
}

section h2::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:120px;
height:3px;
background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

/* Projects */

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:1.5rem;
}

.project{
background:rgba(255,255,255,0.02);
padding:1.5rem;
border-left:4px solid var(--accent);
border-radius:8px;
transition:transform .25s,box-shadow .25s;
display:flex;
flex-direction:column;
}

.project:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

.project h3{
color:var(--accent-2);
margin-bottom:.4rem;
}

.project p{
color:#9aaec0;
margin-bottom:1rem;
font-size:.95rem;
}

/* Project images (FIX) */

.project-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:6px;
margin-bottom:1rem;
display:block;
}

/* Buttons */

button,a.btn{
background:linear-gradient(180deg,var(--accent),var(--accent-2));
color:white;
padding:.7rem 1.4rem;
border:none;
border-radius:6px;
cursor:pointer;
text-decoration:none;
transition:transform .18s,box-shadow .18s;
display:inline-block;
box-shadow:0 6px 18px rgba(45,100,180,0.12);
}

button:hover,a.btn:hover{
transform:translateY(-3px);
box-shadow:0 10px 30px rgba(30,80,150,0.25);
}

/* Contact */

form{
display:flex;
flex-direction:column;
}

input,textarea{
padding:.8rem;
margin-bottom:1rem;
border:1px solid rgba(255,255,255,0.06);
border-radius:5px;
font-family:inherit;
font-size:1rem;
background:#111;
color:white;
}

input:focus,textarea:focus{
outline:none;
border-color:var(--accent-2);
box-shadow:0 0 10px rgba(43,129,255,0.12);
}

/* Footer */

footer{
background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(0,0,0,0.2));
text-align:center;
padding:2rem;
margin-top:2rem;
}

/* Skills section (using same pill style as original style.css) */

.skills-section .skills-list, header .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
    padding-top: 0.6rem;
}
.skills-section .skill, header .skill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    color: #e6f3ff;
    min-width: 80px;
    text-align: center;
    box-shadow: inset 0 -6px 14px rgba(0,0,0,0.45), 0 8px 20px rgba(2,6,12,0.55);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.skills-section .skill h3, header .skill h3 {
    margin: 0;
    font-size: 0.9rem;
}

/* hover state */
.skills-section .skill:hover, header .skill:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.03));
    box-shadow: 0 12px 30px rgba(15,40,80,0.25), inset 0 -2px 8px rgba(255,255,255,0.02);
}

/* Profile image */

.profile-image{
width:150px;
height:150px;
border-radius:50%;
object-fit:cover;
margin-bottom:1rem;
box-shadow:0 6px 18px rgba(2,6,12,0.6);
}

/* Responsive */

@media(max-width:768px){

header h1{
font-size:2rem;
}

nav a{
margin:0 .7rem;
font-size:.9rem;
}

section{
padding:1.5rem;
}

.project-image{
height:160px;
}

}