*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter', sans-serif;
}

body{
    background:#000;
    color:white;
    scroll-behavior:smooth;
    overflow-x:hidden;
}

/* PARTICLES */
#particles-js{
    position:fixed;
    width:100%;
    height:100%;
    z-index:-2;
    filter: blur(6px);
}

body::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.237);
    backdrop-filter: blur(1px);
    z-index:-1;
}

/* WRAPPER */
.wrapper{
    padding:60px 0;
}

header{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.profile-img{
    width:170px;
    height:170px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
    border:2px solid rgba(255,255,255,0.3);
    box-shadow:0 0 40px rgba(255,255,255,0.2);
    transition:0.4s;
}

.profile-img:hover{
    transform:scale(1.08);
}

h1{
    font-size:48px;
    font-weight:700;
}

.subtitle{
    color:#ccc;
    margin-top:10px;
    font-size:18px;
}

/* HERO BUTTONS */
.hero-buttons{
    display:flex;
    gap:20px;
    justify-content:center;
    margin-top:25px;
    flex-wrap:wrap;
}

.btn{
    padding:12px 30px;
    border-radius:50px;
    text-decoration:none;
    font-weight:500;
    transition:0.3s ease;
    display:inline-block;
}

.btn-light{
    border:1px solid white;
    color:white;
}

.btn-light:hover{
    background:white;
    color:black;
}

/* SECTION */
.section{
    margin:80px auto;
    width:85%;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(25px);
    border-radius:30px;
    padding:100px 10%;
    text-align:center;
    box-shadow:0 25px 50px rgba(0,0,0,0.4);
    border:1px solid rgba(255,255,255,0.15);
}
/* About Section Text Fix */
.section p{
    max-width:700px;        /* 🔥 control width */
    margin:20px auto 0;     /* center + spacing */
    line-height:1.8;        /* proper line spacing */
    font-size:17px;
    color:#ddd;
}
/* PROJECT TITLE */
.project-title{
    font-size:42px;
    margin-bottom:60px;
    background:linear-gradient(90deg,#fff,#aaa);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* PROJECT GRID */
.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

/* CLICKABLE CARD */
.card-link{
    text-decoration:none;
    color:inherit;
}

.card{
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(20px);
    border-radius:25px;
    padding:25px;
    transition:0.4s ease;
    box-shadow:0 15px 35px rgba(0,0,0,0.4);
    border:1px solid rgba(255,255,255,0.15);
}

.card:hover{
    transform:translateY(-15px) scale(1.03);
    box-shadow:0 30px 60px rgba(0,0,0,0.6);
}

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

.card h3{
    font-size:22px;
    margin-bottom:10px;
}

.tech{
    font-size:14px;
    color:#00bfff;
    margin-bottom:15px;
    display:block;
}

.desc{
    font-size:15px;
    color:#ccc;
    line-height:1.6;
}

/* SOCIAL */
.social{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;              /* 🔥 Proper spacing */
    margin-top:30px;
}

.social a{
    font-size:30px;
    color:white;
    transition:all 0.3s ease;
}

.social a:hover{
    color:#00bfff;
    transform:translateY(-6px) scale(1.15);
}

footer{
    padding:40px;
    text-align:center;
    color:#aaa;
}