@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in.delay-100 {
    animation-delay: 0.1s;
}

.animate-fade-in.delay-200 {
    animation-delay: 0.2s;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.step-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:nth-child(1).visible {
    transition-delay: 0.1s;
}

.step-card:nth-child(2).visible {
    transition-delay: 0.3s;
}

.step-card:nth-child(3).visible {
    transition-delay: 0.5s;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card, .step-card {
        opacity: 1;
        transform: none;
    }

    header {
        padding: 0.5rem 1rem;
    }

    header nav ul {
        display: none;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .contact-section .grid {
        gap: 2rem;
    }

    footer .flex {
        flex-direction: column;
        text-align: center;
    }

    footer nav ul {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        overflow-y: auto;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu li a {
        font-size: 1.2rem;
    }

    .close-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
    }
}
