/* Kelstech Systems — Custom Styles */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #11111b;
}

::-webkit-scrollbar-thumb {
    background: #2a2a3e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a5e;
}

/* Navbar scroll effect */
#navbar {
    background: transparent;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dark #navbar.scrolled {
    background: rgba(10, 25, 49, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Selection color */
::selection {
    background: rgba(10, 25, 49, 0.6);
    color: #fff;
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient text animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

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

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

.animated-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

/* Pulse ring animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Toast auto-hide */
.message-toast {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Custom Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: #0a1931 !important;
    /* primary-500 = company navy */
}

.dark .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Slide Content Transitions */
.slide-content>* {
    opacity: 1;
    transition: all 0.6s ease-out;
}