@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&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;
}


#particles-js{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:-1;
}

/* Navbar */

.navbar{
    position:fixed;
    top:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(15px);
    background:rgba(0,0,0,0.3);
    z-index:1000;
}

.logo{
    font-size:30px;
    font-weight:800;
    color:#00e5ff;
}

.navbar ul{
    display:flex;
    gap:25px;
    list-style:none;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#00e5ff;
}
#progress-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 6px;
    background: linear-gradient(
        90deg,
        #00f7ff,
        #00bfff,
        #7b2cff,
        #00f7ff
    );
    background-size: 300% 100%;
    animation: progressGlow 3s linear infinite;
    z-index: 9999;
    box-shadow: 0 0 15px #00f7ff;
}

@keyframes progressGlow{
    0%{
        background-position: 0%;
    }
    100%{
        background-position: 300%;
    }
}

/* Hero Section */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 8%;
    gap:50px;
}

.hero-left{
    flex:1;
}

.hero-left h1{
    font-size:80px;
    line-height:1.1;
    font-weight:800;
}

.hero-left h2{
    color:#00e5ff;
    margin:15px 0;
}

.hero-left p{
    color:#d5d5d5;
    line-height:1.8;
}

.badge{
    display:inline-block;
    padding:10px 20px;
    border-radius:30px;
    background:rgba(255,255,255,0.08);
    margin-bottom:20px;
}

.hero-buttons{
    margin-top:30px;
}

.btn{
    display:inline-block;
    padding:14px 30px;
    background:#00e5ff;
    color:black;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    margin-right:15px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px #00e5ff;
}

.btn-outline{
    background:transparent;
    border:2px solid #00e5ff;
    color:white;
}

/* Profile Card */

.profile-card{
    width:350px;
    text-align:center;
    padding:40px;
    border-radius:25px;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.1);
}

.circle{
    width:120px;
    height:120px;
    border-radius:50%;
    background:linear-gradient(45deg,#00e5ff,#8a2be2);
    margin:auto;
    margin-bottom:20px;
}

/* Section */

section{
    padding:100px 8%;
}

section h2{
    text-align:center;
    margin-bottom:50px;
    font-size:45px;
    color:#00e5ff;
}

/* Glass Card */

.glass{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(20px);
    padding:40px;
    border-radius:25px;
    line-height:1.8;
}

/* Stats */



/* Skills */

.skill-container{
    max-width:900px;
    margin:auto;
}

.skill{
    margin-bottom:25px;
}

.skill span{
    display:block;
    margin-bottom:10px;
    font-weight:600;
}

.progress{
    width:100%;
    height:22px;
    background:#161b2d;
    border-radius:30px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    background:linear-gradient(
        90deg,
        #00e5ff,
        #8a2be2
    );
    text-align:right;
    padding-right:10px;
    line-height:22px;
    border-radius:30px;
    color:white;
}

/* Filter Buttons */

.filter-buttons{
    text-align:center;
    margin-bottom:40px;
}

.filter-buttons button{
    padding:12px 25px;
    margin:10px;
    border:none;
    border-radius:30px;
    cursor:pointer;
    background:#00e5ff;
    color:black;
    font-weight:600;
    transition:.3s;
}

.filter-buttons button:hover{
    transform:translateY(-3px);
}

/* Projects */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.project-card{
    background:rgba(255,255,255,0.08);
    padding:30px;
    border-radius:20px;
    transition:.4s;
    backdrop-filter:blur(20px);
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #00e5ff;
}

.project-card h3{
    color:#00e5ff;
    margin-bottom:15px;
}

/* GitHub Stats */

.github-stats{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.github-stats img{
    width:500px;
    max-width:100%;
    border-radius:20px;
    transition:.3s;
}

.github-stats img:hover{
    transform:scale(1.03);
}

/* Contact */

#contact a{
    color:#00e5ff;
    text-decoration:none;
}

/* Footer */

footer{
    text-align:center;
    padding:30px;
    background:#02040a;
    color:#aaa;
}

/* Scroll Reveal */

.show{
    animation:fadeUp 1s ease forwards;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Active Nav */

.active{
    color:#00e5ff !important;
}

/* Responsive */

@media(max-width:900px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-left h1{
        font-size:55px;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

}

@media(max-width:600px){

    .hero-left h1{
        font-size:42px;
    }

    section h2{
        font-size:35px;
    }

    .profile-card{
        width:100%;
    }
}

.profile-container{
    display:flex;
    justify-content:center;
    align-items:center;
}

.profile-pic{
    width: 350px;
    height:135px;
    border-radius:50%;
    object-fit:cover;

    border:5px solid #00d4ff;

    box-shadow:
        0 0 30px #00d4ff,
        0 0 40px #00d4ff,
        0 0 60px #00d4ff;

    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-15px);
    }
    100%{
        transform:translateY(0);
    }
}

.search-container{
    text-align:center;
    margin:30px 0;
}

#projectSearch{
    width:60%;
    max-width:700px;
    padding:20px;
    border:none;
    border-radius:30px;
    font-size:16px;
    outline:none;
    background: #1a1a1a;
    color:white;
    box-shadow:0 0 10px rgba(0,212,255,0.5);
}

