@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

#labelforsetting {
    background-repeat: no-repeat;
    background-position: center
}

#labelforsetting,
#labelforsound {
    height: 40px;
    background-size: 60%
}

#preloader,
.invertapplied,
.invertsettinglabel {
    filter: invert(1)
}

#preloader,
noscript {
    width: 100%;
    height: 100%
}

body,
noscript {
    background-color: var(--color-dark-mode)
}

.main,
body {
    overflow-x: hidden
}

#backtotopbutton span,
:root {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif
}

.eye,
.image-div,
.logo,
.navbar,
.project-box,
.resume-btn,
footer {
    overflow: hidden
}

.cta,
.github-redirect,
.navbar-tabs-ul a {
    text-decoration: none
}

#GmailLogo,
.sign svg path {
    fill: white
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

::selection {
    background-color: transparent
}

::-moz-selection {
    background: transparent
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

:root {
    cursor: default;
    --color-white: #f1f1f5;
    --color-black: #000;
    --color-dark-mode: #0b0b14;
    --color-light-mode: #ece7e1;
    --color-ddd-color: #a1a1b5;
    --color-gray: #6b6b80;
    --color-purple: #8b5cf6;
    --color-light-purple: #a78bfa;
    --color-light-blue: #38bdf8;
    --color-navbarBorder-dark: rgba(255, 255, 255, 0.07);
    --color-shadowDark: rgba(0, 0, 0, 0.5);
    --static-heading-gradient-blue: #7dd3fc;
    --static-heading-gradient-pink: #d946ef;
    --tech-stack-box-first-color: #111120;
    --tech-stack-box-second-color: rgba(17, 17, 32, 0);
    --tech-stack-box-border-color: rgba(255, 255, 255, 0.07)
}

#hello-friend,
.footer-bottom article,
.getintouch-heading article,
.language-speak article,
.navbar-tabs-ul li,
.two-words article {
    font-family: 'Fira Code', monospace
}

::-webkit-scrollbar {
    width: 4px
}

::-webkit-scrollbar-track {
    background: #06060e
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-light-blue), var(--color-light-purple));
    border-radius: 2px
}

/* Grain texture overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px
}

.cursor-inner {
    width: 7px;
    height: 7px;
    background-color: var(--color-light-blue)
}

.cursor-outer {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.45)
}

.cursor-inner,
.cursor-outer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none
}

.setting-container,
.settingactivate {
    transform-origin: left;
    transition-duration: .5s
}

.cursor-inner.hover {
    width: 22px;
    height: 22px;
    transition: .15s;
    mix-blend-mode: difference
}

.cursor-outer.hover {
    width: 46px;
    height: 46px;
    transition: .15s
}

.activeThistab:before,
.navbar-tabs-ul li:hover:before {
    background-color: var(--color-light-purple);
    height: 5px;
    width: 5px;
    left: -16px
}

.light-mode {
    --color-dark-mode: #ece7e1;
    --color-black: #fff;
    --color-white: #111;
    --color-ddd-color: rgb(31, 31, 31);
    --color-navbarBorder-dark: #d1d6eb;
    --static-heading-gradient-blue: #0f7878;
    --static-heading-gradient-pink: #c026d3;
    --color-shadowDark: #e2ddd7;
    --tech-stack-box-first-color: #e7e2db;
    --tech-stack-box-second-color: #ece7e100;
    --tech-stack-box-border-color: #dad5cf
}

.setting-container {
    width: 60px;
    height: 50px;
    margin-left: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0
}

#labelforsetting {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background-image: url(src/svg/settings-svgrepo-com.svg);
    transition-duration: .5s;
    cursor: pointer
}

.soundtogglebuttoncontainer {
    align-items: center;
    width: fit-content;
    transition-duration: .3s
}

.settingactivate {
    width: 200px
}

#switchforsetting,
#switchforsound,
.hamburger,
.mobiletogglemenu {
    display: none
}

#switchforsetting:checked+#labelforsetting {
    transform: rotate(180deg);
    transition-duration: .5s
}


.soundtogglebuttoncontainer {
    height: fit-content;
    display: flex;
    justify-content: center;
    transform: translate(-130px) scale(0)
}

#labelforsound,
#preloader {
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center
}

.soundmodeshow {
    transition-delay: .1s;
    transition-duration: .5s;
    display: inline-block;
    transform: translate(0) scale(1)
}

#labelforsound {
    position: relative;
    justify-content: center;
    width: 40px;
    background-image: url(src/svg/Mute_Icon.svg);
    cursor: pointer;
    transition-duration: .5s
}

#switchforsound:checked+#labelforsound {
    transition-duration: .5s;
    background-image: url(src/svg/Speaker_Icon.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center
}

header {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

#preloader {
    background-color: #fff;
    position: fixed;
    z-index: 99999;
    justify-content: center;
    overflow-y: hidden;
    background-image: url(src/svg/Pulse-0.4s-200px.svg);
    background-size: 10%
}

.navbar,
noscript {
    display: flex;
    align-items: center;
    position: fixed
}

#name,
.getintouch-heading article {
    background: -webkit-linear-gradient(135deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    -webkit-text-fill-color: transparent
}

noscript {
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    z-index: 999999
}

.fakenavbar {
    height: 0;
    width: 0;
    background-color: transparent
}

/* === NAVBAR === */
.navbar {
    background: rgba(11, 11, 20, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 72px;
    width: 78%;
    padding: 0 24px;
    justify-content: space-between;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05) inset
}

