*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0d1117;
    color:white;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:#161b22;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:30px;
    font-weight:bold;
    color:#58a6ff;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:15px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    padding:8px 0;
    transition:.3s;
    position:relative;
    font-size:15px;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#29d8ff;
    transition:.3s;
}

nav ul li a:hover{
    color:#29d8ff;
}

nav ul li a:hover::after{
    width:100%;
}

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:70px 10%;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#0d1117,#170c3d,#0d1117);
}

.hero-text{
    width:50%;
}

.hero-text h3{
    font-size:32px;
    color:#fff;
}




.gradient-text{
    background: linear-gradient(
        90deg,
        #29d8ff,
        #58a6ff,
        #7c3aed,
        #29d8ff
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine{
    0%{
        background-position: 0% center;
    }
    100%{
        background-position: 300% center;
    }
}

.hero-text p{
    font-size:22px;
    color:#d5d5d5;
    line-height:1.7;
}

.hero-image{
    width:50%;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
}

.profile{
    width:650px;
    max-width:100%;
    height:auto;
    object-fit:contain;
    border:none;
    background:transparent;
    box-shadow:none;
}

#typing{
    margin:15px 0;
    font-size:24px;
    color:#29d8ff;
}

.buttons{
    margin-top:35px;
}

.btn{
    display:inline-block;
    padding:14px 34px;
    border-radius:40px;
    background:#29d8ff;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    margin-right:20px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    background:#1f6feb;
}

.btn2{
    background:transparent;
    border:2px solid #29d8ff;
}

.social-icons{
    margin:25px 0;
}

.social-icons a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:45px;
    height:45px;
    margin-right:15px;
    border:2px solid #29d8ff;
    border-radius:50%;
    color:#29d8ff;
    text-decoration:none;
    font-size:22px;
    transition:.3s;
}

.social-icons a:hover{
    background:#29d8ff;
    color:#0d1117;
    transform:translateY(-5px);
}


.about{
    padding:80px 10%;
    text-align:center;
}

.about h2{
    font-size:40px;
    color:#58a6ff;
    margin-bottom:30px;
}

.about-card{
    max-width:850px;
    margin:auto;
    padding:35px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.1);
    transition:.4s;
}

.about-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 30px rgba(88,166,255,.5);
}

.about p{
    font-size:20px;
    line-height:1.8;
    color:#ddd;
}
.skills{
    padding:80px 10%;
    background:#0d1117;
}

.skills h2{
    text-align:center;
    color:#58a6ff;
    font-size:40px;
    margin-bottom:40px;
}

.skill{
    margin-bottom:25px;
}

.skill span{
    font-size:18px;
}

.bar{
    width:100%;
    height:12px;
    background:#333;
    border-radius:20px;
    overflow:hidden;
    margin-top:8px;
}

.bar div{
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#58a6ff,#00ffff);
    animation:fillBar 2s forwards;
}

.html{width:90%;}
.css{width:85%;}
.javascript{width:75%;}
.python{width:80%;}
.java{width:70%;}
.android{width:70%;}

@keyframes fillBar{
    from{
        width:0;
    }
}
.education{
    padding:80px 10%;
    text-align:center;
    background:#0d1117;
}

.education h2{
    font-size:40px;
    color:#58a6ff;
    margin-bottom:40px;
}


.internships{
    padding:80px 10%;
    background:#161b22;
    text-align:center;
}

.internships h2{
    font-size:40px;
    color:#58a6ff;
    margin-bottom:40px;
}

.internship-card{
    max-width:700px;
    margin:20px auto;
    padding:25px;
    border-radius:15px;
    background:#0d1117;
    border:2px solid #58a6ff;
    transition:0.4s;
}

.internship-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #58a6ff;
}

.internship-card h3{
    color:#58a6ff;
    margin-bottom:10px;
}
.hero::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:#29d8ff;
    filter:blur(180px);
    opacity:.15;
    top:-180px;
    right:-180px;
}

.hero::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#7c3aed;
    filter:blur(180px);
    opacity:.18;
    bottom:-150px;
    left:-150px;
}
.hero-text,
.hero-image{
    position:relative;
    z-index:2;
}


.project-card p{
    color:#d5d5d5;
    line-height:1.6;
    margin-bottom:20px;
}

.contact{
    padding:80px 10%;
    background:#161b22;
    text-align:center;
}

.contact h2{
    font-size:40px;
    color:#29d8ff;
    margin-bottom:40px;
}

