/* ===================================================
        GOOGLE FONTS
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===================================================
        ROOT VARIABLES
=================================================== */

:root{

    --bg:#050816;

    --card:#111827;

    --card2:#1b2433;

    --primary:#6366f1;

    --secondary:#8b5cf6;

    --cyan:#06b6d4;

    --white:#ffffff;

    --text:#d1d5db;

    --heading:#f8fafc;

    --border:rgba(255,255,255,.08);

    --shadow:0 20px 60px rgba(0,0,0,.45);

}

/* ===================================================
        RESET
=================================================== */

*{

margin:0;

padding:0;

box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Inter',sans-serif;

background:var(--bg);

color:var(--text);

overflow-x:hidden;

line-height:1.7;

}

/* ===================================================
        SCROLLBAR
=================================================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#09101d;

}

::-webkit-scrollbar-thumb{

background:linear-gradient(var(--primary),var(--secondary));

border-radius:20px;

}

/* ===================================================
        BACKGROUND
=================================================== */

.bg-gradient{

position:fixed;

inset:0;

background:

radial-gradient(circle at 10% 20%,rgba(99,102,241,.25),transparent 30%),

radial-gradient(circle at 90% 10%,rgba(6,182,212,.20),transparent 25%),

radial-gradient(circle at 50% 80%,rgba(139,92,246,.18),transparent 30%),

#050816;

z-index:-5;

}

/* ===================================================
        FLOATING BLOBS
=================================================== */

.blob{

position:fixed;

border-radius:50%;

filter:blur(80px);

opacity:.4;

animation:float 10s ease-in-out infinite;

z-index:-2;

}

.blob1{

width:320px;

height:320px;

background:#6366f1;

top:-80px;

left:-80px;

}

.blob2{

width:260px;

height:260px;

background:#06b6d4;

right:-80px;

top:30%;

animation-delay:2s;

}

.blob3{

width:350px;

height:350px;

background:#8b5cf6;

bottom:-120px;

left:40%;

animation-delay:4s;

}

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-40px);

}

100%{

transform:translateY(0px);

}

}

/* ===================================================
        SCROLL PROGRESS
=================================================== */

#progress-bar{

position:fixed;

top:0;

left:0;

height:4px;

width:0;

background:linear-gradient(90deg,var(--cyan),var(--primary));

z-index:9999;

}

/* ===================================================
        NAVBAR
=================================================== */

nav{

position:fixed;

top:0;

left:0;

width:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:22px 8%;

background:rgba(8,12,28,.55);

backdrop-filter:blur(16px);

border-bottom:1px solid rgba(255,255,255,.05);

z-index:999;

transition:.4s;

}

.logo{

font-size:28px;

font-weight:800;

color:var(--heading);

}

.logo span{

color:var(--cyan);

}

.nav-links{

display:flex;

list-style:none;

gap:35px;

}

.nav-links a{

text-decoration:none;

color:var(--text);

font-size:15px;

font-weight:500;

transition:.3s;

position:relative;

}

.nav-links a:hover{

color:var(--white);

}

.nav-links a::after{

content:'';

position:absolute;

bottom:-6px;

left:0;

width:0;

height:2px;

background:var(--cyan);

transition:.3s;

}

.nav-links a:hover::after{

width:100%;

}

.hire-btn{

padding:12px 28px;

border-radius:50px;

text-decoration:none;

background:linear-gradient(90deg,var(--primary),var(--secondary));

color:#fff;

font-weight:600;

transition:.35s;

}

.hire-btn:hover{

transform:translateY(-3px);

box-shadow:0 10px 30px rgba(99,102,241,.45);

}

.menu-btn{

display:none;

font-size:28px;

cursor:pointer;

}

/* ===================================================
        HERO
=================================================== */

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1.2fr .8fr;

align-items:center;

padding:120px 8%;

gap:70px;

}

.hello{

font-size:18px;

color:var(--cyan);

margin-bottom:10px;

}

.hero h1{

font-size:72px;

line-height:1.05;

font-weight:900;

color:var(--heading);

}

