/* Custom Styles for Yugnex Systems */
/* Additional animations and effects beyond Tailwind */

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Smooth transitions */
a, button, .service-card, .portfolio-item {
    transition: all 0.3s ease;
}

/* Loading animation for body */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Custom button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active:after {
    width: 300px;
    height: 300px;
}

/* Responsive font adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print, .fixed, .bg-gradient-to-r, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
