.service-packages {
    background-color: #000;
    padding: 20px 0;
}
.service-packages .title {
    text-align: center;
    margin: 30px 0;
    font-size: 30px;
}

/* wrapper */
.exp-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}


.ue_options {
    display: flex;
    gap: 12px;
    width: 100%
}



/* each option */
.ue_option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: auto;
    flex-basis: 0;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 14px;
    background-image: url("../img/blur.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: flex-grow .9s ease, filter 1s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* active grows big */
.ue_option.active {
    flex-grow: 100;
}

/* shadow overlay */
.ue_shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
    z-index: 1;
    transition: opacity .5s;
}

.ue_content_link {
    width: 100%;
}

/* label content */
.ue_label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    width: 100%;
    height: 100%;
}

.ue_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: right;
    width: 100%
}

.ue_main {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 0.2px
}

.ue_sub {
    overflow: auto;
    background: transparent;
    line-height: 1.45;
    width: 80%;
}

.ue_sub ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff2a;
    padding: 0 0 10px 0;
}

.ue_sub ul li i {
    margin-left: 5px;
    color: var(--e-global-color-913edee);
}

/* hide sub content for collapsed items (vertical label effect) */
.ue_option:not(.active) .ue_sub {
    display: block;
    opacity: 0;
    width: 0;
    height: 0;
    transition: opacity .5s, width .8s .5s, height .8s .8s;
}

/* for collapsed items show only vertical main text */
.ue_option:not(.active) .ue_main {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 40px;
}

/* button */
.ue_button {
    position: relative;
    z-index: 3;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--white);
    color: var(--black-2);
    text-decoration: none;
    font-weight: 700;
    display: none;
}

.ue_button:hover {
    background: var(--e-global-color-913edee);
    color: var(--white);
}

/* show button only when active */
.ue_option.active .ue_button {
    display: inline-block;
}

/* responsive tweaks */
@media (max-width: 920px) {
    .ue_options {
        gap: 8px;
        flex-wrap: wrap;
        
    }
    .ue_option{
        width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 520px) {
    .ue_options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px
    }

    .ue_option {
        height: auto;
        min-height: 140px;
        flex-grow: unset;
        border-radius: 10px
    }

    .ue_option .ue_main {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 18px
    }

    .ue_option .ue_sub {
        opacity: 1;
        width: 100%;
        height: auto;
        margin-top: 8px
    }

    .ue_option .ue_button {
        display: inline-block
    }

    .ue_option {
        transition: transform 400ms cubic-bezier(.05, .61, .41, .95)
    }

    .ue_option.active {
        transform: scale(1.02)
    }
}

/* small a11y / focus */
.ue_option:focus {
    outline: 3px solid rgba(146, 79, 214, 0.15);
    outline-offset: 4px
}

