:root{

    --background:#090909;
    --surface:#161616;

    --primary:#7B2CF3;
    --secondary:#B266FF;

    --text:#ffffff;
    --text2:#bbbbbb;

}

main{
    flex:1;
}

.light{

    --background:#F8F8FF;
    --surface:#FFFFFF;

    --primary:#9D4EDD;
    --secondary:#C77DFF;

    --text:#1B1B1B;
    --text2:#555;

}

*{

margin:0;
padding:0;
box-sizing:border-box;

font-family:Poppins,sans-serif;

}

html{

scroll-behavior:smooth;

}

body{
    margin:0;
    padding:0;

    background:var(--background);
    color:var(--text);

    transition:.4s;

    min-height:100vh;

    display:flex;
    flex-direction:column;
}

header{

position:fixed;

width:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 8%;

backdrop-filter:blur(18px);

background:rgba(0,0,0,.2);

z-index:999;

}

.logo{

font-size:28px;

font-weight:bold;

color:var(--primary);

}

nav{

display:flex;

gap:30px;

}

nav a{

color:var(--text);

text-decoration:none;

transition:.3s;

}

nav a:hover{

color:var(--primary);

}

#themeButton{

width:45px;

height:45px;

border:none;

border-radius:50%;

cursor:pointer;

font-size:18px;

background:var(--primary);

color:white;

}

.hero{

min-height:65vh;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 8%;

}

.hero-text{

max-width:600px;

}

.hero span{

color:var(--secondary);

font-size:22px;

}

.hero h1{

font-size:70px;

margin:15px 0;

}

.hero h2{

font-size:35px;

color:var(--secondary);

margin-bottom:20px;

}

.hero p{

line-height:1.8;

font-size:18px;

color:var(--text2);

margin-bottom:40px;

}

.buttons{

display:flex;

gap:20px;

}

.btn{

padding:15px 35px;

border-radius:40px;

background:var(--primary);

color:white;

text-decoration:none;

transition:.3s;

}

.secondary{

background:transparent;

border:2px solid var(--primary);

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 0 30px var(--primary);

}
.hero-image img{
    width:380px;
    height:380px;
    border-radius:50%;
    object-fit:cover;
    object-position:center top;
    border:5px solid var(--primary);
    box-shadow:0 0 60px rgba(123,44,243,.6);
}

section{

padding:120px 8%;

min-height:80vh;

}

section h2{

font-size:42px;

margin-bottom:40px;

}

footer{
    width:100%;
    margin:0;
    padding:50px 0;

    background:linear-gradient(
        180deg,
        transparent,
        rgba(123,44,243,.08)
    );

    border-top:1px solid rgba(123,44,243,.25);

    text-align:center;
    color:var(--text2);
}

.background{

position:fixed;

width:100%;

height:100%;

background:
radial-gradient(circle at top right,#7B2CF322,transparent 35%),
radial-gradient(circle at bottom left,#7B2CF322,transparent 35%);

z-index:-1;

}



.socials{
    padding:120px 8%;
}

.social-title{
    text-align:center;
    margin-bottom:60px;
}

.social-title h2{
    font-size:48px;
    margin-bottom:15px;
    color:var(--text);
}

.social-title p{
    color:var(--text2);
    max-width:650px;
    margin:auto;
    line-height:1.8;
}

.social-grid{

    display:grid;

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

    gap:30px;

}

.social-card{

    position:relative;

    overflow:hidden;

    text-decoration:none;

    color:var(--text);

    background:var(--surface);

    border-radius:20px;

    padding:35px;

    transition:.35s;

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

    backdrop-filter:blur(15px);

}

.social-card::before{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:var(--primary);

    filter:blur(120px);

    opacity:0;

    top:-120px;

    right:-120px;

    transition:.4s;

}

.social-card:hover::before{

    opacity:.25;

}

.social-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 0 40px rgba(123,44,243,.25);

}

.social-card i{

    font-size:55px;

    color:var(--primary);

    margin-bottom:25px;

    transition:.35s;

}

.social-card:hover i{

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

}

.social-card h3{

    font-size:24px;

    margin-bottom:10px;

}

.social-card span{

    color:var(--text2);

    line-height:1.7;

}


.social-card::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:0;

    height:4px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

    transition:.4s;

}

.social-card:hover::after{

    width:100%;

}

.menu-toggle{
    display: none;

    background: none;
    border: none;

    color: var(--text);

    font-size: 28px;

    cursor: pointer;

    margin-right: 20px;
}


