/* Custom Scrollbar - Modern Slim */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Base Body Styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.5s ease-out forwards;
}

/* Card Hover Effects - Professional & Subtle */
.driver-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.driver-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px -10px rgba(59, 130, 246, 0.15);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

/* Search Overlay Reset */
#search-overlay {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#search-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    display: none !important;
}

#search-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    display: block !important;
}

/* Marquee Animation - Smooth */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 3rem;
    font-family: 'Google Sans', sans-serif;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 9999px;
    opacity: 0.5;
}

/* Clean UI Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #0f172a;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}
