@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
    cursor:none;
}

/* LOADER */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:#050816;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    transition:1s;
}

#loader h1{
    font-size:70px;
    letter-spacing:10px;
    color:#4da3ff;
}

/* CUSTOM CURSOR */

.cursor{
    width:20px;
    height:20px;
    border:2px solid #4da3ff;
    border-radius:50%;
    position:fixed;
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:99999;
    transition:0.08s;
}

/* NAVBAR */

.navbar{
    width:100%;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    backdrop-filter:blur(10px);
    background:rgba(0,0,0,0.2);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    letter-spacing:3px;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover{
    color:#4da3ff;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 8%;
    gap:60px;
}

.hero-content{
    max-width:600px;
}

.tag{
    border:1px solid rgba(255,255,255,0.15);
    padding:10px 18px;
    border-radius:30px;
    font-size:13px;
    letter-spacing:2px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
    margin-top:25px;
}

.hero p{
    margin-top:20px;
    color:#b8b8b8;
    line-height:1.8;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.hero-buttons a{
    padding:15px 28px;
    border-radius:12px;
    text-decoration:none;
    transition:0.3s;
    font-weight:500;
}

.main-btn{
    background:#4da3ff;
    color:white;
}

.outline-btn{
    border:1px solid rgba(255,255,255,0.2);
    color:white;
}

.hero-buttons a:hover{
    transform:translateY(-5px);
}

.hero-buttons button:hover{
    transform:translateY(-5px);
}

.hero-buttons .outline{
    background:transparent;
    color:white;
    border:1px solid rgba(255,255,255,0.2);
}

.hero-buttons button:not(.outline){
    background:#4da3ff;
    color:white;
}

/* HERO BOX */

.hero-box{
    width:350px;
    height:350px;
    border-radius:30px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.glow{
    width:250px;
    height:250px;
    background:#4da3ff;
    filter:blur(120px);
    position:absolute;
    opacity:0.5;
}

.box-content{
    position:relative;
    z-index:2;
    text-align:center;
}

.box-content h2{
    font-size:45px;
}

.box-content span{
    color:#d4d4d4;
}

/* SECTIONS */

section{
    padding:100px 8%;
}

.section-title span{
    color:#4da3ff;
    letter-spacing:2px;
    font-size:14px;
}

.section-title h2{
    margin-top:10px;
    font-size:42px;
}

/* CARDS */

.about-grid,
.project-grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.about-card,
.project-card{
    padding:35px;
    border-radius:22px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    transition:0.3s;
}

.about-card:hover,
.project-card:hover{
    transform:translateY(-10px);
}

.about-card p,
.project-card p{
    margin-top:15px;
    color:#b8b8b8;
    line-height:1.7;
}

.project-top{
    height:180px;
    border-radius:15px;
    margin-bottom:20px;
    background:linear-gradient(135deg,#4da3ff,#0b1228);
    opacity: 0.8;
}

/* SKILLS */

.skills-container{
    margin-top:40px;
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.skill{
    padding:14px 22px;
    border-radius:12px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    transition:0.3s;
}

.skill:hover{
    background:#4da3ff;
}

/* CONTACT */

.contact-form{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:20px;
    max-width:600px;
}

.contact-form input,
.contact-form textarea{
    padding:18px;
    background:rgba(255,255,255,0.04);
    border:none;
    border-radius:12px;
    color:white;
    outline:none;
}

.contact-form textarea{
    height:150px;
    resize:none;
}

.contact-form button{
    padding:16px;
    background:#4da3ff;
    border:none;
    border-radius:12px;
    color:white;
    cursor:pointer;
}

/* FOOTER */

footer{
    text-align:center;
    padding:40px;
    border-top:1px solid rgba(255,255,255,0.08);
}

footer p{
    margin-top:10px;
    color:#b8b8b8;
}

/* RESPONSIVE */

@media(max-width:900px){

    nav{
        display:none;
    }

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero h1{
        font-size:48px;
    }

    .hero-box{
        width:280px;
        height:280px;
    }
}

