

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*
RESET
*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

html{
scroll-behavior:smooth;
}

body{

background:#080808;
color:#ffffff;
overflow-x:hidden;
line-height:1.7;

}

/*
ROOT
*/
:root{

--bg:#080808;
--bg2:#111111;

--card:#181818;

--primary:#9D4EDD;

--secondary:#C77DFF;

--white:#ffffff;

--gray:#B8B8B8;

--shadow:0 15px 35px rgba(157,78,221,.18);

}

/*
SCROLLBAR
*/

::-webkit-scrollbar{

width:9px;

}

::-webkit-scrollbar-track{

background:#111;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:30px;

}

/*
LOADER
*/

#loader{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:#080808;

display:flex;

justify-content:center;

align-items:center;

flex-direction:column;

z-index:99999;

transition:.6s;

}

.spinner{

width:70px;

height:70px;

border-radius:50%;

border:5px solid #222;

border-top:5px solid var(--primary);

animation:spin 1s linear infinite;

margin-bottom:20px;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

#loader h2{

font-size:2rem;

margin-bottom:8px;

}

#loader p{

color:var(--gray);

}

/*
BACKGROUND
*/

.bg-circle{

position:fixed;

border-radius:50%;

filter:blur(90px);

opacity:.18;

z-index:-1;

}

.bg1{

width:300px;

height:300px;

background:#7B2CBF;

top:-120px;

left:-120px;

}

.bg2{

width:250px;

height:250px;

background:#A855F7;

right:-80px;

top:200px;

}

.bg3{

width:260px;

height:260px;

background:#C77DFF;

bottom:-100px;

left:40%;

}

/*
HEADER
*/

header{

position:fixed;

top:0;

left:0;

width:100%;

padding:20px 8%;

z-index:1000;

}

/*
NAVBAR
*/

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 35px;

background:rgba(18,18,18,.75);

backdrop-filter:blur(18px);

border-radius:18px;

border:1px solid rgba(255,255,255,.05);

}

.logo{

font-size:1.8rem;

font-weight:700;

text-decoration:none;

color:#fff;

}

.logo span{

color:var(--primary);

}

.nav-links{

display:flex;

gap:35px;

list-style:none;

}

.nav-links a{

text-decoration:none;

color:#fff;

font-weight:500;

transition:.3s;

}

.nav-links a:hover{

color:var(--secondary);

}

.nav-buttons{

display:flex;

gap:15px;

}

#theme-toggle,

#menu-btn{

width:45px;

height:45px;

border:none;

border-radius:50%;

background:#1e1e1e;

color:white;

cursor:pointer;

font-size:18px;

transition:.3s;

}

#theme-toggle:hover,

#menu-btn:hover{

background:var(--primary);

}

/*
SECTION
*/

.section{

padding:110px 8%;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title span{

color:var(--secondary);

font-size:.95rem;

font-weight:600;

letter-spacing:1px;

}

.section-title h2{

font-size:2.8rem;

margin-top:12px;

}

/*
HERO
*/

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1.2fr .8fr;

align-items:center;

gap:70px;

padding:150px 8% 80px;

}

.tag{

display:inline-block;

padding:10px 20px;

border-radius:30px;

background:rgba(157,78,221,.15);

color:var(--secondary);

margin-bottom:25px;

}

.hero h1{

font-size:4.5rem;

line-height:1.2;

margin-bottom:20px;

}

.hero h1 span{

color:var(--secondary);

}

.hero h3{

font-size:2rem;

color:var(--primary);

margin-bottom:25px;

min-height:50px;

}

.hero p{

color:var(--gray);

margin-bottom:35px;

max-width:650px;

}

.hero-buttons{

display:flex;

gap:18px;

margin-bottom:35px;

flex-wrap:wrap;

}

/*
BUTTONS
*/

.btn{

display:inline-flex;

justify-content:center;

align-items:center;

padding:15px 35px;

border-radius:40px;

font-weight:600;

text-decoration:none;

transition:.35s;

}

