/* =========================================================
   Muhammad — Linktree Style Website
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');


:root {
    --ink: #071421;
    --ink-soft: #101d2b;

    --ivory: #F4F7FB;
    --ivory-dim: #91A6B9;

    --blue: #159CFF;
    --blue-soft: #0878C9;

    --line: rgba(70,145,200,0.25);
}


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

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


/* =========================================================
   BODY / BACKGROUND
   ========================================================= */

html,
body {

    width: 100%;
    height: 100%;

    color: var(--ivory);

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

    overflow: hidden;

    background:
        linear-gradient(
            rgba(2, 15, 28, 0.55),
            rgba(2, 15, 28, 0.68)
        ),
        url("images.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================================================
   BACKGROUND DOTS
   ========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(255,255,255,0.025) 1px,
            transparent 0
        );

    background-size: 22px 22px;

    z-index: 0;
}


/* =========================================================
   MAIN
   ========================================================= */

.stage {

    position: relative;

    width: 100%;
    height: 100%;

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(300px, 38%)
        1px
        minmax(500px, 1fr);

    align-items: center;

    padding:
        0
        clamp(30px, 5vw, 72px);

    gap:
        clamp(30px, 4vw, 56px);

    z-index: 1;
}


/* =========================================================
   IDENTITY
   ========================================================= */

.identity {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding-left: 44px;
}


/* =========================================================
   TREE
   ========================================================= */

#tree-svg {

    position: absolute;

    top: 50%;

    left: -15px;

    transform: translateY(-50%);

    width: 150px;
    height: 220px;

    overflow: visible;

    pointer-events: none;

    z-index: 1;
}


.trunk-path {

    fill: none;

    stroke: var(--blue);

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-dasharray: 700;

    stroke-dashoffset: 700;

    filter:
        drop-shadow(
            0 0 5px
            rgba(21,156,255,0.85)
        )
        drop-shadow(
            0 0 12px
            rgba(21,156,255,0.30)
        );

    animation:
        draw 1.8s
        cubic-bezier(.65,0,.35,1)
        forwards;
}


@keyframes draw {

    to {
        stroke-dashoffset: 0;
    }
}


/* =========================================================
   PROFILE LOGO
   ========================================================= */

.avatar {
    position: relative;
    z-index: 3;

    width: 185px;
    height: 185px;

    margin-left: 0;

    border-radius: 50%;
    overflow: hidden;

    background: #071421;

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

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    animation:
        fadeUp .7s ease forwards;

    animation-delay: 1.55s;

    box-shadow:
        0 0 0 5px rgba(21,156,255,0.12),
        0 0 35px rgba(21,156,255,0.30),
        0 20px 45px rgba(0,0,0,0.60);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   NAME
   ========================================================= */

.name {

    margin-top: 20px;

    margin-left: 0;

    font-family:
        'Fraunces',
        serif;

    font-weight: 600;

    font-size:
        clamp(32px, 3vw, 42px);

    color: #FFFFFF;

    letter-spacing: 0.01em;

    opacity: 0;

    animation:
        fadeUp .7s ease forwards;

    animation-delay: 1.75s;

    white-space: nowrap;

    text-shadow:
        0 0 20px
        rgba(21,156,255,0.10);
}


/* =========================================================
   TAGLINE
   ========================================================= */

.tagline {

    margin-top: 8px;

    margin-left: 0;

    font-size: 12px;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: var(--ivory-dim);

    opacity: 0;

    animation:
        fadeUp .7s ease forwards;

    animation-delay: 1.85s;
}


/* =========================================================
   FADE ANIMATION
   ========================================================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(10px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


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

.divider {

    width: 1px;

    height:
        min(70%, 430px);

    background:

        linear-gradient(
            to bottom,

            transparent,

            rgba(70,145,200,0.20) 15%,

            rgba(70,145,200,0.35) 50%,

            rgba(70,145,200,0.20) 85%,

            transparent
        );

    opacity: 0;

    animation:
        fadeUp .8s ease forwards;

    animation-delay: 1.9s;
}


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

.links {

    width: 100%;

    max-width: 850px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   LINK CARD
   ========================================================= */

.leaf {

    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    min-height: 108px;

    padding:
        18px 22px;

    background:
        rgba(15,27,40,0.90);

    border:
        1px solid
        rgba(70,145,200,0.22);

    border-radius: 16px;

    backdrop-filter: blur(8px);

    text-decoration: none;

    color: var(--ivory);

    opacity: 0;

    transform:
        translateY(14px);

    animation:
        leafIn .55s
        cubic-bezier(.2,.8,.2,1)
        forwards;

    transition:

        border-color .25s ease,

        background .25s ease,

        transform .2s ease,

        box-shadow .25s ease;

    min-width: 0;
}


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

.leaf:hover {

    border-color:
        rgba(21,156,255,0.75);

    background:
        rgba(17,39,59,0.96);

    transform:
        translateY(-3px);

    box-shadow:

        0 0 25px
        rgba(21,156,255,0.12),

        0 10px 30px
        rgba(0,0,0,0.30);
}


/* =========================================================
   CLICK
   ========================================================= */

.leaf:active {

    transform:
        translateY(0)
        scale(.98);
}


/* =========================================================
   LINK ANIMATION
   ========================================================= */

@keyframes leafIn {

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   STAGGER
   ========================================================= */

.links .leaf:nth-child(1) {
    animation-delay: 2.0s;
}

.links .leaf:nth-child(2) {
    animation-delay: 2.1s;
}

.links .leaf:nth-child(3) {
    animation-delay: 2.2s;
}

.links .leaf:nth-child(4) {
    animation-delay: 2.3s;
}

.links .leaf:nth-child(5) {
    animation-delay: 2.4s;
}

.links .leaf:nth-child(6) {
    animation-delay: 2.5s;
}

.links .leaf:nth-child(7) {
    animation-delay: 2.6s;
}

.links .leaf:nth-child(8) {
    animation-delay: 2.7s;
}


/* =========================================================
   SOCIAL MEDIA ICONS
   ========================================================= */

.social-icon {

    flex: none;

    width: 62px;
    height: 62px;

    border-radius: 14px;

    object-fit: cover;

    display: block;

    transition:

        transform .25s ease,

        box-shadow .25s ease;
}


/* =========================================================
   ICON HOVER
   ========================================================= */

.leaf:hover .social-icon {

    transform:
        scale(1.08);

    box-shadow:

        0 5px 15px
        rgba(0,0,0,0.35);
}


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

.leaf .text {

    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;

    overflow: hidden;
}


/* =========================================================
   TITLE
   ========================================================= */

.leaf .label {

    font-size: 17px;

    font-weight: 600;

    letter-spacing: 0.01em;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.leaf .sub {

    font-size: 13px;

    color: var(--ivory-dim);

    letter-spacing: 0.03em;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


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

footer {

    position: fixed;

    bottom: 18px;

    left: 0;
    right: 0;

    text-align: center;

    font-size: 10px;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: #62788B;

    opacity: 0;

    animation:
        fadeUp .7s ease forwards;

    animation-delay: 2.8s;

    z-index: 5;
}


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

@media (max-width: 760px) {

    html,
    body {

        overflow: auto;

        background-attachment: scroll;
    }


    .stage {

        grid-template-columns: 1fr;

        grid-template-rows:
            auto
            auto
            auto;

        padding:
            40px
            24px
            70px;

        height: auto;

        min-height: 100vh;

        gap: 30px;
    }


    .identity {

        align-items: center;

        padding-left: 0;

        text-align: center;
    }


    #tree-svg {

        display: none;
    }


    .avatar {

        width: 140px;
        height: 140px;

        margin-left: 0;
    }


    .name,
    .tagline {

        margin-left: 0;

        text-align: center;
    }


    .name {

        font-size: 38px;
    }


    .divider {

        width:
            min(70%, 320px);

        height: 1px;

        background:

            linear-gradient(
                to right,

                transparent,

                rgba(70,145,200,0.25) 20%,

                rgba(70,145,200,0.35) 50%,

                rgba(70,145,200,0.25) 80%,

                transparent
            );

        margin: 8px 0;
    }


    .links {

        grid-template-columns: 1fr;

        width: 100%;

        max-width: 500px;
    }


    .leaf {

        width: 100%;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .trunk-path,
    .avatar,
    .name,
    .tagline,
    .divider,
    .leaf,
    footer {

        animation: none !important;

        opacity: 1 !important;

        stroke-dashoffset: 0 !important;

        transform: none !important;
    }


    .leaf,
    .social-icon {

        transition: none !important;
    }
}

#tree-svg {
    position: absolute;

    top: 30%;
    left: -75px;   /* pehle -105px tha */

    transform: translateY(-50%);

    width: 150px;
    height: 150px;

    overflow: visible;
    pointer-events: none;

    z-index: 1;
}


.trunk-path {
    fill: none;

    stroke: var(--blue);

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 700;
    stroke-dashoffset: 700;

    filter:
        drop-shadow(0 0 5px rgba(21,156,255,0.85))
        drop-shadow(0 0 12px rgba(21,156,255,0.30));

    animation:
        draw 1.8s cubic-bezier(.65,0,.35,1) forwards;
}

.navigation {
    position: relative;
    z-index: 10;

    width: 100%;
    padding: 16px 40px !important;

    /* DARK NAVIGATION */
    background: rgba(15, 30, 52, 0.98) !important;

    border-bottom: 1px solid rgba(2, 32, 54, 0.25);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.60);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =========================================================
   NAVIGATION ROW
   ========================================================= */

.navigation > .row {
    margin: 0;
    align-items: center;
}


/* =========================================================
   LOGO ICON
   ========================================================= */

.navigation .fa-code {
    color: #38bdf8 !important;

    margin-right: 10px;
    padding-bottom: 0 !important;

    filter:
        drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));

    transition: 0.3s ease;
}

.navigation .fa-code:hover {
    transform: scale(1.12) rotate(5deg);

    filter:
        drop-shadow(0 0 14px rgba(56, 189, 248, 1));
}

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

.navigation-link.active {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(10, 45, 70, 0.98),
            rgba(21, 156, 255, 0.45)
        );

    border-color: #159CFF;

    box-shadow:
        0 0 18px rgba(21, 156, 255, 0.25),
        0 5px 18px rgba(0, 0, 0, 0.30);

    text-shadow:
        0 0 8px rgba(21, 156, 255, 0.35);
}

