/* Custom Animations & Utilities */

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

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(200%);
    }
}

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

.animate-scroll-down {
    animation: scrollDown 1.5s ease-in-out infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Selection Color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0d9488 !important;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Image Loading Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .animate-fade-in-up {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
