   
          /* chemX Custom Styles */

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

/* Navigation Transitions */
.navbar-scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Logo Text Style */
.logo-text {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.05em;
}

/* Hero Canvas Overlay */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.95) 100%);
}

/* Floating Animation for Hero Title */
@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 1px 0 #ccc, 
                 0 2px 0 #c9c9c9, 
                 0 3px 0 #bbb, 
                 0 4px 0 #b9b9b9, 
                 0 5px 0 #aaa, 
                 0 6px 1px rgba(0,0,0,.1), 
                 0 0 5px rgba(0,0,0,.1), 
                 0 1px 3px rgba(0,0,0,.3), 
                 0 3px 5px rgba(0,0,0,.2), 
                 0 5px 10px rgba(0,0,0,.25), 
                 0 10px 10px rgba(0,0,0,.2), 
                 0 20px 20px rgba(0,0,0,.15);
}

/* Service Cards Hover Effect */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Process Line */
.process-line {
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 10;
}

/* Scroll Reveal Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile Menu Transition */
.mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

.mobile-menu-open {
    max-height: 400px !important;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    .animate-float {
        text-shadow: 0 1px 0 #ccc, 
                     0 2px 0 #c9c9c9, 
                     0 3px 0 #bbb, 
                     0 4px 1px rgba(0,0,0,.1), 
                     0 0 5px rgba(0,0,0,.1), 
                     0 1px 3px rgba(0,0,0,.3), 
                     0 3px 5px rgba(0,0,0,.2), 
                     0 5px 10px rgba(0,0,0,.25);
    }
}
        