/* Custom Styles for Edron */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll from animations */
    overflow-x: hidden;
}

/* Subtle entry animation for elements below fold */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

#mobile-menu.open {
    max-height: 300px;
}

/* Smooth hover for cards */
.group:hover .group-hover\:bg-coral-500 {
    background-color: #E53E3E;
}

.group:hover .group-hover\:text-white {
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #FDFBF7;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0AEC0;
}
