/* ===================================================== */
/* GOOGLE FONT */
/* ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================================== */
/* GLOBAL CSS */
/* ===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0b1120;

    color:white;

    overflow-x:hidden;

    position:relative;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
}

/* ===================================================== */
/* CUSTOM SCROLLBAR */
/* ===================================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b1120;
}

::-webkit-scrollbar-thumb{
    background:#38bdf8;
    border-radius:20px;
}

/* ===================================================== */
/* ANIMATED BACKGROUND BLUR */
/* ===================================================== */

.blur{

    position:absolute;

    border-radius:50%;

    filter:blur(120px);

    z-index:-1;
}

.blur1{

    width:300px;
    height:300px;

    background:#2563eb;

    top:100px;
    left:-100px;

    opacity:.4;
}

.blur2{

    width:400px;
    height:400px;

    background:#06b6d4;

    right:-150px;
    top:500px;

    opacity:.3;
}

/* ===================================================== */
/* SECTION COMMON */
/* ===================================================== */

section{
    padding:100px 10%;
}

.section-header{

    text-align:center;

    margin-bottom:60px;
}

.section-header span{

    color:#38bdf8;

    font-size:14px;

    letter-spacing:3px;

    font-weight:600;
}

.section-header h2{

    margin-top:15px;

    font-size:40px;

    font-weight:700;
}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:20px 10%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    backdrop-filter:blur(20px);

    background:rgba(255,255,255,.05);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:999;
}

.logo{

    font-size:28px;

    font-weight:800;

    color:#38bdf8;

    letter-spacing:2px;
}

.nav-links{

    display:flex;

    gap:30px;
}

.nav-links a{

    color:white;

    transition:.3s;
}

.nav-links a:hover{

    color:#38bdf8;
}

.menu-btn{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:25px;

    cursor:pointer;
}

/* ===================================================== */
/* HERO SECTION */
/* ===================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;

    padding-top:120px;
}

.hero-left{

    flex:1;
}

.welcome-text{

    color:#38bdf8;

    margin-bottom:10px;

    font-size:18px;
}

.hero-left h1{

    font-size:90px;

    font-weight:800;

    line-height:1.1;
}

.hero-left h2{

    margin-top:15px;

    color:#38bdf8;

    font-size:35px;

    min-height:50px;
}

.hero-description{

    margin-top:25px;

    line-height:35px;

    color:#cbd5e1;

    max-width:650px;
}

.hero-buttons{

    margin-top:40px;

    display:flex;

    gap:20px;
}

.btn-primary{

    padding:15px 35px;

    background:#38bdf8;

    color:#000;

    border-radius:12px;

    font-weight:600;

    transition:.4s;
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 0 25px #38bdf8;
}

.btn-secondary{

    padding:15px 35px;

    border:2px solid #38bdf8;

    color:#38bdf8;

    border-radius:12px;

    transition:.4s;
}

.btn-secondary:hover{

    background:#38bdf8;

    color:black;
}

/* ===================================================== */
/* SOCIAL ICONS */
/* ===================================================== */

.social-icons{

    display:flex;

    gap:20px;

    margin-top:35px;
}

.social-icons a{

    width:50px;
    height:50px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#162033;

    color:#38bdf8;

    transition:.4s;
}

.social-icons a:hover{

    transform:translateY(-5px);

    box-shadow:0 0 20px #38bdf8;
}

/* ===================================================== */
/* HERO IMAGE */
/* ===================================================== */

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;
}

.profile-card{

    width:420px;

    height:420px;

    border-radius:50%;

    padding:8px;

    background:
    linear-gradient(
        135deg,
        #38bdf8,
        #2563eb
    );

    animation:float 5s ease-in-out infinite;
}

.profile-card img{

    width:100%;

    height:100%;

    border-radius:50%;

    object-fit:cover;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }
}

/* ===================================================== */
/* ABOUT SECTION */
/* ===================================================== */

.about-container{

    display:flex;

    align-items:center;

    gap:60px;
}

.about-left{

    flex:1;
}

.about-left img{

    border-radius:25px;
}

.about-right{

    flex:1;
}

.about-right h3{

    font-size:32px;

    margin-bottom:20px;
}

.about-right p{

    color:#cbd5e1;

    line-height:32px;
}

.about-info{

    margin-top:30px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;
}

.about-info div{

    background:#162033;

    padding:20px;

    border-radius:15px;
}

/* ===================================================== */
/* SKILLS SECTION */
/* ===================================================== */

.skills-container{

    max-width:900px;

    margin:auto;
}

.skill{

    margin-bottom:35px;
}

.skill span{

    display:block;

    margin-bottom:10px;

    font-weight:600;
}

.progress{

    width:100%;

    height:15px;

    background:#162033;

    border-radius:20px;

    overflow:hidden;
}

.progress-bar{

    height:100%;

    border-radius:20px;

    background:
    linear-gradient(
        90deg,
        #38bdf8,
        #2563eb
    );
}

.java{
    width:95%;
}

.android{
    width:90%;
}

.php{
    width:85%;
}

.mysql{
    width:88%;
}

