/* ======================================================
   KASHVI KUMAR PORTFOLIO
   Theme : OpenAI × Apple × Vercel
====================================================== */

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#030712;

    color:#ffffff;

    overflow-x:hidden;

}

/* =========================
   VARIABLES
========================= */

:root{

    --bg:#030712;

    --card:#111827;

    --card2:#1F2937;

    --primary:#38BDF8;

    --secondary:#8B5CF6;

    --text:#F8FAFC;

    --gray:#94A3B8;

    --border:rgba(255,255,255,.08);

}

/* =========================
   BACKGROUND
========================= */

.background{

    position:fixed;

    inset:0;

    background:
    radial-gradient(circle at top left,#2563eb22,transparent 35%),
    radial-gradient(circle at bottom right,#9333ea22,transparent 40%),
    var(--bg);

    z-index:-10;

}

/* =========================
   BLOBS
========================= */

.blob{

    position:fixed;

    border-radius:50%;

    filter:blur(140px);

    z-index:-5;

}

.blob1{

    width:420px;

    height:420px;

    background:#2563eb55;

    top:-120px;

    left:-120px;

    animation:blob1 12s ease-in-out infinite alternate;

}

.blob2{

    width:380px;

    height:380px;

    background:#7c3aed55;

    right:-120px;

    bottom:-120px;

    animation:blob2 14s ease-in-out infinite alternate;

}

@keyframes blob1{

    100%{

        transform:

        translate(120px,70px)

        scale(1.15);

    }

}

@keyframes blob2{

    100%{

        transform:

        translate(-100px,-80px)

        scale(.9);

    }

}

/* =========================
   NAVBAR
========================= */

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:999;

}

.navbar{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 40px;

    backdrop-filter:blur(20px);

    background:rgba(3,7,18,.45);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.logo{

    font-size:26px;

    font-weight:700;

    color:var(--primary);

    font-family:'JetBrains Mono';

}

.nav-links{

    display:flex;

    list-style:none;

    gap:38px;

}

.nav-links a{

    text-decoration:none;

    color:white;

    transition:.3s;

    font-weight:500;

}

.nav-links a:hover{

    color:var(--primary);

}

.menu-btn{

    display:none;

    font-size:25px;

    cursor:pointer;

}

/* =========================
   BUTTONS
========================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 34px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.primary-btn{

    background:linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:white;

    box-shadow:

    0 10px 35px rgba(56,189,248,.25);

}

.primary-btn:hover{

    transform:translateY(-5px);

}

.secondary-btn{

    border:1px solid var(--primary);

    color:white;

}

.secondary-btn:hover{

    background:rgba(56,189,248,.08);

    transform:translateY(-5px);

}
/* ======================================================
   HERO SECTION
====================================================== */

.hero{
    max-width:1300px;
    margin:0 auto;
    min-height:100vh;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:80px;
    padding:120px 40px 60px;
}

.hero-left{
    animation:fadeUp .8s ease forwards;
}

.small-title{
    color:var(--primary);
    font-size:.9rem;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.hero h1{
    font-size:4rem;
    line-height:1.15;
    font-weight:800;
    margin-bottom:15px;
}

.hero h1 span{
    display:block;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
     -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero h2{
    font-size:1.8rem;
    color:var(--gray);
    margin-bottom:25px;
    min-height:45px;
}

.hero-description{
    color:var(--gray);
    line-height:1.8;
    font-size:1.05rem;
    max-width:600px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:40px;
    flex-wrap:wrap;
}

/* ======================================================
   TERMINAL
====================================================== */

.hero-right{
    display:flex;
    justify-content:center;
    animation:floatTerminal 5s ease-in-out infinite;
}

.terminal{
    width:100%;
    max-width:520px;
    background:#0d1117;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    overflow:hidden;
    box-shadow:
        0 25px 60px rgba(0,0,0,.45),
        0 0 40px rgba(56,189,248,.12);
}

.terminal-top{
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px 18px;
    background:#161b22;
}

.red,
.yellow,
.green{
    width:13px;
    height:13px;
    border-radius:50%;
}

.red{
    background:#ff5f57;
}

.yellow{
    background:#febc2e;
}

.green{
    background:#28c840;
}

.terminal-body{
    padding:30px;
    font-family:"JetBrains Mono", monospace;
    font-size:.95rem;
    color:#7dd3fc;
    line-height:2;
    white-space:pre-wrap;
}

/* ======================================================
   SCROLL INDICATOR
====================================================== */

.scroll-down{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    color:var(--gray);
    font-size:2rem;
    animation:bounce 1.8s infinite;
}

/* ======================================================
   ANIMATIONS
====================================================== */

@keyframes bounce{

    0%,100%{
        transform:translate(-50%,0);
    }

    50%{
        transform:translate(-50%,10px);
    }

}

@keyframes floatTerminal{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:992px){

.hero{

grid-template-columns:1fr;

text-align:center;

padding-top:140px;

}

.hero-description{

margin:auto;

}

.hero-buttons{

justify-content:center;

}

.hero-right{

margin-top:40px;

}

}

@media(max-width:768px){

.nav-links{

display:none;

}

.menu-btn{

display:block;

}

.hero{

padding-left:25px;

padding-right:25px;

}

.hero h1{

font-size:2.8rem;

}

.hero h2{

font-size:1.4rem;

}

.terminal{

max-width:100%;

}

}

@media(max-width:480px){

.hero h1{

font-size:2.3rem;

}

.btn{

width:100%;

}

.hero-buttons{

flex-direction:column;

}

}
/* ===========================
   ACTIVE LINK
=========================== */

.nav-links a.active{

color:var(--primary);

}

/* ===========================
   MOBILE MENU
=========================== */

@media(max-width:768px){

.nav-links{

position:absolute;

top:85px;

left:0;

width:100%;

background:#0b1120;

flex-direction:column;

text-align:center;

padding:25px 0;

display:none;

}

.nav-links.showMenu{

display:flex;

}

}

/* ===========================
   REVEAL ANIMATION
=========================== */

.reveal{

opacity:0;

transform:translateY(70px);

transition:1s;

}

.reveal.show{

opacity:1;

transform:translateY(0);

}
/* =========================================
   ABOUT
========================================= */

.about{

padding:120px 8%;

max-width:1300px;

margin:auto;

}

.section-heading{

text-align:center;

margin-bottom:70px;

}

.section-heading p{

color:var(--primary);

letter-spacing:3px;

font-size:.9rem;

margin-bottom:10px;

}

.section-heading h2{

font-size:3rem;

}

.about-container{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:40px;

}

.glass-card{

background:rgba(255,255,255,.05);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.08);

padding:40px;

border-radius:20px;

}

.glass-card h3{

margin-bottom:20px;

font-size:1.8rem;

color:var(--primary);

}

.glass-card p{

line-height:1.8;

color:var(--gray);

margin-bottom:15px;

}

.education-card h4{

font-size:1.4rem;

margin:15px 0;

}

.education-card span{

display:inline-block;

margin-top:15px;

color:var(--primary);

font-weight:600;

}

.stats{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

margin-top:70px;

}

.stat{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

padding:30px;

text-align:center;

border-radius:18px;

transition:.3s;

}

.stat:hover{

transform:translateY(-8px);

}

.stat h2{

font-size:3rem;

color:var(--primary);

margin-bottom:10px;

}

.stat p{

color:var(--gray);

}

/* Responsive */

@media(max-width:900px){

.about-container{

grid-template-columns:1fr;

}

.stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.stats{

grid-template-columns:1fr;

}

.section-heading h2{

font-size:2.3rem;

}

}
/* =========================================
   SKILLS
========================================= */

.skills{
    max-width:1300px;
    margin:auto;
    padding:120px 8%;
}

.skills-container{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:start;
}

.skill{
    margin-bottom:35px;
}

.skill-title{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-weight:600;
}

.progress{
    height:12px;
    background:#1f2937;
    border-radius:50px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    width:0;
    border-radius:50px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    transition:1.8s ease;
}

.progress-bar.html.animate{width:95%;}
.progress-bar.css.animate{width:90%;}
.progress-bar.js.animate{width:85%;}
.progress-bar.python.animate{width:75%;}
.progress-bar.cpp.animate{width:70%;}

.skills-right{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.tech-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:28px;
    text-align:center;
    transition:.35s;
    font-weight:600;
}

.tech-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 0 25px rgba(56,189,248,.2);
}

.learning{
    margin-top:70px;
    text-align:center;
}

.learning h3{
    margin-bottom:30px;
    color:var(--primary);
    font-size:2rem;
}

.learning-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.learning-tags span{
    padding:12px 22px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:50px;
    transition:.3s;
}

.learning-tags span:hover{
    background:var(--primary);
    color:#030712;
}

@media(max-width:900px){

.skills-container{
grid-template-columns:1fr;
}

}

@media(max-width:600px){

.skills-right{
grid-template-columns:1fr;
}

}
/* =========================================
   PROJECTS
========================================= */

.projects{
    max-width:1300px;
    margin:auto;
    padding:120px 8%;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:35px;
    transition:.35s;
    position:relative;
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
    box-shadow:0 15px 40px rgba(56,189,248,.18);
}

.featured{
    border:1px solid var(--primary);
}

.project-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background:var(--primary);
    color:#030712;
    font-weight:700;
    font-size:.85rem;
    margin-bottom:18px;
}

.project-card h3{
    margin-bottom:15px;
    font-size:1.6rem;
}

.project-card p{
    color:var(--gray);
    line-height:1.8;
    margin-bottom:25px;
}

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tech-stack span{
    padding:8px 16px;
    background:#1f2937;
    border-radius:50px;
    font-size:.85rem;
}

.project-links{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.project-btn{
    text-decoration:none;
    padding:12px 22px;
    border-radius:10px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.project-btn.secondary{
    background:transparent;
    border:1px solid var(--primary);
}

.project-btn:hover{
    transform:translateY(-4px);
}
/* =========================================
   CERTIFICATES
========================================= */

.certifications{

max-width:1300px;

margin:auto;

padding:120px 8%;

}

.certificate-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:30px;

margin-top:60px;

}

.certificate-card{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

padding:40px;

border-radius:22px;

transition:.35s;

text-align:center;

}

.certificate-card:hover{

transform:translateY(-10px);

border-color:var(--primary);

box-shadow:0 15px 40px rgba(56,189,248,.2);

}

.certificate-icon{

font-size:3rem;

margin-bottom:20px;

}

.certificate-card h3{

margin-bottom:15px;

}

.certificate-card p{

color:var(--gray);

line-height:1.8;

}

/* =========================================
   RESUME
========================================= */

.resume{

max-width:900px;

margin:120px auto;

padding:0 8%;

}

.resume-card{

padding:60px;

text-align:center;

background:linear-gradient(135deg,#111827,#1f2937);

border-radius:25px;

border:1px solid rgba(255,255,255,.08);

}

.resume-card h2{

font-size:2.6rem;

margin-bottom:20px;

}

.resume-card p{

color:var(--gray);

margin-bottom:35px;

}

/* =========================================
   MOTTO
========================================= */

.motto{

padding:100px 8%;

text-align:center;

max-width:900px;

margin:auto;

}

.motto blockquote{

font-size:2rem;

line-height:1.7;

font-weight:600;

color:white;

}

.motto h4{

margin-top:30px;

color:var(--primary);

font-size:1.2rem;

}
/* =========================================
   CONTACT
========================================= */

.contact{

max-width:1300px;

margin:auto;

padding:120px 8%;

}

.contact-container{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

margin-top:60px;

}

.contact-info h3{

font-size:2rem;

margin-bottom:20px;

}

.contact-info p{

line-height:1.8;

color:var(--gray);

margin-bottom:35px;

}

.social-links{

display:flex;

gap:20px;

}

.social-links a{

width:55px;

height:55px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:#111827;

font-size:22px;

color:white;

text-decoration:none;

transition:.3s;

}

.social-links a:hover{

background:var(--primary);

color:#030712;

transform:translateY(-6px);

}

.contact-form{

display:flex;

flex-direction:column;

gap:20px;

}

.contact-form input,
.contact-form textarea{

padding:18px;

background:#111827;

border:none;

outline:none;

border-radius:12px;

color:white;

font-size:16px;

}

.contact-form textarea{

resize:none;

}

.contact-form button{

cursor:pointer;

}

/* =========================================
   BACK TO TOP
========================================= */

#topBtn{

position:fixed;

right:30px;

bottom:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;

}

/* =========================================
   FOOTER
========================================= */

footer{

padding:60px 20px;

text-align:center;

border-top:1px solid rgba(255,255,255,.08);

margin-top:80px;

}

footer h3{

font-size:2rem;

margin-bottom:15px;

color:var(--primary);

}

footer p{

color:var(--gray);

margin-bottom:15px;

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:900px){

.contact-container{

grid-template-columns:1fr;

}

}
/* =========================================
   CODE EDITOR
========================================= */

.code-editor{

width:100%;

max-width:540px;

background:#0d1117;

border-radius:18px;

overflow:hidden;

border:1px solid rgba(255,255,255,.08);

box-shadow:
0 25px 60px rgba(0,0,0,.45);

}

.editor-header{

height:55px;

background:#161b22;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 20px;

}

.editor-buttons{

display:flex;

gap:10px;

}

.file-name{

font-size:.9rem;

color:#94A3B8;

font-family:'JetBrains Mono', monospace;

}

.editor-body{

padding:28px;

min-height:420px;

font-family:'JetBrains Mono', monospace;

font-size:16px;

line-height:1.8;

color:#E6EDF3;

overflow:hidden;

}

.editor-body pre{

margin:0;

white-space:pre-wrap;

}
/* =========================================
   ANIMATED BACKGROUND
========================================= */

body{
    position:relative;
    overflow-x:hidden;
    background:#030712;
}

.background{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-2;

}

.blob{

    position:absolute;

    border-radius:50%;

    filter:blur(90px);

    opacity:.35;

    animation:float 18s ease-in-out infinite;

}

.blob1{

    width:420px;

    height:420px;

    background:#38bdf8;

    top:-120px;

    left:-120px;

}

.blob2{

    width:350px;

    height:350px;

    background:#8b5cf6;

    bottom:-100px;

    right:-100px;

    animation-delay:4s;

}

.blob3{

    width:280px;

    height:280px;

    background:#06b6d4;

    top:40%;

    left:60%;

    animation-delay:8s;

}

@keyframes float{

0%{

transform:translate(0,0) scale(1);

}

25%{

transform:translate(120px,-70px) scale(1.1);

}

50%{

transform:translate(-80px,90px) scale(.9);

}

75%{

transform:translate(80px,50px) scale(1.05);

}

100%{

transform:translate(0,0) scale(1);

}

}
body::before{

content:"";

position:fixed;

inset:0;

background-image:

linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),

linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

background-size:40px 40px;

pointer-events:none;

z-index:-1;

}