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

/* ===================== */
/* BODY */
/* ===================== */

body{
background:#000;
color:white;
font-family:'Poppins',sans-serif;
overflow-x:hidden;
margin-right:200px;
position:relative;
}

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

body::before{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-2;
background:#000;
}

body::after{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
background:
radial-gradient(circle, rgba(168,85,247,0.6) 2px, transparent 3px),
radial-gradient(circle, rgba(0,255,255,0.6) 2px, transparent 3px),
radial-gradient(circle, rgba(255,255,255,0.4) 1.5px, transparent 3px);
background-size:120px 120px, 180px 180px, 250px 250px;
animation:particlesMove 60s linear infinite;
opacity:0.4;
}

@keyframes particlesMove{
0%{
transform:translateY(0px) translateX(0px);
}
100%{
transform:translateY(-1000px) translateX(500px);
}
}

/* ===================== */
/* SIDE NAVIGATION */
/* ===================== */

.side-nav{
    position:fixed;
    right:0;
    top:0;
    height:100vh;
    width:200px;
    background:#0d0d0d;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top:40px;
    box-shadow:-5px 0 15px rgba(0,0,0,0.6);
    z-index:1000;
}

/* Logo */
.side-nav .logo{
    font-size:24px;
    font-weight:800;
    margin-bottom:40px;
    font-family:'Orbitron', sans-serif;
    letter-spacing:2px;
    background:linear-gradient(90deg,#a855f7,#00ffff,#a855f7);
    background-size:200% auto;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    animation:shineText 4s linear infinite;
}

@keyframes shineText{
    0%{ background-position:0% center; }
    100%{ background-position:200% center; }
}

/* Navigation Links */
.side-nav a{
    text-decoration:none;
    color:white;
    margin:15px 0;
    font-size:16px;
    position:relative;
    transition:0.3s ease;
}

/* Hover Effect */
.side-nav a:hover{
    color:#00f7ff;
    transform:translateX(-5px);
}

/* Animated Underline */
.side-nav a::after{
    content:"";
    position:absolute;
    width:0;
    height:2px;
    background:#00f7ff;
    left:0;
    bottom:-5px;
    transition:0.3s;
}

.side-nav a:hover::after{
    width:100%;
}

/* Highlight Last Link (Contact) */
.side-nav a:last-child{
    color:#00f7ff;
    font-weight:600;
}

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

.hero{
display:flex;
justify-content:space-between;
align-items:center;
min-height:100vh;
padding:0 8%;
gap:40px;
}

.hero-left{ flex:0.8; }

.hero-left h1{
font-size:clamp(55px,6vw,90px);
color:#a855f7;
margin-bottom:10px;
white-space:nowrap;
display:inline-block;
max-width:100%;
}

.hero-left{
flex:1;   /* IMPORTANT FIX */
}

.hero-left h3{
color:#bbb;
margin-bottom:20px;
font-weight:400;
}

.mission{
color:#ccc;
margin-bottom:25px;
font-size:16px;
}

.hero-tags{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:25px;
}

.hero-tags span{
background:#111;
padding:8px 15px;
border-radius:20px;
font-size:13px;
color:#00ffff;
}

/* INFO BOXES */

.hero-info-boxes{
display:flex;
gap:20px;
margin:30px 0;
flex-wrap:nowrap;
}

.info-box{
background:#111;
padding:14px 18px;
border-radius:12px;
border:1px solid #1f1f1f;
min-width:190px;
transition:0.4s ease;
box-shadow:0 0 12px rgba(168,85,247,0.15);
}

.info-box h4{
color:#a855f7;
font-size:11px;
margin-bottom:5px;
letter-spacing:1px;
text-transform:uppercase;
}

.info-box p{
color:#ccc;
font-size:12px;
}

.info-box:hover{
border-color:#a855f7;
box-shadow:0 0 25px rgba(168,85,247,0.5);
transform:translateY(-5px);
}

/* HERO IMAGE */

.hero-right{
flex:1.8;
display:flex;
justify-content:flex-end;
align-items:center;
}

.hero-right img{
width:100%;
max-width:1000px;
border-radius:35px;
filter:grayscale(100%);
box-shadow:
0 0 70px rgba(168,85,247,0.6),
0 0 140px rgba(0,255,255,0.3);
transition:0.6s ease;
}

.hero-right img:hover{
transform:scale(1.05);
filter:grayscale(0%);
}

/* ===================== */
/* WHO I AM */
/* ===================== */

.whoiam-section{
display:flex;
flex-direction:row-reverse;
justify-content:space-between;
align-items:center;
gap:80px;
min-height:100vh;
padding:100px 10%;
background:radial-gradient(circle at left center,
rgba(168,85,247,0.15),
transparent 40%);
}

.whoiam-left{
flex:1;
background:#111;
padding:45px;
border-radius:25px;
border:2px solid #a855f7;
box-shadow:0 0 35px rgba(168,85,247,0.3);
}

.whoiam-left h2{
color:#a855f7;
margin-bottom:30px;
font-size:30px;
}

.whoiam-left p{
color:#bbb;
line-height:1.9;
margin-bottom:18px;
}

.whoiam-left strong{
color:#00ffff;
}

.whoiam-right{
flex:1;
display:flex;
justify-content:flex-start;
}

.whoiam-frame{
padding:15px;
border-radius:30px;
background:linear-gradient(135deg,#a855f7,#00ffff);
box-shadow:
0 0 40px rgba(168,85,247,0.7),
0 0 80px rgba(0,255,255,0.3);
}

.whoiam-frame img{
width:100%;
max-width:360px;
border-radius:20px;
display:block;
}

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

#projects{
padding:120px 10%;
}

#projects h2{
text-align:center;
color:#a855f7;
font-size:32px;
margin-bottom:50px;
}

