/* =========================================
   PREMIUM PORTFOLIO CSS
   PART 1
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

--primary:#17d890;
--secondary:#00b87d;
--accent:#53ffd1;

--bg:#eefaf6;
--card:#ffffff;
--text:#16352c;

--glass:rgba(255,255,255,.65);

--shadow:0 20px 50px rgba(0,0,0,.08);

--radius:25px;

}

body.dark{

--bg:#07141c;
--card:#101d28;
--text:#ffffff;
--glass:rgba(16,29,40,.6);
--shadow:0 20px 60px rgba(0,0,0,.45);

}

*{

margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;

}

html{

scroll-behavior:smooth;

}

body{

background:var(--bg);
color:var(--text);
overflow-x:hidden;
transition:.35s;

}

body::before{

content:"";

position:fixed;

width:700px;
height:700px;

left:-200px;
top:-200px;

background:radial-gradient(var(--primary),transparent 70%);

opacity:.15;

filter:blur(60px);

z-index:-3;

}

body::after{

content:"";

position:fixed;

width:700px;
height:700px;

right:-200px;
bottom:-200px;

background:radial-gradient(#00e5ff,transparent 70%);

opacity:.12;

filter:blur(60px);

z-index:-3;

}

#particles-js{

position:fixed;

width:100%;
height:100%;

z-index:-2;

}

#loader{

position:fixed;

inset:0;

display:flex;

justify-content:center;

align-items:center;

flex-direction:column;

background:var(--bg);

z-index:99999;

}

.loader-ring{

width:80px;
height:80px;

border-radius:50%;

border:8px solid rgba(255,255,255,.15);

border-top:8px solid var(--primary);

animation:spin 1s linear infinite;

margin-bottom:20px;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

.navbar{

position:fixed;

top:0;

width:100%;

padding:18px 8%;

display:flex;

justify-content:space-between;

align-items:center;

background:rgba(255,255,255,.6);

backdrop-filter:blur(18px);

z-index:999;

}

.dark .navbar{

background:rgba(10,18,25,.75);

}

.logo{

display:flex;

align-items:center;

gap:12px;

font-size:24px;

font-weight:700;

text-decoration:none;

color:var(--text);

}

.logo-circle{

width:55px;
height:55px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

font-size:22px;

font-weight:700;

box-shadow:var(--shadow);

}

.nav-links{

display:flex;

gap:35px;

list-style:none;

}

.nav-links a{

text-decoration:none;

color:var(--text);

font-weight:600;

transition:.3s;

}

.nav-links a:hover{

color:var(--primary);

}

.nav-right{

display:flex;

align-items:center;

gap:15px;

}

#theme{

width:50px;

height:50px;

border:none;

border-radius:50%;

cursor:pointer;

font-size:18px;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

}

.theme-list{

display:flex;

gap:8px;

}

.theme-list button{

width:18px;

height:18px;

border:none;

border-radius:50%;

cursor:pointer;

}

.emerald{

background:#17d890;

}

.ocean{

background:#1495ff;

}

.purple{

background:#a442ff;

}

.gold{

background:#ffbe0b;

}

.crimson{

background:#ff2d55;

}

.neo{

background:#202020;

}

#home{

min-height:100vh;

display:flex;

align-items:center;

justify-content:space-between;

padding:130px 8%;

gap:60px;

}

.hero-left{

flex:1;

}

.badge{

display:inline-flex;

padding:8px 20px;

border-radius:50px;

background:rgba(23,216,144,.12);

color:var(--primary);

font-weight:600;

margin-bottom:25px;

}

.hero-left h1{

font-size:72px;

line-height:1.1;

margin-bottom:20px;

}

.hero-left h2{

font-size:34px;

color:var(--primary);

margin-bottom:25px;

}

.hero-left p{

font-size:17px;

line-height:1.9;

max-width:650px;

opacity:.85;

}

.hero-buttons{

display:flex;

gap:20px;

margin-top:35px;

}

.btn{

padding:16px 38px;

border-radius:50px;

text-decoration:none;

font-weight:600;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

transition:.35s;

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 15px 35px rgba(23,216,144,.4);

}

.btn-outline{

padding:16px 38px;

border-radius:50px;

text-decoration:none;

border:2px solid var(--primary);

color:var(--primary);

font-weight:600;

transition:.35s;

}

.btn-outline:hover{

background:var(--primary);

color:white;

}

.hero-social{

display:flex;

gap:18px;

margin-top:40px;

}

.hero-social a{

width:55px;
height:55px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

background:var(--card);

box-shadow:var(--shadow);

color:var(--primary);

font-size:22px;

transition:.35s;

}

.hero-social a:hover{

transform:translateY(-8px);

background:var(--primary);

color:white;

}
```	
/*=========================================
        HERO AVATAR
=========================================*/