/* ===================================================== */
/* STATISTICS SECTION */
/* ===================================================== */

.stats{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}

.stat-card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.08);

    padding:40px;

    border-radius:20px;

    text-align:center;

    transition:.4s;
}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

    box-shadow:0 0 25px rgba(56,189,248,.3);
}

.stat-card h2{

    font-size:50px;

    color:#38bdf8;

    margin-bottom:10px;
}

.stat-card p{

    color:#cbd5e1;
}

/* ===================================================== */
/* FEATURED PROJECT SECTION */
/* ===================================================== */

.project-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.project-card{

    background:#162033;

    padding:35px;

    border-radius:20px;

    transition:.4s;

    border:1px solid transparent;
}

.project-card:hover{

    transform:translateY(-10px);

    border-color:#38bdf8;

    box-shadow:0 0 25px rgba(56,189,248,.25);
}

.project-card h3{

    font-size:24px;

    margin-bottom:15px;

    color:#38bdf8;
}

.project-card p{

    color:#cbd5e1;

    line-height:28px;
}

.center-btn{

    text-align:center;

    margin-top:50px;
}

/* ===================================================== */
/* SOURCE CODE SECTION */
/* ===================================================== */

.source-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.source-card{

    background:
    linear-gradient(
        135deg,
        #162033,
        #1b2940
    );

    padding:40px;

    border-radius:20px;

    text-align:center;

    font-size:20px;

    font-weight:600;

    transition:.4s;

    cursor:pointer;
}

.source-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 25px rgba(56,189,248,.3);

    color:#38bdf8;
}

/* ===================================================== */
/* TECH STACK SECTION */
/* ===================================================== */

.tech-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(180px,1fr));

    gap:25px;
}

.tech-grid div{

    background:#162033;

    padding:25px;

    border-radius:15px;

    text-align:center;

    font-weight:600;

    transition:.4s;
}

.tech-grid div:hover{

    transform:scale(1.05);

    background:#38bdf8;

    color:black;
}

/* ===================================================== */
/* CONTACT CTA SECTION */
/* ===================================================== */

.contact-cta{

    text-align:center;

    background:
    linear-gradient(
        135deg,
        rgba(56,189,248,.15),
        rgba(37,99,235,.15)
    );

    border-radius:30px;

    margin:100px 10%;

    padding:80px 50px;
}

.contact-cta h2{

    font-size:45px;

    margin-bottom:20px;
}

.contact-cta p{

    max-width:700px;

    margin:auto;

    color:#cbd5e1;

    line-height:30px;

    margin-bottom:35px;
}

/* ===================================================== */
/* FOOTER SECTION */
/* ===================================================== */

footer{

    background:#070d18;

    padding:50px 10%;

    text-align:center;

    border-top:
    1px solid rgba(255,255,255,.08);
}

footer h3{

    color:#38bdf8;

    margin-bottom:15px;

    font-size:24px;
}

footer p{

    color:#94a3b8;
}

/* ===================================================== */
/* COMMON HOVER EFFECT */
/* ===================================================== */

.project-card,
.source-card,
.stat-card,
.tech-grid div{

    will-change:transform;
}

/* ===================================================== */
/* FADE IN ANIMATION */
/* ===================================================== */

.fade-up{

    opacity:0;

    transform:translateY(50px);

    transition:1s;
}

.fade-up.show{

    opacity:1;

    transform:translateY(0);
}

/* ===================================================== */
/* MOBILE RESPONSIVE */
/* ===================================================== */

@media(max-width:1200px){

    .hero-left h1{

        font-size:70px;
    }

    .profile-card{

        width:350px;
        height:350px;
    }

}

/* ===================================================== */
/* TABLET RESPONSIVE */
/* ===================================================== */

@media(max-width:992px){

    .hero{

        flex-direction:column-reverse;

        text-align:center;
    }

    .hero-left{

        width:100%;
    }

    .hero-description{

        margin:auto;

        margin-top:25px;
    }

    .hero-buttons{

        justify-content:center;
    }

    .social-icons{

        justify-content:center;
    }

    .about-container{

        flex-direction:column;
    }

    .about-right{

        text-align:center;
    }

}

/* ===================================================== */
/* MOBILE RESPONSIVE */
/* ===================================================== */

@media(max-width:768px){

    .navbar{

        padding:20px 5%;
    }

    .nav-links{

        display:none;
    }

    .menu-btn{

        display:block;
    }

    .hero-left h1{

        font-size:55px;
    }

    .hero-left h2{

        font-size:28px;
    }

    .section-header h2{

        font-size:32px;
    }

    .contact-cta h2{

        font-size:32px;
    }

    .about-info{

        grid-template-columns:1fr;
    }

    .profile-card{

        width:280px;
        height:280px;
    }

}

/* ===================================================== */
/* SMALL MOBILE */
/* ===================================================== */

@media(max-width:480px){

    section{

        padding:80px 7%;
    }

    .hero-left h1{

        font-size:45px;
    }

    .hero-buttons{

        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{

        width:100%;
    }

    .contact-cta{

        margin:80px 5%;

        padding:50px 20px;
    }

}

/* ===================================================== */
/* PREMIUM GLOW EFFECT */
/* ===================================================== */

.btn-primary{

    position:relative;

    overflow:hidden;
}

.btn-primary::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );

    transition:.7s;
}

