*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
:root{
    --bg:#0b0f19;
    --primary:#00bfff;
    --white:#ffffff;
}

body{
    font-family:'Poppins',sans-serif;
    background: var(--bg);
    color: var(--white);

    position: relative;
    overflow-x: hidden;
}

nav{
    position:fixed;
    top:18px;
    left:50%;
    transform:translateX(-50%);

    width:92%;
    max-width:1400px;
    height:82px;

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

    padding:0 45px;

    background:rgba(8,12,22,.55);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    transition:all .35s ease;

    z-index:1000;
}

/* =========================
   LOGO
========================= */

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
    transition:.4s ease;
}

.logo img:hover{
    transform:rotate(-11deg) scale(1.05);
}

.logo span{
    font-size:34px;
    font-weight:800;
    letter-spacing:2px;
    color:#fff;
}

/* =========================
   NAV LINKS
========================= */

.nav-links{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-links li{
    list-style:none;
    position:relative;
}

.nav-links a{
    position:relative;
    text-decoration:none;
    color:#ffffff;
    font-size:17px;
    font-weight:600;
    transition:.35s ease;
    padding:8px 0;
    letter-spacing:.4px;
}

/* Hover Color */

.nav-links a:hover{

    color:#22c1ff;

    transform:translateY(-2px);

}

/* Animated Underline */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#22c1ff;

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

.menu-toggle{
    display:none;
    cursor:pointer;
    font-size:30px;
    color:#fff;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    nav{
        top:0;
        left:0;
        transform:none;
        width:100%;
        max-width:none;
        padding:0 20px;
        border-radius:0;
        box-sizing:border-box;
    }

    .menu-toggle{
        display:none;
        cursor:pointer;
        font-size:30px;
        color:#fff;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:0;
        right:0;
        width:100%;
        background:#08111f;
        padding:20px 0;
        gap:20px;
        text-align:center;
        z-index:999;
    }

    .nav-links.active{
        display:flex;
    }
}

/* =========================
   HERO SECTION
========================= */
.hero{
    min-height:100vh;
    box-sizing:border-box;

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

    text-align:center;

    padding:120px 8% 80px;

    position:relative;
    overflow:hidden;

    background:
        radial-gradient(circle at top right, rgba(0,191,255,.12), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0,191,255,.08), transparent 35%),
        linear-gradient(135deg,#080c16,#10192f,#080c16);
}

.hero-content{
    max-width:900px;
    z-index:2;
}

.hero h1{
    font-size:82px;
    font-weight:900;
    letter-spacing:4px;
    line-height:1.05;

    margin-top:0;
    margin-bottom:18px;

    text-transform:uppercase;
    color:#ffffff;
}

.hero h2{
    font-size:36px;
    font-weight:700;
    margin-bottom:28px;

    background:linear-gradient(90deg,#00bfff,#5ce1ff);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    font-size:21px;
    line-height:1.9;
    color:#d4d7dd;
    max-width:760px;
    margin:0 auto 45px;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}

.buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.buttons a{
    text-decoration:none;
    padding:15px 35px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:linear-gradient(135deg,#00bfff,#008cff);
    color:#fff;
    padding:18px 40px;
    border-radius:14px;
    font-weight:700;
    text-decoration:none;
    transition:all .35s ease;
    box-shadow:0 12px 30px rgba(0,191,255,.25);
}

.btn-primary:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,191,255,.45);
}

.btn-secondary{
    border:2px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    color:#ffffff;
    padding:18px 40px;
    border-radius:14px;
    font-weight:700;
    text-decoration:none;
    transition:all .35s ease;
}

.btn-secondary:hover{
    background:#00bfff;
    color:#fff;
    border-color:#00bfff;
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,191,255,.35);
}

/* =========================
   SERVICES
========================= */

.services{

    padding:120px 8%;

    background:#0f1728;

}

.section-title{

    text-align:center;

    max-width:750px;

    margin:auto;

    margin-bottom:70px;

}

.section-title span{

    color:#22c1ff;

    letter-spacing:3px;

    font-weight:600;

    font-size:14px;

}

.section-title h2{

    font-size:52px;

    margin:18px 0;

}

.section-title p{

    color:#cfd6e4;

    line-height:1.9;

    font-size:18px;

}

.services-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.service-card{

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:45px 35px;
    display: flex;
    flex-direction: column;
    transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;

    backdrop-filter:blur(12px);
     
    position:relative;

    overflow:hidden;
}

