/* =========================
   GOOGLE RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #0F172A;
    color: #F8FAFC;
}

/* =========================
   GLOBAL
========================= */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(15, 23, 42, 0.90);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    transition: .35s cubic-bezier(.2,.8,.2,1);
}

/* =========================
   NAVBAR
========================= */

.navbar {

    max-width: 1400px;
    margin: auto;

    height: 85px;

    padding: 0 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   LEFT
========================= */

.logo {

    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-image {

    width: 55px;
    height: 55px;

    border-radius: 50%;
    object-fit: cover;

    border: 2px solid #2563EB;
}

.logo-text h2 {

    font-size: 1.1rem;
    font-weight: 600;
}

.logo-text p {

    color: #94A3B8;
    font-size: .82rem;
}

/* =========================
   CENTER
========================= */

.nav-links {

    display: flex;
    gap: 35px;

}

.nav-links a {

    color: #CBD5E1;

    transition: .3s ease;

    position: relative;

}

.nav-links a:hover,
.nav-links a.active {

    color: #38BDF8;

}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: #38BDF8;

    transition: .3s ease;

}

.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;

}

/* =========================
   RIGHT
========================= */

.nav-right {

    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links {

    display: flex;
    gap: 18px;
}

.social-links a {

    color: #CBD5E1;
    transition: .3s;
}

.social-links a:hover {

    color: #38BDF8;
}

.cta-button {

    background: #2563EB;

    color: white;

    padding: 12px 22px;

    border-radius: 12px;

    font-weight: 500;

    transition:.35s cubic-bezier(.2,.8,.2,1);
}

.cta-button:hover {

    background: #1D4ED8;

    transform: translateY(-2px);
}

/* =========================
   ACTIVE LINK
========================= */

.nav-links a.active {

    color: #38BDF8;
    font-weight: 600;
}

.nav-links a {

    position: relative;
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: #38BDF8;

    transition: .3s;
}

.nav-links a:hover::after {

    width: 100%;
}

.nav-links a.active::after {

    width: 100%;
}

.cta-button {

    box-shadow: 0 0 20px rgba(37,99,235,.25);
}

.cta-button:hover {

    box-shadow: 0 8px 30px rgba(37,99,235,.45);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {

    min-height: calc(100vh - 85px);

    display: flex;
    align-items: center;

    padding: 80px 50px;

}

.hero-content {

    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    align-items: center;

    gap: 80px;

}

/* LEFT */

.hero-badge{

    display:inline-block;

    background:#1E293B;

    color:#38BDF8;

    padding:10px 18px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.08);

    margin-bottom:25px;

    font-size:.9rem;

}

.hero-left h1{

    font-size:4rem;

    line-height:1.15;

    margin-bottom:25px;

    font-weight:700;

}

.hero-left p{

    color:#CBD5E1;

    font-size:1.1rem;

    line-height:1.8;

    max-width:650px;

    margin-bottom:40px;

}

/* BUTTONS */

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:45px;

}

