/* ===========================
   GLOBAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:#050816;
    color:#fff;
    overflow-x:hidden;

}

/* ===========================
   BACKGROUND
=========================== */

.background{

    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:-10;

}

.blob{

    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    opacity:.45;

}

.blob1{

    width:500px;
    height:500px;
    background:#6f2cff;

    top:-150px;
    left:-120px;

}

.blob2{

    width:450px;
    height:450px;

    background:#0099ff;

    right:-120px;
    top:80px;

}

.blob3{

    width:600px;
    height:600px;

    background:#8928ff;

    bottom:-250px;
    left:40%;

}

/* ===========================
NAVBAR
=========================== */

header{

    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;

}

nav{

    width:90%;
    max-width:1300px;

    margin:20px auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:18px 28px;

    backdrop-filter:blur(25px);

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

}

.logo{

    font-size:30px;
    font-weight:800;

    color:#fff;

}

nav ul{

    display:flex;
    gap:40px;

    list-style:none;

}

nav ul li a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

nav ul li a:hover{

    color:#8c6cff;

}

.resume-btn{

    text-decoration:none;

    color:white;

    background:linear-gradient(135deg,#7b3cff,#0095ff);

    padding:12px 28px;

    border-radius:30px;

    transition:.4s;

}

.resume-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 0 35px rgba(90,90,255,.4);

}

/* ===========================
HERO
=========================== */

.hero{

    width:90%;
    max-width:1300px;

    margin:auto;

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

}

.left h1{

    margin-top:25px;

    font-size:74px;

    line-height:1.05;

}

.left h1 span{

    background:linear-gradient(90deg,#8f45ff,#00b2ff);

    -webkit-background-clip:text;

    color:transparent;

}

.left p{

    margin-top:28px;

    color:#b9bfd8;

    line-height:1.9;

    font-size:18px;

    max-width:600px;

}

/* ===========================
BUTTONS
=========================== */

.buttons{

    margin-top:45px;

    display:flex;

    gap:20px;

}

.btn1{

    background:linear-gradient(135deg,#7b3cff,#0095ff);

    color:white;

    text-decoration:none;

    padding:15px 34px;

    border-radius:40px;

    transition:.35s;

}

.btn2{

    border:1px solid rgba(255,255,255,.15);

    color:white;

    text-decoration:none;

    padding:15px 34px;

    border-radius:40px;

    backdrop-filter:blur(20px);

    transition:.35s;

}

.btn1:hover,
.btn2:hover{

    transform:translateY(-4px);

}

/* ===========================
PROFILE
=========================== */

.right{

    display:flex;

    justify-content:center;

}

.profile-card{

    width:430px;

    height:430px;

    border-radius:50%;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.profile-card img{

    width:360px;

    height:360px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid rgba(255,255,255,.1);

}

.glow-ring{

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    border:2px solid rgba(130,90,255,.5);

    box-shadow:

    0 0 60px #764dff,

    0 0 120px #0099ff;

}

/* ===========================
TERMINAL
=========================== */

.terminal{

    width:320px;

    border-radius:15px;

    overflow:hidden;

    background:#111827;

    border:1px solid rgba(255,255,255,.08);

}

.terminal-header{

    height:40px;

    background:#20283d;

    display:flex;

    align-items:center;

}

.dots{

    display:flex;

    gap:8px;

    margin-left:18px;

}

.dots span{

    width:12px;

    height:12px;

    border-radius:50%;

}

.dots span:nth-child(1){

    background:#ff5f56;

}

.dots span:nth-child(2){

    background:#ffbd2e;

}

.dots span:nth-child(3){

    background:#27c93f;

}

.terminal-body{

    padding:18px;

    color:#00ff8c;

    font-family:monospace;

    font-size:18px;

}

/* ===========================
SECTIONS
=========================== */

section{

    padding:120px 0;

}

.section-title{

    font-size:48px;

    font-weight:800;

    text-align:center;

    margin-bottom:70px;

}

/* ===========================
GLASS CARD
=========================== */

.glass{

    width:85%;

    max-width:900px;

    margin:auto;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(30px);

    padding:45px;

    border-radius:25px;

    line-height:2;

    color:#cfd5ef;

}

/* ===========================
SKILLS
=========================== */

.skills-grid{

    width:85%;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.skill-card{

    padding:35px;

    text-align:center;

    border-radius:20px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-8px);

    box-shadow:0 0 40px rgba(100,120,255,.35);

}

/* ===========================
PROJECTS
=========================== */

.project-grid{

    width:90%;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.project-card{

    padding:40px;

    border-radius:25px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 0 50px rgba(140,100,255,.4);

}

.project-card h2{

    margin-bottom:18px;

}

.project-card p{

    color:#c3cae3;

    line-height:1.8;

}

/* ===========================
CONTACT
=========================== */

.contact-card{

    width:700px;

    max-width:90%;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.contact-card input,
.contact-card textarea{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:white;

    padding:18px;

    border-radius:15px;

    outline:none;

}

.contact-card textarea{

    height:180px;

    resize:none;

}

.contact-card button{

    padding:18px;

    border:none;

    cursor:pointer;

    border-radius:15px;

    color:white;

    background:linear-gradient(135deg,#7b3cff,#0099ff);

}

footer{

    text-align:center;

    padding:60px;

    color:#9ca8d5;

}
/* Scroll Progress */

.scroll-progress{

    position:fixed;
    top:0;
    left:0;

    width:0;
    height:4px;

    z-index:9999;

    background:linear-gradient(90deg,#7b3cff,#00bfff);

}

/* Cursor Glow */

.cursor-glow{

    position:fixed;

    width:18px;
    height:18px;

    border-radius:50%;

    background:rgba(123,60,255,.35);

    pointer-events:none;

    transform:translate(-50%,-50%);

    filter:blur(10px);

    z-index:99999;

}
/* Particle Canvas */

#particles{

    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    z-index:-5;

    pointer-events:none;

}