.service-card:hover{

    transform:translateY(-12px);

    border-color:#00bfff;

    box-shadow:0 25px 60px rgba(0,191,255,.18);

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle 220px at var(--x) var(--y),
        rgba(0,191,255,.20),
        transparent 65%
    );

    opacity:0;

    transition:opacity .25s ease;

    pointer-events:none;

}

.service-card:hover::before{

    opacity:1;

}

.service-icon{

    width:70px;
    height:70px;

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

    border-radius:18px;

    background:rgba(0,191,255,.08);

    color:#00bfff;

    margin-bottom:25px;

    transition:all .35s ease;

}
.service-icon svg{

    width:38px;
    height:38px;

    stroke:#39c6ff;
    stroke-width:2.2;

}

.service-card:hover .service-icon{

    background:#00bfff;

    transform:
    scale(1.08)
    rotate(8deg);

}

.service-card:hover .service-icon svg{

    stroke:#ffffff;

}

.service-card h3{

    font-size:28px;

    margin-bottom:18px;

    color:#ffffff;

    transition:.35s ease;
}

.service-card:hover h3{

    color:#00bfff;

}

.service-card p{

    color:#cfd6e4;

    line-height:1.9;

    font-size:17px;

    flex:1;
}

.service-tags{

    display:flex;
    flex-wrap:wrap;

    gap:10px;

    margin:22px 0;

}

.service-tags span{

    padding:8px 14px;

    border-radius:999px;

    font-size:13px;

    font-weight:600;

    color:#7fdcff;

    background:rgba(0,191,255,.08);

    border:1px solid rgba(0,191,255,.18);

    transition:.3s ease;

}

.service-card:hover .service-tags span{

    background:rgba(0,191,255,.16);

    border-color:#00bfff;

}

.service-card a{

    color:#00bfff;

    text-decoration:none;

    font-weight:600;
    margin-top:25px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    position:relative;
    transition:.3s ease;
    position: relative;
}

.service-card a{

    color:#00bfff;

    text-decoration:none;

    font-weight:600;

    display:inline-flex;
    align-items:center;

    position:relative;

    transition:.3s ease;

}

.service-card a::after{

    content:"→";

    margin-left:8px;

    display:inline-block;

    transition:transform .3s ease;

}

.service-card:hover a{

    color:#5ce1ff;

}

.service-card:hover a::after{

    transform:translateX(6px);

}


/* =========================
   FOUNDER MOBILE
========================= */

@media (max-width:768px){

    .founder-container{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }

    .founder-image img{
        width:85%;
        max-width:320px;
        height:auto;
        display:block;
        margin:auto;
    }

    .founder-info h3{
        font-size:36px;
    }

    .founder-info h4{
        font-size:22px;
    }

    .founder-info p{
        font-size:17px;
        line-height:1.8;
    }

    .founder-skills{
        justify-content:center;
    }

}

/* =========================
   WHY CHOOSE US
========================= */

.why-us{
    padding:100px 8%;
    background:var(--bg);
    text-align:center;
}

.why-us h2{
    font-size:42px;
    margin-bottom:60px;
}

.why-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.why-card{

    width:320px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:40px 30px;

    transition:.35s;

    backdrop-filter:blur(10px);
}

.why-card:hover{

    transform: translateY(-12px) scale(1.02);

    box-shadow:
    0 25px 60px rgba(0,191,255,.20),
    0 0 30px rgba(0,191,255,.10);

}

.icon{

    font-size:55px;

    margin-bottom:20px;

}

.why-card h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:28px;

}

.why-card p{

    color:#cfcfcf;

    line-height:1.8;

}

/* =========================
   FOUNDER
========================= */

.founder{

    padding:100px 8%;

    background:#101827;
}

.founder-container img{
    width:320px;
    height:auto;
    aspect-ratio:5/6;
    object-fit:cover;

    border-radius:20px;
    border:3px solid #00bfff;
    box-shadow:0 15px 35px rgba(0,191,255,.25);
    transition:.35s;
}

.founder-content{

    max-width:600px;
}

.founder-content h2{

    font-size:42px;

    margin-bottom:15px;
}

.founder-content h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:30px;
}

.founder-content p{

    color:#e2e8f0;

    line-height:1.8;

    margin-bottom:20px;
}

/* =========================
   PROCESS
========================= */

