
/* =========================================================
   BHUMIK GUJJAR — LIGHT GLASS PORTFOLIO
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --text: #172033;

    --muted: #667085;

    --soft-text: #8a94a6;

    --white: #ffffff;

    --blue: #5b7cff;

    --blue-dark: #3f5fe8;

    --purple: #9a7cff;

    --cyan: #66c9ff;

    --border: rgba(83, 105, 150, 0.14);

    --glass: rgba(255, 255, 255, 0.58);

    --glass-strong: rgba(255, 255, 255, 0.78);

    --shadow:
        0 25px 80px
        rgba(73, 93, 140, 0.12);

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        "DM Sans",
        sans-serif;

    color: var(--text);

    background:
        #f7f9ff;

    overflow-x: hidden;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font: inherit;

    border: none;

    cursor: pointer;

}


/* =========================================================
   BACKGROUND
========================================================= */

.page-background {

    position: fixed;

    inset: 0;

    z-index: -5;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 12% 15%,
            rgba(136, 183, 255, 0.22),
            transparent 28%
        ),

        radial-gradient(
            circle at 85% 18%,
            rgba(187, 156, 255, 0.20),
            transparent 30%
        ),

        radial-gradient(
            circle at 52% 88%,
            rgba(113, 210, 255, 0.16),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #f9fbff 0%,
            #f4f7ff 45%,
            #faf8ff 100%
        );

}


.orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(10px);

    opacity: 0.48;

    animation:
        orbFloat
        12s
        ease-in-out
        infinite;

}


.orb-one {

    width: 340px;

    height: 340px;

    top: 8%;

    left: -130px;

    background:
        radial-gradient(
            circle,
            rgba(114, 173, 255, 0.45),
            transparent 70%
        );

}


.orb-two {

    width: 460px;

    height: 460px;

    top: 42%;

    right: -180px;

    background:
        radial-gradient(
            circle,
            rgba(181, 142, 255, 0.34),
            transparent 70%
        );

    animation-delay: -4s;

}


.orb-three {

    width: 380px;

    height: 380px;

    bottom: -160px;

    left: 35%;

    background:
        radial-gradient(
            circle,
            rgba(96, 212, 255, 0.25),
            transparent 70%
        );

    animation-delay: -8s;

}


.grid-overlay {

    position: absolute;

    inset: 0;

    opacity: 0.25;

    background-image:

        linear-gradient(
            rgba(90, 110, 150, 0.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(90, 110, 150, 0.035) 1px,
            transparent 1px
        );

    background-size:
        52px 52px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

}


@keyframes orbFloat {

    0%,
    100% {

        transform:
            translate3d(0, 0, 0)
            scale(1);

    }

    50% {

        transform:
            translate3d(35px, 55px, 0)
            scale(1.08);

    }

}


/* =========================================================
   NAVBAR
========================================================= */

.portfolio-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 100;

    padding: 20px 5%;

}


.portfolio-nav {

    width: min(1180px, 100%);

    margin: auto;

    min-height: 68px;

    padding: 10px 16px 10px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border:

        1px solid
        rgba(255, 255, 255, 0.78);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.62);

    backdrop-filter:
        blur(22px)
        saturate(150%);

    -webkit-backdrop-filter:
        blur(22px)
        saturate(150%);

    box-shadow:
        0 14px 45px
        rgba(61, 79, 123, 0.10);

}


.portfolio-logo {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 1.55rem;

    font-weight: 800;

    letter-spacing: -0.08em;

}


.portfolio-logo span:last-child,
.footer-logo span {

    color: var(--blue);

}


.logo-dot {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple)
        );

    box-shadow:
        0 0 0 5px
        rgba(91, 124, 255, 0.10);

}


.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 0.94rem;

    font-weight: 600;

    color: #536078;

}


.nav-links > a {

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.nav-links > a:hover {

    color: var(--blue);

    transform:
        translateY(-2px);

}


.nav-contact {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    color: white !important;

    border-radius: 14px;

    background:

        linear-gradient(
            135deg,
            #6280ff,
            #846dff
        );

    box-shadow:
        0 10px 25px
        rgba(91, 124, 255, 0.24);

}


.nav-contact i {

    font-size: 0.72rem;

}


.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.65);

}


