/* Custom Styles for Janssen Service */

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

/* Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

.animate-scroll {
    animation: scroll 1.5s infinite;
}

/* Clip Path for Hero */
.clip-path-diagonal {
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #022C22;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: #064E3B;
}

/* Fade In Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-scroll {
        animation: none;
    }
    
    .fade-in-up {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
