/* =========================================
   GOOGLE FONT
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* =========================================
   RESET
========================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
word-wrap:break-word;
}

:root{

--bg:#050816;
--card:#0b1224;
--primary:#7c3aed;
--secondary:#38bdf8;
--text:#ffffff;
--gray:#bdbdbd;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Space Grotesk',sans-serif;
background:var(--bg);
color:white;
overflow-x:hidden;
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar{

width:6px;

}

::-webkit-scrollbar-thumb{

background:var(--primary);
border-radius:20px;

}

::-webkit-scrollbar-track{

background:#050816;

}

/* =========================================
   AURORA BACKGROUND
========================================= */

/* body::before{

content:"";

position:fixed;

top:-300px;

left:-300px;

width:800px;

height:800px;

background:radial-gradient(circle,#7c3aed55,transparent);

filter:blur(120px);

animation:aurora1 10s infinite alternate;

z-index:-2;

}

body::after{

content:"";

position:fixed;

right:-300px;

bottom:-300px;

width:700px;

height:700px;

background:radial-gradient(circle,#38bdf855,transparent);

filter:blur(140px);

animation:aurora2 12s infinite alternate;

z-index:-2;

} */

/* @keyframes aurora1{

to{

transform:translate(250px,150px);

}

}

@keyframes aurora2{

to{

transform:translate(-200px,-150px);

}

} */

/* ================= AURORA ================= */

.aurora{
pointer-events:none;

position:fixed;

inset:0;

overflow:hidden;

z-index:-5;

background:#050816;

}

.aurora span{

position:absolute;

border-radius:50%;

filter:blur(140px);

animation:float 14s ease-in-out infinite alternate;

}

.aurora span:nth-child(1){

width:500px;

height:500px;

background:#7c3aed55;

left:-150px;

top:-150px;

}

.aurora span:nth-child(2){

width:650px;

height:650px;

background:#38bdf855;

right:-250px;

top:100px;

animation-delay:2s;

}

.aurora span:nth-child(3){

width:450px;

height:450px;

background:#9333ea55;

left:35%;

bottom:-150px;

animation-delay:5s;

}

@keyframes float{

100%{

transform:

translate(150px,-120px)

scale(1.3);

}

}

/* =========================================
   PARTICLES
========================================= */

#particles-js{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

z-index:-1;

}

/* =========================================
   NAVBAR
========================================= */

.header{

position:fixed;

top:0;

left:0;

width:100%;

background:rgba(5,8,22,.75);

backdrop-filter:blur(18px);

z-index:999;

}

.navbar{

max-width:1300px;

margin:auto;

padding:18px 8%;

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

font-size:30px;

font-weight:700;

text-decoration:none;

color:white;

}

.nav-menu{

display:flex;

list-style:none;

gap:40px;

}

.nav-link{

text-decoration:none;

color:white;

font-weight:500;

transition:.3s;

position:relative;

}

.nav-link::after{

content:"";

position:absolute;

bottom:-5px;

left:0;

width:0;

height:2px;

background:var(--primary);

transition:.3s;

}

.nav-link:hover::after,

.nav-link.active::after{

width:100%;

}

.nav-link:hover{

color:var(--secondary);

}

/* =========================================
   HAMBURGER
========================================= */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    cursor:pointer;
    z-index:1001;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#fff;
    border-radius:10px;
    transition:.3s;
}
@media(max-width:768px){

.hamburger{

display:block;

}

.nav-menu{

position:fixed;

top:0;

right:-100%;

width:70%;

height:100vh;

background:#08111f;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

transition:.4s;

}

.nav-menu.active{

right:0;

}

}

/* ================= HERO ================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    padding:120px 8%;
}

.content{
    flex:1;
    max-width:650px;
}

.hello{
    color:#38bdf8;
    font-size:20px;
    margin-bottom:15px;
}

.content h1{
    font-size:clamp(48px,6vw,82px);
    line-height:1.1;
    margin-bottom:15px;
    font-weight:700;
}

.content h2{
    font-size:clamp(28px,4vw,40px);
    color:#7c3aed;
    margin-bottom:25px;
    min-height:45px;
}

.content p{
    font-size:18px;
    color:#bdbdbd;
    line-height:1.8;
    margin-bottom:35px;
}

.buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.buttons a{
    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
}
/* =========================================
   BUTTONS
========================================= */

