
html {
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}



::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9; /* Светло-серый фон трека */
}

::-webkit-scrollbar-thumb {
    background-color: #cbd5e1; /* Цвет ползунка */
    border-radius: 4px;
    border: 2px solid #f1f5f9; /* Отступ внутри трека */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #0ea5e9; /* Цвет при наведении (наш medical-500) */
}


@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* 4. Анимация легкого покачивания для изображений (Floating effect) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}


@supports not (backdrop-filter: blur(12px)) {
    #navbar {
        background-color: rgba(255, 255, 255, 0.98);
    }
}


::selection {
    background: #0ea5e9;
    color: white;
}


.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.3); /* Голубое свечение */
    transform: translateY(-5px);
}