.menu-toggle span {

    display: block;

    width: 20px;

    height: 2px;

    margin: 5px auto;

    border-radius: 5px;

    background: var(--text);

    transition: 0.3s ease;

}


.menu-toggle.active span:first-child {

    transform:
        translateY(3.5px)
        rotate(45deg);

}


.menu-toggle.active span:last-child {

    transform:
        translateY(-3.5px)
        rotate(-45deg);

}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    width: min(1180px, 90%);

    min-height: 100vh;

    margin: auto;

    padding:
        150px 0
        100px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;

    position: relative;

}


.hero-content {

    position: relative;

    z-index: 2;

}


.hero-pill {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 14px;

    margin-bottom: 25px;

    font-size: 0.82rem;

    font-weight: 700;

    color: #52627c;

    border:
        1px solid
        rgba(112, 138, 190, 0.15);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.55);

    backdrop-filter:
        blur(15px);

}


.status-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #48c98a;

    box-shadow:
        0 0 0 5px
        rgba(72, 201, 138, 0.12);

}


.hero-intro {

    margin-bottom: 9px;

    color: var(--muted);

    font-size: 1.05rem;

    font-weight: 600;

}


.hero-title {

    font-family:
        "Outfit",
        sans-serif;

    max-width: 760px;

    margin-bottom: 24px;

    font-size:
        clamp(
            4.5rem,
            9vw,
            8rem
        );

    line-height: 0.88;

    letter-spacing: -0.075em;

    font-weight: 800;

}


.hero-title span {

    display: block;

    margin-left: 70px;

    background:

        linear-gradient(
            100deg,
            #5b7cff,
            #789dff,
            #a277ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


.hero-description {

    max-width: 600px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size:
        clamp(
            1rem,
            1.5vw,
            1.18rem
        );

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 18px;

}


.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    min-height: 55px;

    padding: 0 23px;

    border-radius: 17px;

    font-size: 0.95rem;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.primary-button {

    color: white;

    background:

        linear-gradient(
            135deg,
            #5d7dff,
            #8a72ff
        );

    box-shadow:
        0 16px 35px
        rgba(91, 124, 255, 0.26);

}


.secondary-button {

    color: #536078;

    border:
        1px solid
        rgba(98, 119, 164, 0.14);

    background:
        rgba(255, 255, 255, 0.55);

    backdrop-filter:
        blur(18px);

}


.primary-button:hover,
.secondary-button:hover {

    transform:
        translateY(-4px);

}


.primary-button:hover {

    box-shadow:
        0 22px 42px
        rgba(91, 124, 255, 0.32);

}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.visual-glow {

    position: absolute;

    width: 380px;

    height: 380px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(122, 157, 255, 0.35),
            rgba(177, 132, 255, 0.12),
            transparent 68%
        );

    filter:
        blur(12px);

    animation:
        pulseGlow
        5s
        ease-in-out
        infinite;

}


@keyframes pulseGlow {

    50% {

        transform:
            scale(1.12);

        opacity: 0.7;

    }

}


.developer-card {

    width: min(100%, 480px);

    min-height: 340px;

    position: relative;

    z-index: 2;

    padding: 20px;

    border:

        1px solid
        rgba(255, 255, 255, 0.9);

    border-radius: 30px;

    background:

        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.86),
            rgba(241, 246, 255, 0.62)
        );

    backdrop-filter:
        blur(30px)
        saturate(140%);

    box-shadow:

        0 30px 80px
        rgba(65, 88, 145, 0.17),

        inset
        0 1px 0
        rgba(255, 255, 255, 0.8);

    transform:
        rotate(-4deg);

    animation:
        cardFloat
        7s
        ease-in-out
        infinite;

}


@keyframes cardFloat {

    0%,
    100% {

        transform:
            rotate(-4deg)
            translateY(0);

    }

    50% {

        transform:
            rotate(-2deg)
            translateY(-16px);

    }

}


.developer-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        rgba(100, 120, 165, 0.11);

}


