/* Learn-Well School of Driving — Custom Styles */

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

/* Floating animation for hero stat cards */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@keyframes floatFast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.animate-float-slow {
    animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-medium {
    animation: floatMedium 3.5s ease-in-out infinite;
}

.animate-float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #66BB6A;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #1B4332;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.1) !important;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12);
}

/* Selection color */
::selection {
    background: #C8E6C9;
    color: #1B4332;
}
