/* ========================= */
/* RESET */
/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f9ff;
    color:#222;
    overflow-x:hidden;
}

/* ========================= */
/* LOADER */
/* ========================= */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:white;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:99999;
}

.spinner{
    width:70px;
    height:70px;
    border-radius:50%;
    border:8px solid #dbeafe;
    border-top:8px solid #2563eb;
    animation:spin 1s linear infinite;
    margin-bottom:20px;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/* ========================= */
/* NAVBAR */
/* ========================= */

header{

position:fixed;
top:0;
left:0;
width:100%;
padding:18px 8%;
backdrop-filter:blur(15px);
background:rgba(255,255,255,.7);
box-shadow:0 5px 20px rgba(0,0,0,.08);
z-index:1000;

}

nav{

display:flex;
justify-content:space-between;
align-items:center;

}

.logo{

font-size:28px;
font-weight:700;
color:#2563eb;

}

nav ul{

display:flex;
list-style:none;
gap:30px;

}

nav ul li a{

text-decoration:none;
color:#222;
font-weight:500;
transition:.3s;

}

nav ul li a:hover{

color:#2563eb;

}

/* ========================= */
/* HERO */
/* ========================= */

.hero{

height:100vh;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 8%;
background:linear-gradient(135deg,#0f172a,#1e3a8a,#1d4ed8);

}

.hero-left{

width:50%;
color:white;

}

.hero-left h1{

font-size:60px;
margin:10px 0;

}

.hero-left h2{

font-size:32px;
margin-bottom:20px;
height:45px;

}

.hero-left p{

line-height:1.8;

}

.hero-right{

width:45%;
display:flex;
justify-content:center;

}


/* ========================= */
/* BUTTON */
/* ========================= */

.btn{

display:inline-block;
margin-top:30px;
padding:14px 35px;
background:white;
color:#2563eb;
text-decoration:none;
font-weight:600;
border-radius:50px;
transition:.3s;

}

.btn:hover{

background:#1d4ed8;
color:white;
transform:translateY(-5px);

}

/* ========================= */
/* SECTION */
/* ========================= */

section{

padding:100px 8%;

}

.title{

text-align:center;
font-size:42px;
color:#2563eb;
margin-bottom:50px;

}

/* ========================= */
/* ABOUT */
/* ========================= */

/* ===========================
   ABOUT PREMIUM
=========================== */

#about{

background:#f7f9ff;

}

.about-wrapper{

display:grid;
grid-template-columns:1.5fr 1fr;
gap:60px;

background:#fff;

padding:55px;

border-radius:30px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

align-items:center;

}

.about-small{

font-size:24px;
font-weight:600;
color:#333;

}

.about-content h2{

font-size:52px;

color:#2563eb;

margin:15px 0;

line-height:1.2;

}

.about-role{

display:inline-flex;

align-items:center;

gap:10px;

padding:12px 18px;

background:#eef4ff;

border-radius:12px;

color:#2563eb;

font-weight:600;

margin-bottom:30px;

}

.about-content p{

font-size:17px;

line-height:1.9;

margin-bottom:22px;

color:#555;

}

.about-tags{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:18px;

margin-top:35px;

}

.tag{

display:flex;

align-items:center;

gap:12px;

padding:18px;

background:#f8f9ff;

border-radius:15px;

font-weight:600;

transition:.3s;

}

.tag:hover{

transform:translateY(-5px);

box-shadow:0 10px 20px rgba(37,99,235,.15);

}

.tag i{

color:#2563eb;

font-size:24px;

}

.about-image{

display:flex;

justify-content:center;

}

.photo-box{

width:420px;

height:520px;

background:linear-gradient(180deg,#f7f4ff,#ffffff);

border-radius:30px;

display:flex;

justify-content:center;

align-items:flex-end;

overflow:hidden;

position:relative;

}

.photo-box::before{

content:"";

position:absolute;

width:320px;

height:320px;

background:#7c5cff;

border-radius:50%;

bottom:40px;

filter:blur(0px);

opacity:.9;

}

.photo-box img{

position:relative;

width:320px;

z-index:2;

}

@media(max-width:992px){

.about-wrapper{

grid-template-columns:1fr;

text-align:center;

}

.about-role{

justify-content:center;

}

.about-tags{

grid-template-columns:1fr;

}

.photo-box{

width:100%;

max-width:380px;

height:450px;

margin:auto;

}

.about-content h2{

font-size:40px;

}

}

/* ========================= */
/* SKILLS */
/* ========================= */

.skill-box{

max-width:850px;
margin:auto;

}

.skill{

margin-bottom:25px;

}

.bar{

background:#dbeafe;
height:15px;
border-radius:30px;
overflow:hidden;
margin-top:10px;

}

.progress{

height:100%;
border-radius:30px;
background:linear-gradient(90deg,#2563eb,#60a5fa);

}

.html{

width:95%;

}

.css{

width:90%;

}

.js{

width:82%;

}

.python{

width:88%;

}

.java{

width:80%;

}

/* ========================= */
/* PROJECT */
/* ========================= */

.project-container{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;

}

.card{

background:white;
padding:35px;
border-radius:20px;
box-shadow:0 20px 35px rgba(0,0,0,.08);
transition:.3s;

}

.card:hover{

transform:translateY(-12px);
box-shadow:0 30px 45px rgba(37,99,235,.25);

}

.card h3{

margin-bottom:15px;
color:#2563eb;

}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-box{

background:white;
max-width:700px;
margin:auto;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.contact-box p{

margin:18px 0;
font-size:20px;

}

.contact-box i{

color:#2563eb;
margin-right:10px;

}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{

background:#2563eb;
color:white;
text-align:center;
padding:30px;
margin-top:50px;

}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:900px){

.hero{

flex-direction:column;
justify-content:center;
text-align:center;

}

.hero{
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-left{
    width:100%;
    max-width:900px;
    color:white;
}

.hero-right{
    .code-card{

    position:relative;

    width:500px;
    height:500px;

    display:flex;
    justify-content:center;
    align-items:center;

}

.code-window{

    width:420px;

    background:#0f172a;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.35);

}

.window-header{

    display:flex;

    gap:8px;

    padding:15px;

    background:#1e293b;

}

.window-header span{

    width:12px;
    height:12px;

    border-radius:50%;

    background:white;

}

.code-window pre{

    color:#dbeafe;

    font-size:16px;

    line-height:2;

    padding:30px;

    font-family:Consolas, monospace;

}

.badge{

    position:absolute;

    padding:10px 18px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    color:white;

    border-radius:50px;

    animation:float 4s ease-in-out infinite;

}

.html{
top:30px;
right:20px;
}

.css{
top:120px;
left:0;
}

.js{
bottom:140px;
right:10px;
}

.python{
bottom:40px;
left:40px;
}

.ai{
top:230px;
right:-20px;
}
}


}
/* ========================= */
/* SCROLL EFFECT */
/* ========================= */

.hidden{

opacity:0;
transform:translateY(80px);
transition:1s;

}

.show{

opacity:1;
transform:translateY(0);

}

/* ========================= */
/* BACK TO TOP */
/* ========================= */

#topBtn{

position:fixed;
bottom:30px;
right:30px;
width:55px;
height:55px;
border:none;
border-radius:50%;
background:#2563eb;
color:white;
font-size:22px;
cursor:pointer;
display:none;
box-shadow:0 15px 30px rgba(0,0,0,.2);
transition:.3s;
z-index:999;

}

#topBtn:hover{

transform:scale(1.1);

}

/* ========================= */
/* SKILL ANIMATION */
/* ========================= */

.progress{

transform-origin:left;

}

@keyframes grow{

from{

transform:scaleX(0);

}

to{

transform:scaleX(1);

}

}
/* HERO PREMIUM */

.hero{

position:relative;
overflow:hidden;

}

.hero-left{

z-index:5;

}

.hero h1{

font-size:60px;
line-height:1.2;

}

.hero h1 span{

color:#dbeafe;

}

.hero-desc{

margin-top:25px;
max-width:600px;
font-size:18px;
line-height:2;

}

.hero-button{

display:flex;
gap:20px;
margin-top:40px;

}

.btn2{

padding:14px 35px;
border:2px solid white;
border-radius:50px;
color:white;
text-decoration:none;
transition:.3s;

}

.btn2:hover{

background:white;
color:#2563eb;

}






.blob{

position:absolute;

border-radius:50%;

filter:blur(70px);

opacity:.5;

animation:move 20s infinite;

}

.blob1{

width:350px;
height:350px;

background:#3b82f6;

left:-120px;

top:-100px;

}

.blob2{

width:280px;
height:280px;

background:#60a5fa;

right:-60px;

top:200px;

}

.blob3{

width:250px;
height:250px;

background:#93c5fd;

bottom:-100px;

left:45%;

}

@keyframes move{

25%{

transform:translateY(50px);

}

50%{

transform:translateX(-50px);

}

75%{

transform:translateY(-30px);

}

100%{

transform:translateX(0);

}

}


@keyframes glow{

50%{

transform:scale(1.1);

opacity:1;

}

}

.hero-right{
    position:relative;
}

.tech{

position:absolute;

padding:10px 18px;

background:rgba(255,255,255,.15);

backdrop-filter:blur(12px);

border:1px solid rgba(255,255,255,.2);

border-radius:50px;

color:white;

font-weight:600;

animation:float 4s ease-in-out infinite;

box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.html{
top:30px;
left:30px;
}

.css{
top:180px;
left:-20px;
}

.js{
top:80px;
right:0;
}

.py{
bottom:120px;
left:20px;
}

.java{
bottom:70px;
right:10px;
}

.git{
bottom:0;
left:50%;
transform:translateX(-50%);
}
.status{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin:15px 0 25px;

    padding:10px 18px;

    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:50px;

    color:white;
    font-size:15px;
    font-weight:500;
}

.circle img{
    width:360px;
    cursor:pointer;
    transition:0.5s ease;
}

.filter-normal{
    filter:none;
}

.filter-vivid{
    filter:saturate(1.6) contrast(1.1);
}

.hero-right{

display:flex;

justify-content:center;

align-items:center;

width:45%;

position:relative;

}

.hero-image{

position:relative;

width:480px;

height:520px;

display:flex;

justify-content:center;

align-items:flex-end;

}

.hero-image img{

width:350px;

position:relative;

z-index:2;

transition:.4s;

}

.hero-image img:hover{

transform:scale(1.03);

}

.glow{

position:absolute;

width:330px;

height:330px;

background:#6d8cff;

border-radius:50%;

bottom:60px;

filter:blur(70px);

opacity:.9;

animation:glow 5s infinite;

}

@keyframes glow{

50%{

transform:scale(1.15);

opacity:1;

}

}
.tech{

position:absolute;

padding:12px 18px;

background:rgba(255,255,255,.15);

backdrop-filter:blur(15px);

border-radius:50px;

color:white;

font-weight:600;

box-shadow:0 10px 25px rgba(0,0,0,.2);

animation:float 4s ease-in-out infinite;

display:flex;

align-items:center;

gap:8px;

}

.tech i{

font-size:20px;

}
.html{

top:20px;

left:0;

}

.css{

top:120px;

right:10px;

}

.js{

top:240px;

left:-20px;

}

.python{

bottom:20px;

right: 10px;

}

.java{

    bottom:130px;

    left:0px;

}