.primary{

background:linear-gradient(135deg,#7B2CBF,#C77DFF);

color:#fff;

}

.secondary{

border:2px solid var(--primary);

color:#fff;

}

.primary:hover{

transform:translateY(-5px);

box-shadow:var(--shadow);

}

.secondary:hover{

background:var(--primary);

}

/*
SOCIAL
*/

.social-icons{

display:flex;

gap:20px;

}

.social-icons a{

width:52px;

height:52px;

display:flex;

justify-content:center;

align-items:center;

background:#181818;

border-radius:50%;

font-size:20px;

text-decoration:none;

color:white;

transition:.35s;

}

.social-icons a:hover{

background:var(--primary);

transform:translateY(-5px);

}

/*
HERO CARD
*/

.hero-card{

background:rgba(255,255,255,.04);

padding:40px;

border-radius:22px;

border:1px solid rgba(255,255,255,.05);

backdrop-filter:blur(18px);

box-shadow:var(--shadow);

}

.status{

display:flex;

align-items:center;

font-weight:600;

margin-bottom:20px;

}

.dot{

width:12px;

height:12px;

background:#00ff7b;

border-radius:50%;

margin-right:10px;

}

.hero-info{

margin-top:20px;

}

.hero-info h4{

color:var(--secondary);

margin-bottom:5px;

}

.hero-info p{

color:var(--gray);

}

hr{

border:none;

height:1px;

background:#2c2c2c;

margin:20px 0;

}



/* 
ABOUT
 */

.about-container{

display:grid;

grid-template-columns:1.3fr .9fr;

gap:40px;

align-items:center;

}

.about-text{

background:rgba(255,255,255,.04);

padding:40px;

border-radius:20px;

border:1px solid rgba(255,255,255,.05);

backdrop-filter:blur(18px);

box-shadow:var(--shadow);

}

.about-text h3{

font-size:2rem;

margin-bottom:20px;

color:var(--secondary);

}

.about-text p{

color:var(--gray);

margin-bottom:18px;

}

.about-cards{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.info-card{

background:rgba(255,255,255,.04);

padding:30px;

border-radius:18px;

text-align:center;

transition:.35s;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.info-card:hover{

transform:translateY(-10px);

background:rgba(157,78,221,.12);

}

.info-card i{

font-size:2.2rem;

color:var(--secondary);

margin-bottom:15px;

}

.info-card h4{

margin-bottom:10px;

font-size:1.1rem;

}

.info-card p{

color:var(--gray);

}

/* 
SKILLS
 */

.skills-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.skill-card{

background:rgba(255,255,255,.04);

padding:35px;

border-radius:20px;

text-align:center;

transition:.35s;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.skill-card:hover{

transform:translateY(-12px);

background:rgba(157,78,221,.12);

}

.skill-card i{

font-size:3rem;

margin-bottom:20px;

color:var(--secondary);

}

.skill-card h3{

margin-bottom:10px;

}

.skill-card span{

display:inline-block;

margin-top:10px;

padding:8px 18px;

border-radius:25px;

background:rgba(157,78,221,.15);

color:var(--secondary);

font-size:.9rem;

}
/* 
PROJECTS
 */

.projects-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

gap:30px;

}

.project-card{

background:rgba(255,255,255,.04);

padding:35px;

border-radius:22px;

display:flex;

flex-direction:column;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

transition:.35s;

height:100%;

}

.project-card:hover{

transform:translateY(-10px);

}

.project-card h3{

font-size:1.6rem;

margin-bottom:18px;

color:var(--secondary);

}

.project-card p{

color:var(--gray);

margin-bottom:20px;

}

.project-card ul{

margin-left:18px;

margin-bottom:25px;

}

.project-card li{

margin-bottom:10px;

color:var(--gray);

}

.project-card li::marker{

color:var(--secondary);

}

.tech-stack{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-top:20px;

}

.tech-stack span{

padding:8px 16px;

border-radius:25px;

background:rgba(157,78,221,.15);

color:var(--secondary);

font-size:.85rem;

}

.project-buttons{

display:flex;

gap:15px;

margin-top:auto;

padding-top:20px;

}

.project-buttons .btn{

flex:1;

}

/*
LIGHT MODE
*/

body.light .about-text,

body.light .info-card,

body.light .skill-card,

body.light .project-card{

background:#ffffff;

border:1px solid #e5e7eb;

}

body.light .about-text p,

body.light .info-card p,

body.light .skill-card span,

body.light .project-card p,

body.light .project-card li{

color:#555;

}

/* 
JOURNEY
 */

.timeline{

max-width:900px;

margin:auto;

position:relative;

}

.timeline::before{

content:"";

position:absolute;

left:22px;

top:0;

width:3px;

height:100%;

background:linear-gradient(var(--primary),var(--secondary));

}

.timeline-item{

display:flex;

gap:30px;

margin-bottom:45px;

position:relative;

}

.timeline-icon{

min-width:48px;

height:48px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:#fff;

font-size:18px;

box-shadow:var(--shadow);

z-index:5;

}

.timeline-content{

flex:1;

background:rgba(255,255,255,.04);

padding:30px;

border-radius:18px;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

transition:.35s;

}

.timeline-content:hover{

transform:translateY(-8px);

}

.timeline-content h4{

color:var(--secondary);

margin-bottom:10px;

font-size:.95rem;

}

.timeline-content h3{

margin-bottom:15px;

font-size:1.35rem;

}

.timeline-content p{

color:var(--gray);

}

/* 
HIGHLIGHTS
 */

.highlight-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

gap:30px;

}

.highlight-card{

background:rgba(255,255,255,.04);

padding:35px;

border-radius:20px;

text-align:center;

transition:.35s;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.highlight-card:hover{

transform:translateY(-10px);

background:rgba(157,78,221,.12);

}

.highlight-card i{

font-size:2.8rem;

margin-bottom:20px;

color:var(--secondary);

}

.highlight-card h3{

margin-bottom:15px;

}

.highlight-card p{

color:var(--gray);

}

/* 
GITHUB
 */

.github-card{

max-width:850px;

margin:auto;

background:rgba(255,255,255,.04);

padding:50px;

border-radius:22px;

text-align:center;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.github-card h3{

font-size:2rem;

margin-bottom:15px;

color:var(--secondary);

}

.github-card p{

color:var(--gray);

margin-bottom:35px;

}

/* 
RESUME
 */

.resume-card{

max-width:800px;

margin:auto;

padding:50px;

text-align:center;

background:rgba(255,255,255,.04);

border-radius:22px;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.resume-card h3{

font-size:2rem;

margin-bottom:15px;

color:var(--secondary);

}

.resume-card p{

color:var(--gray);

margin-bottom:30px;

}

.resume-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

/* 
CONTACT
 */

.contact-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.contact-card{

background:rgba(255,255,255,.04);

padding:35px;

text-align:center;

border-radius:20px;

transition:.35s;

border:1px solid rgba(255,255,255,.05);

box-shadow:var(--shadow);

}

.contact-card:hover{

transform:translateY(-10px);

background:rgba(157,78,221,.12);

}

.contact-card i{

font-size:2.6rem;

margin-bottom:18px;

color:var(--secondary);

}

.contact-card h3{

margin-bottom:15px;

}

.contact-card a{

text-decoration:none;

color:var(--gray);

transition:.3s;

word-break:break-word;

}

.contact-card a:hover{

color:var(--secondary);

}

/* 
FOOTER
 */

footer{

padding:80px 8%;

margin-top:100px;

text-align:center;

border-top:1px solid rgba(255,255,255,.08);

}

footer h2{

font-size:2rem;

margin-bottom:15px;

}

footer span{

color:var(--secondary);

}

footer p{

color:var(--gray);

margin-bottom:20px;

}

.footer-social{

display:flex;

justify-content:center;

gap:18px;

margin:25px 0;

}

.footer-social a{

width:52px;

height:52px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:#181818;

color:white;

text-decoration:none;

font-size:20px;

transition:.35s;

}

.footer-social a:hover{

background:var(--primary);

transform:translateY(-6px);

}

/* 
BACK TO TOP
 */

#backToTop{

position:fixed;

right:25px;

bottom:25px;

width:50px;

height:50px;

border:none;

border-radius:50%;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

font-size:18px;

cursor:pointer;

display:none;

box-shadow:var(--shadow);

z-index:999;

transition:.3s;

}

#backToTop:hover{

transform:translateY(-5px);

}

/* 
LIGHT MODE
 */

body.light .timeline-content,

body.light .highlight-card,

body.light .github-card,

body.light .resume-card,

body.light .contact-card{

background:#ffffff;

border:1px solid #e5e7eb;

}

body.light .timeline-content p,

body.light .highlight-card p,

body.light .github-card p,

body.light .resume-card p,

body.light .contact-card a{

color:#555;

}

/*==================================================
RESPONSIVE DESIGN
==================================================*/

@media (max-width:1024px){

.hero{

grid-template-columns:1fr;

text-align:center;

}

.hero-left{

order:2;

}

.hero-right{

order:1;

max-width:500px;

margin:auto;

}

.about-container{

grid-template-columns:1fr;

}

.about-cards{

grid-template-columns:repeat(2,1fr);

}

.nav-links{

gap:20px;

}

}

@media (max-width:768px){

header{

padding:15px 5%;

}

.navbar{

padding:15px 20px;

}

.nav-links{

position:absolute;

top:85px;

left:-100%;

width:100%;

background:#111;

display:flex;

flex-direction:column;

padding:25px 0;

text-align:center;

border-radius:18px;

transition:.4s;

}

.nav-links.active{

left:0;

}

#menu-btn{

display:block;

}

.hero{

padding:130px 6% 80px;

}

.hero h1{

font-size:3rem;

}

.hero h3{

font-size:1.5rem;

}

.hero-buttons{

justify-content:center;

}

.about-cards{

grid-template-columns:1fr;

}

.skills-grid{

grid-template-columns:1fr;

}

.projects-grid{

grid-template-columns:1fr;

}

.project-buttons{

flex-direction:column;

}

.highlight-grid{

grid-template-columns:1fr;

}

.contact-grid{

grid-template-columns:1fr;

}

.resume-buttons{

flex-direction:column;

}

.section{

padding:80px 6%;

}

.timeline::before{

left:22px;

}

.timeline-item{

gap:20px;

}

}

@media (max-width:500px){

.hero h1{

font-size:2.4rem;

}

.hero p{

font-size:.95rem;

}

.section-title h2{

font-size:2rem;

}

.logo{

font-size:1.5rem;

}

.hero-card{

padding:30px;

}

}

/* 
LIGHT MODE
 */

body.light{

background:#f7f8fc;

color:#222;

}

body.light .navbar{

background:rgba(255,255,255,.9);

}

body.light .logo,

body.light .nav-links a{

color:#222;

}

body.light .hero-card,

body.light .about-text,

body.light .info-card,

body.light .skill-card,

body.light .project-card,

body.light .timeline-content,

body.light .highlight-card,

body.light .github-card,

body.light .resume-card,

body.light .contact-card{

background:#ffffff;

border:1px solid #e4e4e4;

color:#222;

}

body.light p{

color:#555;

}

body.light .footer-social a{

background:#f1f1f1;

color:#222;

}

/* 
SCROLL PROGRESS
 */

#scroll-progress{

position:fixed;

top:0;

left:0;

height:4px;

width:0;

background:linear-gradient(90deg,var(--primary),var(--secondary));

z-index:9999;

}

/* 
ANIMATIONS
 */

.hidden{

opacity:0;

transform:translateY(60px);

transition:.8s ease;

}

.show{

opacity:1;

transform:translateY(0);

}

.hero-card,

.project-card,

.skill-card,

.info-card,

.highlight-card,

.contact-card,

.timeline-content{

transition:.35s;

}

.hero-card:hover,

.project-card:hover,

.skill-card:hover,

.info-card:hover,

.highlight-card:hover,

.contact-card:hover,

.timeline-content:hover{

transform:translateY(-10px);

}

/* 
BUTTON SHINE
 */

.btn{

position:relative;

overflow:hidden;

}

.btn::before{

content:"";

position:absolute;

top:0;

left:-120%;

width:100%;

height:100%;

background:linear-gradient(

90deg,

transparent,

rgba(255,255,255,.25),

transparent

);

transition:.7s;

}

.btn:hover::before{

left:120%;

}

/* 
TEXT SELECTION
 */

::selection{

background:var(--primary);

color:#fff;

}
