html{
    scroll-behavior: smooth;
}
section{
    scroll-margin-top: 100px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    color: #ededed;
}

.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 15px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;

    box-shadow: 0 0 20px rgba(0,238,255,.15);

    z-index: 1000;
}

.logo {
    position: relative;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    letter-spacing: 1px;

}

.logo span{
    color:#0ef;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    transition: .4s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
    position: relative;
}

.navbar a:hover {
    color: #0ef;
    text-shadow:
        0 0 10px #0ef,
        0 0 20px #0ef;
}

.navbar a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;

    width:0%;
    height:2px;

    background:#0ef;
    transition:.4s;
}

.navbar a:hover::after{
    width:100%;
}

.navbar a.active{
    color:#0ef;
}

.navbar a.active::after{
    width:100%;
}

.home {
    position: relative;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
    
    background-color: #081b29;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content {
    max-width: 600px;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;

}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;

}

.home-content h3 span {
    color: #0ef;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;


}

.home-content p {
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;

}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));

    margin: 30px 15px 30px 0;
}

.home-sci a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    margin-top: 20px;
    box-shadow: 0 0 7px #0ef,
        0 0 5px #0ef
}

.btn-box:hover {
    box-shadow: 0 0 5px cyan,
        0 0 3px cyan, 0 0 50px cyan,
        0 0 7px cyan, 0 0 200px cyan
}


@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* ===========================
   Profile Image Right Side
=========================== */

.home {
    background: #081b29;
}

.home-img {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    padding: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        45deg,
        #00ffff,
        #ff00ff,
        #00ffff
    );

    box-shadow:
        0 0 20px #00ffff,
        0 0 40px #00ffff,
        0 0 60px #ff00ff;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #081b29;
    
}

.img-box::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    box-shadow:
        0 0 25px cyan,
        0 0 50px cyan,
        0 0 80px #ff00ff;
    z-index: -1;
}

/* Responsive */

@media (max-width: 991px) {

    .home {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .home-img {
        width: 100%;
        margin-top: 50px;
    }

    .img-box {
        width: 300px;
        height: 300px;
    }
}

/* ABOUT */

.about{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:4rem;
    background:#081b29;
    padding:100px 10%;
}



.about-text h2{
    font-size:60px;
}

.about-text h2 span{
    color:#0ef;
}

.about-text h4{
    font-size:25px;
    margin:15px 0;
}

.about-text p{
    line-height:1.7;
}

/* SERVICES */

#services{
    padding:80px 10%;
    background:#081b29;
}

.sub-title{
    text-align:center;
    font-size:50px;
    margin-bottom:50px;
}

.sub-title span{
    color:#0ef;
}

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

.services-list div{
    background:#051129;
    padding:30px;
    border-radius:20px;
    box-shadow:0 0 20px rgba(0,238,255,.3);
    transition:.5s;
}

.services-list div:hover{
    transform:translateY(-10px);
}

.services-list i{
    font-size:50px;
    color:#0ef;
}

.read{
    display:inline-block;
    margin-top:20px;
    padding:10px 20px;
    background:#0ef;
    color:#081b29;
    text-decoration:none;
    border-radius:30px;
}

/* SKILLS */

.skills-section{
    background:#081b29;
    padding:100px 10%;
    
}

.skills-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    text-align:center;
}

.technical-skills h2,
.professional-skills h2{
    margin-left:90px;
    margin-bottom:30px;
    
}


.bar{
    margin:25px 0;
}

.progress-line{
    height:8px;
    background:#000;
    border-radius:10px;
    overflow:hidden;
}

.progress-line span{
    display:block;
    height:100%;
    background:#0ef;
    border-radius:10px;
    width:0;
}

.html span{
    animation:html 2s forwards;
}

.css span{
    animation:css 2s forwards;
}

.javascript span{
    animation:javascript 2s forwards;
}

.python span{
    animation:python 2s forwards;
}

@keyframes html{
    100%{width:90%;}
}

@keyframes css{
    100%{width:85%;}
}

@keyframes javascript{
    100%{width:80%;}
}

@keyframes python{
    100%{width:75%;}
}

/* CIRCULAR SKILLS */

.radial-bars{
    display:flex;
    gap:30px;
    margin-left:180px;
}

.radial-bar{
    text-align:center;
}

