@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-in-up {
    animation: fadeInUp .6s ease-out
}

html {
    scroll-behavior: smooth
}

.nav-link {
    position: relative;
    transition: color .3s ease
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #3B82F6;
    transition: all .3s ease
}

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

.service-card {
    transition: transform .3s ease, box-shadow .3s ease
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04)
}

.btn-primary {
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px
}

.form-input {
    transition: all .3s ease
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, .3)
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.mobile-menu-enter {
    animation: slideDown .3s ease-out
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3B82F6;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 1000
}

.scroll-top.show {
    opacity: 1;
    visibility: visible
}

.scroll-top:hover {
    background: #2563EB;
    transform: translateY(-3px)
}

@media (max-width:768px) {
    .hero-title {
        font-size: 2.5rem
    }

    .section-padding {
        padding: 3rem 0
    }
}