@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

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

body {
    min-height: 100vh;
    background-color: #080808;
    background-size: cover;
    background-position: center;
    color: white;
    max-width: 100%;
    animation: fadeIn 0.8s ease;
}

html {
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    background-color: linear-gradient (135deg, rgba(230, 11, 153, 0.1), rgba(169, 10, 242, 0));
    border-radius: 5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
}

.navbar a {
    position: relative;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    margin-left: 40px;
    font-family: "Space Grotesk", sans-serif;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #6b51ca;
    transition: .3s;
}

.navbar a:hover::before {
    width: 100%;
}

.menu-icon {
    display: none;
}

.menu-icon {
    color: #fff;
    font-size: 30px;
}

.logo span {
    color: #6b51ca;
}

/*-----About part------*/

.main-about {
    scroll-margin-top: 100px;
}

.skl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b51ca;
    border: 0.5px solid #6b51ca;
    border-radius: 20px;
    box-shadow: #6b51ca;
    padding: 4px 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6b51ca;
}


.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.about-content h2 {
    font-size: 60px;
    font-family: "Space Grotesk", sans-serif;
    text-align: left;
}

.about-content h2 span {
    color: #6b51ca;
}


.about-content p {
    font-size: 19px;
    font-weight: lighter;
    text-align: left;
    font-family: "Space Grotesk", sans-serif;
    max-width: 550px;
    color: #bab9b9;
}


.vm {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    color: #bab9b9;
    background-color: transparent;
    border: 0.5px solid #bab9b9;
    border-radius: 6px;
    box-shadow: #6b51ca;
    padding: 6px;
    margin-top: 17px;
    font-family: "Space Grotesk", sans-serif;
    cursor: pointer;
}

.vm:hover {
    background-color: #6b51ca;
    transition: 0.5s;
}

.vm a {
    color: #bab9b9;
    text-decoration: none;
}

.vm a:hover {
    color: #bab9b9;
}

hr {
    border: 1px solid #535353;
    margin-top: 30px;
}