.radial-bar svg{
    width:120px;
    height:120px;
    transform:rotate(-90deg);
}


.progress-bg{
    fill:none;
    stroke:#000;
    stroke-width:10;
}

.path{
    fill:none;
    stroke:#0ef;
    stroke-width:10;
    stroke-linecap:round;
    stroke-dasharray:314;
}

.path-1{
    stroke-dashoffset:314;
    animation:circle1 2s forwards;
}

.path-2{
    stroke-dashoffset:314;
    animation:circle2 2s forwards;
}

.path-3{
    stroke-dashoffset:314;
    animation:circle3 2s forwards;
}

.path-4{
    stroke-dashoffset:314;
    animation:circle4 2s forwards;
}

@keyframes circle1{
    to{stroke-dashoffset:31;}
}

@keyframes circle2{
    to{stroke-dashoffset:47;}
}

@keyframes circle3{
    to{stroke-dashoffset:78;}
}

@keyframes circle4{
    to{stroke-dashoffset:16;}
}

.percentage{
    margin-top:-85px;
    font-size:20px;
    font-weight:bold;
}

.text{
    margin-top:60px;
}

/* CONTACT */

.contact{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:50px;
    padding:100px 10%;
    background:#081b29;
}


.contact-text p{
    margin-bottom:20px;
    
}

.contact-text h4{
    margin-top:-40px;
}

.contact h2 span{
    color:#0ef;
}

.contact-form form input,
.contact-form form textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    background:#fff;
    border:none;
    border-radius:8px;
}

.send{
    background:#0ef !important;
    font-weight:bold;
    cursor:pointer;
}


/* EDUCATION */

.education{
    padding:100px 10%;
    background:#081b29;
}

.education-box{
    background:#051129;
    border:1px solid #0ef;
    border-radius:20px;
    padding:30px;
    box-shadow:0 0 20px rgba(0,238,255,.3);
}

.education-box h2{
    color:#0ef;
    margin-bottom:25px;
}

.edu-item{
    margin-bottom:25px;
}

/* TECHNOLOGIES */

.technologies{
    padding:100px 10%;
    background:#081b29;
}

.tech-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
    margin-top:-100px;
}

.tech-card{
    margin-left:-60px;
    margin-right:40px;
    width:500px;
    background:#051129;
    padding:25px;
    border-radius:20px;
    border:1px solid rgba(0,238,255,.2);
    box-shadow:0 0 15px rgba(0,238,255,.15);
    transition:.4s ease;
}

.tech-card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px #0ef;
}

.tech-card span{
    display:inline-block;
    background:#112e42;
    padding:8px 15px;
    border-radius:20px;
    margin:5px;
}

/* PROJECTS */

.projects{
    padding:100px 10%;
    background:#081b29;
}

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

.project-card{
    background:#051129;
    padding:30px;
    border-radius:20px;
    text-align:center;
    transition:.5s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px #0ef;
}

/* CERTIFICATIONS */

.certifications{
    padding:100px 10%;
    background:#081b29;
}

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

.cert-card{
    background:#051129;
    padding:25px;
    border-radius:20px;
    transition:.5s;
}

.cert-card:hover{
    box-shadow:0 0 20px #0ef;
}


/* Section Icons */

.education-icon,
.tech-card i,
.cert-card i,
.education-box i {
    font-size: 28px;
    color: #0ef;
    margin-right: 10px;
}

.tech-card h3,
.cert-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.education-box h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon Hover Effect */

.tech-card:hover i,
.cert-card:hover i,
.education-box:hover i {
    transform: scale(1.2);
    transition: .3s;
    text-shadow: 0 0 15px #0ef;
}




.icon-box{
    width:55px;
    height:55px;
    background:#0ef;
    color:#081b29;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:15px;
}

.icon-box i{
    font-size:28px;
    color:#081b29;
}




.fade-out{
    opacity:0;
}


/* CONTACT SECTION */

.contact{
    padding:100px 10%;
    background:#081b29;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-left h5{
    color:#0ef;
    letter-spacing:2px;
    margin-bottom:10px;
}

.contact-left h2{
    font-size:48px;
    margin-bottom:35px;
}

.contact-card{
    display:flex;
    align-items:center;
    gap:20px;
    background:#0b1623;
    border:1px solid rgba(0,238,255,.15);
    border-radius:18px;
    padding:18px 20px;
    margin-bottom:18px;
    transition:.4s ease;
}

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