.contact-box{
    max-width:700px;
    margin:auto;
    padding:30px;
    border-radius:20px;
    background:#0d1117;
    border:1px solid rgba(255,255,255,.1);
}

.contact-box p{
    margin:15px 0;
    font-size:20px;
}

.contact-links{
    margin-top:30px;
}

.contact-links a{
    display:inline-block;
    margin:10px;
    padding:12px 25px;
    border-radius:30px;
    background:#29d8ff;
    color:white;
    text-decoration:none;
    transition:.3s;
}

.contact-links a:hover{
    background:#1f6feb;
    transform:translateY(-5px);
}
.whatsapp{
    margin:20px 0;
    font-size:20px;
}

.whatsapp i{
    color:#25D366;
    font-size:28px;
    margin-right:10px;
}

.whatsapp a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.whatsapp a:hover{
    color:#25D366;
}
footer{
    background:#0b0f15;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    color:#29d8ff;
    font-size:30px;
    margin-bottom:10px;
}

footer p{
    color:#bbb;
    margin:10px 0;
}

.footer-icons{
    margin:25px 0;
}

.footer-icons a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:50px;
    height:50px;
    margin:0 10px;
    border:2px solid #29d8ff;
    border-radius:50%;
    color:#29d8ff;
    font-size:22px;
    text-decoration:none;
    transition:.3s;
    overflow:hidden;
}

.footer-icons a:hover{
    background:#29d8ff;
    color:#0d1117;
    transform:translateY(-5px);
}

.copyright{
    font-size:14px;
    color:#777;
}

/* ===========================
   Responsive Design
=========================== */


.top-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    background:#29d8ff;
    color:#0d1117;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:22px;
    box-shadow:0 0 15px rgba(41,216,255,.6);
    transition:.3s;
    z-index:999;
}

.top-btn:hover{
    transform:translateY(-5px);
    background:#1f6feb;
    color:white;
}

.tech{
    padding:80px 10%;
    background:#161b22;
    text-align:center;
}

.tech h2{
    color:#29d8ff;
    font-size:40px;
    margin-bottom:40px;
}

.tech-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.tech-card{
    width:140px;
    height:140px;
    background:#0d1117;
    border:2px solid #29d8ff;
    border-radius:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    transition:.3s;
}

.tech-card i{
    font-size:55px;
    margin-bottom:12px;
}

.tech-card p{
    font-size:18px;
    color:white;
}

.tech-card:hover{
    transform:translateY(-10px) scale(1.05);
    box-shadow:0 0 25px #29d8ff;
}


.timeline{
    position:relative;
    max-width:800px;
    margin:40px auto;
    padding-left:30px;
    border-left:3px solid #29d8ff;
}

.timeline-item{
    position:relative;
    margin-bottom:40px;
}

.timeline-dot{
    width:18px;
    height:18px;
    background:#29d8ff;
    border-radius:50%;
    position:absolute;
    left:-41px;
    top:5px;
}

.timeline-content{
    background:#161b22;
    padding:20px;
    border-radius:15px;
    transition:.3s;
}

.timeline-content:hover{
    transform:translateX(10px);
    box-shadow:0 0 20px #29d8ff;
}

.timeline-content h3{
    color:#29d8ff;
}

.timeline-content span{
    color:#aaa;
    font-size:15px;
}
.projects{
    padding:80px 10%;
    text-align:center;
}

.project-container{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:25px;
    flex-wrap:wrap;
}



.project-card{
    background:#161b22;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
}

.project-card img{
    width:100%;
    height:170px;
    object-fit:cover;
}

.project-card h3{
    color:#29d8ff;
    margin:20px 0 10px;
}

.project-card p{
    padding:0 20px;
    color:#ccc;
}

.project-links{
    margin:25px 0;
}

.project-links a{
    text-decoration:none;
    color:white;
    background:#29d8ff;
    padding:10px 20px;
    border-radius:30px;
    margin:0 8px;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px #29d8ff;
}
nav ul li a.active{
    color:#29d8ff;
}

nav ul li a.active::after{
    width:100%;
}
.services .project-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:25px;
}

.services .project-card{
    width:100%;
    max-width:700px;
}
section{
    scroll-margin-top: 100px;
}
.services{
    padding:80px 10%;
    text-align:center;
    background:#0d1117;
}

.services h2{
    font-size:40px;
    font-weight:bold;
    color:#58a6ff;
    margin-bottom:40px;
    text-align:center;
}
.project-card{
    padding-bottom:15px;
}

