/* Custom Styles for Excelecut Inc */

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

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

::-webkit-scrollbar-track {
    background: #020c1b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4cd192;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Reveal on Scroll */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(76, 209, 146, 0.5);
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.show {
    max-height: 400px;
}

/* Navigation Active State */
nav a.active {
    color: #7dcea0;
}

/* Card Hover Effects */
.group:hover {
    transform: translateY(-8px);
}

/* Image Hover */
img {
    transition: transform 0.5s ease;
}

/* Button Hover */
button,
a {
    transition: all 0.3s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