.code-dots {

    display: flex;

    gap: 6px;

}


.code-dots span {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: #c4cfdf;

}


.code-dots span:nth-child(1) {

    background: #ff8b94;

}


.code-dots span:nth-child(2) {

    background: #ffd47d;

}


.code-dots span:nth-child(3) {

    background: #79d7a2;

}


.live-label {

    display: flex;

    align-items: center;

    gap: 6px;

    color: #65728b;

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.live-label span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #50c98d;

}


.code-window {

    padding:
        38px
        10px
        20px;

    font-family:
        monospace;

    font-size:
        clamp(
            0.76rem,
            1.4vw,
            1rem
        );

    line-height: 2;

    color: #59657b;

}


.code-indent {

    padding-left: 28px;

}


.code-purple {

    color: #a56ce7;

}


.code-blue {

    color: #5e83ff;

}


.code-green {

    color: #29a979;

}


.floating-tag {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px 15px;

    border:

        1px solid
        rgba(255, 255, 255, 0.88);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.78);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 15px 35px
        rgba(80, 99, 145, 0.12);

    font-size: 0.78rem;

    font-weight: 700;

    color: #56627a;

}


.floating-tag i {

    color: var(--blue);

}


.tag-one {

    left: -70px;

    bottom: 55px;

    animation:
        tagFloat
        5s
        ease-in-out
        infinite;

}


.tag-two {

    right: -55px;

    top: 72px;

    animation:
        tagFloat
        6s
        ease-in-out
        infinite
        -2s;

}


@keyframes tagFloat {

    50% {

        transform:
            translateY(-10px);

    }

}


.scroll-down {

    position: absolute;

    bottom: 40px;

    left: 0;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--soft-text);

    font-size: 0.78rem;

    font-weight: 700;

}


.scroll-down i {

    animation:
        arrowBounce
        2s
        ease-in-out
        infinite;

}


@keyframes arrowBounce {

    50% {

        transform:
            translateY(5px);

    }

}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.portfolio-section {

    width: min(1180px, 90%);

    margin: auto;

    padding:
        120px 0;

}


.section-heading {

    display: flex;

    align-items: flex-start;

    gap: 28px;

    margin-bottom: 55px;

}


.section-heading.centered {

    justify-content: center;

    text-align: center;

}


.section-number {

    color: var(--blue);

    font-family:
        "Outfit",
        sans-serif;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    padding-top: 8px;

}


.section-eyebrow {

    display: block;

    margin-bottom: 13px;

    color: #7482a0;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.16em;

}


.section-heading h2,
.contact-glass h2 {

    max-width: 760px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            2.7rem,
            5vw,
            5rem
        );

    line-height: 1;

    letter-spacing: -0.06em;

}


.section-heading h2 span,
.contact-glass h2 span {

    background:

        linear-gradient(
            100deg,
            #6687ff,
            #a37bff
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


.glass-panel {

    border:

        1px solid
        rgba(255, 255, 255, 0.88);

    background:
        var(--glass);

    backdrop-filter:
        blur(24px)
        saturate(145%);

    -webkit-backdrop-filter:
        blur(24px)
        saturate(145%);

    box-shadow:
        var(--shadow);

}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        1.45fr
        0.55fr;

    gap: 25px;

}


.about-main {

    padding:
        clamp(
            30px,
            5vw,
            60px
        );

    border-radius: 30px;

}


.about-large {

    max-width: 760px;

    margin-bottom: 25px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.45rem
        );

    line-height: 1.3;

    letter-spacing: -0.035em;

}


.about-text {

    max-width: 690px;

    color: var(--muted);

    line-height: 1.85;

}


.about-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 34px;

}


.about-tags span {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    border-radius: 12px;

    color: #56627a;

    font-size: 0.78rem;

    font-weight: 700;

    background:
        rgba(255, 255, 255, 0.55);

}


.about-tags i {

    color: var(--blue);

}


.about-stats {

    display: grid;

    gap: 18px;

}