.hero h1 span{

background: linear-gradient(90deg, var(--cyan), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.hero h3{

margin-top:18px;

font-size:30px;

font-weight:600;

color:#a5b4fc;

height:40px;

}

.hero-description{

margin-top:25px;

max-width:650px;

font-size:18px;

color:#cbd5e1;

}

/* ===================================================
        BUTTONS
=================================================== */

.hero-buttons{

display:flex;

gap:18px;

margin-top:35px;

}

.primary-btn{

padding:14px 35px;

border-radius:50px;

text-decoration:none;

background:linear-gradient(90deg,var(--primary),var(--secondary));

color:#fff;

font-weight:600;

transition:.3s;

}

.secondary-btn{

padding:14px 35px;

border-radius:50px;

border:1px solid rgba(255,255,255,.15);

text-decoration:none;

color:#fff;

transition:.3s;

}

.primary-btn:hover,

.secondary-btn:hover{

transform:translateY(-4px);

}

/* ===================================================
        SOCIAL ICONS
=================================================== */

.social-icons{

display:flex;

gap:20px;

margin-top:35px;

}

.social-icons a{

width:52px;

height:52px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

color:#fff;

font-size:22px;

transition:.35s;

}

.social-icons a:hover{

background:linear-gradient(90deg,var(--primary),var(--secondary));

transform:translateY(-6px);

}

/* ===================================================
        PROFILE CARD
=================================================== */

.profile-card{

width:420px;

height:420px;

margin:auto;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(18px);

border-radius:35px;

padding:18px;

box-shadow:var(--shadow);

}

.profile-card img{

width:100%;

height:100%;

border-radius:25px;

object-fit:cover;

}

/* ===================================================
        STATS
=================================================== */

.stats{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

padding:20px 8% 100px;

}

.stat-card{

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(15px);

padding:40px;

border-radius:22px;

text-align:center;

transition:.35s;

}

.stat-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow);

}

.stat-card h2{

font-size:42px;

color:var(--cyan);

margin-bottom:8px;

}

.stat-card p{

font-size:17px;

}

/* ===================================================
        COMMON SECTION
=================================================== */

.section{

padding:100px 8%;

}

.section-title{

font-size:42px;

font-weight:800;

color:var(--heading);

margin-bottom:60px;

position:relative;

display:inline-block;

}

.section-title::after{

content:'';

position:absolute;

bottom:-12px;

left:0;

width:70%;

height:4px;

background:linear-gradient(90deg,var(--cyan),var(--primary));

border-radius:20px;

}

/* ===================================================
        ABOUT
=================================================== */

.about-container{

display:grid;

grid-template-columns:1fr;

}

.about-text{

background:rgba(255,255,255,.04);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(15px);

padding:45px;

border-radius:25px;

font-size:18px;

line-height:2;

}

.about-text p{

margin-bottom:20px;

}
/* ===================================================
        EXPERIENCE TIMELINE
=================================================== */

.timeline{
    position:relative;
    max-width:1100px;
    margin:auto;
}

.timeline::before{
    content:"";
    position:absolute;
    left:22px;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(var(--cyan),var(--primary));
    border-radius:20px;
}

.timeline-item{
    position:relative;
    padding-left:70px;
    margin-bottom:45px;
}

.timeline-item::before{
    content:"";
    position:absolute;
    left:10px;
    top:18px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:var(--cyan);
    border:5px solid var(--bg);
    box-shadow:0 0 20px rgba(6,182,212,.5);
}

.timeline-content{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    padding:35px;
    border-radius:24px;
    transition:.35s;
}

.timeline-content:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.timeline-content .date{
    color:var(--cyan);
    font-size:14px;
    font-weight:600;
}

.timeline-content h3{
    color:var(--heading);
    font-size:28px;
    margin:12px 0 5px;
}

.timeline-content h4{
    color:#a5b4fc;
    margin-bottom:20px;
}

.timeline-content ul{
    padding-left:20px;
}

.timeline-content li{
    margin-bottom:12px;
}

/* ===================================================
        FEATURED PROJECT
=================================================== */