.hero-right{

flex:1;

display:flex;

justify-content:center;

align-items:center;

}

.avatar{

position:relative;

width:460px;

height:460px;

display:flex;

justify-content:center;

align-items:center;

}

.outer-ring{

position:absolute;

width:430px;

height:430px;

border-radius:50%;

border:3px dashed var(--primary);

animation:rotate 30s linear infinite;

}

.middle-ring{

position:absolute;

width:340px;

height:340px;

border-radius:50%;

border:2px solid rgba(23,216,144,.4);

animation:rotate2 18s linear infinite;

}

.inner-ring{

width:240px;

height:240px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

background:linear-gradient(135deg,var(--primary),var(--secondary));

box-shadow:0 20px 60px rgba(23,216,144,.45);

}

.tm{

font-size:90px;

font-weight:800;

color:white;

letter-spacing:6px;

}

@keyframes rotate{

100%{

transform:rotate(360deg);

}

}

@keyframes rotate2{

100%{

transform:rotate(-360deg);

}

}

.orbit{

position:absolute;

width:65px;

height:65px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:var(--card);

box-shadow:var(--shadow);

font-size:26px;

color:var(--primary);

}

.one{

top:0;

left:50%;

transform:translateX(-50%);

}

.two{

right:30px;

top:110px;

}

.three{

right:45px;

bottom:110px;

}

.four{

bottom:0;

left:50%;

transform:translateX(-50%);

}

.five{

left:40px;

bottom:100px;

}

.six{

left:30px;

top:110px;

}

/*=========================================
ABOUT
=========================================*/

section{

padding:110px 8%;

}

.section-heading{

text-align:center;

margin-bottom:70px;

}

.section-heading span{

color:var(--primary);

font-weight:700;

letter-spacing:2px;

}

.section-heading h2{

font-size:48px;

margin-top:10px;

}

.about-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:28px;

}

.glass-card{

padding:35px;

border-radius:var(--radius);

background:var(--glass);

backdrop-filter:blur(18px);

box-shadow:var(--shadow);

transition:.35s;

text-align:center;

}

.glass-card:hover{

transform:translateY(-10px);

}

.glass-card i{

font-size:48px;

color:var(--primary);

margin-bottom:20px;

}

.glass-card h3{

margin-bottom:12px;

}

/*=========================================
SKILLS
=========================================*/

.skills-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:28px;

}

.skill-card{

padding:30px;

background:var(--card);

border-radius:25px;

box-shadow:var(--shadow);

transition:.35s;

}

.skill-card:hover{

transform:translateY(-8px);

}

.skill-icon{

width:70px;

height:70px;

display:flex;

justify-content:center;

align-items:center;

font-size:30px;

border-radius:20px;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

margin-bottom:20px;

}

.progress{

height:10px;

background:#dfeee7;

border-radius:20px;

margin:18px 0;

overflow:hidden;

}

.bar{

height:100%;

border-radius:20px;

background:linear-gradient(90deg,var(--primary),var(--secondary));

}

.html{width:90%;}
.css{width:85%;}
.js{width:75%;}
.ai{width:95%;}
.design{width:80%;}
.video{width:70%;}

/*=========================================
PROJECT
=========================================*/

.project-card{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

padding:50px;

border-radius:30px;

background:var(--card);

box-shadow:var(--shadow);

}

.laptop{

width:100%;

max-width:500px;

margin:auto;

}

.screen{

height:300px;

background:#101820;

border-radius:18px;

padding:20px;

}

.screen-header{

display:flex;

gap:8px;

margin-bottom:20px;

}

.screen-header span{

width:12px;

height:12px;

border-radius:50%;

background:white;

opacity:.5;

}

.screen-content{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

height:220px;

color:white;

text-align:center;

}

.shield{

width:80px;

height:80px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:linear-gradient(135deg,var(--primary),var(--secondary));

font-size:34px;

margin-bottom:20px;

}

.password-bars{

width:100%;

margin:25px 0;

}