.stat-card {

    min-height: 145px;

    padding: 25px;

    border-radius: 24px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.stat-card strong {

    display: block;

    margin-bottom: 7px;

    color: var(--blue);

    font-family:
        "Outfit",
        sans-serif;

    font-size: 2.2rem;

    letter-spacing: -0.05em;

}


.stat-card span {

    color: var(--muted);

    font-size: 0.82rem;

    line-height: 1.45;

}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.service-card {

    position: relative;

    min-height: 410px;

    padding: 35px;

    overflow: hidden;

    border-radius: 30px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


.service-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    top: -110px;

    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(115, 143, 255, 0.25),
            transparent 70%
        );

}


.service-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 35px 80px
        rgba(77, 94, 145, 0.17);

}


.service-icon {

    width: 60px;

    height: 60px;

    margin-bottom: 45px;

    display: grid;

    place-items: center;

    border-radius: 19px;

    color: var(--blue);

    font-size: 1.3rem;

    background:

        linear-gradient(
            135deg,
            rgba(102, 135, 255, 0.15),
            rgba(173, 124, 255, 0.12)
        );

}


.service-index {

    position: absolute;

    top: 38px;

    right: 35px;

    color: #a1abc0;

    font-size: 0.75rem;

    font-weight: 800;

}


.service-card h3 {

    margin-bottom: 15px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 1.6rem;

    letter-spacing: -0.04em;

}


.service-card p {

    max-width: 310px;

    color: var(--muted);

    line-height: 1.75;

}


.service-line {

    position: absolute;

    left: 35px;

    bottom: 33px;

    width: calc(100% - 110px);

    height: 1px;

    background:
        rgba(96, 115, 160, 0.14);

}


.service-arrow {

    position: absolute;

    right: 35px;

    bottom: 23px;

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background:

        linear-gradient(
            135deg,
            #6687ff,
            #a17aff
        );

    transition:
        transform 0.3s ease;

}


.service-card:hover .service-arrow {

    transform:
        rotate(45deg);

}


/* =========================================================
   PROJECT
========================================================= */

.featured-project {

    min-height: 590px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    overflow: hidden;

    border:

        1px solid
        rgba(255, 255, 255, 0.88);

    border-radius: 35px;

    background:

        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.72),
            rgba(240, 245, 255, 0.54)
        );

    backdrop-filter:
        blur(25px);

    box-shadow:
        var(--shadow);

}


.project-content {

    padding:
        clamp(
            35px,
            6vw,
            75px
        );

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.project-label {

    width: fit-content;

    padding: 8px 12px;

    margin-bottom: 25px;

    color: var(--blue);

    border-radius: 999px;

    background:
        rgba(91, 124, 255, 0.10);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.project-content h3 {

    margin-bottom: 20px;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            3.5rem,
            6vw,
            6rem
        );

    line-height: 0.88;

    letter-spacing: -0.07em;

}


.project-content h3 span {

    display: block;

    color: var(--blue);

}


.project-content p {

    max-width: 490px;

    color: var(--muted);

    line-height: 1.85;

}


.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin:
        30px 0;

}


.project-tech span {

    padding: 8px 11px;

    color: #65728a;

    border:

        1px solid
        rgba(103, 121, 163, 0.11);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;

    font-weight: 700;

}


.project-button {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 19px;

    color: white;

    border-radius: 16px;

    background:
        #25324c;

    font-size: 0.86rem;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.project-button:hover {

    transform:
        translateY(-4px);

    background:
        var(--blue);

}


.project-visual {

    position: relative;

    min-height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 45px;

    background:

        linear-gradient(
            145deg,
            rgba(110, 144, 255, 0.16),
            rgba(194, 171, 255, 0.14)
        );

}


.project-window {

    width: 100%;

    max-width: 520px;

    min-height: 340px;

    overflow: hidden;

    border:

        1px solid
        rgba(255, 255, 255, 0.72);

    border-radius: 23px;

    background:
        white;

    box-shadow:
        0 30px 70px
        rgba(66, 80, 128, 0.18);

    transform:
        rotate(3deg);

    transition:
        transform 0.5s ease;

}


.featured-project:hover .project-window {

    transform:
        rotate(0deg)
        scale(1.025);

}


.project-window-bar {

    height: 42px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #94a0b4;

    background:
        #f8f9fc;

    font-size: 0.68rem;

}


.window-dots {

    display: flex;

    gap: 5px;

}


.window-dots span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #ccd4e0;

}


