*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: "Segoe UI", sans-serif;
}

html{
scroll-behavior:smooth;
}

/* Body */

body{
background:linear-gradient(135deg,#020617,#0f172a);
color:#e2e8f0;
line-height:1.7;
}

/* Header */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 10%;
background:rgba(15,23,42,0.9);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,0.08);
position:sticky;
top:0;
z-index:100;
}

header h1{
color:#38bdf8;
font-size:22px;
letter-spacing:1px;
}

/* Navbar */

nav a{
color:#cbd5f5;
text-decoration:none;
margin-left:28px;
font-weight:500;
position:relative;
transition:0.3s;
}

nav a:hover{
color:#38bdf8;
}

/* Underline animation */

nav a::after{
content:"";
position:absolute;
width:0%;
height:2px;
background:#38bdf8;
left:0;
bottom:-5px;
transition:0.3s;
}

nav a:hover::after{
width:100%;
}

/* Sections */

section{
padding:80px 10%;
}

h2{
color:#38bdf8;
font-size:30px;
margin-bottom:25px;
}

/* Hero */

.hero{
text-align:center;
padding:110px 20px;
background:linear-gradient(135deg,#1e293b,#020617);
}

.hero img{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;
border:4px solid #38bdf8;
margin-bottom:25px;
box-shadow:0 10px 30px rgba(0,0,0,0.6);
transition:0.4s;
}

.hero img:hover{
transform:scale(1.06);
}

.hero h2{
font-size:32px;
margin-bottom:15px;
}

.hero-sub{
opacity:0.9;
font-size:18px;
margin-bottom:25px;
}

/* Buttons */

.btn{
display:inline-block;
padding:12px 28px;
background:linear-gradient(135deg,#38bdf8,#0ea5e9);
color:#020617;
border-radius:30px;
font-weight:600;
text-decoration:none;
transition:0.3s;
box-shadow:0 6px 18px rgba(0,0,0,0.4);
}

.btn:hover{
transform:translateY(-4px);
box-shadow:0 12px 25px rgba(0,0,0,0.6);
}

/* Cards */

.card-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

/* Card */

.card{
background:rgba(30,41,59,0.8);
padding:25px;
border-radius:14px;
backdrop-filter:blur(8px);
border:1px solid rgba(255,255,255,0.08);
transition:0.35s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 12px 30px rgba(0,0,0,0.6);
}

.card h3{
color:#38bdf8;
margin-bottom:10px;
}

.card p{
opacity:0.9;
margin-bottom:10px;
}

/* Project Buttons */

.project-btn{
display:inline-block;
margin-top:8px;
padding:8px 16px;
background:#38bdf8;
color:#020617;
border-radius:20px;
font-size:14px;
text-decoration:none;
transition:0.3s;
}

.project-btn:hover{
background:#fb923c;
}

/* Resume */

.resume-content{
background:rgba(30,41,59,0.85);
padding:30px;
border-radius:14px;
border:1px solid rgba(255,255,255,0.08);
max-width:800px;
}

.resume-content h3{
color:#38bdf8;
margin-top:15px;
margin-bottom:8px;
}

.resume-content ul{
padding-left:20px;
}

.resume-content li{
margin-bottom:6px;
}

/* Lists */

ul{
list-style:none;
}

ul li{
margin-bottom:8px;
opacity:0.9;
}

/* Contact */

#contact{
text-align:center;
}

.contact-icons{
margin:25px 0;
}

.contact-icons a{
font-size:30px;
margin:0 15px;
color:#38bdf8;
display:inline-block;
transition:0.3s;
}

.contact-icons a:hover{
color:#fb923c;
transform:scale(1.3);
}

/* Footer */

footer{
text-align:center;
padding:25px;
background:#020617;
margin-top:40px;
border-top:1px solid rgba(255,255,255,0.08);
font-size:14px;
opacity:0.8;
}

/* Mobile */

@media(max-width:768px){

header{
flex-direction:column;
}

nav{
margin-top:10px;
}

nav a{
margin:10px;
}

.hero h2{
font-size:26px;
}

section{
padding:60px 6%;
}

}