/* Custom Styles for Dantkriti Dental */

html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #003B49;
}

/* Base Styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Animations */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 1s ease-out forwards;
}

/* Pulse Slow Animation for FAB */
@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

/* Text Selection Color */
::selection {
    background: #C5A059;
    color: white;
}

/* Mobile Menu Transition */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

#mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

#mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

#mobile-menu.active .mobile-link:nth-child(5) {
    transition-delay: 0.5s;
}