.mockup-content {

    height: 300px;

    position: relative;

    overflow: hidden;

    background:

        linear-gradient(
            180deg,
            #dcecff 0%,
            #a8c9ec 58%,
            #718db1 100%
        );

}


.mockup-sky {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 70% 22%,
            rgba(255, 255, 255, 0.85),
            transparent 7%
        );

}


.mockup-mountain {

    position: absolute;

    bottom: -30px;

    width: 130%;

    height: 210px;

    border-radius:
        50%
        50%
        0
        0;

    transform:
        rotate(-10deg);

}


.mountain-back {

    left: -30%;

    background:
        #5d7ca2;

    opacity: 0.65;

}


.mountain-front {

    right: -35%;

    bottom: -65px;

    background:

        linear-gradient(
            140deg,
            #304967,
            #1e314b
        );

}


.mockup-text {

    position: absolute;

    top: 55px;

    left: 50%;

    width: 100%;

    transform:
        translateX(-50%);

    text-align: center;

    color: white;

    z-index: 2;

}


.mockup-text span {

    display: block;

    margin-bottom: 5px;

    font-size: 0.62rem;

    letter-spacing: 0.3em;

}


.mockup-text strong {

    display: block;

    font-family:
        "Outfit",
        sans-serif;

    font-size:
        clamp(
            1.7rem,
            4vw,
            3.1rem
        );

    letter-spacing: -0.05em;

}


.mockup-text small {

    display: block;

    margin-top: 10px;

    font-size: 0.6rem;

    opacity: 0.78;

}


.project-float {

    position: absolute;

    right: 20px;

    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 14px;

    color: #53627a;

    border:

        1px solid
        rgba(255, 255, 255, 0.85);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.76);

    backdrop-filter:
        blur(14px);

    box-shadow:
        0 12px 30px
        rgba(77, 92, 133, 0.12);

    font-size: 0.72rem;

    font-weight: 700;

}


.project-float i {

    color: var(--blue);

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    width: min(1180px, 90%);

    margin:
        0 auto
        100px;

}


.contact-glass {

    position: relative;

    padding:
        clamp(
            50px,
            8vw,
            100px
        );

    overflow: hidden;

    text-align: center;

    border:

        1px solid
        rgba(255, 255, 255, 0.88);

    border-radius: 40px;

    background:

        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.78),
            rgba(239, 244, 255, 0.54)
        );

    backdrop-filter:
        blur(28px);

    box-shadow:
        var(--shadow);

}


.contact-glass::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    top: -300px;

    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(117, 144, 255, 0.18),
            transparent 70%
        );

}


.contact-glass > * {

    position: relative;

    z-index: 2;

}


.contact-glass h2 {

    max-width: 850px;

    margin:
        0 auto
        20px;

}


.contact-glass h2 span {

    display: block;

}


.contact-glass p {

    max-width: 610px;

    margin:
        0 auto
        32px;

    color: var(--muted);

    line-height: 1.8;

}


.contact-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.contact-main-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    min-height: 57px;

    padding: 0 22px;

    color: white;

    border-radius: 17px;

    background:

        linear-gradient(
            135deg,
            #5c7dff,
            #9876ff
        );

    box-shadow:
        0 16px 35px
        rgba(91, 124, 255, 0.24);

    font-weight: 700;

    transition:
        transform 0.3s ease;

}


.contact-main-button:hover {

    transform:
        translateY(-4px);

}


.social-button {

    width: 57px;

    height: 57px;

    display: grid;

    place-items: center;

    border:

        1px solid
        rgba(105, 124, 166, 0.12);

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.66);

    color: #5b6780;

    transition:
        transform 0.3s ease,
        color 0.3s ease;

}


.social-button:hover {

    transform:
        translateY(-4px);

    color: var(--blue);

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    width: min(1180px, 90%);

    margin: auto;

    padding:
        30px 0
        50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:

        1px solid
        rgba(96, 115, 160, 0.10);

}