/* Top shimmer line */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), rgba(56, 189, 248, 0.35), transparent);
    pointer-events: none
}

.navbar-tabs,
.navbar-tabs-ul {
    height: 100%;
    align-items: center
}

.logo,
.navbar-tabs-ul li {
    position: relative;
    display: flex
}

.navbar-tabs {
    display: flex;
    width: 80%
}

.navbar-tabs-ul {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 60px;
    color: var(--color-white)
}

.navbar-tabs-ul li {
    width: fit-content;
    height: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    letter-spacing: 0.02em
}

.navbar-tabs-ul li:hover:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1
}

.navbar-tabs-ul a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    transition: color .2s
}

.navbar-tabs-ul a:hover {
    color: var(--color-white)
}

.activeThistab > a {
    color: var(--color-white)
}

/* === LOGO === */
.logo {
    width: 10%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    user-select: none
}

.face,
.logo-top {
    width: 100%;
    align-items: center;
    display: flex
}

.hey {
    color: #fff;
    position: absolute;
    font-size: 2.5rem;
    font-weight: 300;
    background-color: #20222e;
    padding: 5px 10px;
    border-radius: 20px;
    left: 120px;
    bottom: 80px;
    opacity: 0
}

#hello-friend,
#work,
.about-info p,
.activeThistab,
.language-speak article {
    color: var(--color-white)
}

.blob,
.eye,
.pupil {
    border-radius: 50%
}

.popup {
    animation: 3s linear pop-up
}

@keyframes pop-up {
    from { bottom: -50px; left: 50px; opacity: 1 }
    to { opacity: 0 }
}

.logo-top {
    height: 100%;
    justify-content: center;
    transform-origin: bottom;
    position: relative
}

.activeThistab:before,
.face {
    content: "";
    position: absolute
}

.logo-top img {
    height: 80%;
    z-index: 2
}

.face {
    height: 74%;
    bottom: 0;
    justify-content: center;
    gap: 5px;
    z-index: 1;
    padding-left: 1px
}

.eye {
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff
}

.left-eye {
    box-shadow: -1px -2px 2px rgba(0, 0, 0, .589) inset
}

.right-eye {
    box-shadow: 1px 3px 2px rgba(0, 0, 0, .589) inset
}

.pupil {
    width: 4px;
    height: 4px;
    background: #241010
}

.activeThistab:before {
    border-radius: 50%;
    z-index: -1
}

.dp::after,
.dp::before {
    height: 300px;
    z-index: -2;
    content: ""
}

.main {
    width: 100%;
    height: fit-content;
    position: relative
}

/* === BLOB === */
.blob {
    position: absolute;
    right: -15%;
    top: 0;
    background: radial-gradient(ellipse at center, var(--color-light-purple) 0%, transparent 65%);
    width: 600px;
    height: 100vh;
    filter: blur(100px);
    opacity: .15;
    animation: 5s ease-in-out infinite alternate-reverse breath
}

@keyframes breath {
    from { opacity: .12; transform: scale(1) translateY(0) }
    to { opacity: .22; transform: scale(1.08) translateY(-20px) }
}

/* === HERO / LANDING === */
.landing-page-container {
    width: 100%;
    height: calc(100vh - 115px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center
}

.text-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 960px;
    height: 100%;
    align-items: flex-start;
    justify-content: center
}

