/* Stars Background Effect - Blue Reliance */
/* Back to original overlay approach but with lower z-index */

.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #336fad;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 3s infinite ease-in-out;
}

.star.large {
    width: 6px;
    height: 6px;
}

.star.medium {
    width: 3px;
    height: 3px;
}

.star.small {
    width: 2px;
    height: 2px;
}

/* Cross-shaped sparkle effect */
.star::before,
.star::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.star::before {
    width: 1px;
    height: 8px;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.star::after {
    width: 8px;
    height: 1px;
    top: 50%;
    left: -2px;
    transform: translateY(-50%);
    opacity: 0.6;
}

.star.large::before {
    height: 12px;
    top: -3px;
}

.star.large::after {
    width: 12px;
    left: -3px;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    25% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    75% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .star {
        width: 3px;
        height: 3px;
    }
    .star.large {
        width: 4px;
        height: 4px;
    }
    .star.medium {
        width: 2px;
        height: 2px;
    }
    .star.small {
        width: 1px;
        height: 1px;
    }
}

/* Accessibility - respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .star {
        animation: none;
        opacity: 0.3;
    }
}

/* Ensure Webflow content appears above stars */
.navbar-logo-left-container,
.frame-33556,
.div-block-4,
.frame-33564 {
    position: relative;
    z-index: 1;
}