.primary-btn,
.secondary-btn{

    padding:15px 28px;

    border-radius:12px;

    font-weight:600;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.primary-btn{

    background:#2563EB;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.primary-btn:hover{

    transform:translateY(-4px) scale(1.02);

    box-shadow:0 14px 34px rgba(37,99,235,.35);

}

.secondary-btn{

    border:2px solid #2563EB;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.secondary-btn:hover{

    background:#2563EB;

    border-color:#2563EB;

    transform:translateY(-4px);

    box-shadow:0 14px 34px rgba(37,99,235,.25);

}

/* TECH */

.hero-tech{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.hero-tech span{

    background:#1E293B;

    padding:10px 18px;

    border-radius:999px;

    color:#CBD5E1;

    border:1px solid rgba(255,255,255,.06);

}

/* RIGHT */

.hero-right{

    display:flex;

    justify-content:center;

}

.hero-card{

    width:430px;

    height:520px;

    background:#1E293B;

    border:1px solid rgba(255,255,255,.08);

    border-radius:28px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:18px;

    position:relative;

    overflow:hidden;

    animation: float 5s ease-in-out infinite;

}

.hero-card::before{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    background:#2563EB;

    filter:blur(130px);

    opacity:.18;

}

.workflow-node{

    width:90px;

    height:90px;

    border-radius:18px;

    background:#0F172A;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    font-size:1.1rem;

    z-index:2;

    transition:.4s;

}

.workflow-node:hover{

    transform:scale(1.08);

    background:#2563EB;

}

.workflow-line{

    width:4px;

    height:35px;

    background:#38BDF8;

    border-radius:50px;

}

/*==========================
    TECH STACK
==========================*/

.tech-stack{

    padding:120px 50px;

}

.section-heading{

    text-align:center;

    margin-bottom:70px;

}

.section-heading span{

    color:#38BDF8;

    font-weight:600;

    letter-spacing:2px;

    font-size:.85rem;

}

.section-heading h2{

    font-size:2.7rem;

    margin:15px 0;

}

.section-heading p{

    color:#94A3B8;

    max-width:650px;

    margin:auto;

    line-height:1.8;

}

.tech-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.tech-card{

    background:rgba(30,41,59,.72);

backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:40px;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.tech-card:hover{

    transform:translateY(-8px);

    border-color:#38BDF8;

    box-shadow:0 20px 45px rgba(56,189,248,.12);

}

.tech-icon{

    font-size:2rem;

    margin-bottom:20px;

}

.tech-card h3{

    margin-bottom:12px;

}

.tech-card p{

    color:#94A3B8;

    line-height:1.7;

}

/*==========================
      PROJECTS
==========================*/

.projects{

    padding:120px 50px;

}

.project-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.project-card{

    position:relative;

    overflow:hidden;

    background:rgba(30,41,59,.72);

    backdrop-filter:blur(18px);

    border-radius:24px;

    padding:35px;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s cubic-bezier(.2,.8,.2,1);

    will-change: transform;

}

.project-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(56,189,248,.08),
        transparent 45%,
        rgba(37,99,235,.06)
    );

    opacity:0;

    transition:.4s;

    pointer-events:none;

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:#38BDF8;

    box-shadow:0 22px 48px rgba(37,99,235,.18);

}

.project-card:hover::before{

    opacity:1;

}

.featured{

    border:1px solid #2563EB;

}

.project-top{

    margin-bottom:25px;

}

.project-tag{

    background:#2563EB;

    padding:8px 16px;

    border-radius:999px;

    font-size:.8rem;

}

.project-card h3{

    margin-bottom:18px;

    font-size:1.45rem;

}

.project-card p{

    color:#94A3B8;

    line-height:1.8;

    margin-bottom:25px;

}

.project-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:radial-gradient(circle, rgba(56,189,248,.18), transparent 70%);

    pointer-events:none;

    left:var(--x, -300px);

    top:var(--y, -300px);

    transform:translate(-50%,-50%);

    opacity:0;

    transition:opacity .3s ease, transform .3s ease;

    transform:translate(-50%,-50%) scale(0.8);

}

.project-card:hover::after{

    opacity:1;

    .project-card:hover::after{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}

}

.project-stack{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:30px;

}

.project-stack span{

    background:#0F172A;

    padding:8px 14px;

    border-radius:999px;

    font-size:.8rem;

    border:1px solid rgba(255,255,255,.05);

    transition:.3s;

}

.project-stack span:hover{

    border-color:#38BDF8;

    color:#38BDF8;

}

.project-buttons{

    display:flex;

    gap:15px;

}

.project-buttons a{

    flex:1;

    text-align:center;

    padding:12px;

    border-radius:12px;

    background:#2563EB;

    transition:.3s;

}

.project-buttons a:last-child{

    background:transparent;

    border:1px solid #2563EB;

}

.project-buttons a:hover{

    transform:translateY(-3px) scale(1.03);

    box-shadow:0 10px 25px rgba(37,99,235,.35);

}