#hello-friend {
    font-size: 2.8rem;
    font-weight: 500;
    width: fit-content;
    display: flex;
    align-items: flex-end;
    opacity: 0.65;
    letter-spacing: 0.02em
}

#name,
#work {
    font-size: 8rem;
    width: fit-content
}

#name,
#work,
.letsTalkBtn-text {
    display: flex;
    font-weight: 700
}

@keyframes vibrate-1 {
    0%, 100% { -webkit-transform: translate(0); transform: translate(0) }
    20% { -webkit-transform: translate(-2px, 2px); transform: translate(-2px, 2px) }
    40% { -webkit-transform: translate(-2px, -2px); transform: translate(-2px, -2px) }
    60% { -webkit-transform: translate(2px, 2px); transform: translate(2px, 2px) }
    80% { -webkit-transform: translate(2px, -2px); transform: translate(2px, -2px) }
}

#name {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 4s infinite gradient;
    animation: 4s infinite gradient;
    letter-spacing: -0.02em
}

@keyframes gradient {
    0%, 100% { background-position: 0 50% }
    50% { background-position: 100% 50% }
}

#work {
    align-items: flex-start;
    flex-wrap: wrap;
    letter-spacing: -0.02em;
    line-height: 1
}

#info-para,
.about-info p {
    font-weight: 400;
    font-size: 1.9rem
}

#work div {
    display: flex;
    margin: 0 12px 0 0
}

.jello:hover {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: var(--color-light-blue);
    -webkit-animation: .9s both jello-vertical;
    animation: .9s both jello-vertical
}

#backtotopbutton,
.dp::after,
.dp::before,
.letsTalkBtn {
    background-color: transparent
}

@keyframes jello-vertical {
    0%, 100% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1) }
    30% { -webkit-transform: scale3d(.75, 1.25, 1); transform: scale3d(.75, 1.25, 1) }
    40% { -webkit-transform: scale3d(1.25, .75, 1); transform: scale3d(1.25, .75, 1) }
    50% { -webkit-transform: scale3d(.85, 1.15, 1); transform: scale3d(.85, 1.15, 1) }
    65% { -webkit-transform: scale3d(1.05, .95, 1); transform: scale3d(1.05, .95, 1) }
    75% { -webkit-transform: scale3d(.95, 1.05, 1); transform: scale3d(.95, 1.05, 1) }
}

#info-para {
    width: 100%;
    padding-top: 28px;
    color: var(--color-ddd-color);
    line-height: 1.75;
    letter-spacing: 0.01em
}

.contact-btn-div {
    width: 100%;
    padding-top: 50px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.letsTalkBtn {
    position: relative;
    border: none;
    width: 180px;
    height: 40px;
    border-radius: 0;
    cursor: pointer;
    transition: .3s
}

.letsTalkBtn-text {
    width: 100%;
    height: 100%;
    background-color: rgba(230, 230, 230, .466);
    border: none;
    border-radius: 7px;
    backdrop-filter: blur(5px);
    color: #000;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px
}

.cta:hover span,
.text,
.tooltip {
    color: #fff
}

.resume-btn,
.sign {
    align-items: center;
    transition-duration: .3s;
    display: flex
}

.letsTalkBtn-BG {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(150deg, var(--color-light-blue), var(--color-purple));
    z-index: -1;
    left: 6px;
    top: 6px;
    border-radius: 7px;
    pointer-events: none;
    transition: .3s
}

.letsTalkBtn:hover { transform: translateY(-2px) translateX(-2px) }
.letsTalkBtn:hover .letsTalkBtn-BG { transform: translateY(2px) translateX(2px) }
.letsTalkBtn:active { transform: translateY(7px) translateX(7px) }
.letsTalkBtn:active .letsTalkBtn-BG { transform: translateY(-7px) translateX(-7px) }

.resume-btn {
    margin-top: 25px;
    justify-content: flex-start;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .199);
    background: linear-gradient(82.3deg, var(--color-purple) 10.8%, #6358ee 94.3%);
    position: relative
}

/* === SECTION HEADINGS === */
.projects-heading-article,
.projectsHeadingP,
.section-heading-article,
.sectionHeadingP,
.skills-heading-article,
.skillsHeadingP {
    background-image: -webkit-linear-gradient(left, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink))
}

