@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    
}

html {
    scroll-behavior: smooth;
    background: 
        radial-gradient(circle at center, rgba(15, 15, 15, 0.897), transparent 100%),
        radial-gradient(circle at center, rgba(15, 15, 15, 0.5), transparent 100%),
        radial-gradient(circle at center, rgba(15, 15, 15, 0.5), transparent 100%),
        radial-gradient(circle at 0% 0%, rgba(0, 200, 150, 0.5), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255, 135, 183, 0.5), transparent 50%),
        radial-gradient(circle at 0% 300%, rgba(0, 200, 150, 0.3), transparent 60%),
        #0F0F0F;
    
    background-attachment: fixed;
    background-size: cover;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-name: gradientAnimation;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1%;
    background: url('../assets/bg.png') repeat;
    z-index: -2;
    animation: moveStars 100s linear infinite;
}

@keyframes moveStars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 10000px 10000px;
    }
}


#go-up {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

#go-up:hover {
    opacity: 1;
}

#footer {
    background:
        #171717;
    background-size: cover;
    backdrop-filter: blur(50px); /* Added blur */
}

[data-accordion-target][aria-expanded="true"] {
    background: radial-gradient(circle at 100% 300%, rgba(12, 12, 12, 0.897), transparent 100%);
    color: #f9fafb; /* Adjust text color if needed */
    backdrop-filter: blur(70%);
    transition: background 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease;
}

@keyframes gradientAnimation {
    0% {
        background-position-x: 0%;
        background-position-y: 0%;
    }
    50% {
        background-position-x: 50%;
        background-position-y: 50%;
    }
    100% {
        background-position-x: 100%;
        background-position-y: 100%;
    }
}

/* =========================
     Custom Scrollbar Styles
     ========================= */

/* WebKit (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.10);
    border-radius: 12px;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,0.18);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.10) rgba(255,255,255,0.03);
}

/* Utility class for scrollable panels */
.nice-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nice-scroll:hover *::-webkit-scrollbar-thumb,
.nice-scroll:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.22);
}

@media (prefers-contrast: more) {
    *::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.4); }
    * { scrollbar-color: rgba(255,255,255,0.4) rgba(255,255,255,0.06); }
}

/* End custom scrollbars */