/*==========================
        SERVICES
==========================*/

.services{

    padding:120px 50px;

}

.services-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:rgba(30,41,59,.72);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:35px;

    transition:.45s cubic-bezier(.2,.8,.2,1);

    transform-style:preserve-3d;

    position:relative;

    overflow:hidden;

    text-align:center;

    will-change:transform;

}

.service-card:hover{

    transform:translateY(-8px);

    border-color:#38BDF8;

    box-shadow:0 20px 45px rgba(37,99,235,.18);

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:radial-gradient(circle at top left, rgba(56,189,248,.12), transparent 60%);

    opacity:0;

    transition:.4s;

    pointer-events:none;

}

.service-card:hover::before{

    opacity:1;

}

.service-icon{

    width:70px;

    height:70px;

    border-radius:18px;

    background:linear-gradient(135deg,#2563EB,#38BDF8);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.8rem;

    margin-bottom:25px;

    transition:.4s cubic-bezier(.2,.8,.2,1);

    transform:translateZ(0);

}

.service-card:hover .service-icon{

    transform:translateY(-5px) scale(1.05);

    box-shadow:0 15px 35px rgba(37,99,235,.35);

}

.service-card h3{

    margin-bottom:12px;

    font-size:1.3rem;

}

.service-card p{

    color:#94A3B8;

    line-height:1.7;

    margin-top:10px;

}

/*==========================
        ABOUT
==========================*/

.about{

    padding:120px 50px;

}

.about-container{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:420px 1fr;

    gap:80px;

    align-items:center;

}

.about-image{

    display:flex;

    justify-content:center;

}

.about-image img{

    width:360px;

    height:360px;

    object-fit:cover;

    border-radius:30px;

    border:3px solid #2563EB;

    box-shadow:0 25px 60px rgba(37,99,235,.25);

}

.about-content span{

    color:#38BDF8;

    font-weight:600;

    letter-spacing:2px;

}

.about-content h2{

    font-size:2.8rem;

    margin:20px 0;

    line-height:1.2;

}

.about-content p{

    color:#94A3B8;

    line-height:1.9;

    margin-bottom:40px;

}

.about-stats{

    display:flex;

    gap:30px;

    margin-bottom:40px;

}

.stat{

    background:rgba(30,41,59,.72);

backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    padding:25px;

    border-radius:18px;

    min-width:140px;

    text-align:center;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.stat h3{

    color:#38BDF8;

    font-size:2rem;

}

.stat p{

    margin-top:10px;

    margin-bottom:0;

}

/*==========================
      GITHUB
==========================*/

.github{

    padding:120px 50px;

}

.github-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.github-card{

    background:rgba(30,41,59,.72);

backdrop-filter:blur(18px);

    border-radius:22px;

    padding:35px;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.github-card:hover{

    transform:translateY(-8px);

    border-color:#38BDF8;

}

.github-card h3{

    margin-bottom:25px;

}

.github-card ul{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.github-card li{

    color:#CBD5E1;

}

.github-highlight{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.github-highlight p{

    color:#94A3B8;

    line-height:1.8;

    margin-bottom:30px;

}

/*==========================
        CONTACT
==========================*/

.contact{

    padding:120px 50px;

}

.contact-container{

    max-width:900px;

    margin:auto;

    text-align:center;

    background:rgba(30,41,59,.65);

    backdrop-filter:blur(18px);

    border-radius:30px;

    border:1px solid rgba(255,255,255,.08);

    padding:80px 60px;

    transition:.4s cubic-bezier(.2,.8,.2,1);

}

.contact-container:hover{

    transform:translateY(-6px);

    box-shadow:0 25px 60px rgba(37,99,235,.15);

}

.contact-container span{

    color:#38BDF8;

    letter-spacing:2px;

    font-weight:600;

}

.contact-container h2{

    font-size:3rem;

    margin:20px 0;

}

.contact-container p{

    color:#94A3B8;

    line-height:1.8;

    max-width:650px;

    margin:0 auto 45px;

}

/*==========================
        FORM
==========================*/
.contact-form button{

    background:#2563EB;

    padding:14px 22px;

    border:none;

    border-radius:12px;

    color:white;

    font-weight:600;

    cursor:pointer;

    transition:.35s cubic-bezier(.2,.8,.2,1);

}

.contact-form button:hover{

    transform:translateY(-4px) scale(1.02);

    box-shadow:0 18px 40px rgba(37,99,235,.35);

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==========================
        CONTACT BUTTONS
==========================*/

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

/*==========================
        FOOTER
==========================*/

.footer{

    padding:60px 50px;

}

.footer-container{

    max-width:1300px;

    margin:auto;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:50px;

}

.footer h3{

    margin-bottom:15px;

}

.footer p{

    color:#94A3B8;

}

.footer-links{

    display:flex;

    justify-content:center;

    gap:30px;

    margin:35px 0;

}

.footer-links a{

    transition:.3s;

}

.footer-links a:hover{

    color:#38BDF8;

}

.copyright{

    font-size:.9rem;

}

/*==========================
    BACKGROUND EFFECT
==========================*/

.background-blur{

    position:fixed;

    border-radius:50%;

    filter:blur(130px);

    opacity:.12;

    z-index:-1;

}

.blur-one{

    width:350px;

    height:350px;

    background:#2563EB;

    top:-100px;

    left:-100px;

}

.blur-two{

    width:420px;

    height:420px;

    background:#06B6D4;

    bottom:-120px;

    right:-120px;

}

/*==========================
      SCROLLBAR
==========================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0F172A;

}

::-webkit-scrollbar-thumb{

    background:#2563EB;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#38BDF8;

}

::selection{

    background:#2563EB;

    color:white;

}

.hero-left{

    animation:fadeLeft 1s ease;

}

.hero-right{

    animation:fadeRight 1s ease;

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==========================
      SCROLL REVEAL
==========================*/

.tech-card,
.project-card,
.service-card,
.github-card,
.stat,
.contact-container,
.about-image,
.about-content{

    opacity:0;

    transform:translateY(50px);

    transition:.8s cubic-bezier(.2,.8,.2,1);

}

.show{

    opacity:1;

    transform:translateY(0);

}

/*==========================
      CURSOR GLOW
==========================*/

.cursor-glow{

    position:fixed;

    width:280px;

    height:280px;

    border-radius:50%;

    background:radial-gradient(circle,rgba(56,189,248,.13),transparent 70%);

    pointer-events:none;

    transform:translate(-50%,-50%);

    z-index:-1;

}

/*==========================
    SCROLL PROGRESS
==========================*/

.scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:4px;

    background:linear-gradient(90deg,#2563EB,#38BDF8);

    z-index:99999;

}

/*==========================
      MOBILE MENU
==========================*/

.menu-toggle{

    display:none;

    width:34px;

    cursor:pointer;

}

.menu-toggle span{

    display:block;

    width:100%;

    height:3px;

    margin:7px 0;

    border-radius:20px;

    background:white;

    transition:.35s;

}

/*==========================
      RESPONSIVE
==========================*/

@media(max-width:992px){

    /*========== Navbar ==========*/

    .menu-toggle{

        display:block;

    }

    .nav-links{

        position:fixed;

        top:85px;

        right:-100%;

        width:280px;

        height:calc(100vh - 85px);

        background:rgba(15,23,42,.95);

        backdrop-filter:blur(20px);

        flex-direction:column;

        justify-content:flex-start;

        align-items:center;

        padding-top:60px;

        gap:35px;

        transition:.4s;

    }

    .nav-links.active{

        right:0;

    }

    .nav-right{

        display:none;

    }

    .navbar{

        padding:0 25px;

    }


    /*========== Hero ==========*/

    .hero{

        padding-top:130px;

        padding-bottom:70px;

    }

    .hero-container{

        flex-direction:column-reverse;

        text-align:center;

        gap:50px;

    }

    .hero-content{

        max-width:100%;

    }

    .hero-content h1{

        font-size:2.8rem;

    }

    .hero-content h2{

        font-size:1.5rem;

    }

    .hero-content p{

        margin-left:auto;

        margin-right:auto;

    }

    .hero-buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .hero-image{

        width:320px;

        height:320px;

        margin:auto;

        animation: heroFloat 5s ease-in-out infinite;

    }

    .hero-image img{

        width:100%;

        height:100%;

        object-fit:cover;

    }


    /*========== About ==========*/

    .about-container{

        grid-template-columns:1fr;

        text-align:center;

        gap:60px;

    }

    .about-image{

        margin:auto;

    }

    .about-content{

        max-width:100%;

    }

    .about-content p{

        margin-left:auto;

        margin-right:auto;

    }

    .about-stats{

        justify-content:center;

        flex-wrap:wrap;

    }

/*========== Technologies ==========*/

.tech-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));

    gap:20px;

}

.tech-item{

    background:rgba(30,41,59,.65);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:20px;

    text-align:center;

    transition:.35s cubic-bezier(.2,.8,.2,1);

    position:relative;

    overflow:hidden;

    cursor:pointer;

}

.tech-item:hover{

    transform:translateY(-8px) scale(1.03);

    border-color:#38BDF8;

    box-shadow:0 20px 45px rgba(37,99,235,.25);

}

.tech-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:radial-gradient(circle at top, rgba(56,189,248,.15), transparent 60%);

    opacity:0;

    transition:.4s;

    pointer-events:none;

}

.tech-item:hover::before{

    opacity:1;

}

.tech-item i{

    font-size:2rem;

    color:#38BDF8;

    margin-bottom:10px;

    display:block;

    transition:.3s;

}

.tech-item:hover i{

    transform:translateY(-3px);

}

.tech-item span{

    font-size:.9rem;

    color:#E2E8F0;

    font-weight:500;

}

/*========== Projects ==========*/

.project-card{

    padding:30px;

}

.project-buttons{

    flex-direction:column;

}

.project-buttons a{

    width:100%;

    justify-content:center;

}

/*========== Services ==========*/

.services-grid{

    grid-template-columns:1fr;

}

/*========== Contact ==========*/

/*==========================
        CONTACT
==========================*/

.contact{

    padding:120px 50px;

}

.contact-container{

    max-width:900px;

    margin:auto;

    text-align:center;

    background:#1E293B;

    border-radius:30px;

    border:1px solid rgba(255,255,255,.08);

    padding:80px 60px;

}

.contact-container span{

    color:#38BDF8;

    letter-spacing:2px;

    font-weight:600;

}

.contact-container h2{

    font-size:3rem;

    margin:20px 0;

}

.contact-container p{

    color:#94A3B8;

    line-height:1.8;

    max-width:650px;

    margin:0 auto 45px;

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*========== Footer ==========*/

.footer-links{

    flex-direction:column;

    align-items:center;

}

}


/*==========================
      MOBILE
==========================*/

@media(max-width:576px){

    /*========== Hero ==========*/

    .hero{

        padding-top:120px;

    }

    .hero-content h1{

        font-size:2.2rem;

    }

    .hero-content h2{

        font-size:1.2rem;

    }

    .hero-content p{

        font-size:.95rem;

    }

    .hero-image{

        width:250px;

        height:250px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn{

        width:220px;

    }


    /*========== About ==========*/

    .about-image{

        width:240px;

        height:240px;

    }

    .about-content h2{

        font-size:1.8rem;

    }

    .about-content p{

        font-size:.95rem;

    }

    .about-stats{

        flex-direction:column;

        gap:20px;

    }

    .about-stats .stat{

        width:100%;

    }

    .about-content .primary-btn{

        width:220px;

        display:inline-flex;

        justify-content:center;

    }

}

/*==========================
    HAMBURGER ANIMATION
==========================*/

.menu-toggle.active span:nth-child(1){

    transform:translateY(10px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-10px) rotate(-45deg);

}

body.menu-open{

    overflow:hidden;

}

/*==========================
      BACK TO TOP
==========================*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,#2563EB,#38BDF8);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s cubic-bezier(.2,.8,.2,1);

    z-index:999;

    box-shadow:0 10px 30px rgba(37,99,235,.35);

}

.back-to-top:hover{

    transform:translateY(-5px);

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/*==========================
      SCROLLED HEADER
==========================*/

.header.scrolled{

    backdrop-filter: blur(20px);

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

}

/*==========================
      SCROLL REVEAL
==========================*/

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:all .7s cubic-bezier(.2,.8,.2,1);

}

.reveal.show{

    opacity:1;

    transform:translateY(0);

}

/*==========================
      HERO FLOAT
==========================*/

@keyframes heroFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==========================
          LOADER
==========================*/

.loader{

    position:fixed;

    inset:0;

    background:#0F172A;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999999;

    transition:opacity .8s ease, visibility .8s ease;

}

.loader.hide{

    opacity:0;

    visibility:hidden;

}

.loader-logo{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:20px;

}

.loader-logo-box{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:10px;

}

.loader-node{

    width:72px;

    height:72px;

    border-radius:18px;

    background:#1E293B;

    border:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    color:#38BDF8;

    animation:loaderPulse 1.5s ease-in-out infinite;

}

.loader-node:nth-child(3){

    animation-delay:.25s;

}

.loader-node:nth-child(5){

    animation-delay:.5s;

}

.loader-line{

    width:45px;

    height:4px;

    border-radius:20px;

    background:#2563EB;

    animation:loaderLine 1.5s ease-in-out infinite;

}

@keyframes loaderPulse{

    0%,100%{

        transform:translateY(0);

        box-shadow:none;

    }

    50%{

        transform:translateY(-8px);

        box-shadow:0 15px 35px rgba(37,99,235,.35);

    }

}

@keyframes loaderLine{

    0%,100%{

        opacity:.4;

        transform:scaleX(.8);

    }

    50%{

        opacity:1;

        transform:scaleX(1);

    }

}

/*==========================
      PERFORMANCE
==========================*/

img{

    content-visibility:auto;

}

.project-card,
.service-card,
.tech-card,
.github-card,
.about-image,
.hero-card{

    will-change:transform;

    backface-visibility:hidden;

    transform:translateZ(0);

}

/*==========================
    FINAL RESPONSIVE POLISH
==========================*/

@media (max-width: 992px){

    .hero-content,
    .about-container,
    .project-grid,
    .services-grid,
    .github-grid{

        grid-template-columns:1fr;

        gap:50px;

    }

    .hero-left{

        text-align:center;

    }

    .hero-left p{

        margin:0 auto 40px;

    }

    .hero-buttons,
    .hero-tech,
    .about-stats{

        justify-content:center;

    }

    .hero-right{

        order:-1;

    }

}

@media (max-width:768px){

    section{

        padding:90px 25px !important;

    }

    .section-heading h2{

        font-size:2.2rem;

    }

    .hero-left h1{

        font-size:2.6rem;

    }

    .hero-card{

        width:100%;

        max-width:360px;

        height:430px;

    }

    .about-image img{

        width:280px;

        height:280px;

    }

}

@media (max-width:576px){

    .hero-buttons a,
    .project-buttons a,
    .contact-buttons a{

        width:100%;

        text-align:center;

    }

    .hero-buttons,
    .project-buttons,
    .contact-buttons{

        flex-direction:column;

    }

    .tech-grid,
    .project-grid,
    .services-grid,
    .github-grid{

        gap:20px;

    }

}

/*==========================
      ACCESSIBILITY
==========================*/

:focus-visible{

    outline:2px solid #38BDF8;

    outline-offset:4px;

}

button,
a{

    -webkit-tap-highlight-color:transparent;

}