/* Base Styles & Glassmorphism */
:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
}

body {
    background-color: #0F172A;
    /* Slate 900 */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(107, 33, 168, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Gradient Animation for Text */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient 5s linear infinite;
}

/* Particles Container */
#particles-js {
    width: 100%;
    height: 100%;
}

/* Scroll Bar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.filter-btn.active {
    background-color: white;
    color: black;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Carousel Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-312px * 12));
    }

    /* Width of slide * number of unique slides (12 * 312px) */
}

.slide-track {
    animation: scroll 40s linear infinite;
    /* Slowed down for better readability */
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

.logo-carousel {
    /* filter: brightness(0) invert(1); REMOVED for original color */
    opacity: 0.8;
    transition: all 0.3s;
    height: 110px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.logo-carousel:hover {
    opacity: 1;
    transform: scale(1.1);
}