html { scroll-behavior: smooth; }
.serviceSwiper { padding-bottom: 50px !important; }
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
/* 1. Kustom Glitch Effect untuk Teks (Cyberpunk Style) */
.glitch-text {
    color: #0f172a; 
    position: relative;
}
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch-text::before {
    color: #00f2fe; 
    z-index: -1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-text::after {
    color: #ff0055; 
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

/* Keyframes Glitch 1 */
@keyframes glitch-anim-1 {
    0%, 100% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, -2px); }
    20% { clip-path: inset(50% 0 10% 0); transform: translate(1px, 1px); }
    40% { clip-path: inset(70% 0 5% 0); transform: translate(-1px, 2px); }
    60% { clip-path: inset(20% 0 60% 0); transform: translate(2px, -1px); }
    80% { clip-path: inset(90% 0 1% 0); transform: translate(-1px, 1px); }
}

/* Keyframes Glitch 2 */
@keyframes glitch-anim-2 {
    0%, 100% { clip-path: inset(80% 0 10% 0); transform: translate(2px, 2px); }
    20% { clip-path: inset(10% 0 50% 0); transform: translate(-1px, -1px); }
    40% { clip-path: inset(5% 0 70% 0); transform: translate(1px, -2px); }
    60% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 1px); }
    80% { clip-path: inset(1% 0 90% 0); transform: translate(1px, -1px); }
}

/* 2. Keyframes Animasi Partikel Slow & Fast */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: translateY(0px) rotate(0deg); }
    50% { opacity: 0.7; transform: translateY(-30px) rotate(45deg); }
}
@keyframes pulse-fast {
    0%, 100% { opacity: 0.5; transform: translateY(0px); }
    50% { opacity: 1; transform: translateY(-50px); }
}
.animate-pulse-slow { animation: pulse-slow 8s infinite ease-in-out; }
.animate-pulse-fast { animation: pulse-fast 5s infinite ease-in-out; }
.note-editable ul {
    list-style-type: disc !important;
    padding-left: 2rem !important;
}
.note-editable ol {
    list-style-type: decimal !important;
    padding-left: 2rem !important;
}
.note-editable table {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid #cbd5e1 !important;
}
.note-editable table td, .note-editable table th {
    border: 1px solid #cbd5e1 !important;
    padding: 8px !important;
}
.note-dropdown-menu {
    z-index: 1051;
}