/* =========================================================
   WEBSITE NAME
   ========================================================= */

.navigation h5 {
    margin: 0 !important;
    padding-left: 8px !important;

    color: #f8fafc !important;

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

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.07em;

    white-space: nowrap;

    text-shadow:
        0 0 12px rgba(56, 189, 248, 0.12);
}


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

.navigation > .row > .col-6:last-child {
    padding-top: 0 !important;

    overflow: visible;
}


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

.navigation > .row > .col-6:last-child > .row {
    margin: 0;

    display: flex;

    flex-wrap: nowrap;

    justify-content: flex-end;
    align-items: center;

    gap: 10px;
}


/* =========================================================
   LINK COLUMNS
   ========================================================= */

.navigation .col-3,
.navigation .col-auto {
    width: auto;

    flex: 0 0 auto;

    padding: 0;
}


/* =========================================================
   NAVIGATION BUTTON
   ========================================================= */

.navigation-link {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 88px;

    padding: 9px 17px;

    /* Slightly lighter navy boxes */
    background:
        rgba(16, 42, 66, 0.85);

    border:
        1px solid rgba(56, 189, 248, 0.22);

    border-radius: 11px;

    color: #dbeafe !important;

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

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.03em;

    text-decoration: none !important;

    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 4px 14px rgba(0, 0, 0, 0.18);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   REMOVE UNDERLINE
   ========================================================= */

.navigation-link::after {
    display: none;
}


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

.navigation-link:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(14, 116, 144, 0.75),
            rgba(21, 156, 255, 0.45)
        );

    border-color:
        rgba(56, 189, 248, 0.85);

    transform:
        translateY(-3px);

    box-shadow:
        0 0 20px rgba(21, 156, 255, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   CLICK
   ========================================================= */

.navigation-link:active {
    transform:
        translateY(0)
        scale(0.96);
}


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

@media (max-width: 760px) {

    .navigation {
        padding: 14px 18px !important;
    }

    .navigation > .row {
        flex-wrap: wrap;
    }

    .navigation > .row > .col-6:first-child {
        width: 100%;
        flex: 0 0 100%;

        justify-content: center !important;

        margin-bottom: 15px;
    }

    .navigation > .row > .col-6:last-child {
        width: 100%;
        flex: 0 0 100%;
    }

    .navigation > .row > .col-6:last-child > .row {
        justify-content: center;

        flex-wrap: wrap;

        gap: 8px;
    }

    .navigation h5 {
        font-size: 16px;
    }

    .navigation .fa-code {
        font-size: 22px;
    }

    .navigation-link {
        min-width: 75px;

        padding: 8px 13px;

        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL SCREEN
   ========================================================= */

@media (max-width: 480px) {

    .navigation {
        padding: 12px 10px !important;
    }

    .navigation h5 {
        font-size: 14px;
    }

    .navigation .fa-code {
        font-size: 20px;
    }

    .navigation-link {
        min-width: 70px;

        padding: 7px 11px;

        font-size: 12px;
    }
}


html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
    height: auto;

    overflow-x: hidden;
    overflow-y: auto;
}

.stage {
    min-height: 100vh;
    height: auto;

    padding-top: 40px;
    padding-bottom: 100px;
}

.leaf {
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.leaf:hover {
    transform: translateY(-6px) scale(1.01);
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #071421;
}

body::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 20px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--blue-soft);
}

.theme-toggle {
    width: 40px;
    height: 40px;

    border: 1px solid rgba(21, 156, 255, 0.4);
    border-radius: 50%;

    background: rgba(15, 27, 40, 0.9);
    color: #ffc107;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.08);

    box-shadow:
        0 0 15px rgba(21, 156, 255, 0.4);
}

body.light-mode {
    color: #17202a;

    background:
        linear-gradient(
            rgba(240, 247, 255, 0.78),
            rgba(225, 239, 250, 0.88)
        ),
        url("images.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.light-mode .navigation {
    background: rgba(255, 255, 255, 0.88);

    border-bottom:
        1px solid rgba(21, 120, 190, 0.2);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .navigation h5 {
    color: #071421 !important;
}


/* Navigation links */
body.light-mode .navigation-link {
    color: #071421 !important;
}

body.light-mode .navigation-link:hover {
    color: var(--blue) !important;
}

body.light-mode .leaf {
    background: rgba(255, 255, 255, 0.88);

    border-color:
        rgba(21, 120, 190, 0.2);

    color: #071421;
}

body.light-mode .leaf:hover {
    background: rgba(255, 255, 255, 0.98);

    border-color:
        rgba(21, 156, 255, 0.65);

    box-shadow:
        0 0 25px rgba(21, 156, 255, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.12);
}

body.light-mode .leaf .label {
    color: #071421;
}

body.light-mode .leaf .sub {
    color: #526778;
}

body.light-mode .name {
    color: #071421;
}

body.light-mode .tagline {
    color: #526778;
}

body.light-mode .theme-toggle {
    background: #ffffff;
    color: #071421;

    border-color:
        rgba(21, 120, 190, 0.3);
}

body.light-mode footer {
    color: #526778;
}

body,
.navigation,
.leaf,
.theme-toggle,
.navigation-link,
.name,
.tagline,
footer {
    transition:
        background 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* =========================================================
   FLOATING TECH / SKILL BADGES
   ========================================================= */

.identity {
    width: 100%;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 70px;

    padding-left: 0;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

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

.hero-badge {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badge span {
    padding: 6px 13px;

    border-radius: 20px;

    background: rgba(21, 156, 255, 0.10);

    border: 1px solid rgba(21, 156, 255, 0.30);

    color: #8bdcff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.06em;
}

.hero-content h1 {
    margin: 0;

    font-family: 'Fraunces', serif;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.05;

    color: #ffffff;

    text-shadow:
        0 0 25px rgba(21, 156, 255, 0.12);
}

.hero-content p {
    margin-top: 18px;

    max-width: 500px;

    color: #91A6B9;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   BUTTON
   ========================================================= */

.hero-button {
    display: inline-block;

    margin-top: 22px;

    padding: 11px 22px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #0878C9,
            #159CFF
        );

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(21, 156, 255, 0.20);

    transition: 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 25px rgba(21, 156, 255, 0.40);
}


/* =========================================================
   RIGHT IMAGE AREA
   ========================================================= */

.hero-image {
    position: relative;

    width: 300px;
    height: 300px;

    flex: 0 0 300px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   PROFILE IMAGE
   ========================================================= */

.hero-image .avatar {
    position: relative;

    z-index: 3;

    width: 190px;
    height: 190px;

    margin: 0;
}


/* =========================================================
   FLOATING BADGES
   ========================================================= */

.tech-badge {
    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 13px;

    border-radius: 12px;

    background:
        rgba(5, 18, 30, 0.94);

    border:
        1px solid rgba(56, 189, 248, 0.35);

    color: #e6f7ff;

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

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.02em;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 15px rgba(21, 156, 255, 0.08);

    animation: floatingBadge 4s ease-in-out infinite;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   BADGE ICON
   ========================================================= */

.badge-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 7px;

    background: rgba(21, 156, 255, 0.12);

    color: #38BDF8;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   BADGE POSITIONS
   ========================================================= */

.html-badge {
    top: 15px;
    left: 5px;

    animation-delay: 0s;

    color: #ffb08a;
}

.css-badge {
    top: 55px;
    right: 0;

    animation-delay: 0.8s;

    color: #72caff;
}

.js-badge {
    bottom: 35px;
    left: 0;

    animation-delay: 1.5s;

    color: #ffe477;
}

.python-badge {
    bottom: 15px;
    right: 5px;

    animation-delay: 2.2s;

    color: #9bdcff;
}


/* =========================================================
   FLOATING ANIMATION
   ========================================================= */

@keyframes floatingBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   BADGE HOVER
   ========================================================= */

.tech-badge:hover {
    border-color: #38BDF8;

    box-shadow:
        0 0 22px rgba(21, 156, 255, 0.30),
        0 10px 25px rgba(0, 0, 0, 0.35);

    animation-play-state: paused;
}


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

@media (max-width: 760px) {

    .identity {
        flex-direction: column;

        text-align: center;

        gap: 55px;
    }

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

    .hero-badge {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 270px;
        height: 270px;

        flex: 0 0 270px;
    }

    .hero-image .avatar {
        width: 165px;
        height: 165px;
    }

    .tech-badge {
        padding: 7px 10px;

        font-size: 10px;
    }

    .badge-icon {
        width: 23px;
        height: 23px;
    }

    .html-badge {
        left: -5px;
    }

    .css-badge {
        right: -5px;
    }

    .js-badge {
        left: -5px;
    }

    .python-badge {
        right: -5px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tech-badge {
        animation: none;
    }
}

/* =========================================================
   PROFILE PICTURE FIX + ANIMATION
   ========================================================= */

.hero-image .avatar {
    position: relative;

    width: 190px;
    height: 190px;

    margin: 0;

    opacity: 1 !important;

    visibility: visible !important;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

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

    background: #071421;

    z-index: 10;

    animation:
        profileFloat 4s ease-in-out infinite,
        profileGlow 3s ease-in-out infinite alternate;
}


/* IMAGE */
.hero-image .avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    opacity: 1 !important;

    visibility: visible !important;

    border-radius: 50%;
}


/* FLOATING */
@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* GLOW */
@keyframes profileGlow {

    0% {
        box-shadow:
            0 0 0 4px rgba(21,156,255,0.10),
            0 0 25px rgba(21,156,255,0.20);
    }

    100% {
        box-shadow:
            0 0 0 5px rgba(21,156,255,0.18),
            0 0 45px rgba(21,156,255,0.45);
    }
}

/* =========================================================
   BADGES IN FRONT OF LOGO
   ========================================================= */

.hero-image .avatar {
    position: relative;
    z-index: 3;
}

.tech-badge {
    position: absolute;

    z-index: 20 !important;

    /* badges logo ke uper nazar aayenge */
}

/* =========================================================
   BIG RIGHT-SIDE PROFILE PICTURE
   ========================================================= */

.identity {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.hero-content {
    flex: 1;
}

.hero-image {
    position: relative;

    width: 430px;
    height: 430px;

    flex: 0 0 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: -30px;
}

.hero-image .avatar {
    width: 300px;
    height: 300px;

    margin: 0;

    position: relative;
    z-index: 3;
}

.hero-image .avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Badges picture ke aage */
.tech-badge {
    z-index: 20 !important;
}


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

@media (max-width: 760px) {

    .identity {
        flex-direction: column;
        padding: 0;
    }

    .hero-image {
        width: 320px;
        height: 320px;

        flex: 0 0 320px;

        margin: 20px auto 0;
    }

    .hero-image .avatar {
        width: 220px;
        height: 220px;
    }
}


/* =========================================================
   FINAL HERO FIX
   Logo + Badges on RIGHT / Remove Blue Tree Element
   ========================================================= */

/* REMOVE BLUE TREE ELEMENT */
#tree-svg {
    display: none !important;
}

.trunk-path {
    display: none !important;
}

/* MAIN HERO */
.identity {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 !important;
}

/* LEFT CONTENT */
.hero-content {
    flex: 1;
    max-width: 600px;
}

/* RIGHT LOGO AREA */
.hero-image {
    position: relative;

    width: 460px;
    height: 460px;

    flex: 0 0 460px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: -45px;
}

/* LOGO */
.hero-image .avatar {
    position: relative;

    width: 300px;
    height: 300px;

    margin: 0;

    border-radius: 50%;
    overflow: hidden;

    background: #071421;

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

    z-index: 3;

    opacity: 1 !important;
    visibility: visible !important;

    display: flex;
    align-items: center;
    justify-content: center;

    animation:
        profileFloat 4s ease-in-out infinite,
        profileGlow 3s ease-in-out infinite alternate;
}

.hero-image .avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    border-radius: 50%;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   FLOATING BADGES
   ========================================================= */

.tech-badge {
    position: absolute;

    z-index: 20 !important;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    border-radius: 12px;

    background: rgba(5, 18, 30, 0.96);

    border: 1px solid rgba(56, 189, 248, 0.45);

    color: #e6f7ff;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.40),
        0 0 18px rgba(21, 156, 255, 0.12);

    animation: floatingBadge 4s ease-in-out infinite;
}


/* =========================================================
   BADGE POSITIONS
   ========================================================= */

/* HTML - upper left of logo */
.html-badge {
    top: 45px;
    left: 15px;

    animation-delay: 0s;
}

/* CSS - upper right */
.css-badge {
    top: 85px;
    right: -5px;

    animation-delay: 0.8s;
}

/* JavaScript - lower left */
.js-badge {
    bottom: 85px;
    left: -5px;

    animation-delay: 1.5s;
}

/* Python - lower right */
.python-badge {
    bottom: 45px;
    right: 15px;

    animation-delay: 2.2s;
}


/* =========================================================
   BADGE ICONS
   ========================================================= */

.badge-icon {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(21, 156, 255, 0.15);

    color: #38BDF8;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   PROFILE ANIMATION
   ========================================================= */

@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes profileGlow {

    0% {
        box-shadow:
            0 0 0 4px rgba(21,156,255,0.10),
            0 0 25px rgba(21,156,255,0.20);
    }

    100% {
        box-shadow:
            0 0 0 6px rgba(21,156,255,0.18),
            0 0 50px rgba(21,156,255,0.45);
    }
}


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

@media (max-width: 760px) {

    .identity {
        flex-direction: column;
        gap: 45px;
        padding: 0 !important;
    }

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

    .hero-badge {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 330px;
        height: 330px;

        flex: 0 0 330px;

        margin: 0 auto;
    }

    .hero-image .avatar {
        width: 220px;
        height: 220px;
    }

    .html-badge {
        top: 20px;
        left: 0;
    }

    .css-badge {
        top: 50px;
        right: 0;
    }

    .js-badge {
        bottom: 50px;
        left: 0;
    }

    .python-badge {
        bottom: 20px;
        right: 0;
    }
}

/* =========================================================
   HERO — TEXT LEFT / LOGO RIGHT
   ========================================================= */

.stage {
    width: 100%;
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;

    padding: 40px 5vw 100px;

    overflow: visible;
}

.identity {
    width: 100%;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 0 !important;
}

/* LEFT */
.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

/* RIGHT */
.hero-image {
    position: relative;

    width: 480px;
    height: 480px;

    flex: 0 0 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: 0;
}

/* LOGO */
.hero-image .avatar {
    position: relative;

    width: 300px;
    height: 300px;

    margin: 0;

    border-radius: 50%;
    overflow: hidden;

    z-index: 3;

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

    background: #071421;

    opacity: 1 !important;
    visibility: visible !important;

    animation:
        profileFloat 4s ease-in-out infinite,
        profileGlow 3s ease-in-out infinite alternate;
}

.hero-image .avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}


/* =========================================================
   BADGES — IN FRONT OF LOGO
   ========================================================= */

.tech-badge {
    position: absolute;

    z-index: 20 !important;

    white-space: nowrap;
}


/* TOP LEFT */
.html-badge {
    top: 45px;
    left: 25px;
}


/* TOP RIGHT */
.css-badge {
    top: 80px;
    right: 0;
}


/* BOTTOM LEFT */
.js-badge {
    bottom: 80px;
    left: 0;
}


/* BOTTOM RIGHT */
.python-badge {
    bottom: 40px;
    right: 25px;
}


/* =========================================================
   REMOVE BLUE TREE
   ========================================================= */

#tree-svg,
.trunk-path {
    display: none !important;
}


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

@media (max-width: 760px) {

    .stage {
        min-height: auto;

        padding:
            40px 20px 100px;
    }

    .identity {
        flex-direction: column;

        gap: 45px;

        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 600px;

        text-align: center;
    }

    .hero-badge {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 340px;
        height: 340px;

        flex: 0 0 340px;

        margin: 0 auto;
    }

    .hero-image .avatar {
        width: 220px;
        height: 220px;
    }

    .html-badge {
        top: 15px;
        left: 0;
    }

    .css-badge {
        top: 45px;
        right: 0;
    }

    .js-badge {
        bottom: 45px;
        left: 0;
    }

    .python-badge {
        bottom: 15px;
        right: 0;
    }
}

/* =========================================================
   RESTORE BADGE COLORS
   ========================================================= */

.tech-badge {
    color: #e6f7ff;
}

/* HTML */
.html-badge {
    color: #ffb08a !important;
}

/* CSS */
.css-badge {
    color: #72caff !important;
}

/* JavaScript */
.js-badge {
    color: #ffe477 !important;
}

/* Python */
.python-badge {
    color: #9bdcff !important;
}

/* Badge icons */
.badge-icon {
    color: #38BDF8;
    background: rgba(21, 156, 255, 0.15);
}

/* =========================================================
   BIGGER ROTATING TEXT
   ========================================================= */

.rotating-text {
    margin-top: 12px;

    height: 48px;

    font-size: clamp(24px, 2.5vw, 32px);

    font-weight: 700;

    color: #38BDF8;

    letter-spacing: 0.02em;

    overflow: hidden;

    text-shadow:
        0 0 10px rgba(56, 189, 248, 0.35),
        0 0 25px rgba(21, 156, 255, 0.20);
}

#rotatingText {
    display: inline-block;

    animation:
        rotatingTextIn 0.6s ease;
}

@keyframes rotatingTextIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* MOBILE */

@media (max-width: 760px) {

    .rotating-text {
        font-size: 23px;
        height: 38px;
    }
}

/* =========================================================
   FINAL BADGE POSITION — BADGES ON LOGO
   ========================================================= */

.hero-image {
    position: relative;
    isolation: isolate;
}

/* Logo */
.hero-image .avatar {
    position: relative;
    z-index: 3;
}

/* Badges ABOVE the logo */
.hero-image .tech-badge {
    position: absolute;
    z-index: 20 !important;
    white-space: nowrap;
}

/* HTML — upper-left, overlapping logo */
.hero-image .html-badge {
    top: 75px;
    left: 75px;
}

/* CSS — upper-right, overlapping logo */
.hero-image .css-badge {
    top: 95px;
    right: 55px;
}

/* JavaScript — lower-left, overlapping logo */
.hero-image .js-badge {
    bottom: 95px;
    left: 55px;
}

/* Python — lower-right, overlapping logo */
.hero-image .python-badge {
    bottom: 75px;
    right: 75px;
}
/* =========================================================
   ROTATING TEXT — RIGHT TO LEFT ANIMATION
   ========================================================= */

#rotatingText {
    display: inline-block;
    animation: rotatingTextIn 0.6s ease;
}

@keyframes rotatingTextIn {

    from {
        opacity: 0;
        transform: translateX(60px);
    }

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

/* =========================================================
   PREMIUM ANIMATED LOGO EFFECT
   ========================================================= */

.hero-image .avatar {
    position: relative;
    z-index: 3;
    box-shadow:
        0 0 0 5px rgba(21, 156, 255, 0.10),
        0 0 25px rgba(21, 156, 255, 0.35),
        0 0 55px rgba(21, 156, 255, 0.18);

    animation:
        profileFloat 4s ease-in-out infinite,
        profileGlow 3s ease-in-out infinite alternate;
}


/* Animated ring around logo */

.hero-image::before {
    content: "";
    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    border: 2px solid transparent;

    border-top-color: #38BDF8;
    border-right-color: rgba(21, 156, 255, 0.35);

    animation: logoRing 5s linear infinite;

    z-index: 2;

    pointer-events: none;
}


/* Soft outer glow */

.hero-image::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(21, 156, 255, 0.06);

    box-shadow:
        0 0 40px rgba(21, 156, 255, 0.18),
        0 0 80px rgba(21, 156, 255, 0.10);

    animation: logoPulse 3s ease-in-out infinite;

    z-index: 1;

    pointer-events: none;
}


/* Rotating ring */

@keyframes logoRing {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* Glow pulse */

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }

}
/* =========================================================
   MOVE LOGO + BADGES SLIGHTLY LEFT
   ========================================================= */

.hero-image {
    position: relative;
    left: -40px !important;
}

/* =========================================================
   FINAL MOBILE RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 760px) {

    /* Page */
    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    /* Navigation */
    .navigation {
        width: 100%;
        padding: 12px 15px !important;
    }

    .navigation > .row {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation > .row > .col-6 {
        width: 100%;
        flex: 0 0 100%;
    }

    /* Website name */
    .navigation > .row > .col-6:first-child {
        justify-content: center !important;
        margin-bottom: 14px;
    }

    .navigation h5 {
        font-size: 15px;
    }

    .navigation .fa-code {
        font-size: 21px;
    }

    /* Navigation buttons */
    .navigation > .row > .col-6:last-child > .row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px;
    }

    .navigation-link {
        min-width: auto;
        padding: 7px 11px;
        font-size: 12px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }


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

    .stage {
        width: 100%;
        min-height: auto;
        height: auto;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 45px 18px 100px;

        overflow: visible;
    }

    .identity {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 35px;
    }


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

    .hero-content {
        width: 100%;
        max-width: 100%;

        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(32px, 9vw, 44px);
        line-height: 1.1;
    }

    .rotating-text {
        margin-top: 12px;
        height: 38px;

        font-size: clamp(20px, 6vw, 27px);
    }

    .hero-content p {
        max-width: 100%;

        margin: 16px auto 0;

        font-size: 14px;
        line-height: 1.6;
    }

    .hero-button {
        margin-top: 18px;
        padding: 10px 18px;
        font-size: 13px;
    }


    /* =====================================================
       LOGO AREA
       ===================================================== */

    .hero-image {
        position: relative;

        width: min(88vw, 340px);
        height: min(88vw, 340px);

        flex: 0 0 auto;

        margin: 0 auto !important;

        left: 0 !important;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* Logo */
    .hero-image .avatar {
        width: min(62vw, 220px);
        height: min(62vw, 220px);

        flex-shrink: 0;
    }


    /* =====================================================
       LOGO EFFECT
       ===================================================== */

    .hero-image::before {
        width: min(70vw, 245px);
        height: min(70vw, 245px);
    }

    .hero-image::after {
        width: min(76vw, 265px);
        height: min(76vw, 265px);
    }


    /* =====================================================
       BADGES
       ===================================================== */

    .tech-badge {
        padding: 7px 9px;

        gap: 6px;

        font-size: 9px;

        border-radius: 9px;
    }

    .badge-icon {
        width: 22px;
        height: 22px;

        font-size: 9px;

        border-radius: 5px;
    }


    /* Badge positions */
    .hero-image .html-badge {
        top: 48px;
        left: 18px;
    }

    .hero-image .css-badge {
        top: 62px;
        right: 12px;
    }

    .hero-image .js-badge {
        bottom: 62px;
        left: 12px;
    }

    .hero-image .python-badge {
        bottom: 48px;
        right: 18px;
    }


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

    .links {
        width: 100%;
        max-width: 500px;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .leaf {
        width: 100%;
        min-height: 85px;

        padding: 14px 16px;

        gap: 12px;
    }

    .social-icon {
        width: 52px;
        height: 52px;
    }

    .leaf .label {
        font-size: 15px;
    }

    .leaf .sub {
        font-size: 11px;
    }


    /* Footer */
    footer {
        position: relative;

        margin-top: 20px;
        padding-bottom: 15px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .navigation {
        padding: 10px 8px !important;
    }

    .navigation h5 {
        font-size: 14px;
        letter-spacing: 0.04em;
    }

    .navigation .fa-code {
        font-size: 19px;
    }

    .navigation-link {
        padding: 6px 9px;
        font-size: 11px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .stage {
        padding: 35px 14px 90px;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .rotating-text {
        font-size: 20px;
        height: 32px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .hero-image .avatar {
        width: 190px;
        height: 190px;
    }

    .hero-image .html-badge {
        top: 42px;
        left: 5px;
    }

    .hero-image .css-badge {
        top: 55px;
        right: 5px;
    }

    .hero-image .js-badge {
        bottom: 55px;
        left: 5px;
    }

    .hero-image .python-badge {
        bottom: 42px;
        right: 5px;
    }

    .tech-badge {
        font-size: 8px;
        padding: 6px 8px;
    }

    .badge-icon {
        width: 20px;
        height: 20px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .navigation-link {
        padding: 5px 7px;
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .rotating-text {
        font-size: 18px;
    }

    .hero-image {
        width: 275px;
        height: 275px;
    }

    .hero-image .avatar {
        width: 175px;
        height: 175px;
    }

    .hero-image .html-badge {
        left: 0;
    }

    .hero-image .css-badge {
        right: 0;
    }

    .hero-image .js-badge {
        left: 0;
    }

    .hero-image .python-badge {
        right: 0;
    }
}

/* =========================================================
   BIGGER NAVIGATION BRAND
   ========================================================= */

.navigation h5 {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

/* Mobile */
@media (max-width: 760px) {
    .navigation h5 {
        font-size: 19px !important;
    }
}

@media (max-width: 480px) {
    .navigation h5 {
        font-size: 17px !important;
    }
}
/* =========================================================
   COMPLETE LIGHT MODE — FULL WEBSITE
   ========================================================= */

body.light-mode {
    color: #071421;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(21, 156, 255, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(56, 189, 248, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef7ff 50%,
            #e7f3fc 100%
        );

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* =========================================================
   LIGHT MODE — DOTS
   ========================================================= */

body.light-mode::before {
    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(7, 20, 33, 0.06) 1px,
            transparent 0
        );

    background-size: 22px 22px;
}


/* =========================================================
   LIGHT MODE — NAVIGATION
   ========================================================= */

body.light-mode .navigation {
    background:
        rgba(255, 255, 255, 0.88) !important;

    border-bottom:
        1px solid rgba(21, 156, 255, 0.18);

    box-shadow:
        0 8px 30px rgba(7, 20, 33, 0.10);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* Code icon */

body.light-mode .navigation .fa-code {
    color: #0878C9 !important;

    filter:
        drop-shadow(
            0 0 6px
            rgba(21, 156, 255, 0.35)
        );
}


/* Brand */

body.light-mode .navigation h5 {
    color: #071421 !important;

    text-shadow:
        0 0 12px
        rgba(21, 156, 255, 0.10);
}


/* Navigation buttons */

body.light-mode .navigation-link {
    background:
        rgba(235, 246, 255, 0.90);

    border:
        1px solid
        rgba(21, 120, 190, 0.18);

    color: #173247 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 4px 14px rgba(7,20,33,0.06);
}


/* Navigation hover */

body.light-mode .navigation-link:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #0878C9,
            #159CFF
        );

    border-color:
        rgba(21,156,255,0.75);

    box-shadow:
        0 0 20px
        rgba(21,156,255,0.22),
        0 8px 20px
        rgba(7,20,33,0.12);
}


/* Active navigation */

body.light-mode .navigation-link.active {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #0878C9,
            #159CFF
        );

    border-color: #159CFF;

    box-shadow:
        0 0 20px
        rgba(21,156,255,0.20);
}


/* =========================================================
   LIGHT MODE — HERO
   ========================================================= */

body.light-mode .hero-content h1 {
    color: #071421 !important;

    text-shadow:
        0 0 25px
        rgba(21,156,255,0.12);
}


body.light-mode .hero-content p {
    color: #526778 !important;
}


/* Hero small badges */

body.light-mode .hero-badge span {
    background:
        rgba(21,156,255,0.08);

    border:
        1px solid
        rgba(21,156,255,0.22);

    color: #0878C9;
}


/* =========================================================
   LIGHT MODE — ROTATING TEXT
   ========================================================= */

body.light-mode .rotating-text {
    color: #0878C9 !important;

    text-shadow:
        0 0 10px
        rgba(21,156,255,0.18),
        0 0 25px
        rgba(21,156,255,0.08);
}


/* =========================================================
   LIGHT MODE — HERO BUTTON
   ========================================================= */

body.light-mode .hero-button {
    background:
        linear-gradient(
            135deg,
            #0878C9,
            #159CFF
        );

    color: #ffffff !important;

    box-shadow:
        0 8px 25px
        rgba(21,156,255,0.20);
}


body.light-mode .hero-button:hover {
    box-shadow:
        0 0 30px
        rgba(21,156,255,0.30);
}


/* =========================================================
   LIGHT MODE — PROFILE LOGO
   ========================================================= */

body.light-mode .hero-image .avatar {
    background: #ffffff;

    border-color: #159CFF;

    box-shadow:
        0 0 0 5px rgba(21,156,255,0.08),
        0 0 30px rgba(21,156,255,0.20),
        0 15px 40px rgba(7,20,33,0.12);
}


/* Logo ring */

body.light-mode .hero-image::before {
    border-top-color: #0878C9;

    border-right-color:
        rgba(21,156,255,0.30);
}


/* Logo outer glow */

body.light-mode .hero-image::after {
    background:
        rgba(21,156,255,0.045);

    box-shadow:
        0 0 40px
        rgba(21,156,255,0.15),

        0 0 80px
        rgba(21,156,255,0.08);
}


/* =========================================================
   LIGHT MODE — TECH BADGES
   ========================================================= */

body.light-mode .tech-badge {
    background:
        rgba(255,255,255,0.90);

    border:
        1px solid
        rgba(21,156,255,0.25);

    color: #173247;

    box-shadow:
        0 8px 25px
        rgba(7,20,33,0.12),

        0 0 18px
        rgba(21,156,255,0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Badge icon */

body.light-mode .badge-icon {
    background:
        rgba(21,156,255,0.10);

    color: #0878C9;
}


/* Badge colors */

body.light-mode .html-badge {
    color: #e85d04 !important;
}

body.light-mode .css-badge {
    color: #0878C9 !important;
}

body.light-mode .js-badge {
    color: #b77900 !important;
}

body.light-mode .python-badge {
    color: #2673c7 !important;
}


/* Badge hover */

body.light-mode .tech-badge:hover {
    background:
        rgba(255,255,255,0.98);

    border-color:
        #159CFF;

    box-shadow:
        0 0 25px
        rgba(21,156,255,0.20),

        0 10px 25px
        rgba(7,20,33,0.12);
}


/* =========================================================
   LIGHT MODE — LINK CARDS
   ========================================================= */

body.light-mode .leaf {
    background:
        rgba(255,255,255,0.78);

    border:
        1px solid
        rgba(21,120,190,0.16);

    color: #071421;

    box-shadow:
        0 8px 25px
        rgba(7,20,33,0.06);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Card hover */

body.light-mode .leaf:hover {
    background:
        rgba(255,255,255,0.96);

    border-color:
        rgba(21,156,255,0.65);

    box-shadow:
        0 0 25px
        rgba(21,156,255,0.15),

        0 12px 30px
        rgba(7,20,33,0.10);
}


/* Card title */

body.light-mode .leaf .label {
    color: #071421 !important;
}


/* Card subtitle */

body.light-mode .leaf .sub {
    color: #607789 !important;
}


/* =========================================================
   LIGHT MODE — SOCIAL ICON HOVER
   ========================================================= */

body.light-mode .leaf:hover .social-icon {
    box-shadow:
        0 6px 18px
        rgba(7,20,33,0.18);
}


/* =========================================================
   LIGHT MODE — THEME BUTTON
   ========================================================= */

body.light-mode .theme-toggle {
    background:
        rgba(255,255,255,0.90);

    color: #071421;

    border:
        1px solid
        rgba(21,120,190,0.20);

    box-shadow:
        0 5px 18px
        rgba(7,20,33,0.08);
}


body.light-mode .theme-toggle:hover {
    background: #ffffff;

    color: #0878C9;

    box-shadow:
        0 0 20px
        rgba(21,156,255,0.20);
}


/* =========================================================
   LIGHT MODE — FOOTER
   ========================================================= */

body.light-mode footer {
    color: #607789;
}


/* =========================================================
   LIGHT MODE — SCROLLBAR
   ========================================================= */

body.light-mode::-webkit-scrollbar-track {
    background: #eaf4fc;
}


body.light-mode::-webkit-scrollbar-thumb {
    background: #159CFF;
}


body.light-mode::-webkit-scrollbar-thumb:hover {
    background: #0878C9;
}


/* =========================================================
   LIGHT MODE — SMOOTH TRANSITION
   ========================================================= */

body.light-mode,
body.light-mode .navigation,
body.light-mode .navigation-link,
body.light-mode .leaf,
body.light-mode .tech-badge,
body.light-mode .theme-toggle,
body.light-mode .hero-button,
body.light-mode .hero-content h1,
body.light-mode .hero-content p,
body.light-mode .rotating-text,
body.light-mode .navigation h5,
body.light-mode footer {
    transition:
        background 0.45s ease,
        color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* =========================================================
   LIGHT MODE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    body.light-mode {
        background:
            radial-gradient(
                circle at 50% 15%,
                rgba(21,156,255,0.10),
                transparent 40%
            ),
            linear-gradient(
                180deg,
                #f8fbff,
                #eaf5fc
            );
    }

    body.light-mode .leaf {
        background:
            rgba(255,255,255,0.82);
    }

    body.light-mode .navigation {
        background:
            rgba(255,255,255,0.92) !important;
    }
}

/* =========================================================
   CENTER LINK CARDS
   ========================================================= */

.links {
    margin-left: auto;
    margin-right: auto;
}

.leaf {
    justify-content: flex-start;
}

/* Desktop — links area center */
@media (min-width: 761px) {
    .links {
        width: 90%;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .links {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
/* =========================================================
   MOVE LOGO SLIGHTLY LEFT
   ========================================================= */

@media (min-width: 761px) {
    .hero-image {
        left: -110px !important;
    }
}



nav {
    margin-right: 1000px;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services {
    position: relative;
    padding: 110px 6%;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
        #0b0d0d;
    background-size: 80px 80px;
    overflow: hidden;
}

/* Green glow */
.services::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(0, 255, 170, 0.08);
    filter: blur(120px);
    border-radius: 50%;
    right: -180px;
    top: 250px;
    pointer-events: none;
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.services-header h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -2px;
    color: #f4f4f4;
}

.section-line {
    display: block;
    width: 120px;
    height: 5px;
    margin: 22px auto 55px;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #20d878,
        #18b7e8
    );
}

.services-header p {
    color: #b7b7b7;
    font-size: 22px;
    line-height: 1.7;
    margin: 0;
}

/* Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1650px;
    margin: auto;
}

.service-card {
    position: relative;
    min-height: 650px;
    padding: 52px 45px 42px;

    background: rgba(24, 25, 25, 0.72);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 30px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(0, 255, 150, 0.08);
    border-radius: 50%;
    filter: blur(70px);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(29, 220, 123, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* Icon */
.service-icon {
    position: relative;
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 38px;

    border-radius: 22px;

    background: linear-gradient(
        135deg,
        #20dc7d,
        #08c6a7
    );

    color: #050807;
    font-size: 38px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(0, 230, 130, 0.20);
}

.laptop-icon {
    font-size: 36px;
}

.share-icon {
    font-size: 0;
}

.share-icon::before {
    content: "●";
    font-size: 27px;
    transform: translate(-8px, -8px);
}

.share-icon::after {
    content: "●  ●";
    position: absolute;
    font-size: 20px;
    letter-spacing: 5px;
    transform: translate(9px, 8px);
}

/* Title */
.service-card h3 {
    position: relative;
    margin: 0 0 20px;

    color: #f5f5f5;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
}

/* Description */
.service-description {
    position: relative;
    color: #999;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 38px;
}

/* Heading */
.service-card h4 {
    color: #22d978;
    font-size: 16px;
    letter-spacing: 3px;
    margin: 0 0 20px;
}

/* List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: center;

    min-height: 56px;
    margin-bottom: 14px;
    padding: 12px 18px;

    border-radius: 12px;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.055);

    color: #aaa;
    font-size: 16px;
    line-height: 1.4;

    transition: 0.3s ease;
}

.service-list li:hover {
    background: rgba(31, 215, 120, 0.08);
    border-color: rgba(31, 215, 120, 0.18);
    color: #ddd;
}

/* Quote button */
.quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 72px;

    margin-top: 40px;

    border-radius: 15px;

    background: linear-gradient(
        90deg,
        #27d77b,
        #25b66b
    );

    color: #050807;
    text-decoration: none;

    font-size: 21px;
    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(25, 210, 115, 0.15);

    transition: all 0.3s ease;
}

.quote-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px rgba(25, 210, 115, 0.28);
    background: linear-gradient(
        90deg,
        #31e486,
        #29c875
    );
}


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

@media (max-width: 1200px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 750px) {

    .services {
        padding: 80px 20px;
    }

    .services-header {
        margin-bottom: 55px;
    }

    .services-header p {
        font-size: 17px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card:last-child {
        grid-column: auto;
    }

    .service-card {
        min-height: auto;
        padding: 35px 28px;
    }

    .service-card h3 {
        font-size: 25px;
    }

    .service-description {
        font-size: 16px;
    }

    .service-list li {
        font-size: 14px;
    }
}

/* =========================================
   SERVICES PAGE - LIGHT MODE
========================================= */

/* Main Services Section */
body.light-mode .services,
body.light .services,
body.light-theme .services,
body[data-theme="light"] .services {
    background: #f5f9ff !important;
    color: #172337 !important;
}

/* Services Header */
body.light-mode .services-header,
body.light .services-header,
body.light-theme .services-header,
body[data-theme="light"] .services-header {
    color: #172337 !important;
}

/* My Services */
body.light-mode .services-header h2,
body.light .services-header h2,
body.light-theme .services-header h2,
body[data-theme="light"] .services-header h2 {
    color: #172337 !important;
    opacity: 1 !important;
}

/* Header Description */
body.light-mode .services-header p,
body.light .services-header p,
body.light-theme .services-header p,
body[data-theme="light"] .services-header p {
    color: #526579 !important;
    opacity: 1 !important;
}

/* Cards */
body.light-mode .service-card,
body.light .service-card,
body.light-theme .service-card,
body[data-theme="light"] .service-card {
    background: #ffffff !important;
    color: #172337 !important;
    border-color: #dbe5ef !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Card Titles */
body.light-mode .service-card h3,
body.light .service-card h3,
body.light-theme .service-card h3,
body[data-theme="light"] .service-card h3 {
    color: #172337 !important;
    opacity: 1 !important;
}

/* Card Description */
body.light-mode .service-card .service-description,
body.light .service-card .service-description,
body.light-theme .service-card .service-description,
body[data-theme="light"] .service-card .service-description {
    color: #526579 !important;
    opacity: 1 !important;
}

/* WHAT I OFFER */
body.light-mode .service-card h4,
body.light .service-card h4,
body.light-theme .service-card h4,
body[data-theme="light"] .service-card h4 {
    color: #16c784 !important;
    opacity: 1 !important;
}

/* List */
body.light-mode .service-list,
body.light .service-list,
body.light-theme .service-list,
body[data-theme="light"] .service-list {
    color: #526579 !important;
}

body.light-mode .service-list li,
body.light .service-list li,
body.light-theme .service-list li,
body[data-theme="light"] .service-list li {
    color: #526579 !important;
    opacity: 1 !important;
}

/* Service Icon */
body.light-mode .service-icon,
body.light .service-icon,
body.light-theme .service-icon,
body[data-theme="light"] .service-icon {
    color: #000 !important;
}

/* Get Quote */
body.light-mode .quote-btn,
body.light .quote-btn,
body.light-theme .quote-btn,
body[data-theme="light"] .quote-btn {
    background: linear-gradient(135deg, #20d98b, #22b573) !important;
    color: #000 !important;
}

/* Quote text */
body.light-mode .quote-btn span,
body.light .quote-btn span,
body.light-theme .quote-btn span,
body[data-theme="light"] .quote-btn span {
    color: #000 !important;
}

/* Section line */
body.light-mode .section-line,
body.light .section-line,
body.light-theme .section-line,
body[data-theme="light"] .section-line {
    opacity: 1 !important;
}

.links .leaf {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