#hire-me{
    padding:80px 10%;
    text-align:center;
}

#hire-me h2{
    font-size:2.5rem;
    margin-bottom:40px;
}

.hire-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.hire-card{
    background:#111827;
    padding:25px;
    border-radius:15px;
    font-size:1.1rem;
    transition:0.4s ease;
    border:1px solid rgba(0,212,255,0.2);
}

.hire-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(0,212,255,0.5);
}

.visitor-section{
    text-align:center;
    padding:60px 20px;
}

.visitor-counter{
    display:inline-block;
    margin-top:20px;
    padding:20px 40px;
    border-radius:15px;
    font-size:1.5rem;
    font-weight:bold;

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(0,212,255,0.4);

    box-shadow:0 0 20px rgba(0,212,255,0.4);
}

.visitor-section{
    text-align:center;
    padding:60px 20px;
}

.visitor-counter{
    display:inline-block;
    padding:20px 40px;
    border-radius:15px;

    font-size:1.5rem;
    font-weight:bold;

    background:rgba(255,255,255,0.05);

    border:1px solid #00d4ff;

    box-shadow:0 0 20px rgba(0,212,255,0.5);
}

#learning{
    padding:80px 10%;
    text-align:center;
}

#learning h2{
    margin-bottom:40px;
    font-size:2.5rem;
}

.learning-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.learning-card{
    background:#111827;
    padding:25px;
    border-radius:15px;
    transition:0.4s;
    border:1px solid rgba(0,212,255,0.2);
}

.learning-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(0,212,255,0.5);
}
.resume-btn{
    background:#00d4ff;
    color:#000;
}

.resume-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 20px #00d4ff;
}

.stats{
    padding:100px 8%;
    text-align:center;
}

.stats h2{
    font-size:50px;
    color:#00d4ff;
    margin-bottom:60px;
}

.stats-container{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

.stat-box{
    width:220px;
    height:180px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background:#151a2d;
    border-radius:18px;

    transition:.4s;
    box-shadow:0 0 20px rgba(0,255,255,.08);
}

.stat-box:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px cyan;
}

.stat-box h2{
    font-size:55px;
    color:#00d4ff;
    margin:0;
}

.stat-box p{
    margin-top:15px;
    color:white;
    font-size:18px;
    text-align:center;
}

#voiceBtn{
    background: #27caea;
    color: #000;
    font-weight: 700;
    height: 55.5px;
    padding: 15px 35px;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

/* EXPERIENCE */

.experience{
    padding:100px 10%;
}

.section-subtitle{
    text-align:center;
    color:#bdbdbd;
    margin-top:10px;
    margin-bottom:60px;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
}

.timeline::before{
    content:'';
    position:absolute;
    left:30px;
    top:0;
    width:3px;
    height:100%;
    background:#00d9ff;
}

.timeline-item{
    position:relative;
    margin-bottom:50px;
    padding-left:80px;
}

.timeline-dot{
    position:absolute;
    left:20px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#00d9ff;
    box-shadow:0 0 20px #00d9ff;
}

.timeline-content{
    background:#161b2d;
    padding:25px;
    border-radius:15px;
    border:1px solid rgba(0,217,255,.25);
    transition:.4s;
}

.timeline-content:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px rgba(0,217,255,.35);
}

.timeline-date{
    color:#00d9ff;
    font-weight:700;
    font-size:14px;
}

.timeline-content h3{
    margin:10px 0;
    color:white;
}

.timeline-content h4{
    color:#00d9ff;
    margin-bottom:10px;
}

.timeline-content p{
    color:#cfcfcf;
    line-height:1.7;
}

.voice-help{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    font-weight: 700;

    height: 55.5px;

    padding: 15px 35px;

    border-radius: 35px;

    border: none;

    cursor: pointer;

    transition: 0.3s;
    
    height:100%;

    background:rgba(0,0,0,.75);

    z-index:99999;

}

.voice-help-content{

    width:700px;

    max-width:90%;

    background:#101827;

    margin:70px auto;

    padding:35px;

    border-radius:15px;

    color:white;

    overflow-y:auto;

    max-height:80vh;

}

.voice-help-content h2{

    color:#00d9ff;

    text-align:center;

    margin-bottom:25px;


}

.command-group{

    margin-bottom:25px;

}

.command-group h3{

    color:#00d9ff;

}

.command-group p{

    margin:8px 0;

}

.close-help{

    float:right;

    font-size:35px;

    cursor:pointer;

}
.voice-command-list{
    margin-top:10px;
    padding-left:20px;
}

.voice-command-list li{
    margin:8px 0;
    color:#d8d8d8;
    line-height:1.6;
}

.coming-soon{
    display:inline-block;
    margin-top:15px;
    padding:8px 18px;
    background:linear-gradient(90deg,#00d4ff,#00a8ff);
    color:#fff;
    border-radius:30px;
    font-weight:700;
    letter-spacing:1px;
    box-shadow:0 0 20px rgba(0,212,255,.4);
}


