.carousel-wrapper {
    overflow: hidden;
    width: 98vw;
    background: white;
    padding: 10px 0;
}

.intro-root {
    display: flex;
    width: max-content;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    touch-action: pan-y;
}

.first {
    flex: 0 0 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1px 18px;
    box-sizing: border-box;
    min-height: 180px;
    position: relative;
    transform: scale(0.92);
    opacity: 0.8;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.first.active {
    transform: scale(1);
    opacity: 1;
}

.first > div {
    flex: 1;
    padding: 10px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.first img {
    max-width: 360px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.first p {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(45deg, #25638C, red);
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    margin-top: 15px;
}

.first p span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: rgb(163, 160, 160);
    margin-top: 8px;
}

.emcpbutton {
    margin-top: 15px;
    background: rgb(9, 135, 9);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.emcpbutton:hover {
    background: #20b358;
}

.emcpbutton svg {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .first {
        flex-direction: column;
        padding: 5px 5px;
    }

    .first p {
        font-size: 1.8rem;
        background: linear-gradient(170deg, #25638C, red);
        -webkit-background-clip: text;
        color: transparent;
        margin-top: -50px;
    }

    .first p span {
        font-size: 1rem;
    }

    .first img {
        max-width: 360px;
    }
}