.about{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.about-text{
    flex:2;
}

.about-text p{
    margin-bottom:20px;
    color:var(--text2);
    line-height:1.8;
    font-size:18px;
}

.about-card{
    flex:1;

    background:var(--surface);

    padding:35px;

    border-radius:20px;

    border:1px solid rgba(123,44,243,.25);

    box-shadow:0 0 30px rgba(123,44,243,.15);
}

.about-card h3{
    margin-bottom:20px;
    color:var(--primary);
}

.about-card p{
    margin:15px 0;
    color:var(--text);
}
.experience{
    text-align:center;
}

.timeline{

    display:flex;

    justify-content:space-between;

    position:relative;

    margin-top:80px;

    gap:40px;

}

.timeline::before{

    content:"";

    position:absolute;

    top:20px;

    left:8%;

    right:8%;

    height:4px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

    z-index:0;

}

.timeline-item{

    position:relative;

    z-index:1;

    flex:1;

}

.circle{

    width:40px;

    height:40px;

    margin:auto;

    border-radius:50%;

    background:var(--background);

    border:5px solid var(--primary);

}

.circle.active{

    background:var(--primary);

    box-shadow:0 0 25px var(--primary);

}

.timeline-item h3{

    margin-top:25px;

    font-size:22px;

}

.timeline-item h4{

    color:var(--secondary);

    margin:10px 0;

}

.timeline-item span{

    color:var(--text2);

    font-size:14px;

}

.timeline-item p{

    margin-top:20px;

    color:var(--text2);

    line-height:1.8;

}

.projects-grid{

    display:grid;

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

    gap:35px;

    margin-top:50px;

}

.project-card{

    background:var(--surface);

    border-radius:20px;

    overflow:hidden;

    text-decoration:none;

    color:var(--text);

    transition:.35s;

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

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 0 35px rgba(123,44,243,.25);

}

.project-card img{

    width:70px;
    height:70px;

    border-radius:50%;

    object-fit:cover;

    display:block;

    margin:25px auto 10px;

    border:3px solid var(--primary);

}

.project-info{

    padding:25px;

}

.project-info h3{

    margin-bottom:15px;

    font-size:24px;

}

.project-info p{

    color:var(--text2);

    line-height:1.7;

    margin-bottom:20px;

}

.techs{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

}

.courses{
    text-align:center;
}


.filter-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-bottom:50px;

    flex-wrap:wrap;

}


.filter{

    padding:12px 25px;

    border-radius:30px;

    border:none;

    cursor:pointer;

    background:var(--surface);

    color:var(--text);

    border:1px solid rgba(123,44,243,.3);

    transition:.3s;

}


.filter:hover,
.filter.active{

    background:var(--primary);

    color:white;

}


.courses-grid{

    display:grid;

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

    gap:30px;

}


.course-card{

    background:var(--surface);

    padding:30px;

    border-radius:20px;

    text-align:left;

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

    transition:.3s;

    display:flex;

    flex-direction:column;

    min-height:420px;

}


.course-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 0 30px rgba(123,44,243,.25);

}


.course-card h3{

    margin-bottom:15px;

    font-size:26px;

}


.course-card p{

    color:var(--text2);

    line-height:1.7;

    margin-bottom:20px;

    flex:1;

}


.course-card span{

    color:var(--primary);

    font-weight:600;

    margin-bottom:20px;

}


.techs span{

    background:rgba(123,44,243,.15);

    color:var(--primary);

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}


.certificate-btn{

    display:inline-block;

    align-self:flex-start;

    margin-top:auto;

    padding:10px 20px;

    border-radius:25px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    font-size:14px;

    font-weight:500;

    transition:.3s;

}


.certificate-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 0 20px rgba(123,44,243,.4);

}
@media (max-width: 768px) {

     header{

        padding:15px 20px;

        display:grid;

        grid-template-columns:1fr auto auto;

        align-items:center;

    }
    .menu-toggle{

        display:block;

    }

    nav a{
        font-size: 14px;
    }
    nav{

        display:none;

        position:absolute;

        top:80px;

        left:0;

        width:100%;

        background:var(--surface);

        flex-direction:column;

        align-items:center;

        padding:20px 0;

        gap:20px;

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

    }
    nav.active{

        display:flex;

    }

    .hero{
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 40px;
        padding: 150px 20px 60px;
    }

    .hero-text{
        max-width: 100%;
    }

    .hero h1{
        font-size: 42px;
    }

    .hero h2{
        font-size: 24px;
    }

    .hero span{
        font-size: 18px;
    }

    .hero p{
        font-size: 16px;
    }

    .hero-image img{
        width: 240px;
        height: 240px;
    }

    .buttons{
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn{
        width: 100%;
        text-align: center;
    }

    section{
        padding: 80px 20px;
        min-height: auto;
    }

    section h2{
        font-size: 32px;
        text-align: center;
    }

    .social-title h2{
        font-size: 32px;
    }

    .social-title p{
        font-size: 15px;
    }

    .social-grid{
        grid-template-columns: 1fr;
    }

    .social-card{
        padding: 25px;
    }

    footer{
        padding: 25px;
        font-size: 14px;
    }


.timeline{

    flex-direction:column;

    gap:60px;

    align-items:flex-start;

    margin-top:50px;

    padding-left:40px;

}


.timeline::before{

    top:0;

    bottom:0;

    left:20px;

    right:auto;

    width:4px;

    height:auto;

}


.timeline-item{

    width:100%;

    text-align:left;

}


.circle{

    position:absolute;

    left:-40px;

    top:0;

    width:35px;

    height:35px;

}


.timeline-item h3{

    margin-top:0;

}


.timeline-item p{

    max-width:100%;

}
.about{

    flex-direction:column;

    gap:40px;

    text-align:center;

}


.about-text{

    width:100%;

}


.about-text h2{

    text-align:center;

}


.about-text p{

    font-size:16px;

}


.about-card{

    width:100%;

    padding:25px;

    text-align:left;

}
}