.services {
    margin: 0 auto;
    width: 60vw;
    display: flex;
    height: 400px;
    gap: 2px;
}

.service-card {
    flex: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    color: white;
    gap: 20px;
}

.service-card:hover {
    flex: 2;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%); */
    z-index: 1;
}

.service-card:hover::before {
    background: rgba(231, 76, 60, 0.9);
}


.service-content-pre {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: space-around;
    /* top: 120px; */
    /* gap: 100px; */
}


.service-content {
    /* position: relative; */
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    display: none;
    flex-direction: column;
    align-items: center;
}

.service-card:hover .service-content {
    transform: translateY(0);
    opacity: 1;
    display: flex;
}

.service-card:hover .service-content-pre {
    transform: translateY(0);
    opacity: 0;
    display: none;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 250px;
}

.service-more {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.global-express {
    background: url('https://images.unsplash.com/photo-1519003722824-194d4455a60e?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.tax-free {
    background: url('https://images.unsplash.com/photo-1556742049-4e3e6be134c5?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.air-shipping {
    background: url('https://images.unsplash.com/photo-1522031152068-b791728f6731?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.sea-shipping {
    background: url('https://images.unsplash.com/photo-1565374393541-b08e6ad5e32e?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

.extra-service {
    background: url('https://images.unsplash.com/photo-1562887280-82f8915b859d?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
}

@media (max-width: 900px) {
    .services {
        flex-direction: column;
        height: auto;
    }

    .service-card {
        min-height: 120px;
    }

    .service-card:hover {
        flex: 1.2;
    }
}