/* =====================================================
   NOVA-X PREMIUM CSS
   PART 1
   RESET + BODY + BACKGROUND + NAVBAR + HERO
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

:root{

    --bg:#050816;
    --bg2:#08111f;
    --cyan:#00E5FF;
    --purple:#7B61FF;
    --white:#ffffff;
    --gray:#b7bfd0;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(
        135deg,
        var(--bg),
        var(--bg2)
    );

    color:var(--white);

    overflow-x:hidden;

    position:relative;

}

/* ==========================
   Animated Background
========================== */

.background{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:

    radial-gradient(circle at 20% 20%,
    rgba(0,229,255,.12),
    transparent 35%),

    radial-gradient(circle at 80% 30%,
    rgba(123,97,255,.18),
    transparent 40%),

    radial-gradient(circle at 50% 90%,
    rgba(0,120,255,.10),
    transparent 40%),

    linear-gradient(
    135deg,
    #050816,
    #08111f,
    #0d1735
    );

    z-index:-5;

}

/* ==========================
   Galaxy Canvas
========================== */

#galaxyCanvas{

    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    z-index:-4;

    pointer-events:none;

}

#particles{

    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    z-index:-3;

    pointer-events:none;

}

/* ==========================
   HEADER
========================== */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    padding:22px 8%;

    z-index:999;

}

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

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 32px;

    border-radius:60px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

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

    box-shadow:

    0 10px 40px rgba(0,0,0,.25);

}

.logo{

    font-size:32px;

    font-weight:700;

    letter-spacing:3px;

    background:linear-gradient(
    90deg,
    var(--cyan),
    var(--purple)
    );

    -webkit-background-clip:text;

    background-clip:text;

    -webkit-text-fill-color:transparent;

    color:transparent;

}

.nav-links{

    display:flex;

    gap:35px;

    list-style:none;

}

.nav-links a{

    text-decoration:none;

    color:white;

    transition:.35s;

    font-weight:500;

}

.nav-links a:hover{

    color:var(--cyan);

}

/* ==========================
   BUTTONS
========================== */

.btn{

    padding:15px 34px;

    border-radius:50px;

    background:linear-gradient(
    135deg,
    var(--cyan),
    var(--purple)
    );

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

    box-shadow:

    0 0 25px rgba(0,229,255,.35);

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:

    0 0 20px #00E5FF,

    0 0 60px rgba(0,229,255,.55);

}

.btn-outline{

    padding:15px 34px;

    border-radius:50px;

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

    color:white;

    text-decoration:none;

    transition:.35s;

}

.btn-outline:hover{

    background:var(--cyan);

    color:#050816;

}

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

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

    padding:

    180px

    8%

    100px;

}

.hero-left{

    max-width:650px;

}

.intro{

    color:var(--cyan);

    letter-spacing:5px;

    margin-bottom:20px;

    font-weight:600;

}

.hero h1{

    font-size:74px;

    line-height:1.05;

    margin-bottom:20px;

}

.hero h1 span{

    color:var(--cyan);

}

.hero h2{

    font-size:34px;

    color:var(--purple);

    margin-bottom:20px;

    min-height:42px;

}