.password-bars div{

height:12px;

background:#2d404d;

margin:10px 0;

border-radius:20px;

}

.password-bars div:nth-child(1){width:90%;}
.password-bars div:nth-child(2){width:70%;}
.password-bars div:nth-child(3){width:85%;}
.password-bars div:nth-child(4){width:60%;}

.base{

height:18px;

background:#444;

border-radius:0 0 20px 20px;

}

/*=========================================
EDUCATION
=========================================*/

.timeline{

position:relative;

max-width:1100px;

margin:auto;

}

.timeline::before{

content:"";

position:absolute;

left:50%;

top:0;

width:4px;

height:100%;

background:linear-gradient(var(--primary),var(--secondary));

transform:translateX(-50%);

}

.timeline-item{

position:relative;

width:50%;

padding:30px 50px;

}

.timeline-item:nth-child(odd){

left:0;

text-align:right;

}

.timeline-item:nth-child(even){

left:50%;

}

.timeline-dot{

position:absolute;

top:45px;

right:-12px;

width:24px;

height:24px;

background:var(--primary);

border-radius:50%;

box-shadow:0 0 20px var(--primary);

}

.timeline-item:nth-child(even) .timeline-dot{

left:-12px;

}

.timeline-content{

background:var(--card);

padding:30px;

border-radius:25px;

box-shadow:var(--shadow);

transition:.35s;

}

.timeline-content:hover{

transform:translateY(-8px);

}

/*=========================================
LEARNING
=========================================*/

.learning-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.learn-card{

padding:35px;

border-radius:25px;

background:var(--card);

box-shadow:var(--shadow);

text-align:center;

transition:.35s;

}

.learn-card:hover{

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

transform:translateY(-10px);

}

.learn-card i{

font-size:45px;

margin-bottom:20px;

color:var(--primary);

}

.learn-card:hover i{

color:white;

}

/*=========================================
CONTACT
=========================================*/

.contact-wrapper{

display:flex;

justify-content:center;

}

.contact-card{

width:700px;

padding:45px;

background:var(--glass);

backdrop-filter:blur(20px);

border-radius:30px;

box-shadow:var(--shadow);

}

.contact-item{

display:flex;

align-items:center;

gap:20px;

margin:25px 0;

}

.contact-item i{

width:60px;

height:60px;

display:flex;

justify-content:center;

align-items:center;

border-radius:18px;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

font-size:22px;

}

.contact-social{

display:flex;

justify-content:center;

gap:18px;

margin-top:35px;

}

.contact-social a{

width:55px;

height:55px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:var(--card);

color:var(--primary);

font-size:22px;

box-shadow:var(--shadow);

transition:.35s;

}

.contact-social a:hover{

background:var(--primary);

color:white;

transform:translateY(-8px);

}

/*=========================================
FOOTER
=========================================*/

footer{

margin-top:100px;

padding:60px 8%;

text-align:center;

background:var(--card);

border-top:1px solid rgba(0,0,0,.08);

}

.footer-content h2{

font-size:38px;

margin-bottom:15px;

color:var(--primary);

}

.footer-content p{

margin:10px 0;

opacity:.85;

}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1000px){

#home{

flex-direction:column-reverse;

text-align:center;

padding-top:150px;

}

.hero-buttons{

justify-content:center;

}

.hero-social{

justify-content:center;

}

.project-card{

grid-template-columns:1fr;

}

.timeline::before{

left:25px;

}

.timeline-item{

width:100%;

left:0!important;

padding-left:70px;

padding-right:20px;

text-align:left!important;

}

.timeline-dot{

left:14px!important;

right:auto!important;

}

}