.contact-card i{
    width:55px;
    height:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0ef,#6ca8ff);
    border-radius:15px;
    font-size:24px;
    color:#081b29;
}

.contact-card span{
    font-size:14px;
    color:#aaa;
}

.contact-card p{
    margin-top:3px;
    font-size:16px;
    color:#fff;
}

/* RIGHT FORM */

.contact-right{
    height: 490px;
    margin-top: 80px;
    background:#0b1623;
    border:1px solid rgba(0,238,255,.15);
    border-radius:20px;
    padding:30px;
}

.input-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.input-group{
    margin-bottom:20px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#ddd;
}

.input-group input,
.input-group textarea{
    width:100%;
    background:#08121d;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    padding:14px;
    color:#fff;
    outline:none;
}

.input-group input:focus,
.input-group textarea:focus{
    border-color:#0ef;
}

.send-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:linear-gradient(
    90deg,
    #57e7ff,
    #5b8dff
    );
    color:#081b29;
    font-weight:700;
    cursor:pointer;
    transition:.4s;
}

.send-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 25px rgba(0,238,255,.4);
}

/* MOBILE */

@media(max-width:900px){

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

    .input-row{
        grid-template-columns:1fr;
    }

    .contact-left h2{
        font-size:35px;
    }

}



.about-img{
    width:1370px;
    height:290px;
    border-radius:50%;
    overflow:hidden;
    position:relative;
    border:5px solid #0ef;
    box-shadow:
        0 0 20px #0ef,
        0 0 40px rgba(0,238,255,.6);

    animation: glowRing 3s linear infinite;
}

.about-video{
    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:50%;
}

@keyframes glowRing{

    0%{
        box-shadow:
        0 0 20px #00ffff,
        0 0 40px #00ffff;
    }

    50%{
        box-shadow:
        0 0 25px #ff00ff,
        0 0 50px #ff00ff;
    }

    100%{
        box-shadow:
        0 0 20px #00ffff,
        0 0 40px #00ffff;
    }

}

.about-video{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.15);
}


/* FOOTER */

.footer{
    background:#051129;
    padding:70px 10% 20px;
    border-top:1px solid rgba(0,238,255,.15);
}

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

.footer-about h3{
    color:#fff;
    font-size:30px;
    margin-bottom:15px;
}

.footer-about span{
    color:#0ef;
}

.footer-about p{
    color:#bdbdbd;
    line-height:1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4{
    color:#0ef;
    margin-bottom:20px;
}

.footer-links a{
    display:block;
    color:#bdbdbd;
    text-decoration:none;
    margin-bottom:10px;
    transition:.3s;
}

.footer-links a:hover{
    color:#0ef;
    padding-left:10px;
}

.footer-contact p{
    margin-bottom:15px;
    color:#bdbdbd;
}

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

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #0ef;
    border-radius:50%;
    color:#0ef;
    text-decoration:none;
    transition:.4s;
}

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

.footer-bottom{
    margin-top:50px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-bottom p{
    color:#bdbdbd;
}

.top-btn{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0ef;
    color:#081b29;
    border-radius:50%;
    text-decoration:none;
    font-size:22px;
    transition:.4s;
}

.top-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px #0ef;
}



/* correct projects */
.projects{
    padding:100px 10%;
    background:#081b29;
}

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

.project-image{
    width:100%;
    height:auto;
    overflow:hidden;
    background: #051129;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    
}

.project-image img{
    width:100%;
    height: 100%;
    object-fit:contain;
    object-position:center top;
    display:block;
    transition:.5s;
}

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


.project-card{
    background:#051129;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(0,238,255,.15);
    transition:.4s ease;
}

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


.project-info{
    padding:15px;
}

.project-info h3{
    margin-bottom:15px;
    color:#fff;
}

.project-info p{
    color:#bdbdbd;
    line-height:1.8;
}

.tech-stack{
    margin-top:15px;
}

.tech-stack span{
    display:inline-block;
    background:#0ef;
    color:#081b29;
    padding:6px 12px;
    border-radius:20px;
    margin:5px;
    font-size:12px;
    font-weight:600;
}

.project-links{
    margin-top:20px;
}

.project-links a{
    text-decoration:none;
    color:#0ef;
    font-weight:600;
}