.project-grid{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

.project-card{
background:#111;
border-radius:20px;
padding:25px 20px;
border:2px solid #1f1f1f;
transition:0.4s;
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
width:260px;
}

.project-card:hover{
border-color:#a855f7;
box-shadow:0 0 25px rgba(168,85,247,0.4);
transform:translateY(-8px);
}

.project-image img{
width:140px;
height:180px;
object-fit:cover;
border-radius:12px;
border:2px solid #a855f7;
margin-bottom:15px;
transition:0.3s;
}

.project-card:hover .project-image img{
transform:scale(1.05);
}
/* ===================== */
/* PROJECT BUTTON */
/* ===================== */

.project-btn{
    display:inline-block;
    margin-top:15px;
    padding:10px 22px;
    border-radius:30px;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    color:white;
    background:linear-gradient(45deg,#a855f7,#7c3aed);
    transition:0.4s ease;
    position:relative;
    overflow:hidden;
}

.project-btn:hover{
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 0 20px rgba(168,85,247,0.7);
}

.project-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition:0.6s;
}

.project-btn:hover::before{
    left:100%;
}

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

#skills{
text-align:center;
padding:100px 10%;
}

#skills h2{
color:#a855f7;
font-size:32px;
margin-bottom:40px;
}

.skills-wrapper{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:40px;
}

.skill-category{
background:#111;
padding:40px;
border-radius:20px;
width:100%;
max-width:500px;
border:2px solid #1f1f1f;
box-shadow:0 0 25px rgba(168,85,247,0.3);
}

.skill{
text-align:left;
}

.skill p{
display:flex;
justify-content:space-between;
margin-bottom:10px;
color:#ccc;
}

.bar{
width:100%;
height:10px;
background:#222;
border-radius:10px;
overflow:hidden;
}

.bar span{
display:block;
height:100%;
width:0;
background:linear-gradient(135deg,#a855f7,#00ffff);
transition:width 1.5s ease;
}

/* ===================== */
/* CERTIFICATES */
/* ===================== */

#certificates{
padding:120px 10%;
text-align:center;
}