.process{
    padding:100px 8%;
    background:var(--bg);
    text-align:center;
}

.process h2{
    font-size:42px;
    margin-bottom:60px;
}

.process-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.process-card{
    width:260px;
    padding:35px 25px;
    background:#131c30;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.process-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,191,255,.2);
}

.process-card span{
    display:inline-block;
    font-size:36px;
    font-weight:700;
    color:var(--primary);
    margin-bottom:20px;
}

.process-card h3{
    margin-bottom:15px;
}

.process-card p{
    color:#d0d0d0;
    line-height:1.8;
}

/* =========================
   TECHNOLOGIES
========================= */

.technologies{
    padding:100px 8%;
    background:#101827;
    text-align:center;
}

.technologies h2{
    font-size:42px;
    margin-bottom:50px;
}

.tech-container{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.tech-card{

    padding:18px 35px;

    background:#131c30;

    border:1px solid rgba(255,255,255,.08);

    border-radius:12px;

    color:var(--primary);

    font-size:20px;

    font-weight:700;

    transition:.3s;
}

.tech-card:hover{

    transform:translateY(-8px) scale(1.05);

    box-shadow:0 0 25px rgba(0,191,255,.3);

}

/* =========================
   CONTACT
========================= */

.contact{

    padding:100px 8%;

    background:var(--bg);

    text-align:center;

}

.contact h2{

    font-size:42px;

    margin-bottom:20px;

}

.contact p{

    max-width:700px;

    margin:auto;

    color:#d5d5d5;

    line-height:1.8;

    margin-bottom:40px;

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* =========================
   FOOTER
========================= */

footer{

    background:#070b13;

    text-align:center;

    padding:50px 20px;

    border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

    color:var(--primary);

    margin-bottom:15px;

}

footer p{

    color:#bdbdbd;

    margin:10px 0;

}

/* =========================
   SCROLL REVEAL
========================= */

.hidden{
    opacity:1;
    transform:translateY(60px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   PROGRESS BAR
========================= */

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:4px;

    background:var(--primary);

    z-index:9999;

}



/* =========================
   SCROLL ANIMATION
========================= */

.hidden{
    opacity:0;
    transform:translateY(70px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   NAVBAR SCROLL EFFECT
========================= */

nav.scrolled{
    background:#0b0f19;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* =========================
   ACTIVE NAV LINK
========================= */

.nav-link.active{
    color:var(--primary);
}

/* =========================
   SMOOTH SCROLL
========================= */

html{
    scroll-behavior:smooth;
}

/* =========================
   CURSOR GLOW
========================= */
.cursor-glow{
    position: fixed;
    width: 350px;
    height: 350px;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    pointer-events: none;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0,191,255,0.35) 0%,
        rgba(0,191,255,0.12) 35%,
        rgba(0,191,255,0.03) 70%,
        transparent 100%
    );

    filter: blur(40px);
    mix-blend-mode: screen;
    z-index: 999;
}

body > *:not(.cursor-glow){
    position: relative;
    z-index: 1;
}

/* =========================
   PROJECTS
========================= */

.projects{
    padding:100px 8%;
    background:#0f172a;
    text-align:center;
}

.projects h2{
    font-size:42px;
    margin-bottom:60px;
}

.project-container{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:25px;
    margin-top:50px;
}

.project-card{
    width:100%;
    height:auto;
    min-height:560px;
    background:#131c30;
    padding:35px 30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:all .35s ease;
}

.project-card:hover{
    transform:translateY(-12px) scale(1.03);
    box-shadow:0 20px 45px rgba(0,191,255,.30);
    border-color:#00bfff;
}

.project-image{

    position:relative;

    overflow:hidden;

    height:190px;

}

.project-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(15,23,42,.95),
        rgba(15,23,42,.15),
        transparent
    );
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:
        transform .7s ease,
        filter .7s ease;
}

.project-card:hover .project-image img{

    transform:scale(1.08) rotate(1deg);

    filter:
        brightness(1.08)
        contrast(1.08)
        saturate(1.15);

}

.project-content{

    padding:28px;

}

.project-card h3{
    color:#00bfff;
    margin-bottom:20px;
    font-size:24px;
}

.project-card p{
    color:#d0d0d0;
    line-height:1.8;
}

.project-card span{
    display:inline-block;
    margin-top:20px;
    padding:8px 16px;
    border-radius:30px;
    background:rgba(0,191,255,.12);
    color:#00bfff;
    font-size:14px;
    font-weight:600;
    border:1px solid rgba(0,191,255,.35);
}

/* =========================
   STATS
========================= */

.stats{
    padding:90px 8%;
    background:#101827;
}

.stats-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.stat-card{
    width:220px;
    text-align:center;
    padding:30px;
    background:#131c30;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s ease;
}

.stat-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,191,255,.25);
}