.hero-text{

    color:var(--gray);

    line-height:1.9;

    font-size:18px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

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

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-visual{

    width:460px;

    height:460px;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

/* =====================================================
   PLANET
===================================================== */

.planet{

    width:190px;

    height:190px;

    border-radius:50%;

    background:

    radial-gradient(circle at 30% 30%,
    #ffffff,
    #00E5FF 30%,
    #2060ff 65%,
    #7B61FF);

    box-shadow:

    0 0 40px rgba(0,229,255,.7),

    0 0 80px rgba(123,97,255,.45),

    inset -25px -25px 40px rgba(0,0,0,.4);

    animation:planetFloat 6s ease-in-out infinite;

}

/* =====================================================
   ORBIT RING
===================================================== */

.ring{

    position:absolute;

    width:330px;

    height:330px;

    border-radius:50%;

    border:2px solid rgba(0,229,255,.18);

    animation:rotateRing 18s linear infinite;

}

.ring::before{

    content:"";

    position:absolute;

    inset:15px;

    border-radius:50%;

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

}

/* =====================================================
   TECHNOLOGIES
===================================================== */

.tech{

    position:absolute;

    padding:12px 18px;

    border-radius:40px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

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

    font-size:15px;

    font-weight:600;

    transition:.35s;

    cursor:pointer;

    user-select:none;

}

.tech:hover{

    transform:scale(1.15);

    background:rgba(0,229,255,.18);

    box-shadow:

    0 0 30px rgba(0,229,255,.5);

}

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

@keyframes rotateRing{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes planetFloat{

    0%,100%{

        transform:
        translateY(0px);

    }

    50%{

        transform:
        translateY(-18px);

    }

}

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

.about{

    padding:120px 8%;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.profile-card{

    width:340px;

    height:420px;

    margin:auto;

    border-radius:30px;

    background:rgba(255,255,255,.07);

    backdrop-filter:blur(18px);

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

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:

    0 0 45px rgba(0,229,255,.18);

}

.profile-circle{

    width:180px;

    height:180px;

    border-radius:50%;

    background:

    linear-gradient(
    135deg,
    #00E5FF,
    #7B61FF);

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

}

.about-right h2{

    font-size:50px;

    margin-bottom:25px;

}

.about-right p{

    color:#b7bfd0;

    line-height:1.9;

    margin-bottom:35px;

}

.stats{

    display:flex;

    gap:25px;

}

.stat{

    flex:1;

    padding:30px;

    border-radius:20px;

    background:rgba(255,255,255,.06);

    text-align:center;

    transition:.35s;

}

.stat:hover{

    transform:translateY(-10px);

    background:rgba(0,229,255,.12);

}

.stat h3{

    font-size:36px;

    color:#00E5FF;

    margin-bottom:10px;

}

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

.skills{

    padding:120px 8%;

}

.section-title{

    text-align:center;

    font-size:48px;

    margin-bottom:70px;

}

.skills-grid{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(260px,1fr));

    gap:35px;

}

.skill-card{

    padding:35px;

    border-radius:25px;

    background:rgba(255,255,255,.07);

    backdrop-filter:blur(15px);

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

    transition:.35s;

}

.skill-card:hover{

    transform:

    translateY(-12px);

    box-shadow:

    0 0 35px rgba(0,229,255,.3);

}

.skill-card h3{

    margin-bottom:20px;

}

.progress{

    width:100%;

    height:10px;

    background:#1a2544;

    border-radius:30px;

    overflow:hidden;

    margin-bottom:15px;

}

.progress span{

    display:block;

    height:100%;

    border-radius:30px;

    background:

    linear-gradient(
    90deg,
    #00E5FF,
    #7B61FF);

}

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

.projects{

    padding:120px 8%;

}

.project-grid{

    display:grid;

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

    gap:35px;

}

.project-card{

    background:rgba(255,255,255,.07);

    backdrop-filter:blur(20px);

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

    border-radius:25px;

    overflow:hidden;

    transition:.4s;

    box-shadow:0 15px 35px rgba(0,0,0,.2);

}

.project-card:hover{

    transform:translateY(-15px);

    box-shadow:

    0 0 40px rgba(0,229,255,.25);

}

.project-image{

    height:220px;

    background:linear-gradient(

    135deg,

    #00E5FF,

    #7B61FF

    );

}

.project-card h3{

    font-size:28px;

    margin:25px;

}

.project-card p{

    margin:0 25px 25px;

    line-height:1.8;

    color:#b7bfd0;

}

.project-card .btn{

    margin:0 25px 30px;

}

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

.contact{

    padding:120px 8%;

}

.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

.contact-info h3{

    font-size:36px;

    margin-bottom:20px;

}

.contact-info p{

    line-height:1.8;

    color:#b7bfd0;

    margin-bottom:30px;

}

.contact-item{

    margin-bottom:18px;

    font-size:18px;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,

.contact-form textarea{

    padding:18px;

    border:none;

    border-radius:15px;

    background:rgba(255,255,255,.07);

    color:white;

    outline:none;

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

    transition:.35s;

}

.contact-form textarea{

    min-height:180px;

    resize:none;

}

.contact-form input:focus,

.contact-form textarea:focus{

    border-color:#00E5FF;

    box-shadow:

    0 0 20px rgba(0,229,255,.35);

}

/* =====================================================
   CUSTOM CURSOR
===================================================== */

.cursor-dot{

    position:fixed;

    width:8px;

    height:8px;

    border-radius:50%;

    background:#00E5FF;

    pointer-events:none;

    transform:translate(-50%,-50%);

    z-index:99999;

}

.cursor-ring{

    position:fixed;

    width:36px;

    height:36px;

    border:2px solid #00E5FF;

    border-radius:50%;

    pointer-events:none;

    transform:translate(-50%,-50%);

    transition:

    width .2s,

    height .2s,

    border-color .2s;

    z-index:99998;

}

/* =====================================================
   SCROLL REVEAL
===================================================== */

.about,

.skills,

.projects,

.contact,

.skill-card,

.project-card{

    opacity:0;

    transform:translateY(60px);

    transition:

    opacity .8s ease,

    transform .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

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

footer{

    padding:40px;

    text-align:center;

    color:#9da8c3;

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

    margin-top:80px;

}

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

@media(max-width:1100px){

.hero{

flex-direction:column;

text-align:center;

padding-top:170px;

}

.hero-buttons{

justify-content:center;

}

.about{

grid-template-columns:1fr;

text-align:center;

}

.stats{

justify-content:center;

flex-wrap:wrap;

}

.contact-container{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.nav-links{

display:none;

}

.hero h1{

font-size:52px;

}

.hero h2{

font-size:28px;

}

.section-title{

font-size:36px;

}

.hero-visual{

width:330px;

height:330px;

}

.planet{

width:150px;

height:150px;

}

.ring{

width:250px;

height:250px;

}

}

@media(max-width:500px){

.hero{

padding:160px 6% 80px;

}

.hero h1{

font-size:42px;

}

.hero-text{

font-size:16px;

}

.btn,

.btn-outline{

padding:13px 24px;

font-size:15px;

}

.profile-card{

width:280px;

height:340px;

}

}

/* =====================================================
   END OF NOVA-X PREMIUM CSS
===================================================== */

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

.hero-left,
.hero-right{

    transition:transform .3s ease;

    will-change:transform;

}

/* ===========================
   PREMIUM LOADER
=========================== */

#loader{

    position:fixed;

    inset:0;

    background:#050816;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:999999;

    transition:opacity .8s ease;

}

.loader-content{

    width:420px;

    text-align:center;

}

.loader-content h1{

    font-size:70px;

    letter-spacing:10px;

    background:linear-gradient(90deg,#00E5FF,#7B61FF);

    -webkit-background-clip:text;

    background-clip:text;

    -webkit-text-fill-color:transparent;

    margin-bottom:15px;

}

.loader-content p{

    color:#9fb7d8;

    margin-bottom:30px;

}

.loader-bar{

    width:100%;

    height:10px;

    background:#1b2748;

    border-radius:30px;

    overflow:hidden;

}

#loader-progress{

    display:block;

    width:0%;

    height:100%;

    border-radius:30px;

    background:linear-gradient(90deg,#00E5FF,#7B61FF);

}

/* ===================================
   PREMIUM 3D GLASS
=================================== */

.project-card,
.skill-card,
.profile-card{

    transform-style:preserve-3d;

    transition:

    transform .45s ease,

    box-shadow .45s ease;

    cursor:pointer;

}

.project-card:hover,
.skill-card:hover,
.profile-card:hover{

    box-shadow:

    0 30px 70px rgba(0,229,255,.25),

    0 0 30px rgba(123,97,255,.20);

}

/* ===========================
   ACTIVE NAVIGATION
=========================== */

.nav-links a{

    position:relative;

    transition:.35s;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:linear-gradient(90deg,#00E5FF,#7B61FF);

    border-radius:20px;

    transition:.35s;

}

.nav-links a:hover::after,
.nav-links a.active::after{

    width:100%;

}

.nav-links a.active{

    color:#00E5FF;

}

/* Navbar Glow */

.navbar.scrolled{

    background:rgba(10,15,35,.85);

    box-shadow:

        0 0 25px rgba(0,229,255,.25);

}

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

footer{

    padding:80px 8%;

    text-align:center;

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

    background:rgba(255,255,255,.03);

}

.footer-content h2{

    font-size:42px;

    margin-bottom:15px;

    color:#00E5FF;

}

.footer-content p{

    color:#b7bfd0;

    margin-bottom:30px;

}

.social-links{

    display:flex;

    justify-content:center;

    gap:30px;

}

.social-links a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

.social-links a:hover{

    color:#00E5FF;

}

/* Back To Top */

#topBtn{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,#00E5FF,#7B61FF);

    color:white;

    font-size:24px;

    cursor:pointer;

    display:none;

    z-index:9999;

    box-shadow:0 0 25px rgba(0,229,255,.4);

}

#topBtn:hover{

    transform:scale(1.1);

}

/* ===============================
   SCROLL PROGRESS BAR
=============================== */

#scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:4px;

    z-index:9999999;

    background:linear-gradient(
        90deg,
        #00E5FF,
        #7B61FF
    );

    box-shadow:

        0 0 20px #00E5FF,

        0 0 35px #7B61FF;

}

/* ===================================
   SECTION DIVIDER
=================================== */

.about,
.skills,
.projects,
.contact{

    position:relative;

}

.about::after,
.skills::after,
.projects::after{

    content:"";

    position:absolute;

    bottom:0;

    left:50%;

    transform:translateX(-50%);

    width:220px;

    height:2px;

    background:linear-gradient(
        90deg,
        transparent,
        #00E5FF,
        #7B61FF,
        transparent
    );

    opacity:.8;

}

/* ===================================
   TEXT SELECTION
=================================== */

::selection{

    background:#00E5FF;

    color:#050816;

}

::-moz-selection{

    background:#00E5FF;

    color:#050816;

}

img{

    max-width:100%;

    display:block;

    opacity:0;

    animation:fadeImage .8s forwards;

}

@keyframes fadeImage{

    from{

        opacity:0;

        transform:scale(.95);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}