.footer-logo {

    font-family:
        "Outfit",
        sans-serif;

    font-size: 1.4rem;

    font-weight: 800;

}


footer p {

    color: var(--soft-text);

    font-size: 0.78rem;

}


.back-top {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #66738a;

    font-size: 0.78rem;

    font-weight: 700;

}


/* =========================================================
   POPUP
========================================================= */

.contact-popup {

    position: fixed;

    inset: 0;

    z-index: 500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    background:
        rgba(36, 47, 75, 0.18);

    backdrop-filter:
        blur(8px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


.contact-popup.show {

    opacity: 1;

    visibility: visible;

}


.popup-card {

    width: min(100%, 440px);

    position: relative;

    padding: 45px;

    border:

        1px solid
        rgba(255, 255, 255, 0.92);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.85);

    box-shadow:
        0 35px 100px
        rgba(53, 70, 112, 0.20);

    backdrop-filter:
        blur(30px);

    transform:
        translateY(20px)
        scale(0.97);

    transition:
        transform 0.35s ease;

}


.contact-popup.show .popup-card {

    transform:
        translateY(0)
        scale(1);

}


.popup-close {

    position: absolute;

    top: 18px;

    right: 18px;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background:
        #f1f4fa;

    color: #647087;

}


.popup-icon {

    width: 58px;

    height: 58px;

    margin-bottom: 22px;

    display: grid;

    place-items: center;

    border-radius: 18px;

    color: white;

    background:

        linear-gradient(
            135deg,
            #6686ff,
            #9d78ff
        );

}


.popup-card h2 {

    margin-bottom: 10px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 2rem;

    letter-spacing: -0.04em;

}


.popup-card p {

    margin-bottom: 25px;

    color: var(--muted);

    line-height: 1.7;

}


.popup-card input {

    width: 100%;

    height: 56px;

    padding: 0 16px;

    margin-bottom: 12px;

    outline: none;

    border:

        1px solid
        rgba(96, 115, 160, 0.14);

    border-radius: 15px;

    background:
        rgba(248, 250, 255, 0.82);

    color: var(--text);

    font: inherit;

}


.popup-card input:focus {

    border-color:
        rgba(91, 124, 255, 0.65);

    box-shadow:
        0 0 0 4px
        rgba(91, 124, 255, 0.10);

}


.popup-continue {

    width: 100%;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 15px;

    color: white;

    background:

        linear-gradient(
            135deg,
            #5e7fff,
            #9877ff
        );

    font-weight: 700;

}


/* =========================================================
   SCROLL ANIMATIONS
========================================================= */

.reveal {

    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2,.7,.2,1);

}


.fade-up {

    transform:
        translateY(38px);

}


.slide-left {

    transform:
        translateX(-60px);

}


.slide-right {

    transform:
        translateX(60px);

}


.scale-in {

    transform:
        scale(0.92);

}


.reveal.visible {

    opacity: 1;

    transform:
        translate3d(0, 0, 0)
        scale(1);

}


.hero-content .reveal:nth-child(1) {

    transition-delay: 0.05s;

}


.hero-content .reveal:nth-child(2) {

    transition-delay: 0.12s;

}


.hero-content .reveal:nth-child(3) {

    transition-delay: 0.19s;

}


.hero-content .reveal:nth-child(4) {

    transition-delay: 0.26s;

}


.hero-content .reveal:nth-child(5) {

    transition-delay: 0.33s;

}


.services-grid
.service-card:nth-child(2) {

    transition-delay: 0.12s;

}