.buttons{

display:flex;

gap:20px;

margin-top:40px;

flex-wrap:wrap;

}

.buttons a{

padding:15px 35px;

border-radius:50px;

text-decoration:none;

font-weight:600;

transition:.35s;

}

.btn-primary{

background:linear-gradient(135deg,#7c3aed,#38bdf8);

box-shadow:0 15px 40px rgba(124,58,237,.35);

}

.btn-secondary{

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

color:white;

}

.btn-primary:hover{

transform:translateY(-5px);

box-shadow:0 10px 30px #7c3aed88;

}

.btn-secondary:hover{

background:var(--primary);

}

/* =========================================
   HERO IMAGE
========================================= */

.hero-image{

flex:1;

display:flex;

justify-content:center;

}

.hero-image img{

animation:floating 5s ease-in-out infinite;

}

@keyframes floating{

50%{

transform:translateY(-20px);

}

}
/* =========================================
   MOBILE
========================================= */

/* ================= MOBILE ================= */

@media (max-width:768px){

.header{
    padding:0;
}

/* ================= MOBILE NAVBAR ================= */

@media (max-width:768px){

    .hamburger{
        display:flex;
    }

    .nav-menu{

        position:fixed;

        top:75px;

        right:-100%;

        width:75%;

        height:calc(100vh - 75px);

        background:#08111f;

        display:flex;

        flex-direction:column;

        justify-content:flex-start;

        align-items:center;

        gap:30px;

        padding-top:50px;

        transition:.35s ease;

        z-index:1000;

    }

    .nav-menu.active{
        right:0;
    }

}

.hero{

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    gap:40px;

    padding:110px 25px 70px;

}

.content{

    width:100%;

    max-width:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

}

.hello{

    font-size:18px;

}

.content h1{

    font-size:50px;

    line-height:1.15;

}

.content h2{

    font-size:28px;

    min-height:38px;

}

.content p{

    width:100%;

    font-size:17px;

    line-height:1.8;

}

.buttons{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.buttons a{

    width:270px;

    text-align:center;

}

.hero-image{

    order:-1;

}

.hero-image img{

animation:floating 5s ease-in-out infinite;

}

@keyframes floating{

50%{

transform:translateY(-20px);

}

}

.about-container{

    grid-template-columns:1fr;

}

.about-grid{

    grid-template-columns:1fr;

}

.skills-grid{

    grid-template-columns:1fr;

}

.projects-grid{

    grid-template-columns:1fr;

}

.contact-container{

    grid-template-columns:1fr;

}

}

/* ==========================================================
   ABOUT SECTION
========================================================== */

.about{
    padding:100px 10%;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:var(--secondary);
    font-size:18px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-title h2{
    margin-top:12px;
    font-size:48px;
}

.about-container{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    display:flex;
    justify-content:center;
}

.about-image img{
    width:320px;
    border-radius:25px;
    border:3px solid rgba(255,255,255,.08);
    box-shadow:0 25px 60px rgba(0,0,0,.4);
    transition:.4s;
}

.about-image img:hover{
    transform:translateY(-10px);
}

.about-content h3{
    font-size:34px;
    margin-bottom:20px;
}

.about-content p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:18px;
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:35px;
}

.info-box{
    background:rgba(12,18,38,.65);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);
    padding:22px;
    border-radius:18px;
    transition:.35s;
}

.info-box:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
}

.info-box h4{
    color:var(--secondary);
    margin-bottom:8px;
}

/* ==========================================================
   SKILLS
========================================================== */

