/* Custom styles for Digitest */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
}

/* Selection color */
::selection {
    background-color: #7c3aed;
    color: white;
}

/* Focus styles */
*:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Button hover effects */
button, a[class*="bg-gradient"] {
    transition: all 0.3s ease;
}

/* Card hover effects */
article:hover {
    transform: translateY(-4px);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Form input focus */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

/* Gradient text animation */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Custom utility classes */
.text-balance {
    text-wrap: balance;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}

