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

.animate {
    animation: fadeIn 1s ease-out forwards;
}

.service-card, .expertise-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate .service-card,
.animate .expertise-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect for cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }

.expertise-grid .expertise-item:nth-child(1) { transition-delay: 0.1s; }
.expertise-grid .expertise-item:nth-child(2) { transition-delay: 0.2s; }
.expertise-grid .expertise-item:nth-child(3) { transition-delay: 0.3s; }
.expertise-grid .expertise-item:nth-child(4) { transition-delay: 0.4s; }

/* Hover Animations */
.service-card,
.expertise-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Button Animations */
.cta-button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Form Input Animations */
.contact-form input,
.contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

/* Navigation Link Animations */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
} 