.services-grid
.service-card:nth-child(3) {

    transition-delay: 0.24s;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {


    .hero-section {

        grid-template-columns:
            1fr;

        padding-top: 160px;

        text-align: center;

    }


    .hero-content {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .hero-title span {

        margin-left: 0;

    }


    .hero-visual {

        min-height: 430px;

    }


    .scroll-down {

        left: 50%;

        transform:
            translateX(-50%);

    }


    .about-grid {

        grid-template-columns:
            1fr;

    }


    .about-stats {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .services-grid {

        grid-template-columns:
            1fr;

    }


    .service-card {

        min-height: 330px;

    }


    .featured-project {

        grid-template-columns:
            1fr;

    }


    .project-visual {

        min-height: 460px;

    }

}


@media (max-width: 680px) {


    .portfolio-header {

        padding:
            13px 4%;

    }


    .portfolio-nav {

        min-height: 60px;

        padding:
            8px 10px 8px 18px;

        border-radius: 20px;

    }


    .nav-links {

        position: absolute;

        top: calc(100% + 10px);

        left: 0;

        width: 100%;

        padding: 12px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        border:

            1px solid
            rgba(255, 255, 255, 0.85);

        border-radius: 22px;

        background:
            rgba(255, 255, 255, 0.88);

        backdrop-filter:
            blur(25px);

        box-shadow:
            0 20px 50px
            rgba(57, 73, 113, 0.12);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;

    }


    .nav-links.show {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

    }


    .nav-links > a {

        padding: 13px 15px;

        border-radius: 13px;

    }


    .nav-contact {

        justify-content: center;

        margin-top: 4px;

    }


    .menu-toggle {

        display: block;

    }


    .hero-section {

        width: min(92%, 1180px);

        padding:
            135px 0
            90px;

        gap: 35px;

    }


    .hero-title {

        font-size:
            clamp(
                4.1rem,
                20vw,
                6rem
            );

    }


    .hero-description {

        font-size: 0.98rem;

    }


    .hero-actions {

        width: 100%;

        justify-content: center;

    }


    .primary-button,
    .secondary-button {

        flex: 1;

        min-width: 145px;

        padding: 0 16px;

    }


    .hero-visual {

        min-height: 370px;

    }


    .developer-card {

        min-height: 290px;

        padding: 15px;

        border-radius: 23px;

    }


    .code-window {

        padding-top: 27px;

        font-size: 0.72rem;

    }


    .tag-one {

        left: -8px;

        bottom: -22px;

    }


    .tag-two {

        right: -5px;

        top: -22px;

    }


    .floating-tag {

        font-size: 0.65rem;

        padding: 9px 11px;

    }


    .scroll-down {

        display: none;

    }


    .portfolio-section {

        width: min(90%, 1180px);

        padding:
            85px 0;

    }


    .section-heading {

        gap: 15px;

        margin-bottom: 35px;

    }


    .section-number {

        font-size: 0.68rem;

    }


    .section-heading h2,
    .contact-glass h2 {

        font-size:
            clamp(
                2.45rem,
                11vw,
                4rem
            );

    }


    .about-main {

        padding: 27px;

        border-radius: 24px;

    }


    .about-large {

        font-size: 1.55rem;

    }


    .about-tags {

        flex-direction: column;

    }


    .about-tags span {

        width: 100%;

    }


    .about-stats {

        grid-template-columns:
            1fr;

    }


    .stat-card {

        min-height: 120px;

    }


    .service-card {

        padding: 28px;

        border-radius: 25px;

    }


    .project-content {

        padding: 32px 27px;

    }


    .project-visual {

        min-height: 390px;

        padding: 30px 20px;

    }


    .project-window {

        min-height: 270px;

    }


    .mockup-content {

        height: 240px;

    }


    .project-float {

        right: 10px;

        bottom: 12px;

    }


    .contact-section {

        width: 90%;

        margin-bottom: 60px;

    }


    .contact-glass {

        padding: 55px 23px;

        border-radius: 28px;

    }


    footer {

        flex-direction: column;

        text-align: center;

    }


    .popup-card {

        padding: 38px 25px;

        border-radius: 25px;

    }

}


@media (max-width: 400px) {


    .hero-title {

        font-size: 3.85rem;

    }


    .hero-actions {

        flex-direction: column;

    }


    .primary-button,
    .secondary-button {

        width: 100%;

        flex: none;

    }


    .tag-one {

        left: 0;

    }


    .tag-two {

        right: 0;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {


    * {

        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}

/* =========================================
   MOBILE OVERFLOW FIX
========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    section,
    .container {
        max-width: 100%;
    }

}