/* GOOGLE FONT */

@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;
    scroll-behavior:smooth;
    font-family:'Poppins', sans-serif;
}

body{
    background:#081b29;
    color:white;
    overflow-x:hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#081b29;
}

::-webkit-scrollbar-thumb{
    background:#0ef;
    border-radius:10px;
}

/* TEXT SELECTION */

::selection{
    background:#0ef;
    color:#081b29;
}

/* HEADER */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;

    background:rgba(5,17,41,0.8);

    backdrop-filter:blur(10px);

    box-shadow:0 2px 10px rgba(0,0,0,0.5);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
}

.logo{
    font-size:30px;
    color:#0ef;
    font-weight:bold;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    transition:0.3s;
    font-size:17px;
}

.nav-links a:hover,
.nav-links a.active{
    color:#0ef;
}

.menu-btn{
    display:none;
    font-size:25px;
    cursor:pointer;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 10%;
    gap:50px;
    position:relative;
    overflow:hidden;
}

.hero-glow{
    position:absolute;
    width:400px;
    height:400px;
    background:#0ef;
    filter:blur(180px);
    opacity:0.2;
    z-index:-1;
}

.hero-content{
    flex:1;
}

.hero-content h3{
    font-size:30px;
}

.hero-content h1{
    font-size:60px;
    margin:10px 0;
    color:#0ef;
}

.hero-content h2{
    font-size:35px;
}

.hero-content p{
    margin-top:20px;
    line-height:1.8;
    max-width:600px;
    color:#d1d5db;
}

.typing{
    color:#0ef;
}

/* SOCIAL ICONS */

.social-icons{
    margin:25px 0;
}

.social-icons a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:45px;
    height:45px;
    border:2px solid #0ef;
    border-radius:50%;
    margin-right:15px;
    color:#0ef;
    text-decoration:none;
    transition:0.4s;
    font-size:20px;
}

.social-icons a:hover{
    background:#0ef;
    color:#081b29;
    transform:translateY(-5px);
}

/* BUTTON */

.btn{
    display:inline-block;
    padding:12px 30px;
    background:#0ef;
    color:#081b29;
    border-radius:40px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
    border:none;
    cursor:pointer;
}

.btn:hover{

    box-shadow:
        0 0 10px #0ef,
        0 0 20px #0ef,
        0 0 40px #0ef;

    transform:translateY(-3px) scale(1.05);
}

.secondary-btn{
    background:white;
    color:#081b29;
}

/* HERO IMAGE */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:320px;
    height:320px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #0ef;
    box-shadow:0 0 30px #0ef;
    transition:0.5s;
}

.hero-image img:hover{
    transform:scale(1.05);
}

/* SECTION */

.section{
    padding:100px 10%;
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.section.show-section{
    opacity:1;
    transform:translateY(0);
}

.section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#0ef;
}

/* ABOUT */

.about-text{
    max-width:900px;
    margin:auto;
    text-align:center;
    line-height:2;
    font-size:18px;
    color:#d1d5db;
}

/* EDUCATION */

.education-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.education-card{
    background:#112e42;
    padding:30px;
    border-radius:15px;
    transition:0.4s;
    text-align:center;
}

.education-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(0,238,255,0.3);
}

.education-card h3{
    color:#0ef;
    margin-bottom:15px;
}

.education-card span{
    color:#0ef;
    display:block;
    margin-top:10px;
}

/* SKILLS */

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

.skill-card{
    background:#112e42;
    padding:30px;
    text-align:center;
    border-radius:12px;
    transition:0.4s;
    border:1px solid transparent;
    cursor:pointer;
    font-size:18px;
    font-weight:bold;
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:#0ef;
    box-shadow:0 0 20px rgba(0,238,255,0.4);
}

/* SKILL POPUP */

.skill-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-content{
    background:#112e42;
    padding:40px;
    border-radius:15px;
    width:90%;
    max-width:400px;
    text-align:center;
    position:relative;
}

.close-btn{
    position:absolute;
    right:20px;
    top:10px;
    font-size:30px;
    cursor:pointer;
    color:#0ef;
}

.progress-bar{
    width:100%;
    height:15px;
    background:#ccc;
    border-radius:10px;
    overflow:hidden;
    margin:20px 0;
}

.progress{
    height:100%;
    width:0;
    background:#0ef;
    transition:1s;
}

/* CERTIFICATES */

.certificate-container{
    display:none;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}

.certificate-card{
    background:#112e42;
    padding:20px;
    border-radius:15px;
    text-align:center;
    transition:0.4s;
}

.certificate-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(0,238,255,0.3);
}

.certificate-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:20px;
}

.certificate-card h3{
    color:#0ef;
    margin-bottom:10px;
}

/* PROJECTS */

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

.project-card{
    background:#112e42;
    padding:30px;
    border-radius:15px;
    transition:0.4s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(0,238,255,0.3);
}

.project-card h3{
    color:#0ef;
    margin-bottom:15px;
}

.project-card p{
    color:#d1d5db;
    line-height:1.8;
}

.project-buttons{
    margin-top:20px;
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hidden-project{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.show-project{
    opacity:1;
    transform:translateY(0);
}

/* CONTACT */

.contact-container{
    display:flex;
    justify-content:center;
}

.contact-info{
    background:#112e42;
    padding:40px;
    border-radius:15px;
    width:100%;
    max-width:600px;
}

.contact-info p{
    margin:20px 0;
    font-size:18px;
}

.contact-info i{
    color:#0ef;
    margin-right:10px;
}

/* FOOTER */

footer{
    text-align:center;
    padding:25px;
    background:#051129;
    color:#d1d5db;
}

/* SCROLL TOP BUTTON */

.scroll-top{
    position:fixed;
    right:25px;
    bottom:25px;

    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#0ef;
    color:#081b29;

    font-size:24px;
    font-weight:bold;

    cursor:pointer;

    display:none;

    z-index:999;

    transition:0.3s;
}

.scroll-top:hover{
    transform:scale(1.1);
    box-shadow:0 0 20px #0ef;
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-content h1{
        font-size:45px;
    }

    .hero-content h2{
        font-size:28px;
    }

    .hero-image img{
        width:260px;
        height:260px;
    }

    .nav-links{
        position:absolute;
        top:80px;
        right:-100%;
        flex-direction:column;
        background:#051129;
        width:220px;
        padding:20px;
        transition:0.4s;
    }

    .nav-links.active{
        right:0;
    }

    .menu-btn{
        display:block;
    }
}

@media(max-width:600px){

    .hero-content h1{
        font-size:36px;
    }

    .hero-content h2{
        font-size:24px;
    }

    .section-title{
        font-size:32px;
    }

    .about-text{
        font-size:16px;
    }

    .contact-info{
        padding:25px;
    }
}