.dp::after,
.dp::before,
.text {
    position: absolute
}

.sign {
    width: 100%;
    justify-content: center
}

.sign svg { width: 17px }

.text {
    right: 0;
    width: 0;
    opacity: 0;
    font-size: 1em;
    font-weight: 600;
    transition-duration: .3s
}

.resume-btn:hover {
    width: 130px;
    border-radius: 40px;
    transition-duration: .3s
}

.resume-btn:hover .sign {
    width: 30%;
    transition-duration: .3s;
    padding-left: 20px
}

.resume-btn:hover .text {
    opacity: 1;
    width: 70%;
    transition-duration: .3s;
    padding-right: 10px
}

.dp,
.dp::after,
.dp::before,
.dp:hover::after,
.dp:hover::before {
    transition-duration: .5s
}

.resume-btn:active { transform: translate(2px, 2px) }

/* === ABOUT === */
.about-section-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 180px
}

.about-section,
.projects-section-div,
.skills-section {
    width: 80%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.projects-heading,
.section-heading,
.skills-heading {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px
}

.dp img,
.dp::after,
.dp::before {
    width: 300px
}

.projects-heading-article,
.section-heading-article,
.skills-heading-article {
    font-size: 2.8rem;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em
}

.projectsHeadingP,
.sectionHeadingP,
.skillsHeadingP {
    flex: 1;
    height: 1px;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), transparent)
}

.info-dp-section {
    width: 100%;
    display: flex;
    margin-top: 36px
}

.about-info {
    display: flex;
    flex-direction: column
}

.about-info p {
    line-height: 1.85;
    letter-spacing: 0.01em
}

.dp {
    width: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative
}

.dp::before {
    box-shadow: 2px 2px 0 inset var(--color-purple), -2px -2px 0 inset transparent
}

.dp::after {
    box-shadow: 2px 2px 0 inset transparent, -2px -2px 0 inset var(--color-purple)
}

.dp:hover::after { transform: translate(20px, 20px) }
.dp:hover::before { transform: translate(-20px, -20px) }

/* === SKILLS === */
.skills-section-container {
    padding-top: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.language-speak,
.tech-stack-wrapper {
    width: 100%;
    display: flex;
    align-items: center
}

.language-speak {
    height: 50px;
    justify-content: center
}

.language-speak article {
    font-size: 2rem;
    font-weight: 600
}

.frontend-dev-section {
    width: 100%;
    margin-top: 50px
}

.frontend-dev-heading {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    height: 90px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.tech-stack-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px
}

/* === TECH STACK BOXES === */
.project-box,
.tech-stack-box {
    background-image: linear-gradient(135deg, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color))
}

.tech-stack-box,
.tooltip {
    align-items: center;
    display: flex
}

.tech-stack-box {
    width: 150px;
    height: 150px;
    justify-content: center;
    border-radius: 28px;
    border: 1px solid var(--tech-stack-box-border-color);
    position: relative;
    transition: all .25s ease
}

.tech-stack-box:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px)
}

.tech-stack-box img {
    width: 68%
}

.tech-stack-box:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .2s
}

.tooltip {
    position: absolute;
    top: -34px;
    opacity: 0;
    background: rgba(17, 17, 32, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 10px;
    border-radius: 7px;
    justify-content: center;
    transition: all .15s ease;
    transform: translateY(5px);
    pointer-events: none;
    letter-spacing: .05em;
    font-size: 1.4rem;
    backdrop-filter: blur(8px);
    font-weight: 500;
    white-space: nowrap
}

/* === CTA / ARROW BUTTON === */
.cta,
.cta span,
.cta svg,
.project-box,
footer {
    position: relative
}

.projects-section-container {
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.project-boxes-div {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 44px 0
}

.cta:hover:before,
.project-box-wrapper {
    width: 100%
}

/* === PROJECT BOXES === */
.project-box {
    width: 100%;
    height: 380px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: all .3s ease;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.07)
}

.project-box:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.07);
    transform: translateY(-4px)
}

.info-div {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    padding: 0 44px;
    z-index: 1
}

.faviconforProject {
    width: 30px;
    border-radius: 50%
}

.faviconforProjectAquaregia {
    width: 20px
}

.image-div {
    width: 50%;
    height: 100%;
    position: relative
}

/* Left-side gradient fade for image blending */
.image-div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-dark-mode) 0%, rgba(11, 11, 20, 0.15) 18%, transparent 35%);
    pointer-events: none;
    z-index: 1
}