.skills{
    padding:100px 10%;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.skill-card{
background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

    border-radius:22px;

    padding:35px;

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

}

.skill-card h3{

    margin-bottom:25px;

    color:var(--secondary);

}

.skill-card span{

    display:block;

    margin-top:20px;

    font-weight:500;

}

.bar{

    width:100%;

    height:10px;

    background:#141d33;

    border-radius:30px;

    margin-top:8px;

    overflow:hidden;

}

.bar div{

    height:100%;

    border-radius:30px;

    background:linear-gradient(90deg,#7c3aed,#38bdf8);

    animation:fillBar 2s ease;

}

@keyframes fillBar{

    from{

        width:0;

    }

}

/* ==========================================================
   EDUCATION
========================================================== */

.education{
    padding:100px 10%;
}

.timeline{

    max-width:900px;

    margin:auto;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:22px;

    top:0;

    width:3px;

    height:100%;

    background:var(--primary);

}

.timeline-item{

    display:flex;

    gap:35px;

    margin-bottom:50px;

    position:relative;

}

.circle{

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--primary);

    border:5px solid #050816;

    flex-shrink:0;

}

.timeline-content{

    flex:1;

   background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

    padding:30px;

    border-radius:20px;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.timeline-content h3{

    font-size:24px;

}

.timeline-content h4{

    color:var(--secondary);

    margin:12px 0;

}

.timeline-content span{

    display:inline-block;

    margin-bottom:15px;

    color:var(--primary);

    font-weight:600;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:992px){

.about-container{

    grid-template-columns:1fr;

    text-align:center;

}

.about-grid{

    grid-template-columns:1fr;

}

.about-image{

    order:-1;

}

}

@media(max-width:768px){

.section-title h2{

    font-size:36px;

}

.about-content h3{

    font-size:28px;

}

.timeline::before{

    left:10px;

}

.timeline-item{

    gap:20px;

}

.circle{

    width:18px;

    height:18px;

}

.timeline-content{

    padding:20px;

}

.skills-grid{

    grid-template-columns:1fr;

}

}

/* ==========================================
   PROJECTS
========================================== */

.projects{
    padding:100px 10%;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:35px;
}

.project-card{

   background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

    border-radius:25px;

    overflow:hidden;

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(124,58,237,.25);

}

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.4s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-content{

    padding:30px;

}

.project-content h3{

    margin-bottom:15px;

    font-size:28px;

}

.project-content p{

    color:var(--gray);

    line-height:1.8;

}

.tech{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin:25px 0;

}

.tech span{

    padding:8px 15px;

    background:#141d33;

    border-radius:30px;

    font-size:14px;

}

.project-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.project-buttons a{

    text-decoration:none;

    color:white;

    padding:12px 24px;

    border-radius:40px;

    background:var(--primary);

    transition:.3s;

}

.project-buttons a:hover{

    background:var(--secondary);

}

/* ==========================================
   RESUME
========================================== */

.resume{

    padding:120px 10%;

    text-align:center;

}

.resume-card{

    max-width:850px;

    margin:auto;

    padding:55px;

    border-radius:30px;

    background:rgba(12,18,38,.65);

    backdrop-filter:blur(20px);

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

}

.resume-card h2{

    font-size:42px;

}

.resume-card p{

    color:var(--gray);

    margin:25px auto;

    max-width:650px;

    line-height:1.8;

}

.resume-btn{

    display:inline-block;

    margin-top:20px;

    padding:18px 45px;

    border-radius:50px;

    text-decoration:none;

    background:linear-gradient(135deg,#7c3aed,#38bdf8);

    color:white;

    font-weight:600;

    transition:.35s;

}

.resume-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(124,58,237,.35);

}

/* ==========================================
   CONTACT
========================================== */

.contact{

    padding:100px 10%;

}

.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:start;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.contact-box{

    display:flex;

    align-items:center;

    gap:20px;

    padding:20px;

    border-radius:18px;

    background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

}

.contact-box i{

    width:55px;

    height:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--primary);

    font-size:22px;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,

.contact-form textarea{

    padding:18px;

    border:none;

    outline:none;

    border-radius:15px;

    background:#121a2e;

    color:white;

    font-size:16px;

}

.contact-form textarea{

    resize:none;

}

.contact-form button{

    padding:18px;

    border:none;

    border-radius:50px;

    background:linear-gradient(135deg,#7c3aed,#38bdf8);

    color:white;

    cursor:pointer;

    font-size:17px;

    transition:.35s;

}

.contact-form button:hover{

    transform:translateY(-5px);

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.contact-container{

grid-template-columns:1fr;

}

.resume-card{

padding:35px;

}

}

@media(max-width:768px){

.projects-grid{

grid-template-columns:1fr;

}

.project-content h3{

font-size:24px;

}

.resume-card h2{

font-size:32px;

}

.resume-btn{

width:100%;

text-align:center;

}

.contact-box{

flex-direction:column;

text-align:center;

}

}

/* =====================================================
   FOOTER
===================================================== */

.footer{

padding:70px 10%;

background:#040611;

text-align:center;

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

}

.footer h2{

font-size:38px;

margin-bottom:15px;

}

.footer p{

color:var(--gray);

margin-bottom:25px;

line-height:1.8;

}

.social-links{

display:flex;

justify-content:center;

align-items:center;

gap:18px;

margin:35px 0;

}

.social-links a{

width:58px;

height:58px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

font-size:22px;

color:white;

transition:.35s;

text-decoration:none;

}

.social-links a:hover{

background:linear-gradient(135deg,#7c3aed,#38bdf8);

transform:translateY(-8px);

box-shadow:0 20px 35px rgba(124,58,237,.35);

}

.footer small{

display:block;

margin-top:35px;

color:#777;

}

/* =====================================================
   SCROLL TO TOP
===================================================== */

#scrollTop{

position:fixed;

right:25px;

bottom:25px;

width:55px;

height:55px;

border:none;

outline:none;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:linear-gradient(135deg,#7c3aed,#38bdf8);

color:white;

font-size:20px;

cursor:pointer;

box-shadow:0 10px 30px rgba(124,58,237,.4);

transition:.35s;

opacity:0;

visibility:hidden;

z-index:999;

}

#scrollTop.show{

opacity:1;

visibility:visible;

}

#scrollTop:hover{

transform:translateY(-8px);

}

/* =====================================================
   GLASS EFFECT
===================================================== */

.glass{

background:rgba(12,18,38,.65);

backdrop-filter:blur(20px);

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

}

/* =====================================================
   HOVER EFFECT
===================================================== */

.project-card,
.skill-card,
.info-box,
.timeline-content,
.contact-box,
.resume-card{

transition:.35s;

}

.project-card:hover,
.skill-card:hover,
.info-box:hover,
.timeline-content:hover,
.contact-box:hover,
.resume-card:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,.3);

}

