@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: #050816;
    --bg-light: #0a1024;
    --card: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --white: #ffffff;
    --muted: #9ca8c7;
    --cyan: #20e3ff;
    --blue: #4f7cff;
    --purple: #8a5cff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 10% 15%, rgba(32, 227, 255, 0.12), transparent 25%),
        radial-gradient(circle at 85% 20%, rgba(138, 92, 255, 0.15), transparent 30%),
        var(--bg);

    color: var(--white);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);

    background-size: 45px 45px;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 7%;
    background: rgba(5, 8, 22, 0.72);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--cyan);
}

.navbar {
    display: flex;
    gap: 30px;
}

.navbar a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--cyan);
}

.nav-btn,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-btn,
.primary-btn {
    color: #031018;
    background: linear-gradient(135deg, var(--cyan), #77f6ff);
    box-shadow: 0 0 28px rgba(32, 227, 255, 0.25);
}

.nav-btn:hover,
.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 38px rgba(32, 227, 255, 0.42);
}

.secondary-btn {
    border: 1px solid var(--border);
    background: var(--card);
}

.secondary-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}

.hero {
    min-height: 100vh;
    padding: 140px 7% 70px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 24px;

    color: var(--cyan);
    background: rgba(32, 227, 255, 0.08);
    border: 1px solid rgba(32, 227, 255, 0.25);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.hero h1 {
    max-width: 850px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(50px, 8vw, 95px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.hero h1 span {
    display: block;
    color: transparent;

    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero h2 {
    margin-top: 22px;
    font-size: clamp(24px, 3vw, 38px);
    color: #dbe5ff;
}

.hero-description {
    max-width: 660px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 42px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 28px;
    color: var(--cyan);
}

.hero-stats span {
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 500px;
}

.profile-card {
    position: relative;
    z-index: 3;

    width: 280px;
    padding: 45px 30px;

    text-align: center;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.04)
    );

    border: 1px solid var(--border);
    border-radius: 30px;
    backdrop-filter: blur(20px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(79, 124, 255, 0.15);

    animation: float 4s ease-in-out infinite;
}

.code-icon {
    width: 95px;
    height: 95px;
    margin: auto auto 24px;

    display: grid;
    place-items: center;

    color: var(--cyan);
    background: rgba(32, 227, 255, 0.08);
    border: 1px solid rgba(32, 227, 255, 0.3);
    border-radius: 24px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    font-weight: 700;

    box-shadow: 0 0 40px rgba(32, 227, 255, 0.16);
}

.profile-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
}

.profile-card p {
    margin-top: 6px;
    color: #72ffb6;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(32, 227, 255, 0.25);
    border-radius: 50%;
}

.orbit-one {
    width: 360px;
    height: 360px;
    animation: spin 15s linear infinite;
}

.orbit-two {
    width: 470px;
    height: 470px;
    border-color: rgba(138, 92, 255, 0.25);
    animation: spinReverse 22s linear infinite;
}

.section {
    padding: 100px 7%;
}

.section-heading {
    margin-bottom: 45px;
    text-align: center;
}

.section-heading p {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-top: 8px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(36px, 5vw, 58px);
}

.about-grid,
.skills-grid,
.projects-grid {
    display: grid;
    gap: 24px;
}

.about-grid {
    grid-template-columns: repeat(2, 1fr);
}

.skills-grid {
    grid-template-columns: repeat(3, 1fr);
}

.projects-grid {
    grid-template-columns: repeat(3, 1fr);
}

.about-card,
.skill-card,
.project-card,
.contact-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(14px);
}

.about-card,
.skill-card,
.project-card {
    padding: 30px;
    transition: 0.35s;
}

.about-card:hover,
.skill-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 227, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-card h3,
.skill-card h3,
.project-card h3 {
    margin-bottom: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 23px;
}

.about-card p,
.skill-card p,
.project-card p {
    color: var(--muted);
}

.project-number {
    margin-bottom: 24px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 800;
}

.project-card span {
    display: inline-block;
    margin-top: 24px;
    color: #b9c6e8;
    font-size: 13px;
    font-weight: 600;
}

.contact-box{
    position:relative;
    overflow:hidden;

    max-width:950px;
    margin:auto;
    padding:90px 40px;

    text-align:center;

    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;

    background:
    linear-gradient(
        rgba(5,8,22,.82),
        rgba(5,8,22,.82)
    ),
    url("images/contact-banner.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    backdrop-filter:blur(12px);

    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        0 0 45px rgba(32,227,255,.12);

    transition:.4s;
}

.contact-box:hover{

    transform:translateY(-8px);

    box-shadow:
        0 35px 90px rgba(0,0,0,.55),
        0 0 60px rgba(32,227,255,.25);
}

.contact-box>*{
    position:relative;
    z-index:2;
}

.contact-box::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(32,227,255,.22),
    transparent 45%),

    radial-gradient(circle at bottom left,
    rgba(138,92,255,.20),
    transparent 40%);

    z-index:1;
}
.contact-box > p:first-child {
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-box h2 {
    margin: 12px 0;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
}

.contact-box > p:nth-of-type(2) {
    max-width: 600px;
    margin: 0 auto 28px;
    color: var(--muted);
}

footer {
    padding: 28px 7%;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--border);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media (max-width: 950px) {
    .navbar {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .about-grid,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .header {
        padding: 18px 5%;
    }

    .nav-btn {
        display: none;
    }

    .hero,
    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 22px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .orbit-one {
        width: 290px;
        height: 290px;
    }

    .orbit-two {
        width: 360px;
        height: 360px;
    }

    .about-grid,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
.project-card {
    overflow: hidden;
    padding: 0;
}

.project-image {
    height: 210px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--border);
}

.project-image span {
    padding: 8px 14px;
    color: var(--white);
    background: rgba(5, 8, 22, 0.75);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.project-one {
    background:
        linear-gradient(rgba(4, 8, 24, 0.2), rgba(4, 8, 24, 0.85)),
        linear-gradient(135deg, #21d4fd, #4f7cff, #8a5cff);
}

.project-two {
    background:
        linear-gradient(rgba(4, 8, 24, 0.2), rgba(4, 8, 24, 0.85)),
        linear-gradient(135deg, #0f172a, #0284c7, #22d3ee);
}

.project-three {
    background:
        linear-gradient(rgba(4, 8, 24, 0.2), rgba(4, 8, 24, 0.85)),
        linear-gradient(135deg, #111827, #7c3aed, #ec4899);
}

.project-content {
    padding: 28px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.project-tags span {
    margin: 0;
    padding: 7px 11px;
    color: var(--cyan);
    background: rgba(32, 227, 255, 0.07);
    border: 1px solid rgba(32, 227, 255, 0.2);
    border-radius: 999px;
    font-size: 12px;
}

.project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.project-btn {
    padding: 10px 15px;
    color: #031018;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(32, 227, 255, 0.3);
}

.outline-btn {
    color: var(--white);
    background: transparent;
    border-color: var(--border);
}

.outline-btn:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}
/* ===== Extra Animations ===== */

.hero-content {
    animation: slideInLeft 1s ease forwards;
}

.hero-visual {
    animation: slideInRight 1s ease forwards;
}

.hero-tag {
    animation: fadeDown 0.8s ease forwards;
}

.hero-buttons a {
    position: relative;
    overflow: hidden;
}

.hero-buttons a::before,
.nav-btn::before,
.project-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.6s;
}

.hero-buttons a:hover::before,
.nav-btn:hover::before,
.project-btn:hover::before {
    left: 130%;
}

.profile-card {
    animation:
        float 4s ease-in-out infinite,
        glowPulse 3s ease-in-out infinite;
}

.code-icon {
    animation: iconPulse 2.5s ease-in-out infinite;
}

.orbit-one {
    box-shadow: 0 0 35px rgba(32, 227, 255, 0.12);
}

.orbit-two {
    box-shadow: 0 0 45px rgba(138, 92, 255, 0.12);
}

.skill-card,
.about-card,
.project-card,
.contact-box {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card.show,
.about-card.show,
.project-card.show,
.contact-box.show {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover h3,
.about-card:hover h3,
.project-card:hover h3 {
    color: var(--cyan);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 25%,
        rgba(255, 255, 255, 0.15),
        transparent 75%
    );
    transform: translateX(-120%);
    transition: 0.8s;
}

.project-card:hover .project-image::after {
    transform: translateX(120%);
}

.logo {
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 18px rgba(32, 227, 255, 0.45);
}

.navbar a {
    position: relative;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.hero-stats div {
    transition: 0.3s ease;
}

.hero-stats div:hover {
    transform: translateY(-6px) scale(1.05);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.35),
            0 0 25px rgba(32, 227, 255, 0.12);
    }

    50% {
        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.35),
            0 0 60px rgba(32, 227, 255, 0.3);
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}
.typing-text {
    color: var(--cyan);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 22px;
    padding: 8px 12px;

    color: #b9ffd9;
    background: rgba(114, 255, 182, 0.08);
    border: 1px solid rgba(114, 255, 182, 0.2);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: #72ffb6;
    border-radius: 50%;

    box-shadow: 0 0 14px #72ffb6;
    animation: statusPulse 1.8s infinite;
}

.online-text {
    color: #72ffb6 !important;
    font-weight: 600;
}

.mini-skills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.mini-skills span {
    padding: 7px 10px;

    color: var(--cyan);
    background: rgba(32, 227, 255, 0.07);
    border: 1px solid rgba(32, 227, 255, 0.2);
    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;
}

@keyframes statusPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.35);
    }
}
.profile-image{
    position:absolute;
    top:-30px;
    left:50%;
    transform:translateX(-50%);
    z-index:20;
}

.profile-image img {
    width: 155px;
    height: 155px;

    object-fit: cover;
    object-position: center 3%;

    border-radius: 50%;
    border: 4px solid var(--cyan);

    box-shadow:
        0 0 25px rgba(32, 227, 255, 0.5),
        0 0 70px rgba(32, 227, 255, 0.25);

    animation: float 4s ease-in-out infinite;

}
.mouse-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;

    background: radial-gradient(
        circle,
        rgba(32, 227, 255, 0.16),
        rgba(79, 124, 255, 0.08),
        transparent 70%
    );

    transform: translate(-50%, -50%);
    filter: blur(12px);
    transition: width 0.25s ease, height 0.25s ease;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}
/* ===== Premium Projects Section ===== */

.premium-project-card {
    position: relative;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;

    backdrop-filter: blur(18px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.premium-project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(32, 227, 255, 0.55);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(32, 227, 255, 0.12);
}

.project-preview {
    position: relative;

    height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.project-preview::before {
    content: "";

    position: absolute;
    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    filter: blur(45px);
}

.project-preview::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent 25%,
        rgba(255, 255, 255, 0.18),
        transparent 75%
    );

    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.premium-project-card:hover .project-preview::after {
    transform: translateX(120%);
}

.portfolio-preview {
    background: linear-gradient(135deg, #031525, #164c72, #642eff);
}

.agency-preview {
    background: linear-gradient(135deg, #05152a, #006e9c, #20e3ff);
}

.shopify-preview {
    background: linear-gradient(135deg, #061a12, #087f5b, #63e6be);
}



.preview-icon{
    width:100px;
    height:100px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:22px;
    backdrop-filter:blur(10px);
}

.preview-icon img{
    width:70px;
    height:70px;
    object-fit:contain;
    transition:.4s;
}

.premium-project-card:hover .preview-icon img{
    transform:scale(1.12) rotate(-5deg);
}
.project-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;

    padding: 7px 12px;

    color: white;
    background: rgba(5, 8, 22, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    backdrop-filter: blur(10px);
}

.premium-project-content {
    padding: 28px;
}

.project-number {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--cyan);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.premium-project-content h3 {
    margin-bottom: 12px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
}

.premium-project-content p {
    color: var(--muted);
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}

.project-tech span {
    padding: 7px 11px;

    color: var(--cyan);
    background: rgba(32, 227, 255, 0.07);
    border: 1px solid rgba(32, 227, 255, 0.2);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 26px;
}

.project-live-btn,
.project-source-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 11px 16px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.project-live-btn {
    color: #031018;
    background: var(--cyan);
    border: 1px solid var(--cyan);
}

.project-source-btn {
    color: white;
    background: transparent;
    border: 1px solid var(--border);
}

.project-live-btn:hover,
.project-source-btn:hover {
    transform: translateY(-3px);
}

.project-live-btn:hover {
    box-shadow: 0 0 28px rgba(32, 227, 255, 0.35);
}

.project-source-btn:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

@media (max-width: 950px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-preview {
        height: 190px;
    }
}
/* ===== Skill Progress Bars ===== */

.skill-progress-section {
    max-width: 900px;
    margin: 70px auto 0;
}

.skill-progress {
    margin-bottom: 28px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, #00d4ff, #6c63ff);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.45);
    animation: fillBar 2s ease forwards;
}

.html {
    --progress: 95%;
}

.css {
    --progress: 90%;
}

.js {
    --progress: 75%;
}

.shopify {
    --progress: 95%;
}

.graphic {
    --progress: 90%;
}

.ecommerce {
    --progress: 92%;
}

.sales {
    --progress: 96%;
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: var(--progress);
    }
}

/* ===== Project PNG Icons ===== */

.preview-icon {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(5, 8, 22, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    backdrop-filter: blur(14px);
    transition: 0.4s ease;
}

.preview-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(32, 227, 255, 0.35));
    transition: 0.4s ease;
}

.premium-project-card:hover .preview-icon {
    transform: translateY(-6px);
}

.premium-project-card:hover .preview-icon img {
    transform: scale(1.12) rotate(-5deg);
    filter: drop-shadow(0 0 30px rgba(32, 227, 255, 0.7));
}
/* ===== Animated Galaxy Background ===== */

body {
    position: relative;
    overflow-x: hidden;
}

.galaxy-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 20%, rgba(32, 227, 255, 0.08), transparent 28%),
        radial-gradient(circle at 80% 25%, rgba(138, 92, 255, 0.1), transparent 32%),
        radial-gradient(circle at 50% 85%, rgba(79, 124, 255, 0.08), transparent 30%),
        #050816;
}

.galaxy-background::before {
    content: "";
    position: absolute;
    inset: -30%;

    background:
        conic-gradient(
            from 180deg at 50% 50%,
            rgba(32, 227, 255, 0.04),
            rgba(138, 92, 255, 0.08),
            rgba(79, 124, 255, 0.05),
            rgba(32, 227, 255, 0.04)
        );

    filter: blur(90px);
    animation: galaxyRotate 24s linear infinite;
}

.galaxy-background::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(32, 227, 255, 0.75) 1px, transparent 1.5px);

    background-size: 90px 90px, 140px 140px;
    background-position: 0 0, 35px 45px;

    opacity: 0.28;
    animation: starDrift 35s linear infinite;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;

    background: white;
    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 18px rgba(32, 227, 255, 0.65);

    animation:
        twinkle 2.8s ease-in-out infinite,
        floatStar 12s ease-in-out infinite;
}

