/* Custom styles for GV Logistic */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1a2d44;
}

/* Selection color */
::selection {
    background: #4ec78f;
    color: #0a131f;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #4ec78f;
    outline-offset: 2px;
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu.show {
    animation: slideDown 0.3s ease-out;
}

/* Hover card lift effect */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
