.casestudy_hero .container {
    padding-top: 20rem;
    padding-bottom: 5.2rem;
    position: relative;
    overflow: hidden;
}

.casestudy_hero_bg {
    position: absolute;
    width: 60.69%;
    right: 0;
    transform: translate(20%, -70%);
    top: 0;
    pointer-events: none;
    z-index: -1;
    filter: blur(15rem);
}

.casestudy_hero_subtitle {
    grid-column: 1/13;
    grid-row: 2/3;
    margin-top: 4.8rem;
}

.casestudy_hero_inner {
    align-items: flex-end;
}

.casestudy_hero_des {
    text-align: right;
}

.casestudy_hero_title {
    grid-column: 1/8;
}

.casestudy_hero_des {
    grid-column: 10/13;
}

@media only screen and (max-width: 991px) {
    .casestudy_hero .container {
        padding-block: 10rem;
    }

    .casestudy_hero_des {
        grid-column: 6/9;
    }

    .casestudy_hero_title {
        grid-column: 1/6;
    }

    .casestudy_hero_bg {
        filter: none;
        width: 60rem;
        height: 60rem;
        background: radial-gradient(circle, rgba(230, 38, 54, 0.4) 0%, rgba(230, 38, 54, 0) 70%);
        transform: translate(20%, -30%);
    }

    .casestudy_hero_bg svg {
        display: none;
    }

    .casestudy_hero_title br {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .casestudy_hero_bg {
        width: 60rem;
        height: 60rem;
        transform: translate(20%, -10%);
        filter: none;
    }

    .casestudy_hero .container {
        padding-block: 13.4rem 4.8rem;
    }

    .casestudy_hero_des {
        grid-column: 1/5;
        text-align: left;
    }

    .casestudy_hero_title {
        grid-column: 1/5;
        margin-bottom: 3.2rem;
    }

}

/* home_clients */
.home_clients_subtitle {
    margin-inline: auto;
    width: max-content;
    margin-bottom: 3.2rem;
}

.home_clients_title {
    width: 63rem;
    margin-inline: auto;
    margin-bottom: 5.6rem;
}

.home_clients_tab_item {
    color: #929292;
    padding: 1.6rem;
    position: relative;
    transition: color .4s ease;
    cursor: pointer;
}

.home_clients_tab_item::before {
    transition: transform .4s ease;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: center;
    pointer-events: none;
    background-color: #F32B3B;
}

.home_clients_tab_item:hover::before {
    transform: scaleX(1);
}

.home_clients_tab_item.active,
.home_clients_tab_item:hover {
    color: #ebebeb;
}

.home_clients_tab_item.active::before {
    transform: scaleX(1);
}

.home_clients_tab {
    background: #0D0D0D;
    display: flex;
    /* width: max-content; */
    /* margin-inline: auto; */
    border-bottom: 1px solid #262626;
    margin-bottom: 6.3rem;
    position: sticky;
    z-index: 10;
    top: 0;
    transition: top .4s ease;
}

.home_clients_tab.bottom {
    width: max-content;
    margin-inline: auto;
    position: sticky;
    bottom: 0;
    z-index: 9999 !important;
    background-color: #0D0D0D;
    padding-top: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    transition: opacity 0.3s ease;
}

.home_clients_tab_item:hover {
    span {
        color: #ebebeb !important;

    }
}

.home_clients_tab_item.active {
    span {
        color: #ebebeb !important;

    }
}

.home_clients_tab_item.active:hover {
    span {
        color: #ebebeb;

    }

    .active {
        /* bottom: 0; */
        transform: translateY(100%);
    }

    .init {
        /* top: -100%; */
        transform: translateY(0%);
    }
}

.home_clients_tab_item {
    span {
        color: #929292 !important;

    }
}

.home_clients_content_item_inner {
    /* opacity: 0.5; */
    filter: grayscale();
    transform: scale(1);
    height: 6.4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .4s ease, filter .4s ease, transform .4s ease;
}

.home_clients_content_item_inner img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}

.home_clients_content_item_img:hover .home_clients_content_item_inner {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

.home_clients_content_item_img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F1E6E6;
    width: calc(16.66% - 2rem);
    padding-block: 3.3rem;
    cursor: pointer;
}

.home_clients_content_item {
    display: none;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.home_clients_content_item:first-child {
    display: flex;
}

.home_clients_content {
    margin-bottom: 6.4rem;
}

.home_clients_button {
    margin-inline: auto;
}

.home_clients .container {
    position: relative;
}

.home_clients_bg {
    position: absolute;
    width: 60.69%;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    pointer-events: none;
}

@media only screen and (max-width: 991px) {
    .home_clients_bg {
        filter: none;
        width: 60rem;
        height: 60rem;
        background: radial-gradient(circle, rgba(230, 38, 54, 0.45) 0%, rgba(230, 38, 54, 0) 70%);
        transform: translate(-50%, -30%);
        left: 50%;
        top: 0;
    }

    .home_clients_bg svg,
    .home_clients_bg img {
        display: none;
    }

    .home_clients_content_item_img {
        width: calc(33.333% - 1.6rem);
    }
}

@media only screen and (max-width: 767px) {
    .home_clients {
        padding-top: 3.2rem;
        padding-bottom: 6.4rem;
    }

    .home_clients_subtitle {
        margin-inline: unset;
        margin-bottom: 1.6rem;
    }

    .home_clients_title {
        width: 100%;
        text-align: left;
        margin-bottom: 3.2rem;
    }

    .home_clients_tab {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        margin-inline: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 3.2rem;
        border-bottom: none !important;
    }

    .home_clients_tab::-webkit-scrollbar {
        display: none;
    }

    .home_clients_tab_item {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 1.6rem;
        font-size: 1.6rem;
        border-bottom: 1px solid #262626;
    }

    .home_clients_content_item_img {
        width: calc(50% - .6rem);
    }

    .home_clients_content_item {
        gap: 1.2rem;
    }

    .home_clients_content {
        margin-bottom: 3.2rem;
    }

    .home_clients_bg {
        width: 60rem;
        height: 60rem;
        transform: translate(-50%, -10%);
        filter: none;
        left: 50%;
    }

    .home_clients_content {
        margin-bottom: 0;
    }
}