.image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease
}

.project-box:hover .image-div img {
    transform: scale(1.04)
}

.ProjectHeading {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1
}

.ProjectDescription {
    color: var(--color-gray);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.7
}

.project-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px
}

.github-redirect {
    width: 50px
}

.github-redirect img {
    width: 45px;
    height: auto;
    transition: .3s;
    filter: brightness(2)
}

.github-redirect:hover img { filter: brightness(4) }

.cta {
    padding: 10px 18px;
    transition: .2s;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.cta::before {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    width: 42px;
    height: 42px;
    transition: .3s
}

.cta span {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--color-light-blue)
}

.cta svg {
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--color-light-blue);
    stroke-width: 2;
    transform: translateX(-5px);
    transition: .3s
}

.cta:hover::before {
    width: 100%;
    background: rgba(56, 189, 248, 0.1)
}

.cta:hover svg {
    stroke: white;
    transform: translateX(0)
}

.cta:active { transform: scale(.96) }

/* === BACK TO TOP === */
#backtotopbutton {
    position: fixed;
    right: 10px;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    width: 3rem;
    height: 15rem;
    z-index: 101;
    text-align: center;
    transition: .4s;
    display: none
}

#backtotopbutton span {
    font-size: 1.4rem;
    color: var(--color-white);
    font-weight: 400;
    writing-mode: vertical-rl;
    mix-blend-mode: difference;
    letter-spacing: 0.06em
}

#backtotopbutton:hover {
    transform: translate(0, -20px);
    text-decoration: line-through var(--color-white)
}

/* === FOOTER === */
footer {
    width: 100%;
    height: fit-content;
    border-top: 1px solid rgba(255, 255, 255, 0.05)
}

.footer-background {
    width: 100%;
    height: 50vh;
    background-color: #07070f;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1
}

.footer-foreground {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px)
}

.footercontainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end
}

.two-words {
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px
}

.getintouch-heading,
.logos {
    height: 80px;
    width: 100%;
    display: flex
}

.two-words article {
    font-size: 3rem
}

.social-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%
}

.social-media-container a {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 0 0 var(--color-purple) inset;
    transition: all .3s ease;
    background: rgba(255, 255, 255, 0.02)
}

.getintouch-heading {
    align-items: center;
    justify-content: center
}

.getintouch-heading article {
    font-size: 2rem;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: 600
}

.fa-copyright,
.footer-bottom article {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.25)
}

.logos {
    gap: 24px;
    justify-content: center;
    align-items: center
}

.SocialHandle {
    fill: rgba(255, 255, 255, 0.65);
    width: 55%;
    transition: fill .3s
}

#GmailLogo {
    height: 65%
}

.social-media-container a:hover {
    border-color: var(--color-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    transition-duration: .3s
}

.social-media-container a:hover .SocialHandle {
    fill: #fff
}

.social-media-container a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 50%;
    transform: scale(0);
    background-color: transparent;
    transition-duration: .3s;
    z-index: -1
}

.social-media-container a:hover::before {
    transform: scale(1);
    transition-duration: .3s
}

.footer-bottom {
    background-color: #07070f;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    z-index: 3
}

.tonechange {
    color: #000
}

/* === RESPONSIVE === */
@media screen and (max-width:1920px) {
    html { font-size: 60% }
}

@media screen and (max-width:1400px) {
    html { font-size: 60% }
}