.star-1 { top: 12%; left: 8%; animation-delay: 0s; }
.star-2 { top: 22%; left: 27%; animation-delay: 0.7s; }
.star-3 { top: 15%; left: 70%; animation-delay: 1.1s; }
.star-4 { top: 38%; left: 86%; animation-delay: 1.6s; }
.star-5 { top: 58%; left: 12%; animation-delay: 2s; }
.star-6 { top: 72%; left: 35%; animation-delay: 0.4s; }
.star-7 { top: 82%; left: 72%; animation-delay: 1.3s; }
.star-8 { top: 64%; left: 91%; animation-delay: 2.2s; }
.star-9 { top: 46%; left: 52%; animation-delay: 0.9s; }
.star-10 { top: 90%; left: 18%; animation-delay: 1.8s; }

.galaxy-glow {
    position: absolute;
    width: 420px;
    height: 420px;

    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;

    animation: glowFloat 14s ease-in-out infinite;
}

.glow-one {
    top: -100px;
    left: -80px;
    background: #20e3ff;
}

.glow-two {
    top: 30%;
    right: -120px;
    background: #8a5cff;
    animation-delay: 2s;
}

.glow-three {
    bottom: -150px;
    left: 35%;
    background: #4f7cff;
    animation-delay: 4s;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

@keyframes galaxyRotate {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(360deg) scale(1.08);
    }
}

@keyframes starDrift {
    from {
        background-position: 0 0, 35px 45px;
    }

    to {
        background-position: 280px 420px, -260px 360px;
    }
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.45);
    }
}

@keyframes floatStar {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -22px;
    }
}

@keyframes glowFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(70px, -45px) scale(1.15);
    }
}