.btn-primary:hover::before{

    left:100%;
}

/* ===================================================== */
/* IMAGE HOVER EFFECT */
/* ===================================================== */

.profile-card img{

    transition:.5s;
}

.profile-card:hover img{

    transform:scale(1.05);
}

/* ===================================================== */
/* SECTION SPACING FIX */
/* ===================================================== */

.projects,
.source-codes,
.tech-stack{

    position:relative;
}


/* ===================================================== */
/* MOBILE MENU TOGGLE */
/* ===================================================== */

.mobile-active{

    display:flex !important;

    position:absolute;

    top:80px;

    left:0;

    width:100%;

    flex-direction:column;

    text-align:center;

    background:#111827;

    padding:30px 0;

    gap:20px;
}

/* ===================================================== */
/* END OF HOME PAGE CSS */
/* ===================================================== */




/* ===================================================== */
/* SOURCE CODE PAGE */
/* ===================================================== */

.page-hero{

    text-align:center;

    padding-top:180px;
}

.page-hero h1{

    font-size:60px;

    margin-bottom:20px;
}

.page-hero p{

    color:#cbd5e1;
}

.source-search{

    display:flex;

    justify-content:center;

    margin-top:50px;
}

.source-search input{

    width:600px;

    max-width:90%;

    padding:18px;

    border:none;

    border-radius:15px;

    background:#162033;

    color:white;

    font-size:18px;
}

.filter-section{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:40px;
}

.filter-btn{

    padding:12px 25px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:#162033;

    color:white;
}

.filter-btn.active{

    background:#38bdf8;

    color:black;
}

.source-list{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.source-item{

    background:#162033;

    padding:30px;

    border-radius:20px;

    transition:.4s;
}

.source-item:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 20px rgba(56,189,248,.3);
}

.category{

    display:inline-block;

    margin-bottom:20px;

    color:#38bdf8;

    font-weight:600;
}

.source-item h3{

    margin-bottom:15px;
}

.source-item p{

    color:#cbd5e1;

    line-height:28px;
}

.source-footer{

    display:flex;

    gap:15px;

    margin-top:25px;
}

/* ========================================= */
/* PROJECT PAGE */
/* ========================================= */

.project-grid-page{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:30px;

    padding:100px 10%;
}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:15px;

    margin-bottom:20px;
}

.tech{

    margin-top:15px;

    color:#38bdf8;

    font-weight:600;
}

.project-buttons{

    display:flex;

    gap:15px;

    margin-top:25px;
}


/* ========================================= */
/* TECHNOLOGY BADGES */
/* ========================================= */

.badge-container{

    margin-top:30px;

    display:flex;

    flex-wrap:wrap;

    gap:15px;
}

.tech-badge{

    background:#38bdf8;

    color:black;

    padding:10px 18px;

    border-radius:30px;

    font-weight:600;
}

/* ========================================= */
/* GALLERY */
/* ========================================= */

.gallery-slider{

    display:flex;

    gap:20px;

    overflow-x:auto;

    padding:20px 0;
}

.gallery-image{

    width:400px;

    height:250px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;
}

.gallery-image:hover{

    transform:scale(1.05);
}


.features-section{

    margin-top:80px;
}

.features-section ul{

    margin-top:20px;
}

.features-section li{

    margin-bottom:15px;

    color:#cbd5e1;
}


.github-stats{

    display:flex;

    gap:30px;

    margin-top:80px;
}

.github-card{

    flex:1;

    text-align:center;

    padding:30px;

    border-radius:20px;

    background:#162033;
}

/* ========================================= */
/* BLOG PAGE */
/* ========================================= */

.blog-hero{

    padding:180px 10% 100px;

    text-align:center;
}

.blog-hero h1{

    font-size:70px;

    margin-bottom:20px;
}

.blog-hero p{

    color:#94a3b8;

    font-size:20px;
}

.blog-search{

    display:flex;

    justify-content:center;

    margin-bottom:60px;
}

.blog-search input{

    width:700px;

    max-width:90%;

    padding:18px;

    border:none;

    border-radius:15px;

    background:#162033;

    color:white;

    font-size:18px;
}

.blog-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

    padding:0 10% 100px;
}

.blog-link{

    text-decoration:none;

    color:white;
}

.blog-card{

    background:#162033;

    border-radius:20px;

    overflow:hidden;

    transition:.4s;
}

.blog-card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 0 30px rgba(56,189,248,.25);
}

.blog-card img{

    width:100%;

    height:250px;

    object-fit:cover;
}

.blog-content{

    padding:25px;
}

.blog-category{

    color:#38bdf8;

    font-weight:600;
}

.blog-content h3{

    margin:15px 0;
}

.blog-content p{

    color:#cbd5e1;

    line-height:28px;
}

.blog-meta{

    margin-top:20px;

    color:#94a3b8;

    font-size:14px;
}