#header-sticky {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

#header-sticky.rs-sticky {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}



/* PROJECT CSS FOR CATEGORIES */

.filter-btn {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 4px 6px; /* replaces gap-2, since Bootstrap 4 has no gap utility */
}

.filter-btn:hover {
    background: rgba(128, 128, 128, 0.12);
}

.filter-btn.active {
    background: #5777FF;
    color: #fff;
    border-color: #5777FF;
    opacity: 1;
}

.portfolio-filter {
    padding: 0;
}

.portfolio-filter li {
    display: inline-block;
}


/* Glow for LETS TALK BUTTON */
.rs-glow-border-pill {
    position: relative;
    display: inline-block;
    border-radius: 9999px;
    vertical-align: middle;
}

.rs-glow-border-pill::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: conic-gradient(
        from var(--angle),
        #fbbf24,
        #f97316,
        #ec4899,
        #f0abfc,
        #fbbf24
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rs-spin 3s linear infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.6)); /* adds a soft glow so it reads as light, not just a thin line */
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rs-spin {
    to { --angle: 360deg; }
}

/* Shine sweep for LETS TALK BUTTON */
.rs-glow-border-pill .rs-btn {
    position: relative;
    overflow: hidden; /* clips the shine streak to the button shape */
}

.rs-glow-border-pill .rs-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: rs-shine 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes rs-shine {
    0% {
        left: -75%;
    }
    20% {
        left: 125%;
    }
    100% {
        left: 125%;
    }
}