#certificates h2{
color:#a855f7;
font-size:32px;
margin-bottom:60px;
}

.certificates-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.certificate-card{
background:#111;
padding:20px;
border-radius:20px;
border:2px solid #1f1f1f;
transition:0.4s ease;
}

.certificate-card:hover{
border-color:#a855f7;
transform:translateY(-8px);
box-shadow:0 0 30px rgba(168,85,247,0.4);
}

.certificate-card img{
width:100%;
border-radius:12px;
margin-bottom:15px;
}

.certificate-card button{
padding:8px 18px;
background:#a855f7;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

.certificate-card button:hover{
background:#00ffff;
color:black;
}

/* MODAL */

.certificate-modal{
display:none;
position:fixed;
z-index:3000;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.95);
backdrop-filter:blur(8px);
justify-content:center;
align-items:center;
}

.modal-frame{
padding:30px;
border-radius:30px;
background:linear-gradient(135deg,#a855f7,#00ffff);
box-shadow:
0 0 40px rgba(168,85,247,0.8),
0 0 80px rgba(0,255,255,0.4);
animation:zoomIn 0.4s ease;
}

@keyframes zoomIn{
from{transform:scale(0.7);opacity:0;}
to{transform:scale(1);opacity:1;}
}

.modal-img{
max-width:85vw;
max-height:85vh;
border-radius:20px;
background:#000;
}

.close-btn{
position:absolute;
top:30px;
right:45px;
font-size:45px;
color:white;
cursor:pointer;
transition:0.3s;
}

.close-btn:hover{
color:#a855f7;
transform:scale(1.2);
}
/* ===================== */
/* PREMIUM CONTACT SECTION */
/* ===================== */

.contact-section{
    padding:100px 10%;
    text-align:center;
    background:linear-gradient(135deg,#000000,#0a0a0a,#111);
    position:relative;
}

.contact-title{
    font-size:45px;
    margin-bottom:60px;
    font-family:'Orbitron', sans-serif;
    background:linear-gradient(90deg,#00f7ff,#00ff88);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Container */
.contact-container{
    display:flex;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
}

/* Card */
.contact-card{
    width:260px;
    padding:40px 30px;
    border-radius:20px;
    text-decoration:none;
    color:white;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.1);
    transition:0.4s ease;
    position:relative;
    overflow:hidden;
}

/* Hover Glow Effect */
.contact-card:hover{
    transform:translateY(-15px) scale(1.05);
    box-shadow:0 0 25px rgba(0,255,200,0.6);
}

/* Icon Wrapper */
.icon-wrapper{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    transition:0.4s;
}

/* Gmail Color */
.gmail{
    background:linear-gradient(45deg,#ff4b2b,#ff416c);
}

/* LinkedIn Color */
.linkedin{
    background:linear-gradient(45deg,#0077b5,#00c6ff);
}

.contact-card h3{
    margin:15px 0 10px;
    font-size:22px;
}

.contact-card p{
    font-size:14px;
    opacity:0.8;
}

/* Glow on hover icon */
.contact-card:hover .icon-wrapper{
    transform:rotate(360deg) scale(1.1);
}

/* ===================== */
/* FOOTER */
/* ===================== */

footer{
text-align:center;
padding:30px;
background:#0a0a0a;
color:#aaa;
font-size:14px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media(max-width:992px){
body{margin-right:0;}
.side-nav{display:none;}
.hero{flex-direction:column;text-align:center;}
.hero-right{justify-content:center;margin-top:40px;}
.hero-info-boxes{flex-wrap:wrap;justify-content:center;}
.hero-right img{max-width:600px;}
.whoiam-section{flex-direction:column;text-align:center;}
.project-grid{flex-direction:column;align-items:center;}
section{padding:60px 20px;}
}