.featured-project{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.project-image img{
    width:100%;
    border-radius:25px;
    box-shadow:var(--shadow);
}

.project-content span{
    color:var(--cyan);
    font-weight:700;
    text-transform:uppercase;
}

.project-content h2{
    color:var(--heading);
    font-size:40px;
    margin:15px 0;
}

.project-content p{
    font-size:18px;
    line-height:1.9;
}

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}

.tech-stack span{
    background:rgba(255,255,255,.06);
    padding:10px 20px;
    border-radius:40px;
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
}

/* ===================================================
        PROJECT GRID
=================================================== */

.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:24px;
    overflow:hidden;
    transition:.35s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-info{
    padding:28px;
}

.project-info h3{
    color:var(--heading);
    margin-bottom:15px;
}

.project-info p{
    margin-bottom:20px;
}

.project-links{
    display:flex;
    gap:15px;
}

.project-links a{
    text-decoration:none;
    color:#fff;
    padding:10px 20px;
    border-radius:30px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
}

/* ===================================================
        SKILLS
=================================================== */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.skill-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:35px;
    transition:.35s;
}

.skill-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.skill-card h3{
    color:var(--heading);
    margin-bottom:20px;
}

.skill-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.skill-tags span{
    padding:8px 16px;
    border-radius:30px;
    background:rgba(255,255,255,.06);
    color:#fff;
}

/* ===================================================
        RESEARCH
=================================================== */

.research-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:30px;
}

.research-card{
    background:rgba(255,255,255,.05);
    border-radius:25px;
    padding:35px;
    border:1px solid rgba(255,255,255,.08);
}

.research-card h3{
    color:var(--heading);
    margin-bottom:15px;
}

.research-card span{
    color:var(--cyan);
    font-weight:600;
}

.research-card p{
    margin-top:18px;
    line-height:1.9;
}

/* ===================================================
        CONTACT
=================================================== */

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.contact-card{
    text-align:center;
    padding:40px;
    border-radius:24px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.contact-card i{
    font-size:40px;
    color:var(--cyan);
    margin-bottom:20px;
}

.contact-card h3{
    color:var(--heading);
    margin-bottom:10px;
}

.contact-card a{
    color:var(--text);
    text-decoration:none;
}

.contact-card a:hover{
    color:var(--cyan);
}

/* ===================================================
        FOOTER
=================================================== */

footer{
    padding:60px 8%;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

footer h3{
    color:var(--heading);
    font-size:30px;
}

footer p{
    margin-top:15px;
}

/* ===================================================
        RESPONSIVE
=================================================== */

@media(max-width:992px){

.hero{
    grid-template-columns:1fr;
    text-align:center;
}

.profile-card{
    width:330px;
    height:330px;
}

.featured-project{
    grid-template-columns:1fr;
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.nav-links{
    display:none;
}

.menu-btn{
    display:block;
    color:#fff;
}

.hero h1{
    font-size:54px;
}

.hero h3{
    font-size:24px;
}

.hero-description{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
}

.social-icons{
    justify-content:center;
}

.stats{
    grid-template-columns:1fr;
}

.section-title{
    font-size:34px;
}

.timeline::before{
    left:16px;
}

.timeline-item{
    padding-left:55px;
}

.timeline-item::before{
    left:4px;
}

.project-content h2{
    font-size:32px;
}

.research-grid{
    grid-template-columns:1fr;
}

}

@media(max-width:576px){

nav{
    padding:18px 6%;
}

.hero{
    padding:120px 6%;
}

.section{
    padding:80px 6%;
}

.profile-card{
    width:260px;
    height:260px;
}

.hero h1{
    font-size:44px;
}

.hero h3{
    font-size:20px;
}

.section-title{
    font-size:28px;
}

.timeline-content{
    padding:25px;
}

.project-content h2{
    font-size:28px;
}

.contact-card{
    padding:30px;
}

}
@media(max-width:768px){

.nav-links.active{

display:flex;

position:absolute;

top:80px;

left:0;

width:100%;

flex-direction:column;

align-items:center;

background:#050816;

padding:30px;

gap:25px;

}

}