/* ==========================
   FUTURISTIC PORTFOLIO CSS
   ========================== */

:root{
    --bg:#070b14;
    --bg2:#0f172a;
    --card:rgba(255,255,255,0.06);
    --border:rgba(255,255,255,0.12);
    --text:#ffffff;
    --muted:#b7c0d4;
    --primary:#00e5ff;
    --secondary:#7c3aed;
    --gradient:linear-gradient(135deg,#00e5ff,#7c3aed);
    --shadow:0 0 30px rgba(0,229,255,.15);
}

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

body{
    font-family:'Space Grotesk',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.7;
}

/* Background */

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at 20% 20%,rgba(0,229,255,.15),transparent 25%),
    radial-gradient(circle at 80% 30%,rgba(124,58,237,.15),transparent 25%),
    radial-gradient(circle at 50% 80%,rgba(0,229,255,.08),transparent 30%);
    z-index:-2;
}

#particles{
    position:fixed;
    inset:0;
    z-index:-1;
}

/* Mouse Glow */

.mouse-glow{
    position:fixed;
    width:300px;
    height:300px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(0,229,255,.18),
    transparent 70%);
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:0;
}

/* Glass */

.glass{
    background:var(--card);
    backdrop-filter:blur(18px);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

/* Navbar */

.navbar{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:min(1100px,92%);
    padding:16px 30px;
    border-radius:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:999;
}

.logo{
    font-size:1.2rem;
    font-weight:700;
}

.navbar nav{
    display:flex;
    gap:22px;
}

.navbar a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

.navbar a:hover{
    color:var(--primary);
}

/* Hero */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 20px;
    text-align:center;
}

.hero-content{
    max-width:850px;
}

.profile{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.15);
    box-shadow:
    0 0 30px rgba(0,229,255,.3),
    0 0 60px rgba(124,58,237,.2);
}

.profile-container{
    margin-bottom:25px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:10px;
}

.gradient-text{
    background:var(--gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero h2{
    color:var(--muted);
    margin-bottom:18px;
    font-weight:500;
}

.hero p{
    max-width:700px;
    margin:auto;
    color:var(--muted);
}

/* Buttons */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:35px;
    flex-wrap:wrap;
}

.btn{
    text-decoration:none;
    color:white;
    padding:14px 28px;
    border-radius:14px;
    background:var(--gradient);
    transition:.35s;
    font-weight:600;
    border:none;
    cursor:pointer;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 30px rgba(0,229,255,.35);
}

.secondary{
    background:transparent;
    border:1px solid rgba(255,255,255,.15);
}

/* Sections */

.section{
    padding:100px 8%;
}

.section h2{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:45px;
}

/* Cards */

.card{
    max-width:900px;
    margin:auto;
    padding:35px;
    border-radius:24px;
}

.card p{
    color:var(--muted);
    margin-bottom:12px;
}

/* Skills */

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

.skill-card{
    padding:28px;
    border-radius:20px;
    transition:.4s;
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:rgba(0,229,255,.4);
}

.skill-card h3{
    margin-bottom:12px;
}

.skill-card p{
    color:var(--muted);
}

/* Projects */

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

.project-card{
    padding:28px;
    border-radius:22px;
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card h3{
    margin-bottom:10px;
}

.project-card p{
    color:var(--muted);
    margin-bottom:20px;
}

.project-card a{
    color:var(--primary);
    text-decoration:none;
}

/* Education */

ul{
    margin-top:15px;
    padding-left:20px;
}

li{
    margin-bottom:10px;
    color:var(--muted);
}

/* Contact */

.contact-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    padding:35px;
    border-radius:24px;
}

.contact-card input,
.contact-card textarea{
    width:100%;
    margin-bottom:15px;
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.05);
    color:white;
    outline:none;
}

.contact-card textarea{
    min-height:140px;
    resize:none;
}

.contact-info p{
    color:var(--muted);
    margin-bottom:15px;
}

.socials{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.socials a{
    text-decoration:none;
    color:white;
    padding:10px 15px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    transition:.3s;
}

.socials a:hover{
    background:var(--primary);
    color:black;
}

/* Footer */

footer{
    padding:30px;
    text-align:center;
    color:var(--muted);
}

/* Reveal Animation */

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* Responsive */

@media(max-width:900px){

    .contact-card{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:2.8rem;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .navbar nav{
        flex-wrap:wrap;
        justify-content:center;
    }
}

@media(max-width:600px){

    .hero h1{
        font-size:2.2rem;
    }

    .section{
        padding:80px 6%;
    }

    .profile{
        width:140px;
        height:140px;
    }

    .hero-buttons{
        flex-direction:column;
    }
}
.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(400px,1fr));
    gap:32px;
    margin-top:10px;
}

.project-card{
    background:rgba(15,23,42,.55);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border-radius:14px;
    overflow:hidden;

    transition:.35s ease;

    display:flex;
    flex-direction:column;
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:#00e5ff55;
    box-shadow:
        0 20px 60px rgba(0,0,0,.4),
        0 0 30px rgba(0,229,255,.12);
}
.project-card img{

    width:100%;

    height:280px;

    object-fit:cover;

    display:block;

    transition:.5s;

}
.project-card:hover img{

    transform:scale(1.05);

}
.project-card h3{

    font-size:1.8rem;

    margin:8px 18px 15px;

}

.project-card p{

    margin:0 15px;

    color:#a8b3cf;

    line-height:1.8;

}
.tech-stack{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:24px 15px;

}
.tech-stack span{

    padding:6px 12px;

    border-radius:18px;

    font-size:.8rem;

    background:#0d2335;

    color:#5fd8ff;

    border:1px solid rgba(0,229,255,.2);

}
.project-buttons{

    display:flex;

    gap:14px;

    margin:0 28px 15px;

    margin-top:auto;

}
.project-buttons a{

    flex:1;

    text-align:center;

    padding:7px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}
.project-buttons a:first-child{

    background:#00c2ff;

    color:white;

}
.project-buttons a:last-child{

    background:#232b45;

    color:white;

}
.project-buttons a:hover{

    transform:translateY(-3px);

}
.project-card img{

    padding:20px;

    border-radius:34px;

}
.project-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.4),
        0 0 25px rgba(0,229,255,.12);

}