@media screen and (max-width:1300px) {
    html { font-size: 60% }

    #hamburger-button,
    .hamburger {
        background-color: transparent
    }

    .mobile-navbar-tabs-ul a,
    .mobiletogglemenu {
        text-decoration: none
    }

    .activeThismobiletab,
    .mobile-navbar-tabs-ul a {
        color: var(--color-white)
    }

    .navbar-tabs-ul {
        display: none
    }

    .stopscrolling {
        overflow: hidden
    }

    .hamburger {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 115px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        z-index: 9998
    }

    .activeThismobiletab:before,
    .burger-bar,
    .hamburger-animation1,
    .hamburger-animation2,
    .hamburger-animation3 {
        background-color: var(--color-white)
    }

    .hamburgerbase {
        width: 78%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 24px
    }

    #hamburger-button {
        font-size: 3rem;
        font-weight: 800;
        width: 4.5rem;
        height: 3.5rem;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between
    }

    #burger-bar1,
    #burger-bar2,
    #burger-bar3 {
        height: 3px;
        border-radius: 0;
        transition-duration: .3s
    }

    #burger-bar1,
    #burger-bar3 {
        width: 60%
    }

    #burger-bar2 {
        width: 100%
    }

    .hamburger-animation1 {
        transform: rotate(45deg) scaleX(1.7);
        transition-duration: .3s;
        transform-origin: left
    }

    .hamburger-animation2 {
        transform: scaleX(0)
    }

    .hamburger-animation3 {
        transform: rotateZ(-45deg) scaleX(1.7);
        transform-origin: left;
        transition-duration: .3s
    }

    .mobiletogglemenu {
        background-color: transparent;
        z-index: 9990;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        list-style: none;
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        transform: translateX(100%);
        transition-duration: 1s
    }

    .show-toggle-menu {
        transform: translate(0);
        transition-duration: .6s
    }

    .mobile-navbar-tabs-ul {
        background-color: var(--color-dark-mode);
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 70px;
        box-shadow: 0 0 30px rgba(0, 0, 0, .176)
    }

    .mobile-navbar-tabs-li {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 600;
        position: relative;
        cursor: pointer;
        font-family: 'Fira Code', monospace;
        height: 30px;
        width: fit-content
    }

    .activeThismobiletab:before {
        content: "";
        position: absolute;
        height: 8px;
        width: 8px;
        left: -18px;
        border-radius: 50%
    }
}

@media screen and (max-width:1150px) {
    html { font-size: 60% }
}

@media screen and (max-width:998px) {
    html { font-size: 55% }

    .blob,
    .cursor-inner,
    .cursor-outer {
        display: none
    }

    .about-info,
    .dp,
    .info-dp-section {
        width: 100%;
        display: flex
    }

    .info-dp-section {
        flex-direction: column;
        margin-top: 30px;
        gap: 30px
    }

    .about-info {
        flex-direction: column
    }

    .dp {
        align-items: center;
        justify-content: center
    }

    .project-box {
        flex-direction: column;
        height: auto
    }

    .image-div,
    .info-div {
        width: 100%;
        height: auto
    }

    .info-div {
        height: auto;
        padding: 28px 32px
    }

    .image-div {
        height: 220px
    }

    .image-div::after {
        background: linear-gradient(180deg, transparent 60%, var(--color-dark-mode) 100%)
    }
}

@media screen and (max-width:768px) {
    html { font-size: 50% }

    .text-content {
        padding-left: 0
    }

    #hello-friend {
        height: 100px;
        font-size: 3rem
    }

    #name,
    #work {
        font-size: 5.5rem
    }

    #info-para,
    .language-name {
        width: 100%
    }

    .contact-btn-div {
        height: 140px;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px
    }

    .setting-container {
        margin-left: 0
    }

    .dp::after,
    .dp::before {
        display: none
    }

    .logo {
        width: 18%;
        overflow: visible
    }

    .project-boxes-div {
        padding: 30px 0
    }
}

@media screen and (max-width:500px) {
    html { font-size: 45% }

    .hamburgerbase,
    .navbar {
        height: 70px
    }

    #hamburger {
        margin-right: 20px;
        height: 115px;
        align-items: flex-end
    }

    #hello-friend,
    .two-words article {
        font-size: 2.5rem
    }

    .landing-page-container {
        height: 85vh
    }

    .text-content {
        justify-content: flex-start
    }

    .project-box {
        height: auto
    }

    .info-div {
        height: auto;
        padding: 24px
    }

    .image-div {
        height: 190px
    }

    .tech-stack-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px
    }

    .tech-stack-box {
        width: 100%;
        height: calc(76vw/2)
    }

    .certs-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px
    }

    .cert-card {
        width: 100%
    }
}

@media screen and (max-width:430px) {
    html { font-size: 45% }

    .info-div {
        padding: 24px
    }

    .two-words article {
        font-size: 2.2rem
    }
}

@media screen and (max-width:375px) {
    html { font-size: 42% }

    .dp img {
        width: 200px
    }

    .two-words {
        height: 50px
    }

    .two-words article {
        font-size: 2rem
    }

    .footer-bottom article {
        font-size: 1.3rem
    }

    .logos {
        gap: 18px
    }
}

