nav {
    position: relative !important;
    z-index: 9999;
}

.scene3d {
    perspective: 1000px;
    transition: transform 0.2s ease-out;
}

.scene3d .image3d {
    transform-style: preserve-3d;
    transform-origin: center;
}



.glow-rotate-2 {
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 3px;
}

.glow-rotate-2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    scale: 1.5;
    background: conic-gradient(
        transparent, 
        rgba(4, 100, 184, 0.8), 
        transparent, 
        rgba(98,186,70, 1), 
        /* transparent, */
        /* rgba(255, 107, 107, 0.5), */
        transparent
    );
    animation: rotate-glow 3s linear infinite;
}

.glow-rotate-2::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: transparent;
    border-radius: 4px;
    z-index: 1;
}

.glow-rotate-2 img, .glow-rotate-2 video {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 4px;
    display: block;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



.custom-underline {
    position: relative;
    display: inline-block;
}

.custom-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -24px;
    width: 25%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    border-radius: 2px;
}