.stat-card h2{
    font-size:42px;
    color:#00bfff;
    margin-bottom:10px;
}

.stat-card p{
    color:#d0d0d0;
    font-size:17px;
}

/* =========================
   VISION SECTION
========================= */

.vision{
    padding:100px 8%;
    background:#0b0f19;
    text-align:center;
}

.vision-content{
    max-width:900px;
    margin:auto;
}

.vision h2{
    font-size:42px;
    color:#00bfff;
    margin-bottom:30px;
}

.vision p{
    font-size:20px;
    line-height:1.9;
    color:#d5d5d5;
    margin-bottom:25px;
}

/* =========================
   CTA SECTION
========================= */

.cta{
    padding:100px 8%;
    background:linear-gradient(135deg,#101827,#131c30);
    text-align:center;
}

.cta-content{
    max-width:900px;
    margin:auto;
}

.cta h2{
    font-size:46px;
    color:#ffffff;
    margin-bottom:25px;
}

.cta p{
    font-size:20px;
    color:#d5d5d5;
    line-height:1.8;
    margin-bottom:40px;
}

.cta .btn-primary{
    display:inline-block;
    padding:18px 40px;
    font-size:18px;
    border-radius:12px;
    text-decoration:none;
    transition:.3s ease;
}

.cta .btn-primary:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,191,255,.35);
}

/* =========================
   CONTACT FORM
========================= */

.contact-form{
    max-width:900px;
    margin:50px auto 0;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:18px;

    border:none;
    border-radius:12px;

    background:#1a2236;
    color:white;

    font-size:16px;
    font-family:'Poppins',sans-serif;

    outline:none;
}

.contact-form textarea{
    grid-column:1/3;
    min-height:170px;
    resize:none;
}

.contact-form button{
    grid-column:1/3;

    width:220px;
    margin:auto;

    padding:16px 35px;

    border:none;
    border-radius:12px;

    background:#00bfff;
    color:white;

    font-size:16px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{

    background:#0099cc;
    transform:translateY(-4px);

}

.contact-buttons{

    display:flex;
    justify-content:center;
    gap:20px;

    margin-top:30px;
    flex-wrap:wrap;

}

.contact-links{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.contact-links a{
    text-decoration:none;
}

.project-buttons{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
}

.project-buttons a{
    padding:10px 20px;
    font-size:14px;
}

/* =========================
   FOUNDER
========================= */

.founder{

    padding:120px 8%;
    background:#0d1628;

}

.section-title{

    text-align:center;
    max-width:900px;
    margin:0 auto 80px;

}

.section-title span{

    color:#22c1ff;
    font-size:15px;
    font-weight:700;
    letter-spacing:4px;

}

.section-title h2{

    margin-top:18px;
    font-size:58px;
    font-weight:800;
    line-height:1.2;

}

.section-title p{

    margin-top:25px;
    color:#cfd7e4;
    font-size:22px;
    line-height:1.8;

}

.founder-container{

    display:grid;
    grid-template-columns:420px 1fr;
    gap:80px;
    align-items:center;

}

.founder-image img{

    width:100%;
    border-radius:28px;

    border:3px solid #22c1ff;

    box-shadow:0 30px 60px rgba(0,191,255,.18);

}

.founder-info h3{

    font-size:64px;
    font-weight:800;
    margin-bottom:10px;

}

.founder-info h4{

    color:#22c1ff;
    font-size:24px;
    margin-bottom:35px;

}

.founder-info p{

    font-size:21px;
    line-height:2;
    color:#d6dce8;

    margin-top:30px;
    margin-bottom:15px;

}

/* এখানেই add করবে */

.founder-skills{

    display:flex;
    flex-wrap:wrap;
    gap:16px;

    margin:40px 0;

}

.founder-skills span{

    padding:12px 24px;

    border-radius:999px;

    border:1px solid rgba(0,191,255,.35);

    background:rgba(0,191,255,.08);

    color:#22c1ff;

    font-weight:600;

    transition:.3s;

}

.founder-skills span:hover{

    background:#22c1ff;
    color:#08111f;

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(0,191,255,.35);

}
/*==============================
404 PAGE
==============================*/

.error-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
    background:#0b0f19;
}

.error-container{
    max-width:700px;
}

.error-code{
    font-size:140px;
    color:#00bfff;
    margin-bottom:10px;
    text-shadow:0 0 30px rgba(0,191,255,.45);
}

.error-container h2{
    font-size:42px;
    color:white;
    margin-bottom:20px;
}

.error-container p{
    font-size:20px;
    color:#d5d5d5;
    line-height:1.8;
    margin-bottom:40px;
}

.error-container .btn-primary{
    display:inline-block;
    padding:18px 40px;
    border-radius:12px;
    text-decoration:none;
}

.hero::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#00bfff;
    border-radius:50%;
    filter:blur(180px);
    opacity:.08;
    top:-150px;
    right:-120px;
}