.project-card h3{
    margin:15px 0 8px;
    font-size:22px;
}

.project-card p{
    font-size:15px;
    padding:0 15px;
}
.projects h2{
    font-size:40px;
    font-weight:bold;
    color:#58a6ff;
    text-align:center;
    margin-bottom:40px;
}


/* ===== Preloader ===== */



#preloader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#0d1117;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:opacity .5s ease;
}

.loader{
    width:70px;
    height:70px;
    border:6px solid #1f2937;
    border-top:6px solid #29d8ff;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
.cursor-glow{
    position:fixed;
    width:25px;
    height:25px;
    background:#29d8ff;
    border-radius:50%;
    pointer-events:none;
    transform:translate(-50%,-50%);
    filter:blur(12px);
    opacity:.6;
    z-index:9999;
}
.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

#theme-toggle{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#29d8ff;
    color:white;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

#theme-toggle:hover{
    transform:rotate(20deg);
    background:#1f6feb;
}

/* Light Mode */

body.light-mode{
    background:#f5f5f5;
    color:#111;
}

body.light-mode nav{
    background:#ffffff;
}

body.light-mode .logo{
    color:#0077ff;
}

body.light-mode nav ul li a{
    color:#111;
}

body.light-mode .about-card,
body.light-mode .project-card,
body.light-mode .internship-card,
body.light-mode .contact-box,
body.light-mode .timeline-content,
body.light-mode .tech-card{
    background:#ffffff;
    color:#111;
}

body.light-mode .project-card p,
body.light-mode .about p,
body.light-mode .contact-box p{
    color:#333;
}
.hero-text h1{
    font-size:72px;
    margin:15px 0;
    font-weight:800;
    text-shadow:0 0 25px rgba(41,216,255,.25);
}

/* Hamburger Menu */


.logo-area{
    display:flex;
    align-items:center;
    gap:12px;
}


/* Project Tags */
.project-tags{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin:15px 20px;
}

.project-tags span{
    background:linear-gradient(135deg,#29d8ff,#1f6feb);
    color:#fff;
    padding:6px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    transition:all .3s ease;
    cursor:default;
}

.project-tags span:hover{
    transform:translateY(-3px);
    box-shadow:0 0 12px rgba(41,216,255,.6);
}

.stats{
    padding:70px 10%;
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    background:#161b22;
}

.stat-box{
    width:220px;
    padding:30px;
    text-align:center;
    background:#0d1117;
    border:2px solid #29d8ff;
    border-radius:18px;
    transition:.3s;
}

.stat-box:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(41,216,255,.7);
}

.stat-box h2{
    font-size:48px;
    color:#29d8ff;
    margin-bottom:10px;
}

.stat-box p{
    font-size:18px;
    color:#ddd;
}

.menu-toggle{
    display:none;
}

@media(max-width:768px){

nav{
    padding:15px 20px;
}

.logo{
    font-size:24px;
}

.menu-toggle{
    display:block;
}

nav ul{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    flex-direction:column;
    background:#161b22;
    display:none;
    padding:20px 0;
}

nav ul li{
    margin:12px 0;
    text-align:center;
}

nav ul.active{
    display:flex;
}

.hero{
    flex-direction:column-reverse;
    text-align:center;
    padding:60px 20px;
}

.hero-text,
.hero-image{
    width:100%;
}

.hero-text h3{
    font-size:24px;
}

.hero-text h1{
    font-size:42px;
}

#typing{
    font-size:18px;
}

.hero-text p{
    font-size:17px;
}

.profile{
    width:260px;
}

.buttons .btn{
    display:block;
    margin:15px auto;
    width:220px;
}

.social-icons a{
    width:40px;
    height:40px;
    font-size:18px;
}

.about,
.skills,
.tech,
.services,
.education,
.internships,
.projects,
.contact{
    padding:50px 20px;
}

.about h2,
.skills h2,
.tech h2,
.services h2,
.education h2,
.internships h2,
.projects h2,
.contact h2{
    font-size:32px;
}

.about-card{
    padding:20px;
}

.about p{
    font-size:16px;
}

.tech-grid{
    gap:15px;
}

.tech-card{
    width:120px;
    height:120px;
}

.tech-card i{
    font-size:45px;
}

.project-card{
    width:100%;
}

.project-card img{
    height:160px;
}

.timeline{
    padding-left:20px;
}

.stats{
    padding:50px 20px;
}

.stat-box{
    width:100%;
}

.cursor-glow{
    display:none;
}

}