/* =====================================================
   SECTION ANIMATION
===================================================== */

.hidden{

opacity:0;

transform:translateY(70px);

transition:all .9s ease;

}

.show{

opacity:1;

transform:translateY(0);

}

/* =====================================================
   SELECTION COLOR
===================================================== */

::selection{

background:#7c3aed;

color:white;

}

/* =====================================================
   IMAGES
===================================================== */

img{

max-width:100%;

display:block;

}

/* =====================================================
   LINKS
===================================================== */

a{

transition:.3s;

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px){

.hero{

min-height:100vh;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;

padding:100px 20px 60px;

gap:30px;

}

.content{

width:100%;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

}

.hello{

text-align:center;

}

.content h1{

font-size:52px;

line-height:1.2;

margin-bottom:15px;

}

.content h2{

font-size:30px;

height:40px;

margin-bottom:20px;

}

.content p{

max-width:100%;

font-size:18px;

line-height:1.8;

text-align:center;

}

.buttons{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

width:100%;

gap:18px;

margin-top:35px;

}

.buttons a{

width:260px;

text-align:center;

}

.hero-image{

margin-top:20px;

display:flex;

justify-content:center;

}

.hero-image img{

animation:floating 5s ease-in-out infinite;

}

@keyframes floating{

50%{

transform:translateY(-20px);

}

}

}

/* =====================================================
   EXTRA LARGE SCREEN
===================================================== */

@media(min-width:1500px){

.hero,
.about,
.skills,
.education,
.projects,
.resume,
.contact{

max-width:1450px;

margin:auto;

}

}