.hero::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#005eff;
    border-radius:50%;
    filter:blur(180px);
    opacity:.06;
    bottom:-180px;
    left:-120px;
}

nav.scrolled{

    background:rgba(8,12,22,.92);

    box-shadow:
    0 12px 40px rgba(0,0,0,.45);

    border-color:rgba(255,255,255,.12);

    top:10px;

}

@media (max-width:900px){

.founder-container{

    grid-template-columns:1fr;

    text-align:center;

}

.founder-skills{

    justify-content:center;

}

}

/* =========================
   PORTFOLIO
========================= */

.portfolio{

    padding:120px 8%;

    background:#080d18;

}

.portfolio-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:35px;

}

.project-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:20px;

    background:
    linear-gradient(
        120deg,
        transparent 0%,
        rgba(0,191,255,.18) 45%,
        rgba(255,255,255,.15) 50%,
        rgba(0,191,255,.18) 55%,
        transparent 100%
    );

    transform:translateX(-150%);

    transition:transform .8s ease;

    pointer-events:none;

}

.project-card:hover::before{

    transform:translateX(150%);

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:rgba(0,191,255,.75);

    box-shadow:
        0 18px 45px rgba(0,191,255,.12),
        0 0 25px rgba(0,191,255,.08);

}

/* =========================
   PORTFOLIO
========================= */

.portfolio{
    padding:120px 8%;
    background:#0b1220;
}

.portfolio-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:35px;
    margin-top:60px;
}

.project-card{

    display:flex;
    flex-direction:column;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    overflow:hidden;

    position:relative;

    backdrop-filter:blur(18px);

    transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;

}

.tilt-card{

    transform-style:preserve-3d;

    transition:
        transform .18s ease,
        box-shadow .35s ease;

    will-change:transform;

}

.project-card:hover{

    transform:
    translateY(-12px)
    scale(1.02);

    border-color:#00bfff;

    box-shadow:
    0 25px 70px rgba(0,191,255,.22);

}

.project-image{

    position:relative;

    height:240px;

    overflow:hidden;

    background:#10182b;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:
    transform .7s ease,
    filter .7s ease;

}

.project-card:hover .project-image img{

    transform:scale(1.08);

    filter:brightness(1.08);

}

.project-card:hover h3{

    color:#39d0ff;

}

.project-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:
    
    linear-gradient(
    to top,
    rgba(8,17,31,.75),
    transparent);
    transition:.5s ease;
}

.project-content{
    padding:30px;
    display:flex;
    flex-direction:column;
    flex:1;
    justify-content:space-between;
}

.project-category{

    position:absolute;

    top:18px;

    left:18px;

    z-index:10;

    background:rgba(0,191,255,.15);

    backdrop-filter:blur(12px);

    border:1px solid rgba(0,191,255,.45);

    color:#7bdcff;

    padding:8px 16px;

    border-radius:50px;

    font-size:.8rem;

    font-weight:600;

    letter-spacing:.6px;

    transition:.35s ease;

}

.project-content h3{

    font-size:1.7rem;

    color:#fff;

    transition:.35s ease;

    position:relative;

    display:inline-block;

}

.project-content p{
    color:#b8bfd2;
    line-height:1.2;
    margin-bottom:8px;
}

.project-tech{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}

.project-tech span{

    padding:8px 14px;

    border-radius:50px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(0,191,255,.25);

    color:#9fe7ff;

    font-size:.8rem;

}

