/* Fade-in animation for sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for service and product cards */
.service-card, .product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.is-visible, .product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for staggered animations */
.service-card:nth-child(1), .product-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2), .product-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Additional hover effects */
.fade-in-section .section-title {
    position: relative;
    overflow: hidden;
}

.fade-in-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.fade-in-section.is-visible .section-title::after {
    width: 60px;
}