@media screen and (max-width:300px) {
    html { font-size: 42% }

    .language-name article {
        text-align: center
    }

    .two-words {
        align-items: flex-end;
        height: 50px
    }

    .two-words article {
        font-size: 1.5rem
    }

    .footer-bottom article {
        font-size: 1rem
    }

    .social-media-container a {
        width: 46px;
        height: 46px
    }

    .logos {
        gap: 16px
    }
}

@media only screen and (max-width: 1300px) and (max-height: 730px) {
    .landing-page-container {
        height: fit-content;
        margin-top: 100px
    }
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 5px;
    margin-left: 20px;
    flex-shrink: 0
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.38);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 14px;
    transition: all .2s;
    font-family: 'Fira Code', monospace;
    line-height: 1
}

.lang-btn.lang-active {
    color: var(--color-dark-mode);
    background: var(--color-white)
}

.lang-btn:hover:not(.lang-active) {
    color: rgba(255, 255, 255, 0.65)
}

.lang-toggle-mobile {
    display: none
}

@media screen and (max-width: 1300px) {
    .lang-toggle {
        display: none
    }

    .lang-toggle-mobile {
        display: flex;
        margin: 0
    }

    .mobile-lang-li {
        cursor: default
    }

    .mobile-lang-li .lang-btn {
        font-size: 1.5rem;
        padding: 5px 14px
    }
}

/* === PROJECT TAGS === */
.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: fit-content
}

.project-tag svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

.tag-solo {
    background: rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--color-light-blue)
}

.tag-team {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.28);
    color: var(--color-light-purple)
}

/* === IM-GROUP / NAME FIX === */
#name {
    align-items: flex-start
}

.im-group {
    display: flex;
    font-size: 4.8rem;
    font-weight: 600;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.55);
    margin-right: 10px;
    line-height: 1
}

/* === CERTS === */
.certs-section-container {
    padding-top: 160px;
    width: 100%;
    display: flex;
    justify-content: center
}

.certs-section {
    width: 80%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.certs-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px
}

.cert-card {
    background-image: linear-gradient(135deg, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color));
    border: 1px solid var(--tech-stack-box-border-color);
    border-radius: 20px;
    padding: 32px 28px;
    width: 300px;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    position: relative
}

.cert-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.15), 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px)
}

.cert-type-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 18px
}

.cert-badge-license {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--color-light-purple)
}

.cert-badge-course {
    background: rgba(107, 197, 248, 0.12);
    border: 1px solid rgba(107, 197, 248, 0.3);
    color: var(--color-light-blue)
}

.cert-name {
    font-family: 'Fira Code', monospace;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4
}

.cert-issuer {
    font-size: 1.4rem;
    color: var(--color-gray);
    margin-top: 8px;
    line-height: 1.5
}

.cert-date {
    font-size: 1.3rem;
    color: var(--color-light-blue);
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    margin-top: auto;
    padding-top: 18px
}

/* === TIMELINE === */
.timeline-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 150px
}

.timeline-container {
    width: 80%;
    max-width: 960px;
    position: relative
}

.timeline-section-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 1px;
    height: calc(100% - 50px);
    background: linear-gradient(180deg,
        var(--color-light-blue) 0%,
        var(--color-light-purple) 100%
    );
    opacity: 0.35
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 36px
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right
}

.timeline-item:nth-child(even) {
    left: 50%
}

.timeline-dot {
    position: absolute;
    top: 36px;
    width: 11px;
    height: 11px;
    background: var(--color-light-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-light-purple), 0 0 5px rgba(167, 139, 250, 0.5)
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -5.5px
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -5.5px
}

.timeline-content {
    background: rgba(17, 17, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 22px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color .25s, box-shadow .25s
}

.timeline-content:hover {
    border-color: rgba(139, 92, 246, 0.22);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35)
}

.timeline-year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-light-blue);
    letter-spacing: 0.06em;
    font-family: 'Fira Code', monospace
}

.timeline-content h3 {
    font-size: 1.75rem;
    margin-top: 5px;
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.35
}

.timeline-content p {
    font-size: 1.45rem;
    margin-top: 6px;
    color: var(--color-gray);
    line-height: 1.65
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 18px
    }

    .timeline-item {
        width: 100%;
        padding-left: 54px;
        padding-right: 10px;
        text-align: left
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left
    }

    .timeline-dot {
        left: 12px
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        right: auto
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px
    }

    .timeline-content {
        margin-bottom: 16px
    }
}