.project-buttons{
    display:flex;
    gap:12px;
    margin-top:auto;
}

.project-buttons a{
    flex:1;
    text-align:center;
    padding:12px 20px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    font-size:.9rem;
    transition:.3s;
}

.btn-demo{
    background:#00bfff;
    color:#fff;
}

.btn-demo:hover{
    background:#009dd9;
    transform:translateY(-3px);
}

.btn-github{
    border:1px solid #00bfff;
    color:#00bfff;
}

.btn-github:hover{
    background:#00bfff;
    color:#fff;
    transform:translateY(-3px);
}

@media (max-width:1200px){
    .project-container{
        grid-template-columns:repeat(2,1fr);
    }

    .project-card{
        margin:auto;
    }
}

@media (max-width:768px){
    .project-container{
        grid-template-columns:1fr;
    }

    .project-card{
        max-width:100%;
    }
}

.project-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );

    transform:translateX(-120%);

    transition:1s;

    pointer-events:none;

    z-index:1;
}


.project-card::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    padding:1.5px;

    background:
    linear-gradient(
        120deg,
        transparent 0%,
        rgba(0,191,255,.15) 20%,
        rgba(0,191,255,1) 38%,
        rgba(255,255,255,1) 50%,
        rgba(0,191,255,1) 62%,
        rgba(0,191,255,.15) 80%,
        transparent 100%
    );

    background-size:300% 300%;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite:xor;

    mask-composite:exclude;

    opacity:0;

    pointer-events:none;

    transition:opacity .4s ease;

    z-index:2;
}


.project-card:hover::after{

    opacity:1;

    animation:auroraFlow 2s linear infinite;

}


@keyframes auroraFlow{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}

.project-card:hover::before{

    transform:translateX(120%);

}

.project-card:hover .project-category{

    transform:translateY(-4px);

    background:#00bfff;

    color:#fff;

    box-shadow:0 8px 25px rgba(0,191,255,.35);

}

.project-content h3::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#00bfff;

    transition:.4s ease;

}

.project-card:hover h3{

    color:#4ad8ff;

    text-shadow:
        0 0 10px rgba(0,191,255,.5),
        0 0 25px rgba(0,191,255,.35);

}

.project-card:hover h3::after{

    width:100%;

}

.project-buttons a{

    position:relative;

    transition:
        transform .25s ease,
        box-shadow .3s ease,
        background .3s ease,
        color .3s ease;

}

.project-buttons a:hover{

    transform:translateY(-4px);

    box-shadow:
        0 0 15px rgba(0,191,255,.35),
        0 10px 35px rgba(0,191,255,.25);

}

.project-card:hover .project-image::after{

    background:
    linear-gradient(
        to top,
        rgba(0,191,255,.28),
        rgba(15,23,42,.18),
        transparent
    );

}

@keyframes borderFlow{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:200% 50%;
    }

}

@keyframes borderFlow{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:200% 50%;
    }

}

.light{

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:radial-gradient(
        rgba(0,191,255,.28),
        transparent 70%
    );

    pointer-events:none;

    transform:translate(-50%,-50%);

    opacity:0;

    transition:opacity .3s ease;

}

.project-card:hover .light{

    opacity:1;

}

.magnetic-btn{

    position:relative;

    transition:
    transform .18s ease,
    box-shadow .3s ease,
    background .3s ease;

    will-change:transform;

}

.cursor-dot{

    position:fixed;

    width:7px;
    height:7px;

    background:#00bfff;

    border-radius:50%;

    pointer-events:none;

    z-index:99999;

    transform:translate(-50%,-50%);

    box-shadow:
        0 0 10px rgba(0,191,255,.9),
        0 0 20px rgba(0,191,255,.5);

}


.cursor-outline{

    position:fixed;

    width:34px;
    height:34px;

    border:1px solid rgba(0,191,255,.7);

    border-radius:50%;

    pointer-events:none;

    z-index:99998;

    transform:translate(-50%,-50%);

    transition:
        width .2s ease,
        height .2s ease,
        border-color .2s ease;

}

#progress-bar{
    position:fixed;
    top:0;
    left:0;

    width:0%;
    height:3px;

    background:#00bfff;

    z-index:99999;

    box-shadow:
        0 0 8px rgba(0,191,255,.8),
        0 0 18px rgba(0,191,255,.4);
}