/*----- Skills & tools -----*/
.about-left {
    margin: 50px;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.st {
    margin: 0;
    position: relative;
    top: -290px;
    left: 315px;
}

.st h5 {
    position: relative;
    top: -85px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: lighter;
    color: #bab9b9;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 400px;
}

.python {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.hc {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.js {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.c {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.smt {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.sql {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

/*----tools ---- */
.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 400px;
}


.figma {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.git {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ap {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ai {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ad {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.sqlite {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

/*------Social icon-----*/

.social {
    position: relative;
    top: 50px;
    font-size: 30px;
    color: #444;
}

.social i {
    color: #444;
}

.social i:hover {
    color: #6b51ca;
    transition: .5s;
}



/*-----project part-----*/


.section {
    scroll-margin-top: 100px;
}

.top-header {
    justify-content: center;
    padding: 1.5rem;
    display: flex;
    gap: 12px;
}



.projecttitle h2 {
    text-align: left;
    font-size: 55px;
    font-family: "Space Grotesk", sans-serif;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.top-header p {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
}


.projecttitle h2 span {
    color: #6b51ca;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    align-items: stretch;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.project-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 450px;
    background: #111;
    border: 0.5px solid #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project-box:hover {
    border: 1px solid #6b51ca;
    transition: 0.5s;
}

.project-box>i {
    font-size: 40px;
    color: #6b51ca;
    margin-bottom: 25px;
    align-items: left;
}


.project-box p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #bab9b9;
    line-height: 1.6;
    text-align: left;
}

.project-box h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-align: left;
}


.project-box .tools {
    font-size: 10px;
    display: inline-flex;
    flex-wrap: wrap;
}

.project-box .skills {
    font-size: 15px;
}

.top-header span {
    color: #fff;
}

.btn {
    font-size: 14px;
    font-weight: bold;
    size: 10px;
    border: 1px solid transparent;
    background-color: transparent;
    cursor: pointer;
}

.btn2 {
    font-size: 14px;
    font-weight: bold;
    size: 10px;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
    width: fit-content;
    cursor: pointer;
}
.btn2:hover{
    border: 0.5px solid #534AB7;
}
.btn2 a {
    color: #bab9b9;
    text-decoration: none;
}

.btn2 a:hover {
    color: #6b51ca;
    transition: 0.5s;
}

.btn a {
    color: #bab9b9;
    text-decoration: none;
}

.btn a:hover {
    color: #6b51ca;
    transition: 0.5s;
}

/*----experience----*/
.main-experience {
    width: 90%;
    max-width: 900px;
    margin: 60px auto;
    padding: 60px;
    position: relative;
}


.main-experience h2 {
    text-align: center;
    font-size: 50px;
    font-family: "Space Grotesk", sans-serif;
    margin: 40px;
}

.main-experience h2 span {
    color: #6b51ca;
}

.timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 28px;
    gap: 1.25rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 1.5px;
    background: #2a2a2a;
}

.exp-card {
    background: #111;
    border: 0.5px solid #1e1e1e;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.exp-card:hover {
    border: 0.5px solid #6b51ca;
    transition: 0.5s;
}

.exp-card::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7F77DD;
    border: 2px solid #111;
}

.exp-card.current::before {
    background: #1D9E75;
}

.exp-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.exp-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.exp-icon.purple {
    background: #EEEDFE;
    color: #534AB7;
}

.exp-icon.teal {
    background: #E1F5EE;
    color: #0F6E56;
}

.exp-meta {
    flex: 1;
}

.exp-company {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.exp-role {
    font-size: 13px;
    color: #888;
}

.exp-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-present {
    background: #E1F5EE;
    color: #0F6E56;
}

.badge-past {
    background: #F1EFE8;
    color: #5F5E5A;
}

.exp-date {
    font-size: 12px;
    color: #777;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exp-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #1a1a1a;
    color: #aaa;
    border: 0.5px solid #2a2a2a;
}




/*------footer------*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 50px;
    width: 100%;
    background-color: rgb(10, 10, 10);
    bottom: 0;
    left: 0;

}

footer p {
    font-weight: lighter;
}


/*--------figcaption------*/

figcaption {
    position: relative;
    top: -50px;
    left: 50px;
}


/***************************************************************************************/

/*-----ANIMATE ON SCROLL------
@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

.main-about {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry cover 40%;
}


.skillicon {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

@keyframes slide {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.projecttitle {
    animation: slide linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.main-experience h2 {
    animation: slide linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.project-box {
    animation: slide linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

---- */




/*------media screen-----*/

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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    nav {
        padding: 15px 20px;
    }

    .logo {
        position: static;
        font-size: 24px;
    }

    .navbar {
        display: none;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-left,
    .about-right {
        margin: 0;
        padding: 20px;
        position: static;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .about-content p {
        max-width: 100%;
        font-size: 16px;
    }

    .st {
        position: static;
        margin-top: 20px;
    }

    .st h5 {
        position: static;
        margin-bottom: 10px;
    }

    .projecttitle h1 {
        font-size: 36px;
        text-align: center;
    }

    .top-header {
        position: static;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .project-container {
        position: static;
        width: 100%;
        margin: 0;
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-box {
        width: 100%;
        max-width: 100%;
        height: auto;
        left: 0;
        position: static;
    }

    .main-experience {
        width: 100%;
        margin: 0;
        padding: 20px;
        max-width: 100%;
    }

    .timeline {
        padding-left: 20px;
    }

    .exp-card {
        width: 100%;
    }

    .title,
    .LOGO,
    .about-right,
    .projecttitle {
        position: static;
    }

    footer {
        width: 100%;
    }
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 2px;
    /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #201f22;
    /* Track color */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #6b51ca;
    /* Scrollbar color */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color when hovering */
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}