﻿.exp-slider {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 400px;
    overflow: hidden;
    justify-content: center;
}

.exp-card {
    width: 90px;
    min-width: 90px;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: width .6s cubic-bezier(.4,0,.2,1);
}

    .exp-card.active {
        width: calc(100% - 420px);
    }

    .exp-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0,0,0,.65), transparent 60% );
    }

.exp-content {
    position: absolute;
    bottom: 18px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.exp-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.exp-text {
    opacity: 0;
    transform: translateY(20px);
    transition: .4s ease;
}

.exp-card.active .exp-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}

.exp-text h3 {
    color: #fff;
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.exp-text p {
    color: #fff;
    margin: 5px 0 0;
}
@media(max-width:768px) {

    .exp-slider {
        flex-direction: column;
        height: auto;
    }

    .exp-card {
        width: 100%;
        min-width: 100%;
        height: 70px;
        transition: height .5s ease;
    }

        .exp-card.active {
            width: 100%;
            height: 320px;
        }

    .exp-text h3 {
        font-size: 22px;
    }
    .exp-content {
        position: absolute;
        bottom: 10px;
        left: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 2;
    }
   
}