/* Custom styles for Dynamic Drug Screening */

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

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

/* Service card stagger animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    }
}

/* Process step animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .process-step {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060b1a;
}
::-webkit-scrollbar-thumb {
    background: #142e54;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a3a66;
}

/* Select dropdown styling */
select option {
    background: #0a1628;
    color: #fff;
}

/* Floating card animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(12deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0deg); }
}

@keyframes float-card-white {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

.floating-slow { animation: float-slow 6s ease-in-out infinite; }
.floating-medium { animation: float-medium 5s ease-in-out infinite; }
.floating-fast { animation: float-fast 4s ease-in-out infinite; }
.floating-card-white { animation: float-card-white 5.5s ease-in-out infinite; }

/* Geometric decorations */
.geo-dot {
    width: 8px;
    height: 8px;
    background: rgba(45, 212, 191, 0.4);
    border-radius: 50%;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #fff;
}
