/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

/* Smooth image loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Subtle gradient overlay for cards */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.05) 0%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text selection color */
::selection {
    background-color: #2dd4bf;
    color: #020617;
}
