/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Apply Animations */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.service-card {
    /* animation: scaleIn 0.5s ease-out; */
}

.service-card:hover {
    /* animation: pulse 1s infinite; */
    /* Only use move up effect for consistency with project cards */
}

.project-stats .stat {
    animation: float 3s ease-in-out infinite;
}

.hero-visual {
    animation: slideIn 1s ease-out;
}

/* Remove staggered animation delays */
.services-grid .service-card:nth-child(1),
.services-grid .service-card:nth-child(2),
.services-grid .service-card:nth-child(3),
.services-grid .service-card:nth-child(4) {
    /* animation-delay: 0s; */
}

/* Smooth Transitions */
.nav-links a,
.cta-button,
.primary-button,
.secondary-button,
.submit-button {
    transition: all 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.primary-button:hover,
.secondary-button:hover,
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading Animation */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    animation: loading 1s linear infinite;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Animations */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
        animation: none;
    }
    
    .project-stats .stat {
        animation: none;
    }
} 