@media(max-width:700px){

.hero-left h1{

font-size:48px;

}

.hero-left h2{

font-size:26px;

}

.avatar{

transform:scale(.8);

}

.nav-links{

display:none;

}

.theme-list{

display:none;

}

.section-heading h2{

font-size:36px;

}

.about-grid,

.skills-grid,

.learning-grid{

grid-template-columns:1fr;

}

.contact-card{

width:100%;

}

}
```
/*=========================================
      ACTIVE NAV LINK
=========================================*/

.nav-links a.active{

color:var(--primary);

position:relative;

}

.nav-links a.active::after{

content:"";

position:absolute;

left:0;

bottom:-8px;

width:100%;

height:3px;

border-radius:50px;

background:linear-gradient(90deg,var(--primary),var(--secondary));

}

/*=========================================
      SCROLL PROGRESS BAR
=========================================*/

#progressBar{

position:fixed;

top:0;

left:0;

width:0;

height:4px;

background:linear-gradient(90deg,var(--primary),var(--secondary));

z-index:999999;

transition:.1s;

}

/*=========================================
      SCROLL TO TOP BUTTON
=========================================*/

#topBtn{

position:fixed;

right:30px;

bottom:30px;

width:60px;

height:60px;

border:none;

border-radius:50%;

background:linear-gradient(135deg,var(--primary),var(--secondary));

color:white;

font-size:22px;

cursor:pointer;

box-shadow:0 15px 40px rgba(0,0,0,.25);

opacity:0;

pointer-events:none;

transition:.35s;

z-index:999;

}

#topBtn.show{

opacity:1;

pointer-events:auto;

}

#topBtn:hover{

transform:translateY(-8px);

}

/*=========================================
      CUSTOM SCROLLBAR
=========================================*/

::-webkit-scrollbar{

width:12px;

}

::-webkit-scrollbar-track{

background:var(--bg);

}

::-webkit-scrollbar-thumb{

background:linear-gradient(var(--primary),var(--secondary));

border-radius:50px;

}

/*=========================================
      SELECTION
=========================================*/

::selection{

background:var(--primary);

color:white;

}

/*=========================================
      BUTTON RIPPLE
=========================================*/

.btn,

.btn-outline{

position:relative;

overflow:hidden;

}

.btn::before,

.btn-outline::before{

content:"";

position:absolute;

width:0;

height:0;

left:50%;

top:50%;

border-radius:50%;

background:rgba(255,255,255,.25);

transform:translate(-50%,-50%);

transition:.5s;

}

.btn:hover::before,

.btn-outline:hover::before{

width:350px;

height:350px;

}

/*=========================================
      GLASS HOVER
=========================================*/

.glass-card,

.skill-card,

.learn-card,

.contact-card,

.timeline-content{

border:1px solid rgba(255,255,255,.08);

}

.glass-card:hover,

.skill-card:hover,

.learn-card:hover,

.timeline-content:hover,

.contact-card:hover{

box-shadow:

0 20px 60px rgba(0,0,0,.15),

0 0 35px rgba(23,216,144,.25);

}

/*=========================================
      FLOATING BACKGROUND BLOBS
=========================================*/

body::before{

animation:blob1 18s ease-in-out infinite alternate;

}

body::after{

animation:blob2 22s ease-in-out infinite alternate;

}

@keyframes blob1{

100%{

transform:translate(120px,80px) scale(1.2);

}

}

@keyframes blob2{

100%{

transform:translate(-120px,-80px) scale(.8);

}

}

/*=========================================
      IMAGE PLACEHOLDER (NO IMAGE NEEDED)
=========================================*/

.image-placeholder{

width:260px;

height:260px;

border-radius:50%;

background:

radial-gradient(circle at center,var(--primary),transparent 65%),

linear-gradient(135deg,var(--primary),var(--secondary));

display:flex;

align-items:center;

justify-content:center;

font-size:90px;

color:white;

box-shadow:0 0 50px rgba(23,216,144,.45);

animation:pulse 3s infinite;

}

@keyframes pulse{

50%{

transform:scale(1.06);

box-shadow:0 0 80px rgba(23,216,144,.6);

}

}

*{
    cursor:none;
}

.cursor{
    position:fixed;
    left:0;
    top:0;
    width:36px;
    height:36px;
    border:2px solid var(--primary);
    border-radius:50%;
    pointer-events:none;
    z-index:999999;
    transform:translate(-50%,-50%);
    mix-blend-mode:difference;
}

.cursor-dot{
    position:fixed;
    left:0;
    top:0;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#fff;
    pointer-events:none;
    z-index:1000000;
    transform:translate(-50%,-50%);
}

.cursor.active{
    width:70px;
    height:70px;
    background:rgba(255,255,255,.08);
}

.project-content{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.project-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    width:max-content;

    padding:14px 28px;

    background:#0f2532;

    border:1px solid rgba(255,255,255,.15);

    color:#17d890;

    text-decoration:none;

    font-weight:600;

    border-radius:14px;

    transition:.35s;
}

.project-btn:hover{

    background:#17d890;

    color:#08131d;

    transform:translateY(-5px);

}

/*=========================================
      END
=========================================*/

