*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#050816;
    color:#fff;
    overflow-x:hidden;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(#00d9ff,#09687d);
    border-radius:20px;
}
body{
    background: linear-gradient(-45deg,
    #141e34,
    #050f2d,
    #011633,
    #01073c);

    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color:#fff;
    overflow-x:hidden;
}

@keyframes gradientBG{
    0%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
    100%{
        background-position:0% 50%;
    }
}
/* Animated Background */

.background-animation{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:-1;
    overflow:hidden;
}

.background-animation span{
    position:absolute;
    color:rgba(255,255,255,.08);
    font-size:60px;
    animation:float 15s linear infinite;
}

.background-animation span:nth-child(1){
    top:10%;
    left:10%;
}

.background-animation span:nth-child(2){
    top:30%;
    left:80%;
}

.background-animation span:nth-child(3){
    top:70%;
    left:20%;
}

.background-animation span:nth-child(4){
    top:80%;
    left:70%;
}

.background-animation span:nth-child(5){
    top:50%;
    left:50%;
}

.background-animation span:nth-child(6){
    top:20%;
    left:60%;
}

@keyframes float{
    0%{
        transform:translateY(0) rotate(0deg);
    }
    50%{
        transform:translateY(-40px) rotate(180deg);
    }
    100%{
        transform:translateY(0) rotate(360deg);
    }
}

/* Header */

header{
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(15px);
    background:rgba(255,255,255,.05);
}

.logo img{
    width:70px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#00d9ff;
}

/* Hero */

.hero{
    min-height:100vh;
    padding:120px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero-text h3{
    font-size:28px;
}

.hero-text h1{
    font-size:65px;
    color:#00d9ff;
    margin:15px 0;
}

.hero-text h2{
    font-size:35px;
}

.hero-text p{
    margin:25px 0;
    line-height:1.8;
    color:#d1d1d1;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:420px;
    max-width:100%;
    border-radius:50%;
    border:5px solid #00d9ff;
    box-shadow:0 0 50px #00d9ff;
    animation:profileFloat 4s ease-in-out infinite;
}

@keyframes profileFloat{
    50%{
        transform:translateY(-20px);
    }
}

.hero-btns{
    display:flex;
    gap:20px;
}

.btn{
    display:inline-block;
    padding:14px 35px;
    background:linear-gradient(45deg,#00d9ff,#8a2be2);
    border-radius:40px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.4s;
}

.btn:hover{
    transform:translateY(-5px);
}

.btn2{
    background:transparent;
    border:2px solid #00d9ff;
}

/* Sections */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    font-size:45px;
    margin-bottom:60px;
    color:#00d9ff;
}

/* Skills */

.skill-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:20px;
    text-align:center;
    backdrop-filter:blur(10px);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #00d9ff;
}

/* Services */

.service-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    justify-items:center;
}
.service-card{
    width:100%;
    max-width:300px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:30px;
    padding:40px 25px;
    text-align:center;
    backdrop-filter:blur(20px);
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}.service-card:nth-child(5){
    grid-column:2;
}

.service-card:nth-child(6){
    grid-column:3;
}

.service-card:hover{
    transform:translateY(-12px);
    box-shadow:0 0 30px rgba(0,217,255,0.5);
}
@media(max-width:991px){

    .service-container{
        grid-template-columns:1fr;
    }

    .service-card:nth-child(5),
    .service-card:nth-child(6){
        grid-column:auto;
    }
}.card,
.service-card,
.project-card,
.review-card{

    background: rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(20px);

    box-shadow:
    0 8px 32px rgba(0,0,0,0.3);

}
/* Projects */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.project-card{
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:20px;
    transition:.4s;
}

.project-card:hover{
    transform:scale(1.05);
    box-shadow:0 0 30px #00d9ff;
}

/* Certificate */

.cert-box{
    text-align:center;
}

.cert-box img{
    width:600px;
    max-width:100%;
    border-radius:20px;
    box-shadow:0 0 30px #00d9ff;
}

.download-btns{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}
.card,
.service-card,
.project-card,
.review-card{

    background: rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(20px);

    box-shadow:
    0 8px 32px rgba(0,0,0,0.3);

}
/* Reviews */

.review-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.review-card{
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:20px;
}

.review-card p{
    margin:20px 0;
}
.card,
.service-card,
.project-card,
.review-card{

    background: rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(20px);

    box-shadow:
    0 8px 32px rgba(0,0,0,0.3);

}
/* Contact */

.contact{
    text-align:center;
}

.contact h3{
    margin:15px 0;
}

.socials{
    margin-top:30px;
}

.socials a{
    width:55px;
    height:55px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.08);
    color:#fff;
    text-decoration:none;
    border-radius:50%;
    margin:10px;
    font-size:24px;
    transition:.4s;
}

.socials a:hover{
    background:#00d9ff;
    transform:translateY(-8px);
}

/* WhatsApp */

.whatsapp{
    position:fixed;
    bottom:30px;
    right:30px;
    width:65px;
    height:65px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    text-decoration:none;
    z-index:1000;
    box-shadow:0 0 20px #25D366;
}

/* Mobile */

@media(max-width:991px){

    nav{
        display:none;
    }

    .hero{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-text h1{
        font-size:45px;
    }

    .hero-text h2{
        font-size:28px;
    }

    .hero-image img{
        width:300px;
    }

    .hero-btns{
        justify-content:center;
        flex-wrap:wrap;
    }

    .section-title{
        font-size:35px;
    }
}
background:
radial-gradient(circle at top left,#111827,#050816,#000);
@media(max-width:991px){

    .hero{
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 180px; /* اوپر سے زیادہ جگہ */
    }

    .hero-image{
        margin-top: 40px;
    }

    .hero-image img{
        width: 280px;
        margin-top: 20px;
    }

}.cursor{
width:25px;
height:25px;
border:2px solid #00d9ff;
border-radius:50%;
position:fixed;
pointer-events:none;
z-index:9999;
transition:.1s;
}
#loader{
position:fixed;
width:100%;
height:100%;
background:#000814;
display:flex;
justify-content:center;
align-items:center;
z-index:99999;
}

#loader h1{
font-size:50px;
color:#00d9ff;
}
/* Snow Effect */

#snow{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:999;
    overflow:hidden;
}

.snowflake{
    position:absolute;
    top:-10px;
    color:white;
    animation:snowfall linear infinite;
}

@keyframes snowfall{

    0%{
        transform:translateY(-10vh);
        opacity:0;
    }

    10%{
        opacity:1;
    }

    100%{
        transform:translateY(110vh);
        opacity:0;
    }
}